MEKAWIRE
ExpertarXiv

NormFlowSDE: Normalizing Flows for Amortized Bayesian State Estimation

Yi Zhang, Lars Mikelsons
From the abstract

Bayesian state estimators, such as Kalman filters, estimate states from noisy observations based on dynamical models. However, obtaining accurate models can be challenging when the system involves effects that are difficult to model faithfully, such as friction, impacts, and deformation in contact-rich manipulation.

From the abstract. Our summary is in progress.

Full paper

NormFlowSDE: Normalizing Flows for Amortized Bayesian State Estimation

Yi Zhang, Lars Mikelsons

Published under CC BY 4.0. Reproduced with attribution; original at arXiv:2611.27362 (PDF).

Abstract

Bayesian state estimators, such as Kalman filters, estimate states from noisy observations based on dynamical models. However, obtaining accurate models can be challenging when the system involves effects that are difficult to model faithfully, such as friction, impacts, and deformation in contact-rich manipulation. Uncertainty in system parameters, inputs, and disturbances, together with simplified noise models, can further introduce simulation-to-reality mismatch and degrade estimation accuracy. These limitations motivate learning a distribution over state trajectories conditioned on observations and controls without explicitly specifying the underlying physical models. We introduce NormFlowSDE, an amortized Bayesian state estimator that learns a distribution over state trajectories by combining neural stochastic differential equations with conditional normalizing flows. Its key design choice is to utilize the capability of normalizing flows to learn stochastic behavior of variables, while leveraging the continuous-time dynamics of SDEs to model the evolution of states over time. Once trained, the model draws state paths for new measurement sequences without per-sequence optimization. In addition, we connect NormFlowSDE to stochastic continuous-time dynamics by proving weak convergence of a mean-centered, drift-corrected inference scheme to an Itô diffusion under stated assumptions. Finally, we benchmark NormFlowSDE against direct estimators and learned particle filters based on normalizing flows on partially observed dynamical systems, including simulated systems and real-world robot datasets. The results show that NormFlowSDE attains the lowest estimation error with calibrated uncertainty intervals on both robot datasets and filters four times faster than the fastest particle filter on every dataset.

1 Introduction

Bayesian inference provides a principled framework for estimating unknown quantities from noisy observations. Conditional normalizing flows provide a way towards amortized Bayesian inference, which means making Bayesian parameter identification reusable across datasets (Radev, 2021). Trained on simulated parameter–observation pairs, BayesFlow (Radev et al., 2022) combines a learned summary of the observations with an invertible transformation to approximate the parameter posterior. Once fitted, the model produces posterior samples for new observations without repeating parameter optimization. This amortization makes expressive Bayesian inference practical for repeated identification tasks. Its success motivates the question studied here: how can conditional normalizing flows be combined with temporal dynamics to infer evolving states and their uncertainty?

State estimation extends the inference target from a fixed parameter vector to a sequence of unknown states. Noisy or partial measurements constrain that sequence, while temporal dependence links uncertainty at one time to states at subsequent times. A useful estimator must therefore combine flexible conditional distributions, information from the observations, and a model of temporal evolution. Stochastic differential equations (SDEs) provide a natural starting point. In its standard form,

dz_{t}=f(z_{t},t)\,dt+\sigma(z_{t},t)\,dW_{t},
(1)

an SDE combines a drift f, which describes the nominal evolution of the state z_{t}, with a diffusion \sigma that scales the increments of a Wiener process W_{t} and represents variability around it. A neural SDE parameterizes f and \sigma by neural networks, which can be trained in two established ways: Latent SDE and SDE-GAN.

Latent SDEs (Li et al., 2020) represent time series through an underlying stochastic process and learn its dynamics through variational inference, coupling a generative SDE with an approximate posterior process. When the observation model uses a Gaussian decoder with learned variance, it can inherit a decoder variance-collapse problem. The estimated variance may approach zero, which makes training highly sensitive to small reconstruction errors and destabilizes optimization (Takahashi et al., 2018; Rybkin et al., 2021). In addition, every increment of the posterior process is Gaussian given the current state, so a non-Gaussian conditional distribution of the next state can only arise through the nonlinearity of drift and diffusion over several steps.

SDE-GANs (Kidger et al., 2021b) instead treat a neural SDE as a trajectory generator and train it against a discriminator to match observed path distributions. This framework accommodates flexible stochastic dynamics, but it requires coupled adversarial optimization and careful discriminator regularization (Kidger et al., 2021b). Moreover, it does not provide a tractable finite-interval transition likelihood, which restricts state estimation to simulation-based bootstrap filtering and rules out observation-informed proposals and likelihood evaluation between measurement times. Signature-kernel scores remove the discriminator and train the same generator with a proper scoring rule on paths (Issa et al., 2023).

In contrast to these two neural SDE methods, we seek to combine the temporal structure of neural SDEs with the explicit conditional densities and direct sampling offered by normalizing flows (NFs) (Dinh et al., 2014; Rezende & Mohamed, 2015; Dinh et al., 2017). The flow transforms the noise within each state update while preserving tractable likelihoods and the sequential structure of neural SDEs. We call this construction NormFlowSDE. An observation-conditioned neural drift supplies a nominal state update, and an invertible conditional flow transforms Gaussian inputs into state-dependent noise. Both are trained jointly from paired state–measurement data. Figure 1 shows the resulting estimator.

Figure 1: NormFlowSDE estimates states conditional on observations. (a) At each step, the encoder C_{\psi} maps the trailing window of the last o measurements y_{t-o+1:t} (boxed), which ends before the state being estimated, to a context vector c_{t} (orange), which conditions both the drift and the noise model. (b) Each state update combines a deterministic drift increment (green) with flow-transformed Gaussian noise (blue), yielding a flexible conditional distribution for the next state z_{t+\Delta t} (purple). (c) Repeated updates from the supplied initial state generate K sampled state trajectories. The plot shows their pointwise median, 90% uncertainty bands, and marginal state densities at selected times. The label p(z_{t}) is shorthand for the marginal density of z_{t} conditional on the observation windows and controls, which are held fixed across samples. The boxed interval is expanded in (b). All curves and densities are schematic.

The construction also raises a mathematical question: under what conditions does the flow-based state update admit a continuous-time SDE limit? In Appendix A, we prove that, with the learned coefficients fixed and under explicit regularity and moment assumptions, the trajectories of a centered inference scheme converge in distribution to the unique solution of an Itô SDE as the time step tends to zero.

Section 4 evaluates NormFlowSDE as a causal amortized filter on two simulated systems (a controlled pendulum and the Lorenz–96 model) and two robot datasets (ALOHA insertion (Zhao et al., 2023) and REASSEMBLE (Sliwowski et al., 2025)). In addition, we implement NormFlowSDE as a transition model in a particle filter. Both implementations are thoroughly benchmarked. First, NormFlowSDE as a direct amortized filter is compared with latent Neural Stochastic Flow (latent NSF), latent SDE, and a neural SDE trained with the signature-kernel score (SigKer SDE). Second, NormFlowSDE in a particle filter is compared with three NF-based methods: an NF-based differentiable particle filter (NF-DPF), Neural Stochastic Flow (NSF), and a flow-matching-based SDE (FlowSDE). The benchmark methods are described in detail in Section 2.

Several other works use generative methods to model stochastic processes directly. The continuous-time flow process (CTFP) (Deng et al., 2020) maps a Wiener process through a time-indexed invertible transformation, which gives the observed process tractable finite-dimensional likelihoods. Continuous latent process flows (Deng et al., 2021) apply such a transformation to a latent process driven by an SDE. The GP-VAE (Fortuin et al., 2020) combines Gaussian-process priors with deep encoders, and neural processes learn distributions over functions (Garnelo et al., 2018). Diffusion and flow-matching models have also been applied directly to time series. TSDiff (Kollovieh et al., 2023) trains an unconditional diffusion model over whole windows and obtains forecasts by guiding it toward the observed past at sampling time. TSFlow (Kollovieh et al., 2025) uses conditional flow matching with Gaussian-process priors to generate and forecast series. Stochastic process diffusion generates whole series as continuous functions (Biloš et al., 2023). All of these models target the distribution of the entire time series and do not model a process in physical time. They therefore provide neither a transition model for a recursive filter nor a causal state estimator comparable with the methods in our work, and we do not include them in the benchmark.

2 Related Work

For Bayesian state estimation, the relevant question is how a learned model combines temporal dynamics and measurements to represent uncertainty over the states. Learned estimators take one of two routes. A direct estimator learns the conditional distribution of the state trajectory given the measurements, which enter the estimator through an encoder. Direct estimators include NormFlowSDE (Section 3), latent NSF (Section 2.1.1), latent SDE (Section 2.1.2), and SigKer SDE (Section 2.1.3). A particle-filter estimator learns a transition model and a measurement model separately and combines them by Bayesian weighting, so that the measurements enter only through the likelihood of the measurement model. Particle-filter estimators include NF-DPF (Section 2.2.1), NSF-PF (Section 2.1.1), FlowSDE-PF (Section 2.2.2), and NormFlowSDE-PF, which is included for completeness. Throughout, x_{k} denotes the state, y_{k} the measurement, and u_{k} the control at step k.

2.1 Direct Estimators

Conditional normalizing flows provide a route to Bayesian inference by learning a distribution over unknown quantities conditioned on observed data. For an unknown parameter vector \vartheta and observations y, an invertible map \vartheta=g_{\phi}(\epsilon;y) transforms a simple base variable \epsilon\sim\mathcal{N}(0,I) into samples from a normalized conditional density q_{\phi}(\vartheta\mid y), evaluated through change of variables (Dinh et al., 2014; Rezende & Mohamed, 2015). The invertible maps are compositions g_{\phi}=f_{\phi,L_{\mathrm{f}}}\circ\cdots\circ f_{\phi,1} of L_{\mathrm{f}} affine coupling layers (Dinh et al., 2017). Each layer splits its input \zeta into coordinate blocks (\zeta_{A},\zeta_{B}) and, given a conditioning input c, produces

\zeta^{\prime}_{A}=\zeta_{A},\qquad\zeta^{\prime}_{B}=\zeta_{B}\odot\exp\bigl(\kappa_{\ell}(\zeta_{A},c)\bigr)+\beta_{\ell}(\zeta_{A},c),
(2)

where \odot denotes componentwise multiplication. The networks \kappa_{\ell} and \beta_{\ell}, whose parameters are included in \phi, output the log scales and shifts.

Given training pairs from p(\vartheta,y)=p(\vartheta)p(y\mid\vartheta), conditional maximum likelihood minimizes the expected forward KL divergence from the target posterior to its learned approximation (Radev et al., 2022):

\mathbb{E}_{p(\vartheta,y)}[-\log q_{\phi}(\vartheta\mid y)]=\mathbb{E}_{p(y)}\,\left[\operatorname{KL}\,\left(p(\vartheta\mid y)\,\|\,q_{\phi}(\vartheta\mid y)\right)\right]+C_{0},
(3)

where C_{0} is the conditional entropy of \vartheta given the observations, independent of \phi. Thus, paired simulations supply a posterior-learning objective without requiring pointwise evaluation of the target posterior.

BayesFlow applies this principle to simulation-based parameter inference, combining a learned summary of the observations with a conditional invertible network (Radev et al., 2022). Once trained, it produces posterior samples for new datasets generated by the same simulator without per-dataset optimization. Its target is a fixed parameter vector, so the construction must be modified before it can infer an evolving state. Rasul et al. (2021) condition normalizing flows on recurrent or attention-based representations of past observations and covariates and generate multivariate forecast trajectories autoregressively. In this formulation the flow learns a joint distribution of future states, current states, and past observations, which makes learning difficult and limits the forecast horizon.

The direct estimators in our benchmark share one interface. A causal encoder summarizes the measurements up to step k in a context c_{k}, and a stochastic update produces x_{k+1} from x_{k} and c_{k}, starting from the known initial state. Repeated updates give M sampled trajectories. The four estimators differ in the distribution of this update and in how it is trained. NormFlowSDE (Section 3) uses an observation-conditioned drift and a conditional normalizing flow on the noise of each update, trained on full rollouts. Latent NSF keeps the normalizing flow in the prior and estimates with a Gaussian posterior (Section 2.1.1). The latent SDE (Section 2.1.2) and the signature-kernel SDE (Section 2.1.3) use Gaussian increments with a learned diffusion and are trained by a variational bound and by a proper scoring rule on paths, respectively.

2.1.1 Neural Stochastic Flows and Latent NSF

Neural Stochastic Flows (NSFs) use a conditional normalizing flow to model the distribution of a future state x_{t} given a starting state x_{s} and a time interval h=t-s>0 (Kiyohara et al., 2025). The sampling procedure has two stages: a neural network constructs a Gaussian candidate \widetilde{x}, and an invertible network g_{\phi} transforms that candidate into x_{t}. The context is (x_{s},h,s), with absolute time s omitted for autonomous dynamics. The two sampling stages are

\displaystyle\widetilde{x} \\ \displaystyle=x_{s}+h\mu_{\theta}(x_{s},h,s)+\sqrt{h}\,\sigma_{\theta}(x_{s},h,s)\odot\epsilon,\qquad\epsilon\sim\mathcal{N}(0,I), \\ \displaystyle x_{t} \\ \displaystyle=g_{\phi}(\widetilde{x};x_{s},h,s).

Here \mu_{\theta} and \sigma_{\theta}>0 are outputs of ordinary multilayer perceptrons that set the Gaussian displacement and noise scale. The factors h and \sqrt{h} are written out although h is also an input, so that \widetilde{x}\to x_{s} as h\to 0 whatever the networks output. The flow g_{\phi} is a composition of affine coupling layers (Equation (2)) conditioned on (x_{s},h,s), whose log scales and shifts are additionally multiplied by h, in contrast to Equation (2):

\zeta^{\prime}_{B}=\zeta_{B}\odot\exp\bigl(h\,\kappa_{\ell}(\zeta_{A},x_{s},h,s)\bigr)+h\,\beta_{\ell}(\zeta_{A},x_{s},h,s).
(5)

For h>0 the inverse transformation and its Jacobian give an evaluable transition density. Sampling evaluates Equation (4) once for the whole gap h, and the Euler–Maruyama-type candidate is formed in a single step without SDE integration.

Transition densities of a Markov process satisfy the Chapman–Kolmogorov relation: a direct transition must agree with two successive transitions after averaging over the intermediate state (Ethier & Kurtz, 1986, Chapter 4, Section 1). NSF encourages its learned densities to satisfy this relation,

p_{\omega}^{s,t}(x_{t}\mid x_{s})\approx\int p_{\omega}^{r,t}(x_{t}\mid x_{r})\,p_{\omega}^{s,r}(x_{r}\mid x_{s})\,dx_{r},\qquad s<r<t,
(6)

where the approximation sign indicates that consistency is encouraged rather than guaranteed. The integral is generally intractable, so NSF introduces an auxiliary bridge distribution q_{\xi}^{\mathrm{br}}(x_{r}\mid x_{s},x_{t};s,r,t) with parameters \xi, which yields variational upper bounds on the KL divergences between the direct and composed transitions in both directions. Averaging these bounds over sampled time triplets defines the consistency penalty \mathcal{L}_{\mathrm{flow}}(\omega,\xi), and training on observed state pairs \mathcal{D} minimizes

\mathcal{L}(\omega,\xi)=-\mathbb{E}_{(x_{s},x_{t},s,t)\sim\mathcal{D}}\log p_{\omega}^{s,t}(x_{t}\mid x_{s})+\lambda\mathcal{L}_{\mathrm{flow}}(\omega,\xi),\qquad\lambda\geq 0.
(7)

The NSF transition is a model of the dynamics. The published route from NSF to state inference is latent NSF (Kiyohara et al., 2025, Section 4), a variational state-space model whose prior transition is an NSF and whose observations follow an emission model p_{\psi}(y_{k}\mid x_{k}). Its inference network is a recurrent encoder of the past observations that outputs a Gaussian with diagonal covariance for each time,

q_{\varphi}(x_{t_{i}}\mid y_{\leq t_{i}})=\mathcal{N}\,\left(x_{t_{i}};\,m_{t_{i}},\,\mathrm{diag}\,s_{t_{i}}^{2}\right),\qquad(m_{t_{i}},s_{t_{i}})=\mathrm{GRU}_{\varphi}(y_{t_{i}},\Delta t_{i},h_{t_{i-1}}).
(8)

Training minimizes a \beta-weighted negative evidence lower bound, which compares each posterior marginal with the NSF prediction from the previous posterior, together with the flow consistency penalty. In our adaptation the posterior is additionally conditioned on the previous sampled state and rolled out from the known initial state (Appendix C.6).

2.1.2 Latent SDEs

Latent SDEs (Li et al., 2020) model a time series through a prior SDE and an approximate posterior SDE that share their diffusion,

\text{prior:}\quad dx=f_{\theta}(x,t)\,dt+g_{\theta}(x,t)\,dW_{t},\qquad\text{posterior:}\quad dx=h_{\varphi}(x,c_{t},t)\,dt+g_{\theta}(x,t)\,dW_{t},
(9)

where the posterior drift h_{\varphi} also receives an encoding c_{t} of the observations. Because the diffusions agree, Girsanov’s theorem (Øksendal, 2003, Sec. 8.6) makes the KL divergence between the two path measures finite (Li et al., 2020),

\operatorname{KL}=\mathbb{E}\left[\int_{0}^{T}\tfrac{1}{2}\|u_{t}\|^{2}\,dt\right],\qquad u_{t}=\frac{h_{\varphi}(x_{t},c_{t},t)-f_{\theta}(x_{t},t)}{g_{\theta}(x_{t},t)},
(10)

where the expectation is over posterior paths. Training maximizes the evidence lower bound, the expected log likelihood of the observations under a decoder p(y_{t_{i}}\mid x_{t_{i}}) minus this path KL, with gradients through the SDE solver obtained by a stochastic adjoint. With a Gaussian decoder of learned variance, this objective can drive the variance towards zero. Since the posterior drift is conditioned on the encoded observations, posterior paths sampled from the initial state are observation-conditioned state trajectories. A latent SDE with a causal encoder is therefore a direct estimator. Its increments are Gaussian given the current state, so non-Gaussian marginals arise only from the nonlinearity of drift and diffusion.

2.1.3 Neural SDEs Trained with Signature-Kernel Scores

SDE-GANs (Kidger et al., 2021b) train a neural SDE generator dx=\mu_{\theta}(x,t)\,dt+\sigma_{\theta}(x,t)\,dW_{t} adversarially against a path discriminator. Issa et al. (2023) replace the discriminator by a scoring rule on path space. For a model path law P and a realized path x, the signature-kernel score is

\mathcal{S}_{k}(P,x)=\mathbb{E}_{X,X^{\prime}\sim P}\bigl[k(X,X^{\prime})\bigr]-2\,\mathbb{E}_{X\sim P}\bigl[k(X,x)\bigr],
(11)

where X and X^{\prime} are independent generator paths and k is the signature kernel. This kernel is the inner product of the path signatures after the paths are lifted with a static kernel, such as an RBF kernel. It is computed for a pair of discretized paths by solving a Goursat partial differential equation (Salvi et al., 2021). With a characteristic kernel the score is strictly proper, so its expectation over data is minimized only by the data-generating path law. Up to a term independent of P, it equals the squared maximum mean discrepancy. Given m generator paths, both expectations have unbiased Monte Carlo estimates, and training needs neither a discriminator nor a min–max optimization. When the drift and diffusion also receive an encoding of the measurements and the score compares the generated paths with the paired reference states, the generator becomes a direct estimator of the state trajectory. As for the latent SDE, its increments are Gaussian given the state. However, it has no tractable transition density, since the score is evaluated only from samples.

2.2 Particle-Filter Estimators

Bayesian filtering updates the distribution of a hidden state as new measurements arrive. A particle filter approximates this distribution, p(x_{k}\mid y_{0:k}), using M candidate states, called particles, and weights describing their relative contributions. The bootstrap particle filter first propagates each previous particle through the transition model by drawing x_{k}^{(i)}\sim p(\cdot\mid x_{k-1}^{(i)}) (Gordon et al., 1993). The observation likelihood p(y_{k}\mid x_{k}^{(i)}) then measures how well each predicted state explains the measurement y_{k}, and the normalized weights are

w_{k}^{(i)}=\frac{w_{k-1}^{(i)}p(y_{k}\mid x_{k}^{(i)})}{\sum_{j=1}^{M}w_{k-1}^{(j)}p(y_{k}\mid x_{k}^{(j)})}.
(12)

The numerator combines information from earlier measurements, carried by w_{k-1}^{(i)}, with the new evidence. A resampling step then draws M particles with replacement according to these weights and resets them to 1/M. Some particle filters instead sample from a proposal q that incorporates the new measurement, such as Gaussian proposals from local linearization (Doucet et al., 2000) or the unscented particle filter (van der Merwe et al., 2000). Each weight is then also multiplied by the ratio of transition and proposal densities, which equals one for the bootstrap filter. Exact filtering without particles is possible when the latent dynamics are restricted, as in Normalizing Kalman Filters, which combine an invertible observation transform with a linear Gaussian latent model (de Bézenac et al., 2020). However, observation-likelihood training alone does not tie their latent coordinates to the physical states, so the filtered latent state is not an estimate of the physical state.

A learned particle filter needs a transition model that can be sampled and a measurement model whose density can be evaluated. NF-DPF learns its transition, proposal, and measurement distributions with normalizing flows by design, and its proposal is conditioned on the current measurement. For comparability in our benchmark, NormFlowSDE-PF, NSF-PF, and FlowSDE-PF are bootstrap filters. Their proposal is the learned transition itself, which is conditioned on the control and the time but not on the measurement, so the measurement y_{k} enters only through the weights of Equation (12). Their measurement density q_{\psi}(y_{k}\mid x_{k}) is a conditional normalizing flow with the same architecture and the same maximum-likelihood training in all three filters. Each filter fits its own instance jointly with its transition, so no trained network is shared between filters. Thus, they differ only in the transition model.

2.2.1 Normalizing Flow-Based Differentiable Particle Filters

Chen & Li (2025) introduce NF-DPF, which learns the transition, proposal, and measurement distributions using three invertible maps. Subscripts \mathrm{dyn}, \mathrm{prop}, and \mathrm{obs} distinguish their separate parameter sets. With tractable base densities g_{\theta_{\mathrm{dyn}}} and g_{\theta_{\mathrm{prop}}}, these models take the form

\displaystyle\mathrm{Transition} \\ \displaystyle:\quad \\ \displaystyle x_{k}^{\mathrm{dyn}} \\ \displaystyle=f_{\phi_{\mathrm{dyn}}}(\zeta_{k}^{\mathrm{dyn}}), \\ \displaystyle\qquad\zeta_{k}^{\mathrm{dyn}} \\ \displaystyle\sim g_{\theta_{\mathrm{dyn}}}(\cdot\mid x_{k-1}), \\ \displaystyle\mathrm{Proposal} \\ \displaystyle:\quad \\ \displaystyle x_{k}^{\mathrm{prop}} \\ \displaystyle=f_{\phi_{\mathrm{prop}}}(\zeta_{k}^{\mathrm{prop}};y_{k}), \\ \displaystyle\qquad\zeta_{k}^{\mathrm{prop}} \\ \displaystyle\sim g_{\theta_{\mathrm{prop}}}(\cdot\mid x_{k-1},y_{k}), \\ \displaystyle\mathrm{Measurement} \\ \displaystyle:\quad \\ \displaystyle y_{k} \\ \displaystyle=f_{\phi_{\mathrm{obs}}}(\epsilon_{k};x_{k}), \\ \displaystyle\qquad\epsilon_{k} \\ \displaystyle\sim\mathcal{N}(0,I).

The parameter vectors \omega_{\mathrm{dyn}}=(\theta_{\mathrm{dyn}},\phi_{\mathrm{dyn}}) and \omega_{\mathrm{prop}}=(\theta_{\mathrm{prop}},\phi_{\mathrm{prop}}) collect the base-density and flow parameters. The first map defines the transition density p_{\omega_{\mathrm{dyn}}}(x_{k}\mid x_{k-1}), the second the proposal q_{\omega_{\mathrm{prop}}}(x_{k}\mid x_{k-1},y_{k}), from which the particles are sampled, and the third describes possible observations given a state. Invertibility makes all three densities evaluable by change of variables. For example, setting \epsilon_{k}=f_{\phi_{\mathrm{obs}}}^{-1}(y_{k};x_{k}) gives the measurement likelihood

p_{\phi_{\mathrm{obs}}}(y_{k}\mid x_{k})=p_{\epsilon}(\epsilon_{k})\left|\det\frac{\partial f_{\phi_{\mathrm{obs}}}^{-1}(y_{k};x_{k})}{\partial y_{k}}\right|,
(14)

where p_{\epsilon} is the standard Gaussian density and x_{k} is held fixed in the Jacobian. For each proposed particle x_{k}^{(i)}\sim q_{\omega_{\mathrm{prop}}}(\cdot\mid x_{k-1}^{(i)},y_{k}), these densities enter the update

w_{k}^{(i)}\propto w_{k-1}^{(i)}\frac{\underbrace{p_{\phi_{\mathrm{obs}}}(y_{k}\mid x_{k}^{(i)})}_{\mathrm{measurement\ likelihood}}\,\underbrace{p_{\omega_{\mathrm{dyn}}}(x_{k}^{(i)}\mid x_{k-1}^{(i)})}_{\mathrm{transition\ density}}}{\underbrace{q_{\omega_{\mathrm{prop}}}(x_{k}^{(i)}\mid x_{k-1}^{(i)},y_{k})}_{\mathrm{proposal\ density}}},
(15)

followed by normalization as in Equation (12). NF-DPF uses entropy-regularized optimal-transport resampling to support gradient-based learning, and training maximizes a particle estimate of the observation log likelihood or minimizes a supervised state-estimation error. Although the proposal is conditioned on the current measurement, it is trained only as one factor of the importance weight in Equation (15), so its samples approximate the filtering distribution only after weighting by the transition and measurement densities and resampling.

2.2.2 FlowSDE-PF

FlowSDE uses conditional flow matching to train a neural vector field from state-transition data, together with a potential landscape for interpreting critical transitions (Lou et al., 2026a). The learned field is the drift of the SDE

dX_{t}=f_{\varphi}(X_{t},t)\,dt+\sqrt{2D}\,dW_{t},
(16)

where W_{t} is standard Brownian motion and D>0 is a prescribed scalar diffusion coefficient (Lou et al., 2026b, Section 1.1). The flow-matching step constructs supervision for f_{\varphi} between observed states. For a pair (x_{s},x_{t}) with gap h=t-s, it chooses an intermediate fraction \tau\in(0,1) and draws a state at physical time r=s+\tau h from the Gaussian bridge between the two observed states:

\widetilde{X}_{r}=(1-\tau)\,x_{s}+\tau\,x_{t}+\sigma_{\mathrm{br}}\sqrt{\tau(1-\tau)}\,\eta,\qquad\eta\sim\mathcal{N}(0,I).
(17)

It is the marginal at time r of a Brownian motion with scale \sigma_{\mathrm{br}} pinned to x_{s} at time s and to x_{t} at time t. Differentiating this bridge in time supplies an analytic vector-field target b_{r}^{\mathrm{br}}, expressed per unit physical time, and the data-fitting loss is

\mathcal{L}_{\mathrm{CFM}}(\varphi)=\mathbb{E}\,\left[\left\|f_{\varphi}(\widetilde{X}_{r},r)-b_{r}^{\mathrm{br}}(\widetilde{X}_{r}\mid x_{s},x_{t})\right\|^{2}\right],
(18)

which is averaged over training pairs, intermediate times, and bridge samples. Flow matching thus turns dynamics learning into vector-field regression, without simulating trajectories or differentiating through a solver during training. A separate network represents a scalar potential V_{\eta}. It has no target of its own and is trained jointly with the drift through the regularizers of Equation (20) below, which make -\nabla V_{\eta} the gradient part of the drift in the decomposition

f_{\varphi}(x,t)=-\nabla V_{\eta}(x)+R_{\varphi,\eta}(x,t),\qquad R_{\varphi,\eta}=f_{\varphi}+\nabla V_{\eta},
(19)

with a gradient component towards lower potential and a non-conservative residual force. The full objective,

\mathcal{L}(\varphi,\eta)=\mathcal{L}_{\mathrm{CFM}}(\varphi)+\lambda_{\mathrm{E}}\mathcal{L}_{\mathrm{EPR}}(\varphi,\eta)+\lambda_{\mathrm{H}}\mathcal{L}_{\mathrm{HJB}}(\varphi,\eta)+\lambda_{\mathrm{O}}\mathcal{L}_{\mathrm{orth}}(\varphi,\eta),
(20)

adds soft physical-consistency penalties with nonnegative weights: an entropy-production penalty on the residual force under weights derived from \exp(-V_{\eta}/D), a Hamilton–Jacobi–Bellman penalty that encourages compatibility between the drift and the stationary density p_{\mathrm{ss}}\propto\exp(-V_{\eta}/D), and a penalty on the alignment of R_{\varphi,\eta} with \nabla V_{\eta} (Lou et al., 2026b, Sections 1.2–1.4).

FlowSDE has no inference component. Its flow-matching targets are bridges between consecutive states, its uncertainty is fixed by the prescribed D, and its potential regularizers assume a stationary density of the autonomous dynamics. Conditioning the drift on measurements would leave the uncertainty fixed by D instead of learning it from the observations, and would remove the interpretation of the potential. In FlowSDE-PF the drift is therefore conditioned on the state, the time, and the control, and particles are propagated by Euler–Maruyama integration of Equation (16).

3 NormFlowSDE for Amortized Bayesian State Estimation

3.1 Observation-Conditioned State Transitions

To extend conditional normalizing flows to amortized Bayesian state estimation, we represent the state as a time-dependent random variable and combine a conditional flow with the temporal update structure of a neural SDE. With control inputs, the neural SDE of Equation (1) reads

dz_{t}=f_{\varphi}(z_{t},t,u_{t})\,dt+\sigma(z_{t},t,u_{t})\,dW_{t},
(21)

where z_{t}\in\mathbb{R}^{d} is the state variable, u_{t} denotes control inputs, and W_{t} is a d-dimensional Wiener process. The drift f_{\varphi} determines the infinitesimal conditional mean, while \sigma\sigma^{\top} determines the conditional covariance per unit time. At times t_{k}=k\Delta t, with a fixed interval \Delta t>0, the Euler–Maruyama discretization of Equation (21) is

z_{k+1}=z_{k}+\Delta t\,f_{\varphi}(z_{k},t_{k},u_{k})+\sqrt{\Delta t}\,\sigma(z_{k},t_{k},u_{k})\,\epsilon_{k},\qquad\epsilon_{k}\sim\mathcal{N}(0,I_{d}).
(22)

Its stochastic increment is a linear map of a Gaussian input and therefore Gaussian given z_{k}.

To condition the update on the measurements, an encoder C_{\psi}, the counterpart of the summary network of BayesFlow (Section 2.1), compresses a window of measurements preceding the state being estimated. For an integer window length o\geq 1, it computes the window feature

c_{k}=C_{\psi}\,\left(y_{\max(0,k-o+1):k}\right),\qquad k=0,\ldots,N-1.
(23)

Thus the update to z_{k+1} uses at most the last o observations through t_{k}. Near the sequence start, only the available prefix is used. We replace the linear Gaussian noise map \epsilon_{k}\mapsto\sigma\epsilon_{k} of Equation (22) with a conditional invertible flow to obtain the finite-step NormFlowSDE update

z_{k+1}=z_{k}+\Delta t\,f_{\varphi}(z_{k},t_{k},u_{k},c_{k})+\sqrt{\Delta t}\,g_{\phi}(\epsilon_{k};z_{k},t_{k},u_{k},c_{k}),\qquad\epsilon_{k}\stackrel{{\scriptstyle\mathrm{iid}}}{{\sim}}\mathcal{N}(0,I_{d}).
(24)

Here z_{k} denotes a state sample at time t_{k}, and the Gaussian inputs are independent of the supplied data and initial state. The initial state z_{0} is provided by the data and initializes the stochastic process once. Each subsequent update uses the current generated state z_{k}, time t_{k}, control u_{k} when available, and window feature c_{k}.

This construction assigns nominal deterministic evolution to the drift network, while the conditional flow learns the distribution of stochastic increments from data. The drift can also incorporate prior knowledge. Where the equations of motion are partly known, f_{\varphi} can be a hybrid model that adds a learned correction to them. All experiments in this paper nevertheless use a purely learned drift. Both the drift and the flow receive observation information and reuse their fitted parameters across sequences, enabling amortized conditional trajectory sampling. The flow can also contribute to the conditional mean because its output is uncentered. Appendix A constructs a centered inference scheme and proves its weak convergence to an Itô diffusion under stated assumptions.

Shared feature network.

The drift and the flow are functions of the same inputs (z_{k},t_{k},u_{k},c_{k}). Instead of processing these inputs in two separate networks, we compute one feature vector per update with a multilayer perceptron T_{\varphi},

\chi_{k}=T_{\varphi}(z_{k},t_{k},u_{k},c_{k}),
(25)

and let both parts read it. The drift is a linear map of the feature, f_{\varphi}(z_{k},t_{k},u_{k},c_{k})=A_{\varphi}\chi_{k}+b_{\varphi}, and the flow depends on its conditioning inputs only through the feature, g_{\phi}(\epsilon_{k};z_{k},t_{k},u_{k},c_{k})=g_{\phi}(\epsilon_{k};\chi_{k}). One update of Equation (24) therefore evaluates T_{\varphi} once, followed by the linear drift head and the layers of the flow. We keep the notation of Equation (24).

We next derive a composite training objective for NormFlowSDE.

3.2 Training Objective and Procedure

Training uses paired reference states x_{0:N}, observations y_{0:N-1}, and controls u_{0:N-1} when available. The reference path \mathbf{x}=(x_{1},\ldots,x_{N}) supplies supervision, while \mathbf{z}=(z_{1},\ldots,z_{N}) denotes a generated path. The parameter vector \omega=(\varphi,\phi,\psi) collects all trainable parameters.

The objective combines reconstruction accuracy, a transition-density term, agreement between training segments, and a distributional score for full trajectories.

3.2.1 Reconstruction and Transition Terms

With the supplied initial state, observations, and controls fixed, q_{\omega}(\mathbf{z}) denotes the generated path density. To score a generated path against the reference path by a log density, we use the Gaussian reconstruction model p_{\sigma}(x_{k}\mid z_{k})=\mathcal{N}(x_{k};z_{k},\sigma_{\mathrm{state}}^{2}I_{d}) with a fixed scale \sigma_{\mathrm{state}}>0. Its only role is to make \mathcal{L}_{\mathrm{state}}+\mathcal{L}_{\mathrm{trans}} below the expected negative log joint density of the reference and generated paths (Appendix B). In practice, it amounts to a squared state error whose weight relative to the entropy term is set by the hyperparameter \sigma_{\mathrm{state}}. The reconstruction and transition losses are

\displaystyle\mathcal{L}_{\mathrm{state}}(\omega;\mathbf{x}) \\ \displaystyle=\frac{1}{2\sigma_{\mathrm{state}}^{2}}\mathbb{E}_{\mathbf{z}\sim q_{\omega}}\left[\sum_{k=1}^{N}\left\lVert x_{k}-z_{k}\right\rVert^{2}\right]+\frac{Nd}{2}\log(2\pi\sigma_{\mathrm{state}}^{2}), \\ \displaystyle\mathcal{L}_{\mathrm{trans}}(\omega) \\ \displaystyle=\mathbb{E}_{\mathbf{z}\sim q_{\omega}}[-\log q_{\omega}(\mathbf{z})]=H(q_{\omega}),
(26) (27)

where H(q_{\omega}) is the differential entropy of the generated path. The reconstruction scale is distinct from observation noise and learned transition uncertainty.

Both expectations are taken over generated paths, which are not available in closed form. Evaluating \mathcal{L}_{\mathrm{state}} therefore requires integrating Equation (24) forward from the supplied initial state, one step per physical interval, with a fresh Gaussian input at every step. Equation (24) is itself an Euler–Maruyama-type update (Kloeden & Platen, 1992), and this is the sampler we use on all four datasets. Higher-order stochastic solvers can also be applied after adapting the stochastic term, such as the Heun (Rümelin, 1982; Kloeden & Platen, 1992), reversible Heun (Kidger et al., 2021a), and midpoint (Milstein & Tretyakov, 2004) solvers.

For a differentiable, invertible flow with nonsingular forward Jacobian J_{\phi,k}(\epsilon)=\partial g_{\phi}(\epsilon;z_{k},t_{k},u_{k},c_{k})/\partial\epsilon, change of variables in Equation (24) gives

\log q_{\omega}(z_{k+1}\mid z_{k},t_{k},u_{k},c_{k})=\log\mathcal{N}(\epsilon_{k};0,I_{d})-\log|\det J_{\phi,k}(\epsilon_{k})|-\frac{d}{2}\log\Delta t.
(28)

The Gaussian log density has a parameter-independent expectation because \epsilon_{k}\sim\mathcal{N}(0,I_{d}). Thus only the expected sum of forward log determinants in \mathcal{L}_{\mathrm{trans}} affects optimization.

Minimizing this entropy term favors concentrated transitions. The conditional flow is built from the affine coupling layers of Equation (2), conditioned on (z_{k},t_{k},u_{k},c_{k}) through the feature \chi_{k} of Equation (25). To keep the transitions nondegenerate, we bound their log scales to (-\alpha,\alpha) by setting \kappa_{\ell}=\alpha\tanh(\cdot), where the bound \alpha>0 is a fixed hyperparameter (Table 4). For a flow with L_{\mathrm{f}} coupling layers, where layer \ell rescales d_{\ell} coordinates, this bounds the Jacobian determinant on both sides:

e^{-B}\leq|\det J_{\phi,k}(\epsilon)|\leq e^{B},\qquad B=\alpha\sum_{\ell=1}^{L_{\mathrm{f}}}d_{\ell},\qquad\epsilon\in\mathbb{R}^{d}.
(29)

The lower side bounds the transition entropy below, so the entropy term cannot collapse the stochastic increments. As a side effect, it also imposes a noise floor that is set by \alpha and L_{\mathrm{f}}. A learnable per-coordinate factor is therefore required. We denote the bounded coupling flow described so far by \bar{g}_{\phi} and define the noise map of Equation (24) as its product with a learned scale,

g_{\phi}(\epsilon;z_{k},t_{k},u_{k},c_{k})=\mathrm{diag}(s_{\phi})\,\bar{g}_{\phi}(\epsilon;z_{k},t_{k},u_{k},c_{k}).
(30)

The scale s_{\phi}\in\mathbb{R}^{d}_{>0} consists of d free parameters, one per state coordinate. It does not depend on the state, the time, the control, or the observations, so the dependence of the noise on these inputs is carried by the coupling layers alone. Its logarithm is bounded within a much wider range than the coupling log scales, and the scale is initialized to one (Appendix B).

The sum \mathcal{L}_{\mathrm{state}}+\mathcal{L}_{\mathrm{trans}} forms a composite reconstruction-and-entropy objective. Appendix B gives the derivation together with the determinant and entropy bounds.

3.2.2 Multiple Shooting and Boundary Consistency

To shorten the trajectories through which gradients must be propagated, we choose an integer segment length L_{S}\geq 2, counted in state points. This count includes the supplied initial state, so each full segment advances L_{S}-1 time steps and ends at local index k=L_{S}-1. We divide the N transitions into S segments, including a shorter final segment when needed:

S=\left\lceil\frac{N}{L_{S}-1}\right\rceil,\qquad\sum_{s=1}^{S}(L^{(s)}-1)=N,\qquad L^{(s)}=1+\min\{L_{S}-1,\,N-(s-1)(L_{S}-1)\},\qquad s=1,\ldots,S.
(31)

Here s labels the segment and L^{(s)} is its actual number of state points. Local index k in segment s corresponds to global time index (s-1)(L_{S}-1)+k.

The supplied initial state of each segment initializes its training rollout. We generate the segments independently in parallel, with the same parameters \omega. The boundary penalty compares the predicted endpoint of each nonfinal segment at k=L_{S}-1 with the next supplied initial state at k=0:

\mathcal{L}_{\mathrm{cont}}(\omega)=\mathbb{E}\left[\sum_{s=1}^{S-1}\left\lVert z_{L_{S}-1}^{(s)}-z_{0}^{(s+1)}\right\rVert^{2}\right].
(32)

The expectation is estimated by averaging the summed squared boundary discrepancies over sampled segment rollouts.

3.2.3 Full-Horizon Distributional Supervision

To account for errors that accumulate over the complete horizon, we generate full trajectories from the supplied initial state z_{0}, without restarting at segment boundaries. The vectors \mathbf{z} and \mathbf{z}^{\prime} denote two such trajectories generated using independent Gaussian inputs, with the same observations, controls, and initial state. We compare them with the reference trajectory \mathbf{x} using the energy score (Gneiting & Raftery, 2007):

\mathcal{L}_{\mathrm{rollout}}(\omega;\mathbf{x})=\mathbb{E}\,\left[\left\lVert\mathbf{z}-\mathbf{x}\right\rVert\right]-\frac{1}{2}\mathbb{E}\,\left[\left\lVert\mathbf{z}-\mathbf{z}^{\prime}\right\rVert\right].
(33)

Each norm is the unsquared Euclidean distance over all time steps and state coordinates. The expectations average over the generated trajectories, holding the supplied data fixed. The first term encourages agreement with the reference trajectory. The second rewards separation between generated trajectories and counteracts their collapse to a single prediction.

During training, we generate M\geq 2 independent full trajectories \mathbf{z}^{(1)},\ldots,\mathbf{z}^{(M)} and compute

\widehat{\mathcal{L}}_{\mathrm{rollout}}(\omega;\mathbf{x})=\frac{1}{M}\sum_{i=1}^{M}\left\lVert\mathbf{z}^{(i)}-\mathbf{x}\right\rVert-\frac{1}{2M(M-1)}\sum_{i\neq j}\left\lVert\mathbf{z}^{(i)}-\mathbf{z}^{(j)}\right\rVert.
(34)

This estimator averages distances to the reference and subtracts half the average distance between distinct generated trajectories. The second sum includes both orders of each pair and excludes self-pairs, giving an unbiased estimate of Equation (33).

For fixed observations, controls, and initial state, the expected energy score over reference trajectories is uniquely minimized by matching their true conditional distribution, provided the reference and generated trajectories have finite expected norms (Gneiting & Raftery, 2007; Székely & Rizzo, 2013). The energy score helps maintain diversity among generated samples while encouraging agreement with the reference trajectory.

3.2.4 Combined Objective and Optimization

The combined training objective is

\mathbb{E}_{\mathcal{D}_{\mathrm{train}}}[\mathcal{L}(\omega;\mathbf{x})]=\mathbb{E}_{\mathcal{D}_{\mathrm{train}}}[\mathcal{L}_{\mathrm{state}}(\omega;\mathbf{x})+\mathcal{L}_{\mathrm{trans}}(\omega)+\lambda_{\mathrm{cont}}\mathcal{L}_{\mathrm{cont}}(\omega)+\lambda_{\mathrm{rollout}}\mathcal{L}_{\mathrm{rollout}}(\omega;\mathbf{x})].
(35)

Here \mathbb{E}_{\mathcal{D}_{\mathrm{train}}} averages over paired reference states, raw observations, controls, and supplied initial states, together with the selected segment partitions and anchors. We evaluate the rollout term every five optimizer updates to reduce the computational cost.

4 Empirical evaluation

We evaluate NormFlowSDE as a causal amortized Bayesian filter on two simulated systems and two robot datasets against seven learned estimators trained on the same data. Following Section 2, the eight methods form two groups of four: direct estimators, which sample the state trajectory conditioned on encoded measurements, and particle filters, which weight their particles with a learned measurement likelihood. One of the particle filters uses NormFlowSDE’s own transition and separates the transition model from the direct update (Section 4.2). All four datasets are observed through the same heavy-tailed, multimodal measurement noise, so that the comparison also tests how each method copes with a non-Gaussian likelihood. We evaluate the accuracy of the filtering distributions, the calibration of their uncertainty intervals, and the inference cost. All methods have the same information access, use the same data splits and update budgets (with one exception for NormFlowSDE on REASSEMBLE, stated in Section 4.3), and are scored with the same metrics. Every number in this section is produced from the frozen run directories by the scripts listed in Appendix C.

4.1 Datasets

Table 1 summarizes the four datasets. Each sequence consists of a known initial state, a control sequence, and noisy observations of the subsequent states. The reference states are the states before the synthetic observation noise of Equation (36) is added. They supervise training and are used for scoring. However, no method sees them at test time, where only the initial state, the controls, and the noisy observations are available. In real-world applications, these labels come from simulation or from a more accurate reference sensor available during data collection. Every dataset is split by trajectory or episode before windowing, and normalization statistics are computed on the training split only.

Observation noise.

Each observed coordinate is corrupted independently by the same three-component Gaussian mixture,

V\sim 0.70\,\mathcal{N}\,\big(0,(0.5\sigma)^{2}\big)+0.15\,\mathcal{N}\,\big(2.5\sigma,(1.5\sigma)^{2}\big)+0.15\,\mathcal{N}\,\big(-2.5\sigma,(1.5\sigma)^{2}\big),
(36)

whose scale \sigma is 0.1 for the pendulum (in rad and rad/s), 0.5 for Lorenz–96, and 0.1 in normalized units for the two robot datasets. The mixture has standard deviation 1.65\,\sigma. We compare a reconstructed noise density q with the mixture density p by the overlap coefficient

\mathrm{OVL}(p,q)=\int\min\{p(v),q(v)\}\,dv=1-\operatorname{TV}(p,q),
(37)

which equals one for identical densities and zero for densities with disjoint support. The Gaussian with the same mean and variance as the mixture has an overlap of 0.668 with it, which serves as a reference value for a Gaussian noise model.

Table 1: Datasets. The observation noise is the mixture of Equation (36) with the stated scale \sigma. The label “sim. demonstrations” refers to human teleoperation recorded in simulation. M is the number of posterior draws scored per window (Appendix C.3).
  • Source
    Pendulum
    simulated
    Lorenz–96
    simulated
    ALOHA insertion
    sim. demonstrations
    REASSEMBLE
    real robot
  • State dimension d
    Pendulum
    2
    Lorenz–96
    12
    ALOHA insertion
    14
    REASSEMBLE
    7
  • Observed coordinates
    Pendulum
    2
    Lorenz–96
    6
    ALOHA insertion
    14
    REASSEMBLE
    7
  • Control dimension
    Pendulum
    1
    Lorenz–96
    –
    ALOHA insertion
    14
    REASSEMBLE
    9
  • Observation noise
    Pendulum
    mixture, \sigma=0.1
    Lorenz–96
    mixture, \sigma=0.5
    ALOHA insertion
    mixture, \sigma=0.1
    REASSEMBLE
    mixture, \sigma=0.1
  • Time step \Delta t
    Pendulum
    0.05
    Lorenz–96
    0.02
    ALOHA insertion
    0.02
    REASSEMBLE
    1/30
  • Window length (steps)
    Pendulum
    60
    Lorenz–96
    100
    ALOHA insertion
    250
    REASSEMBLE
    250
  • Train / val. / test windows
    Pendulum
    224 / 48 / 48
    Lorenz–96
    1600 / 200 / 100
    ALOHA insertion
    400 / 50 / 50
    REASSEMBLE
    2000 / 300 / 300
  • Samples / particles M
    Pendulum
    128
    Lorenz–96
    200
    ALOHA insertion
    200
    REASSEMBLE
    500
  • Metric units
    Pendulum
    physical
    Lorenz–96
    physical
    ALOHA insertion
    normalized
    REASSEMBLE
    normalized
Controlled pendulum.

The first system is a damped pendulum driven by a scalar torque u. It is simulated as the Itô SDE

d\theta=\omega\,dt+\sigma_{\theta}\,dW_{\theta},\qquad d\omega=\Big(\frac{u}{m\ell^{2}}-c\,\omega-\frac{g}{\ell}\sin\theta\Big)dt+\sigma_{\omega}\,dW_{\omega},
(38)

with g=9.81, \ell=m=1, damping c=0.2, and process-noise scales \sigma_{\theta}=0.01 and \sigma_{\omega}=0.2. The SDE is integrated by Euler–Maruyama with eight substeps per observation interval \Delta t=0.05. The initial state is known to every filter and is drawn as \theta_{0}\sim\mathcal{U}(-\pi,\pi), \omega_{0}\sim\mathcal{N}(0,0.6^{2}). Both coordinates are observed.

Lorenz–96.

The second system is the twelve-dimensional Lorenz–96 model,

\frac{dx_{i}}{dt}=(x_{i+1}-x_{i-2})x_{i-1}-x_{i}+F,\qquad i=0,\ldots,11,\qquad F=8,
(39)

with cyclic indices. It is integrated with a fourth-order Runge–Kutta scheme at \Delta t=0.02. Each window is an independent trajectory. Its initial state is drawn as x(0)\sim\mathcal{N}(0,\,0.01^{2}I) and integrated for a spin-up of 500 steps so that it lies on the attractor. The state at the end of the spin-up is the known initial state x_{0} of the window. Only every second coordinate is observed, so six coordinates must be inferred from the dynamics alone.

ALOHA insertion.

The third dataset consists of bimanual peg-insertion demonstrations from the ALOHA simulation benchmark, recorded by human teleoperation at 50 Hz (Zhao et al., 2023). Each frame stores two different 14-dimensional joint vectors, which we keep apart. The commanded joint positions are the leader-arm targets sent to the position controllers of the follower arms, and they serve as the control input. The measured joint positions of the follower arms define the state. The two differ by the tracking error of the controllers, which is largest during contact. The recorded states are deterministic given the commands, so we perturb them by a slowly varying latent disturbance before normalization. This disturbance is a four-dimensional AR(1) velocity offset whose magnitude grows with the tracking error and is therefore largest during contact. The exact recipe is given in Appendix C. The perturbed trajectory is the reference state, and it is observed through the noise of Equation (36) with \sigma=0.1 in normalized units.

REASSEMBLE.

The fourth dataset consists of contact-rich assembly and disassembly episodes recorded on a real seven-degree-of-freedom robot arm at 30 Hz (Sliwowski et al., 2025). The state consists of the seven joint positions, all of which are observed. The nine-dimensional robot commands serve as controls. Unlike the other datasets, the dynamics are those of a physical system interacting with its environment, and no model of them is available.

4.2 Compared Methods

All eight methods are causal: they start from the known initial state, and no estimate uses a measurement taken after its own time. The particle filters weight the prediction of x_{k+1} with y_{k+1}. In contrast, the direct estimators produce x_{k+1} from x_{k} and the window feature c_{k} of Equation (23), which ends at y_{k}. The direct estimators are NormFlowSDE, latent NSF, latent SDE, and SigKer SDE. The three baselines use the encoder of NormFlowSDE (the same window of ten measurements and the same width) and have the parameter count of NormFlowSDE. Because our data pair states with measurements, their latent state is identified with the physical state and supervised by the reference states (Appendix C.6). The particle filters (Section 2.2) obtain their uncertainty through Bayesian weighting with learned transition and measurement models. NSF-PF, FlowSDE-PF, and NormFlowSDE-PF are bootstrap filters whose measurement flows have the same architecture and training, each fitted jointly with its own transition, so that they differ only in the transition. NF-DPF additionally samples its particles from a measurement-conditioned proposal. NormFlowSDE-PF uses the transition of Equation (24), conditioned on the control and the time but not on observations, with the particle counts and the training and selection recipe of NSF-PF (Appendix C.5). It separates the transition model of NormFlowSDE from the way it is used. For the two simulated systems, pendulum and Lorenz–96, we also report model-based reference filters that use the true dynamics and the true noise scale: an extended Kalman filter (EKF) and an unscented Kalman filter (UKF) with the moment-matched Gaussian likelihood, and a bootstrap particle filter with the exact mixture likelihood. These references indicate the accuracy attainable with perfect models and are not competitors.

4.3 Benchmark Results

Tables 2 and 3 compare the eight methods on the simulated systems and the robot datasets. Each configuration is trained with three independent seeds, and we report the mean and standard deviation over seeds. Accuracy is measured by the RMSE of the posterior mean, averaged over test windows. Distributional accuracy is measured by the continuous ranked probability score (CRPS) and the energy score (Gneiting & Raftery, 2007), averaged over coordinates. Calibration is measured by the empirical coverage of central 90% marginal intervals, pooled over windows, steps and coordinates, which is read together with their mean width. Inference cost is the median wall-clock time to filter one test window on a single GPU, measured for every method on the same device.

Table 2: Test results on the simulated systems for the four direct estimators and the four particle filters (PF). Entries are the mean \pm standard deviation over three training seeds. Each method returns M posterior draws per window as in Table 1, and the particle filters run with the particle count of the dataset protocol. Bold marks the best learned method per dataset, which for coverage is the one closest to the nominal level of 0.90. RMSE and width are in the metric units of Table 1. Latency is the median time in milliseconds to filter one test window, measured for seed 0 on one NVIDIA L40S with compilation excluded (Appendix C.3), and bold marks the fastest learned method. The rows labeled “ref.” are model-based reference filters with the true dynamics, which are not competitors.
  • Pendulum
    Route
    direct
    Method
    NormFlowSDE
    RMSE \downarrow
    0.0736 \pm 0.0029
    CRPS \downarrow
    0.0387 \pm 0.0012
    Cov. 90%
    0.920 \pm 0.002
    Width
    0.2321 \pm 0.0061
    Latency (ms) \downarrow
    2.0
  • No data
    Method
    Latent NSF
    RMSE \downarrow
    0.1534 \pm 0.0325
    CRPS \downarrow
    0.0666 \pm 0.0100
    Cov. 90%
    0.889 \pm 0.004
    Width
    0.3224 \pm 0.0242
    Latency (ms) \downarrow
    1.7
  • No data
    Method
    Latent SDE
    RMSE \downarrow
    0.1063 \pm 0.0024
    CRPS \downarrow
    0.0531 \pm 0.0021
    Cov. 90%
    0.933 \pm 0.012
    Width
    0.3388 \pm 0.0069
    Latency (ms) \downarrow
    2.0
  • No data
    Method
    SigKer SDE
    RMSE \downarrow
    0.1815 \pm 0.0173
    CRPS \downarrow
    0.0993 \pm 0.0107
    Cov. 90%
    0.174 \pm 0.080
    Width
    0.1068 \pm 0.0321
    Latency (ms) \downarrow
    2.0
  • No data
    Route
    PF
    Method
    NF-DPF
    RMSE \downarrow
    0.0792 \pm 0.0053
    CRPS \downarrow
    0.0392 \pm 0.0021
    Cov. 90%
    0.913 \pm 0.004
    Width
    0.2500 \pm 0.0192
    Latency (ms) \downarrow
    8.5
  • No data
    Method
    NSF-PF
    RMSE \downarrow
    0.0650 \pm 0.0004
    CRPS \downarrow
    0.0333 \pm 0.0001
    Cov. 90%
    0.858 \pm 0.006
    Width
    0.1767 \pm 0.0032
    Latency (ms) \downarrow
    8.6
  • No data
    Method
    FlowSDE-PF
    RMSE \downarrow
    0.1190 \pm 0.0017
    CRPS \downarrow
    0.0625 \pm 0.0006
    Cov. 90%
    0.906 \pm 0.002
    Width
    0.3554 \pm 0.0227
    Latency (ms) \downarrow
    10.9
  • No data
    Method
    NormFlowSDE-PF
    RMSE \downarrow
    0.0959 \pm 0.0058
    CRPS \downarrow
    0.0451 \pm 0.0023
    Cov. 90%
    0.875 \pm 0.003
    Width
    0.2158 \pm 0.0059
    Latency (ms) \downarrow
    8.2
  • No data
    Route
    ref.
    Method
    EKF / UKF
    RMSE \downarrow
    0.0578 \pm 0.0000
    CRPS \downarrow
    0.0296 \pm 0.0000
    Cov. 90%
    0.870 \pm 0.001
    Width
    0.1650 \pm 0.0002
    Latency (ms) \downarrow
    11.5 / 11.7
  • No data
    Method
    bootstrap PF
    RMSE \downarrow
    0.0406 \pm 0.0003
    CRPS \downarrow
    0.0192 \pm 0.0001
    Cov. 90%
    0.895 \pm 0.002
    Width
    0.1129 \pm 0.0000
    Latency (ms) \downarrow
    10.4
  • Lorenz–96
    Route
    direct
    Method
    NormFlowSDE
    RMSE \downarrow
    0.2725 \pm 0.0019
    CRPS \downarrow
    0.1464 \pm 0.0010
    Cov. 90%
    0.910 \pm 0.004
    Width
    0.8767 \pm 0.0059
    Latency (ms) \downarrow
    4.9
  • No data
    Method
    Latent NSF
    RMSE \downarrow
    0.8230 \pm 0.0147
    CRPS \downarrow
    0.4021 \pm 0.0040
    Cov. 90%
    0.875 \pm 0.003
    Width
    2.1569 \pm 0.0341
    Latency (ms) \downarrow
    2.9
  • No data
    Method
    Latent SDE
    RMSE \downarrow
    0.3304 \pm 0.0061
    CRPS \downarrow
    0.1836 \pm 0.0037
    Cov. 90%
    0.800 \pm 0.006
    Width
    0.7675 \pm 0.0054
    Latency (ms) \downarrow
    4.2
  • No data
    Method
    SigKer SDE
    RMSE \downarrow
    0.4536 \pm 0.0071
    CRPS \downarrow
    0.2645 \pm 0.0069
    Cov. 90%
    0.542 \pm 0.034
    Width
    0.6036 \pm 0.0461
    Latency (ms) \downarrow
    4.4
  • No data
    Route
    PF
    Method
    NF-DPF
    RMSE \downarrow
    0.2724 \pm 0.0073
    CRPS \downarrow
    0.1476 \pm 0.0038
    Cov. 90%
    0.883 \pm 0.012
    Width
    0.7798 \pm 0.0434
    Latency (ms) \downarrow
    28.2
  • No data
    Method
    NSF-PF
    RMSE \downarrow
    0.1556 \pm 0.0046
    CRPS \downarrow
    0.0783 \pm 0.0021
    Cov. 90%
    0.921 \pm 0.005
    Width
    0.4731 \pm 0.0009
    Latency (ms) \downarrow
    20.8
  • No data
    Method
    FlowSDE-PF
    RMSE \downarrow
    0.3017 \pm 0.0038
    CRPS \downarrow
    0.1634 \pm 0.0026
    Cov. 90%
    0.899 \pm 0.002
    Width
    0.9349 \pm 0.0012
    Latency (ms) \downarrow
    30.1
  • No data
    Method
    NormFlowSDE-PF
    RMSE \downarrow
    0.1974 \pm 0.0071
    CRPS \downarrow
    0.1011 \pm 0.0040
    Cov. 90%
    0.876 \pm 0.003
    Width
    0.4759 \pm 0.0025
    Latency (ms) \downarrow
    20.6
  • No data
    Route
    ref.
    Method
    EKF / UKF
    RMSE \downarrow
    0.0229 \pm 0.0000
    CRPS \downarrow
    0.0093 \pm 0.0000
    Cov. 90%
    0.997 \pm 0.000
    Width
    0.0906 \pm 0.0001
    Latency (ms) \downarrow
    12.0 / 18.1
  • No data
    Method
    bootstrap PF
    RMSE \downarrow
    0.0188 \pm 0.0001
    CRPS \downarrow
    0.0077 \pm 0.0000
    Cov. 90%
    0.990 \pm 0.000
    Width
    0.0674 \pm 0.0000
    Latency (ms) \downarrow
    15.5
Simulated systems.

On the pendulum and Lorenz–96, the most accurate learned method is a particle filter. NSF-PF reaches the lowest RMSE and CRPS on both systems. On the pendulum, NormFlowSDE is the second most accurate method (0.074 against 0.065) and more accurate than the other three particle filters. On Lorenz–96, NSF-PF (0.156) and NormFlowSDE-PF (0.197) are clearly ahead, and NormFlowSDE (0.273) is as accurate as NF-DPF (0.272) and more accurate than FlowSDE-PF. NormFlowSDE is the most accurate direct estimator on both systems. Both systems have smooth, low-dimensional dynamics that a one-step transition model can learn accurately from clean state pairs. Once these models are accurate, Bayesian weighting is close to optimal. The reference filters put the numbers in perspective. On the pendulum, the exact-likelihood particle filter with the true model reaches 0.041. However, the Gaussian filters, including EKF and UKF, which are with the true dynamics but the moment-matched likelihood, reach only 0.058. About 70% of the gap between the best learned filter and the exact-likelihood reference is therefore caused by the noise model alone. On Lorenz–96 the reference particle filter reaches 0.019, an order of magnitude below every learned method. This is due to the exact chaotic dynamics whereas the other learned state estimators have only 6 out of 12 observable states.

Judged by coverage and interval width together, NormFlowSDE is the only direct estimator whose 90% intervals are both calibrated and informative on the two systems: its coverage is within 0.02 of the nominal level (0.920 and 0.910). FlowSDE-PF is closer to nominal (0.906 and 0.899), but its intervals are 53% and 7% wider than those of NormFlowSDE and its RMSE is higher, so it is calibrated but not sharp. The same holds for latent NSF, whose near-nominal coverage (0.889 and 0.875) rests on intervals 1.4 and 2.5 times as wide as those of NormFlowSDE. Conversely, narrow intervals do not guarantee coverage: NSF-PF, the most accurate method, under-covers on the pendulum (0.858), and NormFlowSDE-PF under-covers on both systems (0.875 and 0.876).

Table 3: Test results on the robot datasets, in the format of Table 2.
  • ALOHA
    Route
    direct
    Method
    NormFlowSDE
    RMSE \downarrow
    0.0523 \pm 0.0001
    CRPS \downarrow
    0.0291 \pm 0.0001
    Cov. 90%
    0.911 \pm 0.008
    Width
    0.1787 \pm 0.0066
    Latency (ms) \downarrow
    9.7
  • No data
    Method
    Latent NSF
    RMSE \downarrow
    0.0559 \pm 0.0018
    CRPS \downarrow
    0.0308 \pm 0.0011
    Cov. 90%
    0.878 \pm 0.021
    Width
    0.1709 \pm 0.0133
    Latency (ms) \downarrow
    5.8
  • No data
    Method
    Latent SDE
    RMSE \downarrow
    0.0597 \pm 0.0006
    CRPS \downarrow
    0.0332 \pm 0.0004
    Cov. 90%
    0.884 \pm 0.022
    Width
    0.1856 \pm 0.0133
    Latency (ms) \downarrow
    8.7
  • No data
    Method
    SigKer SDE
    RMSE \downarrow
    0.0648 \pm 0.0015
    CRPS \downarrow
    0.0426 \pm 0.0039
    Cov. 90%
    0.250 \pm 0.158
    Width
    0.0372 \pm 0.0249
    Latency (ms) \downarrow
    9.1
  • No data
    Route
    PF
    Method
    NF-DPF
    RMSE \downarrow
    0.0969 \pm 0.0044
    CRPS \downarrow
    0.0565 \pm 0.0026
    Cov. 90%
    0.751 \pm 0.009
    Width
    0.2198 \pm 0.0046
    Latency (ms) \downarrow
    50.2
  • No data
    Method
    NSF-PF
    RMSE \downarrow
    0.0828 \pm 0.0006
    CRPS \downarrow
    0.0484 \pm 0.0003
    Cov. 90%
    0.830 \pm 0.001
    Width
    0.2321 \pm 0.0004
    Latency (ms) \downarrow
    38.2
  • No data
    Method
    FlowSDE-PF
    RMSE \downarrow
    0.0708 \pm 0.0008
    CRPS \downarrow
    0.0408 \pm 0.0005
    Cov. 90%
    0.868 \pm 0.003
    Width
    0.2178 \pm 0.0022
    Latency (ms) \downarrow
    48.4
  • No data
    Method
    NormFlowSDE-PF
    RMSE \downarrow
    0.0778 \pm 0.0002
    CRPS \downarrow
    0.0453 \pm 0.0002
    Cov. 90%
    0.854 \pm 0.001
    Width
    0.2319 \pm 0.0007
    Latency (ms) \downarrow
    37.8
  • REASSEMBLE
    Route
    direct
    Method
    NormFlowSDE
    RMSE \downarrow
    0.0319 \pm 0.0008
    CRPS \downarrow
    0.0176 \pm 0.0004
    Cov. 90%
    0.912 \pm 0.001
    Width
    0.1053 \pm 0.0018
    Latency (ms) \downarrow
    10.3
  • No data
    Method
    Latent NSF
    RMSE \downarrow
    0.0335 \pm 0.0005
    CRPS \downarrow
    0.0180 \pm 0.0003
    Cov. 90%
    0.890 \pm 0.001
    Width
    0.0992 \pm 0.0014
    Latency (ms) \downarrow
    6.4
  • No data
    Method
    Latent SDE
    RMSE \downarrow
    0.0365 \pm 0.0004
    CRPS \downarrow
    0.0199 \pm 0.0002
    Cov. 90%
    0.918 \pm 0.002
    Width
    0.1227 \pm 0.0006
    Latency (ms) \downarrow
    9.8
  • No data
    Method
    SigKer SDE
    RMSE \downarrow
    0.0494 \pm 0.0073
    CRPS \downarrow
    0.0307 \pm 0.0022
    Cov. 90%
    0.382 \pm 0.202
    Width
    0.0519 \pm 0.0373
    Latency (ms) \downarrow
    9.8
  • No data
    Route
    PF
    Method
    NF-DPF
    RMSE \downarrow
    0.0598 \pm 0.0007
    CRPS \downarrow
    0.0331 \pm 0.0004
    Cov. 90%
    0.873 \pm 0.008
    Width
    0.1791 \pm 0.0027
    Latency (ms) \downarrow
    48.8
  • No data
    Method
    NSF-PF
    RMSE \downarrow
    0.0612 \pm 0.0002
    CRPS \downarrow
    0.0343 \pm 0.0001
    Cov. 90%
    0.917 \pm 0.000
    Width
    0.2138 \pm 0.0001
    Latency (ms) \downarrow
    44.0
  • No data
    Method
    FlowSDE-PF
    RMSE \downarrow
    0.0526 \pm 0.0014
    CRPS \downarrow
    0.0297 \pm 0.0009
    Cov. 90%
    0.952 \pm 0.002
    Width
    0.2114 \pm 0.0052
    Latency (ms) \downarrow
    54.8
  • No data
    Method
    NormFlowSDE-PF
    RMSE \downarrow
    0.0618 \pm 0.0006
    CRPS \downarrow
    0.0348 \pm 0.0004
    Cov. 90%
    0.919 \pm 0.002
    Width
    0.2188 \pm 0.0045
    Latency (ms) \downarrow
    41.8
Robot datasets.

On ALOHA and REASSEMBLE the direct route is the more accurate one. On both datasets every direct estimator is more accurate than the corresponding particle filter. The RMSE of NormFlowSDE is 26% lower than that of the best particle filter, FlowSDE-PF, on ALOHA and 39% lower on REASSEMBLE. Here the transition dynamics are high-dimensional, and for REASSEMBLE they are those of a physical, contact-rich system. The particle filters rely on a learned one-step transition model and a learned measurement density, and errors in either directly affect their weights. NF-DPF in particular loses accuracy and coverage on ALOHA. The direct estimators instead learn the observation-conditioned update and use every observed coordinate without an explicit likelihood. Within the direct group, NormFlowSDE attains the lowest RMSE and CRPS on both datasets, with an RMSE 6% and 5% below that of latent NSF. NormFlowSDE, latent NSF, and the latent SDE all cover within 0.025 of the nominal level on both datasets (0.88 to 0.92), which no particle filter achieves. NormFlowSDE is the closest of the three on ALOHA (0.91), and latent NSF is slightly closer on REASSEMBLE (0.89 against 0.91). Among these three, latent NSF has the narrowest intervals on both datasets. The signature-kernel SDE is strongly under-dispersed.

Calibration.

Figure 2 shows the empirical coverage of central intervals at nominal levels from 10% to 95% for all eight learned methods, with the direct estimators in the top row and the particle filters in the bottom row. The intervals of NormFlowSDE are close to nominal at the high levels on all four datasets (within 0.02 at the 90% level and within 0.005 at the 95% level). At the central levels they are slightly too wide: its coverage at the 50% level is 0.54 to 0.58. Among the direct baselines, latent NSF lies closest to the diagonal on every dataset (within 0.025 at every level). The latent SDE is calibrated on ALOHA, over-dispersed on the pendulum and REASSEMBLE, and under-dispersed on Lorenz–96. The signature-kernel SDE is strongly under-dispersed on every dataset.

The particle filters are miscalibrated in both directions depending on the dataset. NF-DPF is over-dispersed at the central levels on the pendulum and strongly under-dispersed on ALOHA. FlowSDE-PF is nominal at the 90% level on both simulated systems but over-dispersed at the central levels on the pendulum (0.64 at the 50% level), it is over-dispersed at every level on REASSEMBLE, and it is the best calibrated particle filter on ALOHA (within 0.035 at every level). NSF-PF is under-dispersed on the pendulum and ALOHA and over-dispersed at the central levels on Lorenz–96 and REASSEMBLE. NormFlowSDE-PF is under-dispersed at the high levels on the pendulum and ALOHA and over-dispersed on REASSEMBLE. Among the methods whose 90% coverage lies within 0.025 of the nominal level on the robot datasets, latent NSF has the narrowest intervals, closely followed by NormFlowSDE. The signature-kernel SDE has even narrower intervals on both datasets, but they come with under-coverage. The reference filters are over-dispersed on Lorenz–96, so even the true model does not yield calibrated intervals on the chaotic system.

Figure 2: Calibration of central marginal intervals at nominal levels from 10% to 95%, pooled over test windows, steps, and coordinates. The curves show the mean over three seeds, and the shaded bands show the range over seeds. The top row shows the direct estimators. The bottom row shows the particle filters, including the pendulum ablation of NormFlowSDE-PF without the learned scale. On REASSEMBLE, the curves of NSF-PF and NormFlowSDE-PF coincide. The diagonal indicates perfect calibration. The gray curves are the reference filters with the true model on the simulated systems.
Shape of the observation noise.

Figure 3 shows how well each method recovers the mixture noise of Equation (36) on REASSEMBLE. For every method, it compares the distribution of the implied residuals y-\mathbb{E}[x\mid y], that is, the measurements minus the posterior mean, with the true mixture. The implied residuals of the direct estimators keep the spread of the data (standard deviation 0.163 to 0.172 against 0.165) and follow the shape of the mixture. NormFlowSDE has the largest overlap to the ground truth. In contrast, the implied residuals of the particle filters overlap less with the mixture (0.88 to 0.91) and are 6% to 11% narrower than the data, because their posterior means partly follow the noisy measurements. The learned measurement flows q(y\mid x) of the particle filters, drawn in blue in panels (a) to (d), explain this difference. All four coincide with the moment-matched Gaussian, and their overlap with the mixture is 0.67, which is the analytic value for that Gaussian. Maximum-likelihood training thus matches the variance of the noise but not its sharp central component or its side modes. The particles are therefore weighted with a Gaussian likelihood, which is the same deficit that limits the EKF and UKF on the pendulum.

Figure 3: Observation noise on REASSEMBLE as represented by the four particle filters (top, a–d) and the four direct estimators (bottom, e–h), shown for seed 0 in normalized units. Gray: histogram of the data residuals y-x; black: the mixture of Equation (36); orange, dashed: the implied residuals y-\mathbb{E}[x\mid y] of each method’s posterior mean on all test windows; blue (particle filters only): the learned observation model q(y\mid x) as a density of the residual y-x, averaged over test states, with the 10% to 90% range over states, which is barely wider than the line. The numbers in each panel are overlap coefficients of Equation (37) with the mixture, where one means identical densities: in orange for a kernel density estimate of the implied residuals, and in blue for the observation model.
Latency.

A direct estimator requires one network evaluation per time step, without weighting or resampling. A particle filter additionally evaluates the measurement density for every particle at every step and resamples when the effective sample size drops. The latency columns of Tables 2 and 3 report the median time to filter one test window in the configuration of each row. All eight learned methods and the reference filters were timed on the same GPU. Every direct estimator is faster than every particle filter on every dataset. NormFlowSDE is faster than the fastest particle filter by a factor of 3.9 to 4.2. The cost advantage is a property of the direct route rather than of NormFlowSDE alone. The direct baselines also need one encoder and update evaluation per step and no likelihood evaluation, and their cost is similar. Latent NSF is the fastest method on every dataset. It is faster than NormFlowSDE by a factor of 1.2 on the pendulum and 1.6 to 1.7 on the other datasets (1.7 to 6.4 ms against 2.0 to 10.3 ms), because Latent NSF samples from a Gaussian posterior whereas NormFlowSDE update passes through a conditional coupling flow during inference. NormFlowSDE is within 0.02 ms of the latent SDE and the signature-kernel SDE on the pendulum and 0.5 to 1.1 ms slower than them on the other three datasets.

5 Conclusion

NormFlowSDE replaces the likelihood and importance weights of a particle filter by an observation-conditioned normalizing-flow update that is trained end to end on complete filtering rollouts. On four datasets with heavy-tailed, multimodal measurement noise, against three direct baselines and four learned particle filters, it is the most accurate direct estimator on every dataset and the most accurate method on the two robot datasets. Its 90% coverage lies within 0.02 of the nominal level on all four datasets, which no other method achieves, and it is 3.9 to 4.2 times faster than the fastest particle filter.

Direct estimation or particle filtering.

The eight methods differ first in whether the observation enters the estimate through a likelihood and importance weights or through a learned observation-conditioned update, and the benchmark separates two regimes. When the dynamics are simple enough to learn from clean state pairs, weighting is more accurate: on the pendulum and Lorenz–96, the RMSE of the best learned particle filter, NSF-PF, is 12% and 43% lower than that of NormFlowSDE. The model-based filters show that the remaining gap to perfect inference is small on the pendulum and dominated by chaotic error amplification on Lorenz–96. When the dynamics are complex, contact-rich, and not governed by a closed-form model, as on ALOHA and REASSEMBLE, the direct route is more accurate: every direct estimator has a lower RMSE than every particle filter, and that of NormFlowSDE is 26% and 39% lower than that of the best particle filter.

NormFlowSDE and its corresponding particle filter show where the differences between direct estimation and particle filtering come from. On the robot datasets NormFlowSDE-PF is as accurate as NSF-PF but far behind NormFlowSDE. The advantage of NormFlowSDE is therefore due to the observation-conditioned update, which bypasses the learned transition and observation models. On Lorenz–96 the relation is reversed: the NormFlowSDE transition has a 28% lower RMSE inside the particle filter (0.197 against 0.273). Importance weighting is thus the better use of a transition that can be learned accurately from clean state pairs when half of the state is unobserved. The contrast is even stronger for NSF: as a direct estimator, latent NSF is the least accurate method on Lorenz–96 (RMSE 0.823), whereas the NSF transition inside a particle filter, NSF-PF, is the most accurate (0.156).

Limitations.

Partially observed chaotic dynamics remain difficult. On Lorenz–96, the six unobserved coordinates can be inferred only through the dynamics, and without a transition model and importance weights NormFlowSDE reaches an RMSE of 0.27 against 0.019 for the reference particle filter. Training also requires careful tuning. The objective of Equation (35) balances four terms, and coverage is sensitive to the rollout weight \lambda_{\mathrm{rollout}}, the state scale \sigma_{\mathrm{state}}, the initial noise scale, and the learning rate and length of the second training stage. These were selected on validation trajectories separately for each dataset, and a new system requires the same search.

NormFlowSDE is trained with state supervision, as are the measurement models of all learned particle filters. On a physical system, as in our robot experiments, the states are recorded with the inputs by a reference sensor used only during data collection, such as joint encoders, and the observations come from a cheaper sensor or from added noise that models it. The estimator then targets the reference measurement rather than the exact state: the reference noise is absorbed into the learned process noise and bounds the attainable accuracy, an effect that is negligible only when the reference noise is small relative to the process noise. Synthetic observation noise must also match the deployed sensor, and, like any amortized estimator, NormFlowSDE is reliable only within the conditions covered by its training data.

Finally, the estimator requires the initial state, which our experiments supply from the data. On a physical system without a reference sensor at deployment, it must be estimated separately. The model is also trained for a fixed time step \Delta t and window length o, so irregularly sampled measurements or a different sampling rate require retraining or resampling.

To sum up, NormFlowSDE as a direct estimator performs strongly overall in accuracy, coverage, and latency on both the simulated and the real datasets, including the partially observed Lorenz–96 and the contact-rich robot dynamics. These results argue for amortized filtering wherever the dynamics are hard to model, the noise is not Gaussian, and inference must be fast and calibrated.

References

  1. Biloš et al. (2023) Marin Biloš, Kashif Rasul, Anderson Schneider, Yuriy Nevmyvaka, and Stephan Günnemann. Modeling temporal data as continuous functions with stochastic process diffusion. In Proceedings of the 40th International Conference on Machine Learning, volume 202 of Proceedings of Machine Learning Research, pp. 2452–2470, 2023.
  2. Chen & Li (2025) Xiongjie Chen and Yunpeng Li. Normalizing flow-based differentiable particle filters. IEEE Transactions on Signal Processing, 73:493–507, 2025. doi: 10.1109/TSP.2024.3521338. URL https://arxiv.org/abs/2403.01499.
  3. de Bézenac et al. (2020) Emmanuel de Bézenac, Syama Sundar Rangapuram, Konstantinos Benidis, Michael Bohlke-Schneider, Richard Kurle, Lorenzo Stella, Hilaf Hasson, Patrick Gallinari, and Tim Januschowski. Normalizing Kalman filters for multivariate time series analysis. In Advances in Neural Information Processing Systems, volume 33, pp. 2995–3007, 2020. URL https://papers.neurips.cc/paper_files/paper/2020/hash/1f47cef5e38c952f94c5d61726027439-Abstract.html.
  4. Deng et al. (2020) Ruizhi Deng, Bo Chang, Marcus A. Brubaker, Greg Mori, and Andreas Lehrmann. Modeling continuous stochastic processes with dynamic normalizing flows. In Advances in Neural Information Processing Systems, volume 33, 2020. URL https://papers.neurips.cc/paper_files/paper/2020/hash/58c54802a9fb9526cd0923353a34a7ae-Abstract.html.
  5. Deng et al. (2021) Ruizhi Deng, Marcus A. Brubaker, Greg Mori, and Andreas Lehrmann. Continuous latent process flows. In Advances in Neural Information Processing Systems, volume 34, 2021. URL https://proceedings.neurips.cc/paper/2021/hash/2983e3047c0c730d3b7c022584717f3f-Abstract.html.
  6. Dinh et al. (2014) Laurent Dinh, David Krueger, and Yoshua Bengio. NICE: Non-linear independent components estimation, 2014. URL https://arxiv.org/abs/1410.8516.
  7. Dinh et al. (2017) Laurent Dinh, Jascha Sohl-Dickstein, and Samy Bengio. Density estimation using Real NVP. In International Conference on Learning Representations, 2017. URL https://arxiv.org/abs/1605.08803.
  8. Doucet et al. (2000) Arnaud Doucet, Simon Godsill, and Christophe Andrieu. On sequential Monte Carlo sampling methods for Bayesian filtering. Statistics and Computing, 10(3):197–208, 2000. doi: 10.1023/A:1008935410038. URL https://doi.org/10.1023/A:1008935410038.
  9. Ethier & Kurtz (1986) Stewart N. Ethier and Thomas G. Kurtz. Markov Processes: Characterization and Convergence. John Wiley & Sons, 1986. doi: 10.1002/9780470316658. URL https://doi.org/10.1002/9780470316658.
  10. Fortuin et al. (2020) Vincent Fortuin, Dmitry Baranchuk, Gunnar Rätsch, and Stephan Mandt. GP-VAE: Deep probabilistic time series imputation. In Proceedings of the 23rd International Conference on Artificial Intelligence and Statistics, volume 108 of Proceedings of Machine Learning Research, pp. 1651–1661, 2020.
  11. Garnelo et al. (2018) Marta Garnelo, Jonathan Schwarz, Dan Rosenbaum, Fabio Viola, Danilo J. Rezende, S. M. Ali Eslami, and Yee Whye Teh. Neural processes, 2018.
  12. Gneiting & Raftery (2007) Tilmann Gneiting and Adrian E. Raftery. Strictly proper scoring rules, prediction, and estimation. Journal of the American Statistical Association, 102(477):359–378, 2007. doi: 10.1198/016214506000001437. URL https://doi.org/10.1198/016214506000001437.
  13. Gordon et al. (1993) Neil J. Gordon, David J. Salmond, and Adrian F. M. Smith. Novel approach to nonlinear/non-Gaussian Bayesian state estimation. IEE Proceedings F: Radar and Signal Processing, 140(2):107–113, 1993. doi: 10.1049/ip-f-2.1993.0015. URL https://doi.org/10.1049/ip-f-2.1993.0015.
  14. Issa et al. (2023) Zacharia Issa, Blanka Horvath, Maud Lemercier, and Cristopher Salvi. Non-adversarial training of neural SDEs with signature kernel scores. In Advances in Neural Information Processing Systems, volume 36, 2023. URL https://arxiv.org/abs/2305.16274.
  15. Kidger et al. (2021a) Patrick Kidger, James Foster, Xuechen Li, and Terry Lyons. Efficient and accurate gradients for neural SDEs. In Advances in Neural Information Processing Systems, volume 34, pp. 18747–18761, 2021a. URL https://arxiv.org/abs/2105.13493.
  16. Kidger et al. (2021b) Patrick Kidger, James Foster, Xuechen Li, and Terry Lyons. Neural SDEs as infinite-dimensional GANs. In Proceedings of the 38th International Conference on Machine Learning, volume 139 of Proceedings of Machine Learning Research, pp. 5453–5463, 2021b. URL https://proceedings.mlr.press/v139/kidger21b.html.
  17. Kiyohara et al. (2025) Naoki Kiyohara, Edward Johns, and Yingzhen Li. Neural stochastic flows: Solver-free modelling and inference for SDE solutions. In Advances in Neural Information Processing Systems, 2025. URL https://arxiv.org/abs/2510.25769.
  18. Kloeden & Platen (1992) Peter E. Kloeden and Eckhard Platen. Numerical Solution of Stochastic Differential Equations, volume 23 of Applications of Mathematics. Springer, Berlin, Heidelberg, 1992. doi: 10.1007/978-3-662-12616-5.
  19. Kollovieh et al. (2023) Marcel Kollovieh, Abdul Fatir Ansari, Michael Bohlke-Schneider, Jasper Zschiegner, Hao Wang, and Yuyang Wang. Predict, refine, synthesize: Self-guiding diffusion models for probabilistic time series forecasting. In Advances in Neural Information Processing Systems, volume 36, 2023.
  20. Kollovieh et al. (2025) Marcel Kollovieh, Marten Lienen, David Lüdke, Leo Schwinn, and Stephan Günnemann. Flow matching with Gaussian process priors for probabilistic time series forecasting. In International Conference on Learning Representations, 2025.
  21. Krishnan et al. (2017) Rahul G. Krishnan, Uri Shalit, and David Sontag. Structured inference networks for nonlinear state space models. In Proceedings of the Thirty-First AAAI Conference on Artificial Intelligence, pp. 2101–2109, 2017. doi: 10.1609/aaai.v31i1.10779. URL https://ojs.aaai.org/index.php/AAAI/article/view/10779.
  22. Kushner & Dupuis (2001) Harold J. Kushner and Paul Dupuis. Numerical Methods for Stochastic Control Problems in Continuous Time. Springer, 2 edition, 2001. doi: 10.1007/978-1-4613-0007-6. URL https://doi.org/10.1007/978-1-4613-0007-6.
  23. Li et al. (2020) Xuechen Li, Ting-Kam Leonard Wong, Ricky T. Q. Chen, and David Duvenaud. Scalable gradients for stochastic differential equations. In International Conference on Artificial Intelligence and Statistics, 2020. URL https://arxiv.org/abs/2001.01328.
  24. Lou et al. (2026a) Kexin Lou, Yinuo Zhang, Zhichao Liang, Markus Barth, and Quanying Liu. FlowSDE: A flow-matching-based SDE framework for predicting state transitions. Philosophical Transactions of the Royal Society A, 384(2322):20240492, 2026a. doi: 10.1098/rsta.2024.0492. URL https://doi.org/10.1098/rsta.2024.0492.
  25. Lou et al. (2026b) Kexin Lou, Yinuo Zhang, Zhichao Liang, Markus Barth, and Quanying Liu. Supplementary information for FlowSDE: A flow-matching-based SDE framework for predicting state transitions. The Royal Society, Figshare, 2026b. URL https://doi.org/10.6084/m9.figshare.32228736.v1.
  26. Milstein & Tretyakov (2004) Grigori N. Milstein and Michael V. Tretyakov. Stochastic Numerics for Mathematical Physics. Scientific Computation. Springer, Berlin, Heidelberg, 2004. doi: 10.1007/978-3-662-10063-9.
  27. Øksendal (2003) Bernt Øksendal. Stochastic Differential Equations: An Introduction with Applications. Springer, Berlin, 6 edition, 2003.
  28. Radev (2021) Stefan T. Radev. Deep Learning Architectures for Amortized Bayesian Inference in Cognitive Modeling. PhD thesis, Heidelberg University, 2021. URL https://doi.org/10.11588/heidok.00030807.
  29. Radev et al. (2022) Stefan T. Radev, Ulf K. Mertens, Andreas Voss, Lynton Ardizzone, and Ullrich Köthe. BayesFlow: Learning complex stochastic models with invertible neural networks. IEEE Transactions on Neural Networks and Learning Systems, 33(4):1452–1466, 2022. doi: 10.1109/TNNLS.2020.3042395. URL https://arxiv.org/abs/2003.06281.
  30. Rasul et al. (2021) Kashif Rasul, Abdul-Saboor Sheikh, Ingmar Schuster, Urs Bergmann, and Roland Vollgraf. Multivariate probabilistic time series forecasting via conditioned normalizing flows. In International Conference on Learning Representations, 2021. URL https://openreview.net/forum?id=WiGQBFuVRv.
  31. Rezende & Mohamed (2015) Danilo Rezende and Shakir Mohamed. Variational inference with normalizing flows. In Proceedings of the 32nd International Conference on Machine Learning, volume 37 of Proceedings of Machine Learning Research, pp. 1530–1538, 2015. URL https://proceedings.mlr.press/v37/rezende15.html.
  32. Rümelin (1982) Wolfgang Rümelin. Numerical treatment of stochastic differential equations. SIAM Journal on Numerical Analysis, 19(3):604–613, 1982. doi: 10.1137/0719041.
  33. Rybkin et al. (2021) Oleh Rybkin, Kostas Daniilidis, and Sergey Levine. Simple and effective VAE training with calibrated decoders. In Proceedings of the 38th International Conference on Machine Learning, volume 139 of Proceedings of Machine Learning Research, pp. 9179–9189, 2021. URL https://proceedings.mlr.press/v139/rybkin21a.html.
  34. Salvi et al. (2021) Cristopher Salvi, Thomas Cass, James Foster, Terry Lyons, and Weixin Yang. The signature kernel is the solution of a Goursat PDE. SIAM Journal on Mathematics of Data Science, 3(3):873–899, 2021. doi: 10.1137/20M1366794.
  35. Skorokhod (1956) A. V. Skorokhod. Limit theorems for stochastic processes. Theory of Probability & Its Applications, 1(3):261–290, 1956. doi: 10.1137/1101022. URL https://doi.org/10.1137/1101022.
  36. Sliwowski et al. (2025) Daniel Sliwowski, Shail Jadav, Sergej Stanovcic, Jedrzej Orbik, Johannes Heidersberger, and Dongheui Lee. REASSEMBLE: A multimodal dataset for contact-rich robotic assembly and disassembly. In Robotics: Science and Systems, 2025.
  37. Székely & Rizzo (2013) Gábor J. Székely and Maria L. Rizzo. Energy statistics: A class of statistics based on distances. Journal of Statistical Planning and Inference, 143(8):1249–1272, 2013. doi: 10.1016/j.jspi.2013.03.018. URL https://doi.org/10.1016/j.jspi.2013.03.018.
  38. Takahashi et al. (2018) Hiroshi Takahashi, Tomoharu Iwata, Yuki Yamanaka, Masanori Yamada, and Satoshi Yagi. Student-t variational autoencoder for robust density estimation. In Proceedings of the Twenty-Seventh International Joint Conference on Artificial Intelligence, pp. 2696–2702, 2018. doi: 10.24963/ijcai.2018/374. URL https://www.ijcai.org/proceedings/2018/374.
  39. van der Merwe et al. (2000) Rudolph van der Merwe, Arnaud Doucet, Nando de Freitas, and Eric A. Wan. The unscented particle filter. In Advances in Neural Information Processing Systems, volume 13, pp. 584–590, 2000. URL https://papers.nips.cc/paper_files/paper/2000/hash/f5c3dd7514bf620a1b85450d2ae374b1-Abstract.html.
  40. Zhao et al. (2023) Tony Z. Zhao, Vikash Kumar, Sergey Levine, and Chelsea Finn. Learning fine-grained bimanual manipulation with low-cost hardware. In Robotics: Science and Systems, 2023.

Appendix A Weak convergence of the centered NormFlowSDE inference scheme

This appendix gives the full argument behind the continuous-time interpretation in Section 3. The starting point is the trained, finite-step transition. We first construct an inference scheme that preserves that transition at its training interval, then prove convergence of its trajectories as the inference step decreases. The result concerns a conditional generative model. It does not identify its coefficients with the physical dynamics of the observed system.

A.1 What is held fixed, and why the noise must be centered

Write h_{0}=\Delta t_{\mathrm{train}}>0 for the physical interval of the trained transition and h=\Delta t_{\mathrm{inf}}>0 for the inference step. Fix a finite time horizon [0,T] and a deterministic, continuous schedule \xi=(u(\cdot),c(\cdot)) of controls and observation features. The fitted parameters, training step h_{0}, and schedule \xi remain fixed throughout, and only the inference step h tends to zero. Any step-size inputs to the networks are held at their training values. The initial state z_{0}\in\mathbb{R}^{d} is supplied by the data and is also fixed. Every inference chain and the limiting process start from this same value, Z_{0}^{h}=Z_{0}=z_{0}. Conditioning on z_{0} is implicit in all probabilities and expectations below. We retain the schedule in every coefficient, with

\displaystyle f_{\varphi}(z,t;\xi) \\ \displaystyle:=f_{\varphi}(z,t,u(t),c(t)), \\ \displaystyle g_{\phi}(\epsilon;z,t,\xi) \\ \displaystyle:=g_{\phi}(\epsilon;z,t,u(t),c(t)).

The resulting coefficients must satisfy the stated assumptions for this fixed \xi, and the constants below may depend on \xi. At each trained time t_{k}, c(t_{k}) is the feature computed from the preceding observation window defined in Section 3.

We use z\in\mathbb{R}^{d} for a fixed state value and Z for a random state. At time t, the trained update is

\displaystyle Z^{\prime} \\ \displaystyle=z+h_{0}f_{\varphi}(z,t;\xi)+\sqrt{h_{0}}\,g_{\phi}(\epsilon;z,t,\xi), \\ \displaystyle\epsilon\mid z,t,\xi \\ \displaystyle\sim\mathcal{N}(0,I_{d}).

where f_{\varphi} is the drift network and g_{\phi} is the conditional flow. Assume its conditional mean exists, and define

\displaystyle m_{\phi}(z,t;\xi) \\ \displaystyle=\mathbb{E}_{\epsilon}[g_{\phi}(\epsilon;z,t,\xi)], \\ \displaystyle\eta_{c}(z,t,\epsilon;\xi) \\ \displaystyle=g_{\phi}(\epsilon;z,t,\xi)-m_{\phi}(z,t;\xi).
(41)

Here and below, \mathbb{E}_{\epsilon} denotes integration over \epsilon\sim\mathcal{N}(0,I_{d}) with the displayed state, time, and schedule fixed. Thus \mathbb{E}_{\epsilon}[\eta_{c}(z,t,\epsilon;\xi)]=0. The effective drift of the trained transition is its expected increment per unit time:

b_{\mathrm{eff}}(z,t;\xi)=f_{\varphi}(z,t;\xi)+\frac{m_{\phi}(z,t;\xi)}{\sqrt{h_{0}}}=\frac{\mathbb{E}[Z^{\prime}-z\mid z,t,\xi]}{h_{0}}.
(42)

Using this drift and the centered noise gives the inference map

F_{h,t}(z,\epsilon;\xi)=z+hb_{\mathrm{eff}}(z,t;\xi)+\sqrt{h}\,\eta_{c}(z,t,\epsilon;\xi).
(43)

We distinguish the fixed training step h_{0} from the inference step h to preserve the learned transition at h=h_{0}. Centering the stochastic increment and compensating the drift then avoid a divergent mean contribution as h\to 0.

A.2 The limiting process and sufficient assumptions

Repeated application of the inference map in Equation (43), at times t_{k}=kh, gives

Z^{h}_{k+1}=Z^{h}_{k}+hb_{\mathrm{eff}}(Z^{h}_{k},t_{k};\xi)+\sqrt{h}\,\eta_{c}(Z^{h}_{k},t_{k},\epsilon_{k};\xi).
(44)

For a current state z, the increment has conditional mean hb_{\mathrm{eff}}(z,t;\xi) and covariance hA(z,t;\xi), where

A(z,t;\xi)=\mathbb{E}_{\epsilon}[\eta_{c}(z,t,\epsilon;\xi)\eta_{c}(z,t,\epsilon;\xi)^{\top}].
(45)

This identifies the candidate diffusion: its drift is b_{\mathrm{eff}} and its diffusion covariance is A. Write its noise coefficient as a matrix \sigma satisfying \sigma\sigma^{\top}=A. The conditions below ensure that matching these local moments also leads to convergence of complete trajectories.

Assumption A.1 (Conditions for diffusion convergence).

On the finite horizon [0,T], assume the following.

  1. Regular drift and diffusion. The functions b_{\mathrm{eff}}(z,t;\xi) and a covariance factor \sigma(z,t;\xi) with \sigma\sigma^{\top}=A are jointly continuous in (z,t), globally Lipschitz in z, and of at most linear growth in z. The Lipschitz and growth constants are uniform in t\in[0,T]. These conditions control the trajectories and ensure uniqueness of the limiting SDE.
  2. Controlled noise moments. The centered noise \eta_{c} is jointly measurable, and its third moment is bounded on every bounded state region, uniformly in time: \sup_{\left\lVert z\right\rVert\leq R,\,t\in[0,T]}\mathbb{E}_{\epsilon}\left\lVert\eta_{c}(z,t,\epsilon;\xi)\right\rVert^{3}<\infty,\qquad R<\infty. (46) This condition controls the Taylor approximation error and the probability of large increments.
  3. Given initial state and independent noise. Every chain starts at the data-provided state Z_{0}^{h}=z_{0}. With z_{0} and \xi fixed, the Gaussian inputs \epsilon_{k}\sim\mathcal{N}(0,I_{d}) are independent across steps. Thus trajectory randomness comes from the generated increments, not from sampling an initial state.
Theorem A.2 (Weak convergence of the centered inference scheme).

Under Assumption A.1, the paths generated by Equation (44), held constant between grid points as \bar{Z}^{h}_{t}=Z^{h}_{\lfloor t/h\rfloor}, satisfy

\operatorname{Law}(\bar{Z}^{h}\mid\xi)\Longrightarrow\operatorname{Law}(Z\mid\xi)\qquad(h\to 0),

in D([0,T],\mathbb{R}^{d}) with the Skorokhod J_{1} topology. The limit Z is the unique-in-law solution of

\displaystyle dZ_{t} \\ \displaystyle=b_{\mathrm{eff}}(Z_{t},t;\xi)\,dt+\sigma(Z_{t},t;\xi)\,dW_{t}, \\ \displaystyle Z_{0} \\ \displaystyle=z_{0}.

Conditional on the fixed data, W is a standard d-dimensional Brownian motion. For every three-times continuously differentiable test function v with compact support, the discrete generators also converge uniformly on bounded state regions and t\in[0,T], as specified in Equation (54) below.

The theorem compares distributions of whole trajectories. The space D([0,T],\mathbb{R}^{d}) contains right-continuous paths with left limits, including the piecewise-constant paths \bar{Z}^{h}. Its Skorokhod J_{1} topology allows small shifts in jump times when comparing paths (Skorokhod, 1956). The limiting SDE paths themselves are continuous. Section A.3 now shows how the three assumptions turn the local moment match into this path-convergence result.

A.3 Proof of Theorem A.2

The proof has two tasks: show that the trajectory distributions have limits, and identify those limits. Step 1 calculates the expected change over one inference step. Steps 2–4 then control whole trajectories: they prevent escape to arbitrarily large states, remove persistent jumps, and bound changes over short time intervals. Step 5 shows that any resulting limit must have the law of the SDE in Equation (47). We use the standard diffusion-approximation result of Ethier & Kurtz (1986); Kushner & Dupuis (2001) to connect the path estimates and the limiting expected-change identity.

1. Identify the local diffusion limit.

For a scalar test function v\in C_{c}^{3}(\mathbb{R}^{d}), meaning that v has three continuous derivatives and compact support, define

\mathcal{L}_{h,t}^{\xi}v(z)=\frac{\mathbb{E}_{\epsilon}[v(F_{h,t}(z,\epsilon;\xi))]-v(z)}{h}.
(48)

This is the expected change of v in one inference step, divided by the step duration. To calculate its limit, fix (z,t,\xi) and write \Delta=hb_{\mathrm{eff}}(z,t;\xi)+\sqrt{h}\,\eta_{c}(z,t,\epsilon;\xi). Throughout this local calculation, the arguments (z,t,\xi) are held fixed and suppressed on b_{\mathrm{eff}}, \eta_{c}, and A:

\displaystyle\mathbb{E}[\Delta\mid z,t,\xi] \\ \displaystyle=hb_{\mathrm{eff}}+\sqrt{h}\,\mathbb{E}_{\epsilon}[\eta_{c}]=hb_{\mathrm{eff}}, \\ \displaystyle\mathbb{E}[\Delta\Delta^{\top}\mid z,t,\xi] \\ \displaystyle=h^{2}b_{\mathrm{eff}}b_{\mathrm{eff}}^{\top}+h\mathbb{E}_{\epsilon}[\eta_{c}\eta_{c}^{\top}]+h^{3/2}\bigl(b_{\mathrm{eff}}\mathbb{E}_{\epsilon}[\eta_{c}]^{\top}+\mathbb{E}_{\epsilon}[\eta_{c}]b_{\mathrm{eff}}^{\top}\bigr) \\ \displaystyle=h^{2}b_{\mathrm{eff}}b_{\mathrm{eff}}^{\top}+hA.
(49)

The h^{3/2} line displays both drift–noise cross terms. They vanish because the noise is centered, \mathbb{E}_{\epsilon}[\eta_{c}]=0. The remaining noise term is its covariance A, defined in Equation (45).

Taylor’s formula gives

v(z+\Delta)-v(z)=\nabla v(z)^{\top}\Delta+\tfrac{1}{2}\Delta^{\top}\nabla^{2}v(z)\Delta+R_{v}(z,\Delta),\qquad|R_{v}(z,\Delta)|\leq C_{v}\left\lVert\Delta\right\rVert^{3}.
(50)

Here \nabla v and \nabla^{2}v are the gradient and Hessian. To control the remainder, we need the third absolute moment of the full increment \Delta. The drift is bounded on each region \left\lVert z\right\rVert\leq R, t\in[0,T], and the noise third moment is bounded by Equation (46). Hence, for 0<h\leq 1,

\displaystyle\mathbb{E}[\left\lVert\Delta\right\rVert^{3}\mid z,t,\xi] \\ \displaystyle\leq 4h^{3}\left\lVert b_{\mathrm{eff}}(z,t;\xi)\right\rVert^{3}+4h^{3/2}\mathbb{E}_{\epsilon}\left\lVert\eta_{c}(z,t,\epsilon;\xi)\right\rVert^{3} \\ \displaystyle\leq C_{R,T}h^{3/2},\qquad\left\lVert z\right\rVert\leq R,\quad t\in[0,T].
(51)

The constant is independent of h, z, and t within this region. It is derived from, and distinct from, the assumed noise-moment bound.

Substituting the moments from Equation (49) into the expected Taylor expansion gives the full generator calculation:

\displaystyle\mathcal{L}_{h,t}^{\xi}v(z) \\ \displaystyle=\frac{1}{h}\left(\nabla v(z)^{\top}\mathbb{E}_{\epsilon}\Delta+\frac{1}{2}\operatorname{tr}\,\left(\nabla^{2}v(z)\mathbb{E}_{\epsilon}[\Delta\Delta^{\top}]\right)+\mathbb{E}_{\epsilon}R_{v}(z,\Delta)\right) \\ \displaystyle=\frac{1}{h}\left(h\nabla v(z)^{\top}b_{\mathrm{eff}}+\frac{1}{2}\operatorname{tr}\,\left(\nabla^{2}v(z)[hA+h^{2}b_{\mathrm{eff}}b_{\mathrm{eff}}^{\top}]\right)+\mathbb{E}_{\epsilon}R_{v}(z,\Delta)\right) \\ \displaystyle=b_{\mathrm{eff}}^{\top}\nabla v(z)+\frac{1}{2}\operatorname{tr}\,\left(A\nabla^{2}v(z)\right)+\frac{h}{2}b_{\mathrm{eff}}^{\top}\nabla^{2}v(z)b_{\mathrm{eff}}+\frac{\mathbb{E}_{\epsilon}R_{v}(z,\Delta)}{h}.
(52)

The last two terms vanish uniformly on each bounded state region, since

\displaystyle\sup_{\left\lVert z\right\rVert\leq R,\,t\in[0,T]}\left|\frac{h}{2}b_{\mathrm{eff}}^{\top}\nabla^{2}v(z)b_{\mathrm{eff}}+\frac{\mathbb{E}_{\epsilon}R_{v}(z,\Delta)}{h}\right| \\ \displaystyle\quad\leq\frac{h}{2}\sup_{\left\lVert z\right\rVert\leq R,\,t\in[0,T]}\bigl(\left\lVert b_{\mathrm{eff}}\right\rVert^{2}\left\lVert\nabla^{2}v(z)\right\rVert_{\mathrm{op}}\bigr)+\frac{C_{v}}{h}\sup_{\left\lVert z\right\rVert\leq R,\,t\in[0,T]}\mathbb{E}_{\epsilon}\left\lVert\Delta\right\rVert^{3}\leq C_{R,T,v}(h+\sqrt{h})\longrightarrow 0.
(53)

Here \left\lVert\cdot\right\rVert_{\mathrm{op}} is the matrix operator norm. Thus the limiting generator is

\mathcal{L}_{t}^{\xi}v(z)=\lim_{h\to 0}\mathcal{L}_{h,t}^{\xi}v(z)\overset{\mathrm{(\ref{eq:discretegenerator}),\,(\ref{eq:refinement})}}{=}\lim_{h\to 0}\frac{\mathbb{E}_{\epsilon}[v(F_{h,t}(z,\epsilon;\xi))-v(z)]}{h}.
(54)

Equations (52)–(53) identify this limiting expected change with the drift and covariance terms of the candidate SDE. This proves the local conclusion of Theorem A.2. The remaining steps concern entire paths.

2. Bound the probability of leaving a large state region.

The local calculation above is uniform only when the state stays in a bounded region. For a radius R>\left\lVert z_{0}\right\rVert, we use the closed Euclidean ball centered at the origin,

\overline{B}(0,R):=\{z\in\mathbb{R}^{d}:\left\lVert z\right\rVert\leq R\}.
(55)

Here \left\lVert\cdot\right\rVert is the Euclidean norm, so the ball contains every state whose distance from the origin is at most R, including its boundary. We need to show that paths are unlikely to leave this ball over the entire time horizon, with a bound that does not deteriorate as h decreases. We set N_{h}=\lfloor T/h\rfloor and use the notation

b_{k}=b_{\mathrm{eff}}(Z_{k}^{h},t_{k};\xi),\qquad A_{k}=A(Z_{k}^{h},t_{k};\xi),\qquad\eta_{k}=\eta_{c}(Z_{k}^{h},t_{k},\epsilon_{k};\xi).

The linear-growth assumption gives

\left\lVert b_{\mathrm{eff}}(z,t;\xi)\right\rVert^{2}+\mathbb{E}_{\epsilon}\left\lVert\eta_{c}(z,t,\epsilon;\xi)\right\rVert^{2}=\left\lVert b_{\mathrm{eff}}(z,t;\xi)\right\rVert^{2}+\operatorname{tr}A(z,t;\xi)\leq C(1+\left\lVert z\right\rVert^{2}).
(56)

We measure the size of a state by V(z)=1+\left\lVert z\right\rVert^{2}. Centering and the growth bound imply, for 0<h\leq 1,

\displaystyle\mathbb{E}[V(Z_{k+1}^{h})\mid Z^{h}_{0:k},\xi] \\ \displaystyle=1+\left\lVert Z_{k}^{h}+hb_{k}\right\rVert^{2}+h\operatorname{tr}A_{k} \\ \displaystyle\leq 1+(1+h)\left\lVert Z_{k}^{h}\right\rVert^{2}+(h+h^{2})\left\lVert b_{k}\right\rVert^{2}+h\operatorname{tr}A_{k} \\ \displaystyle\leq(1+Ch)V(Z_{k}^{h}).
(57)

Here Z^{h}_{0:k} denotes the generated history through step k. The bound says that the expected squared size grows by a factor at most 1+Ch per step.

To turn this into a bound for the whole path, we freeze a copy of the chain at its first exit from \overline{B}(0,R). Exit from this closed ball means \left\lVert Z_{k}^{h}\right\rVert>R:

\tau_{R}=\inf\{k\leq N_{h}:\left\lVert Z_{k}^{h}\right\rVert>R\},\qquad Y_{k}^{h}=Z^{h}_{\min(k,\tau_{R})},\qquad\inf\varnothing=\infty.

This stopped copy is only a proof device and does not change the inference algorithm. Before exit it follows the original chain, including the step that crosses the boundary. After exit it stays at that exit state. Equation (57) therefore also bounds its expected size, and iteration gives

\displaystyle\mathbb{E}[V(Y_{k+1}^{h})\mid Z^{h}_{0:k},\xi] \\ \displaystyle\leq(1+Ch)V(Y_{k}^{h}), \\ \displaystyle\mathbb{E}[V(Y_{N_{h}}^{h})\mid\xi] \\ \displaystyle\leq(1+Ch)^{N_{h}}V(z_{0})\leq e^{CT}(1+\left\lVert z_{0}\right\rVert^{2})=:C_{T}.
(58)

If any state leaves the ball, the frozen final state has squared norm greater than R^{2}. Hence

\Pr\,\left(\max_{k\leq N_{h}}\left\lVert Z_{k}^{h}\right\rVert>R\,\middle|\,\xi\right)=\Pr(\tau_{R}\leq N_{h}\mid\xi)\leq\frac{\mathbb{E}[V(Y_{N_{h}}^{h})\mid\xi]}{1+R^{2}}\leq\frac{C_{T}}{1+R^{2}}.
(59)

The same bound applies to \sup_{t\leq T}\left\lVert\bar{Z}_{t}^{h}\right\rVert. For any probability tolerance \varepsilon>0, we can choose R large enough that C_{T}/(1+R^{2})\leq\varepsilon. This single radius works for every 0<h\leq 1: the process \bar{Z}^{h} remains in \overline{B}(0,R) throughout [0,T] with probability at least 1-\varepsilon. Because closed bounded balls in \mathbb{R}^{d} are compact, this is the compact containment condition of Ethier & Kurtz (1986, Chapter 3, Remark 7.3, p. 129).

3. Combine the one-step and whole-path jump bounds.

Fix a jump threshold a>0. Equation (51) bounds the third absolute moment of the full increment. Since \left\lVert\Delta\right\rVert^{2}\leq\left\lVert\Delta\right\rVert^{3}/a whenever \left\lVert\Delta\right\rVert>a,

\sup_{\left\lVert z\right\rVert\leq R,\,t\in[0,T]}\frac{1}{h}\mathbb{E}[\left\lVert\Delta\right\rVert^{2}\boldsymbol{1}_{\{\left\lVert\Delta\right\rVert>a\}}\mid z,t,\xi]\qquad\leq\frac{1}{ah}\sup_{\left\lVert z\right\rVert\leq R,\,t\in[0,T]}\mathbb{E}[\left\lVert\Delta\right\rVert^{3}\mid z,t,\xi]\leq\frac{C_{R,T}}{a}\sqrt{h}\longrightarrow 0.
(60)

The indicator selects increments larger than a. This proves that large increments contribute vanishing second moment per unit time.

We also need the probability of encountering even one large jump along the path. The same third-moment estimate bounds each such probability by C_{R,T}h^{3/2}/a^{3} while the starting state is inside the ball. There are at most T/h increments. Adding these probabilities and the escape probability from Step 2 gives

\displaystyle\Pr\,\left(\max_{k<N_{h}}\left\lVert Z_{k+1}^{h}-Z_{k}^{h}\right\rVert>a\,\middle|\,\xi\right) \\ \displaystyle\quad\leq\Pr(\tau_{R}\leq N_{h}\mid\xi)+\sum_{k<N_{h}}\Pr\,\left(\left\lVert Z_{k+1}^{h}-Z_{k}^{h}\right\rVert>a,\quad k<\tau_{R}\,\middle|\,\xi\right) \\ \displaystyle\quad\leq\frac{C_{T}}{1+R^{2}}+\frac{T}{h}\frac{C_{R,T}h^{3/2}}{a^{3}}=\frac{C_{T}}{1+R^{2}}+\frac{TC_{R,T}}{a^{3}}\sqrt{h}.
(61)

First choose R large, then let h decrease. The largest jump over the whole horizon tends to zero in probability.

4. Bound the change over a short time interval.

Small individual jumps do not rule out many small increments adding up rapidly. For example, continuous paths x_{n}(t)=\sin(nt) stay bounded and have no jumps, yet change by order one over intervals of length 1/n.

Start at a grid index K\leq N_{h} that may be chosen from the generated history, such as the first threshold crossing, capped at N_{h}. The choice cannot use future noise: whether K\leq k must be determined at step k. Look ahead a fixed number m of steps, ending at L=\min(K+m,N_{h}). Their duration is at most \ell=mh. We first bound the change of the stopped copy Y^{h} from Step 2, so every active update starts inside the ball. Set

B_{R}=\sup_{\left\lVert z\right\rVert\leq R,\,t\in[0,T]}\left\lVert b_{\mathrm{eff}}(z,t;\xi)\right\rVert,\qquad D_{R}=\sup_{\left\lVert z\right\rVert\leq R,\,t\in[0,T]}\operatorname{tr}A(z,t;\xi).

Both constants are finite. Let I_{j} equal one when K\leq j<L and j<\tau_{R}, and zero otherwise. There are at most m active steps, so \sum_{j}I_{j}\leq m. The increment splits into accumulated drift and noise:

Y_{L}^{h}-Y_{K}^{h}=\underbrace{\sum_{j<N_{h}}I_{j}hb_{j}}_{D_{K,m}^{h}}+\underbrace{\sum_{j<N_{h}}I_{j}\sqrt{h}\,\eta_{j}}_{M_{K,m}^{h}}.
(62)

Each I_{j} is determined before \epsilon_{j} is drawn. Thus the active noise increments still have zero conditional mean, and cross terms between different noise increments vanish. Consequently,

\displaystyle\left\lVert D_{K,m}^{h}\right\rVert^{2} \\ \displaystyle\leq\left(\sum_{j<N_{h}}I_{j}hB_{R}\right)^{2}\leq B_{R}^{2}\ell^{2}, \\ \displaystyle\mathbb{E}[\left\lVert M_{K,m}^{h}\right\rVert^{2}\mid\xi] \\ \displaystyle=\mathbb{E}\,\left[\sum_{j<N_{h}}I_{j}h\operatorname{tr}A_{j}\,\middle|\,\xi\right]\leq D_{R}\ell.
(63)

The drift grows with elapsed time, and the noise variance also grows with elapsed time. We do not assume that the accumulated drift and noise are independent. Using \left\lVert D+M\right\rVert^{2}\leq 2\left\lVert D\right\rVert^{2}+2\left\lVert M\right\rVert^{2} gives

\mathbb{E}[\left\lVert Y_{L}^{h}-Y_{K}^{h}\right\rVert^{2}\mid\xi]\leq 2B_{R}^{2}\ell^{2}+2D_{R}\ell.
(64)

Except when the original path exits the ball, its increment equals that of the stopped copy. For \ell\leq\delta+h,

\displaystyle\Pr(\left\lVert Z_{L}^{h}-Z_{K}^{h}\right\rVert>a\mid\xi) \\ \displaystyle\leq\Pr(\tau_{R}\leq N_{h}\mid\xi)+\frac{\mathbb{E}[\left\lVert Y_{L}^{h}-Y_{K}^{h}\right\rVert^{2}\mid\xi]}{a^{2}} \\ \displaystyle\leq\frac{C_{T}}{1+R^{2}}+\frac{2}{a^{2}}\left[B_{R}^{2}(\delta+h)^{2}+D_{R}(\delta+h)\right].
(65)

Choose R large first. With that radius fixed, the second term tends to zero as the interval length \delta and step h decrease. Thus a large change is unlikely over a short interval, even when its starting time is selected from the generated history.

For starting times between grid points, rounding to the grid alters the compared increment by at most two grid jumps, and Step 3 shows that this error vanishes. The containment and short-interval estimates are the compactness conditions in the cited diffusion-approximation result: every sequence h\to 0 has a subsequence whose path laws converge. This property is called tightness. Together with the vanishing jumps, these bounds ensure that the possible limits have continuous paths.

5. Identify the limit through its expected changes.

Steps 2–4 establish the existence of subsequential limits, but do not yet specify their law. Let X denote any such limit. We now show why its law must be that of the SDE in Equation (47).

From one step to an interval. The generator predicts the expected change of any smooth test function v:

\mathbb{E}[v(Z^{h}_{j+1})-v(Z^{h}_{j})-h\mathcal{L}_{h,t_{j}}^{\xi}v(Z_{j}^{h})\mid Z^{h}_{0:j},\xi]=0.
(66)

Thus actual change minus predicted change has zero conditional mean. For grid indices p<q, sum these differences for the stopped copy from Step 2. The state changes telescope, giving

\mathbb{E}\,\left[\underbrace{v(Y_{q}^{h})-v(Y_{p}^{h})}_{\mbox{\scriptsize actual change}}-\underbrace{\sum_{j=p}^{q-1}\boldsymbol{1}_{\{j<\tau_{R}\}}h\mathcal{L}_{h,t_{j}}^{\xi}v(Z_{j}^{h})}_{\mbox{\scriptsize accumulated predicted change}}\,\middle|\,Z^{h}_{0:p},\xi\right]=0.
(67)

Stopping ensures that every rate in this sum is evaluated inside the region where Step 1 gives uniform convergence.

From the discrete sum to a time integral. Replacing each discrete rate by \mathcal{L}_{t_{j}}^{\xi}v incurs a total error bounded by

\left|\sum_{j=p}^{q-1}\boldsymbol{1}_{\{j<\tau_{R}\}}h\bigl(\mathcal{L}_{h,t_{j}}^{\xi}v-\mathcal{L}_{t_{j}}^{\xi}v\bigr)(Z_{j}^{h})\right|\leq T\sup_{\left\lVert z\right\rVert\leq R,\,t\in[0,T]}|\mathcal{L}_{h,t}^{\xi}v(z)-\mathcal{L}_{t}^{\xi}v(z)|\longrightarrow 0.

Continuity of the limiting paths and coefficients turns the sum of limiting rates into its time integral. The cited diffusion-approximation result passes the stopped conditional-mean identity to the limit. Step 2 then allows R to increase without retaining a stopped boundary. For 0\leq s\leq t\leq T, the resulting identity is

\mathbb{E}\,\left[\underbrace{v(X_{t})-v(X_{s})}_{\mbox{\scriptsize actual change}}-\underbrace{\int_{s}^{t}\mathcal{L}_{r}^{\xi}v(X_{r})\,dr}_{\mbox{\scriptsize accumulated predicted change}}\,\middle|\,X_{[0,s]},\xi\right]=0,\qquad X_{0}=z_{0}.
(68)

Here X_{[0,s]} is the path observed up to time s. Both v and \mathcal{L}_{t}^{\xi}v are bounded because v has compact support, so the limiting identity is valid over the full horizon.

Why this identifies the SDE. For the candidate SDE solution Z, Itô’s formula gives exactly the same rule:

\displaystyle v(Z_{t})-v(Z_{s})-\int_{s}^{t}\mathcal{L}_{r}^{\xi}v(Z_{r})\,dr \\ \displaystyle=\int_{s}^{t}\nabla v(Z_{r})^{\top}\sigma(Z_{r},r;\xi)\,dW_{r}, \\ \displaystyle\mathbb{E}\,\left[\int_{s}^{t}\nabla v(Z_{r})^{\top}\sigma(Z_{r},r;\xi)\,dW_{r}\,\middle|\,Z_{[0,s]},\xi\right] \\ \displaystyle=0.
(69)

The stochastic integral represents the unpredicted fluctuation, and its conditional mean is zero. Requiring this expected-change rule for every v\in C_{c}^{3}, together with continuous paths and X_{0}=z_{0}, is the standard characterization of the diffusion law used in the cited result. The regularity assumption guarantees that this law is unique. Hence

\mbox{any subsequential limit }X\quad\Longrightarrow\quad\operatorname{Law}(X\mid\xi)=\operatorname{Law}(Z\mid\xi).

Every possible subsequential limit is therefore the same SDE law, so the entire family of path laws converges. This completes the proof of Theorem A.2. \square

A.4 Accuracy of approximate centering

The theorem uses the exact noise mean m_{\phi}. If it is replaced by an approximation \widehat{m}_{h}, the approximation affects both the drift compensation and the centered noise. The following result states how accurate it must be as the inference step decreases.

Corollary A.3 (Approximate conditional means).

Suppose Assumption A.1 holds. Replace m_{\phi} by a deterministic measurable approximation \widehat{m}_{h} in both the compensated drift and centered noise. If

\sup_{z,\,t\in[0,T]}\left\lVert\widehat{m}_{h}(z,t;\xi)-m_{\phi}(z,t;\xi)\right\rVert=o(\sqrt{h}),
(70)

then the same diffusion limit holds.

Proof.

Let e_{h}(z,t;\xi)=\widehat{m}_{h}(z,t;\xi)-m_{\phi}(z,t;\xi) be the mean-estimation error. The drift increment gains he_{h}/\sqrt{h_{0}}, while the noise increment loses \sqrt{h}\,e_{h}. Substituting the approximate mean and collecting these two changes gives

\displaystyle\widehat{Z}^{\prime} \\ \displaystyle=z+h\left(f_{\varphi}(z,t;\xi)+\frac{\widehat{m}_{h}(z,t;\xi)}{\sqrt{h_{0}}}\right)+\sqrt{h}\left(g_{\phi}(\epsilon;z,t,\xi)-\widehat{m}_{h}(z,t;\xi)\right) \\ \displaystyle=F_{h,t}(z,\epsilon;\xi)+\left(\frac{h}{\sqrt{h_{0}}}-\sqrt{h}\right)e_{h}(z,t;\xi).
(71)

The last line separates the exact inference update from the error caused by approximate centering. For a continuous-time limit, the relevant error is the added drift per unit time, obtained by dividing the extra term by h:

\frac{\widehat{Z}^{\prime}-F_{h,t}(z,\epsilon;\xi)}{h}=\left(\frac{1}{\sqrt{h_{0}}}-\frac{1}{\sqrt{h}}\right)e_{h}(z,t;\xi).
(72)

Its norm is uniformly bounded by

\left(\frac{1}{\sqrt{h_{0}}}+\frac{1}{\sqrt{h}}\right)\sup_{z,\,t\in[0,T]}\left\lVert e_{h}(z,t;\xi)\right\rVert\longrightarrow 0

under Equation (70). Thus the added drift vanishes uniformly, while the centered random part remains unchanged. This bounded perturbation preserves the moment and path bounds in Steps 1–4, and the limiting expected-change rule in Step 5 is unchanged. The same diffusion limit follows. \square

At h=h_{0}, the error coefficient in Equation (71) is zero: using the same mean estimate in the drift and noise preserves the trained update exactly. As h\to 0, however, a fixed nonzero estimation error is amplified by the 1/\sqrt{h} factor in Equation (72).

A.5 Scope of the convergence result

Theorem A.2 establishes convergence of conditional trajectory distributions for the centered inference scheme under the stated assumptions. Only the first two conditional moments remain in the limit, so non-Gaussian finite-step increments can approach an Itô diffusion. The following distinctions specify what this result does and does not provide.

Weak convergence and individual paths.

The theorem concerns distributions of paths. It does not compare an individual simulated path with an SDE path driven by the same Brownian realization, or prove that their samplewise error tends to zero. Such a strong-convergence statement requires a specified coupling and a separate error analysis.

The training step and smaller inference steps.

The construction preserves one trained transition at h=h_{0}. This does not imply that several smaller steps reproduce that transition, or that the limiting SDE has the same transition law over an interval of length h_{0}. Convergence as h\to 0 is distinct from equality of finite-interval distributions.

Numerical accuracy and learned models.

The theorem gives no convergence rate or adaptive-step guarantee. Its regularity and moment assumptions must be checked for the learned coefficients. Finite-step sampling and density evaluation in Section 3 remain valid without the optional centering used for this continuous-time argument.

Numerical illustration.

Figure 4 applies the centered inference scheme to a trained NormFlowSDE transition whose data-generating process is a standard SDE with a known solution. The trained update is held fixed, as in Theorem A.2, and only the inference step h is reduced.

Figure 4: Centered refinement of a trained NormFlowSDE transition recovers a standard SDE. The reference process is the two-dimensional Ornstein–Uhlenbeck SDE dZ=-KZ\,dt+S\,dW with K=\bigl(\begin{smallmatrix}1&0.8\\ -0.8&1\end{smallmatrix}\bigr), S=\bigl(\begin{smallmatrix}0.6&0\\ 0.3&0.4\end{smallmatrix}\bigr), and Z_{0}=(2,-1). A NormFlowSDE model (drift network and conditional RealNVP noise flow, \alpha=1.5) was fitted by its exact one-step likelihood to transitions z^{\prime}=z-h_{0}Kz+\sqrt{h_{0}}\,S\eta at h_{0}=0.1, where \eta has independent, skewed two-component-mixture coordinates with zero mean, unit variance and skewness -0.38. The finite-step increments are therefore non-Gaussian, while the only diffusion with the same first two moments is the reference process. With the fitted networks fixed, each panel shows the absolute error at T=2, relative to the exact Ornstein–Uhlenbeck law, of the mean of z_{1}, the second moment z_{1}^{2}, and the path maximum \max_{t}\left\lVert Z_{t}\right\rVert_{\infty} on the grid t\in h_{0}\mathbb{N}. The step decreases from h_{0} to h_{0}/32 from left to right. Blue: the centered scheme of Theorem A.2, with m_{\phi} and A computed by 24\times 24 Gauss–Hermite quadrature. Orange: the uncentered refinement z+hf_{\varphi}+\sqrt{h}\,g_{\phi}. Dotted: the limit SDE of the fitted model, simulated by Euler–Maruyama at h_{0}/128. Its distance to the reference process is the learning error that remains as h\to 0. The fitted drift b_{\rm eff} and diffusion A differ from -Kz and SS^{\top} by at most 0.027 and 0.0045 on [-2,2]^{2}. The centered error of the mean decreases from 0.056 at h_{0}, the bias of the coarse training chain, towards this learning-error floor, whereas the other statistics are already near the floor at h_{0}. The fitted noise flow has a nonzero mean (\left\lVert m_{\phi}\right\rVert up to 0.83), which is not identifiable from the drift in the trained update. Without centering, it acts as a drift of order 1/\sqrt{h}, and the uncentered errors grow as h decreases.

Appendix B Derivation of the reconstruction and transition losses

All densities below condition on the supplied initial state z_{0}, observations, and controls. The sequential generator has normalized path density

q_{\omega}(\mathbf{z})=\prod_{k=0}^{N-1}q_{\omega}(z_{k+1}\mid z_{k},t_{k},u_{k},c_{k}).
(73)

The fixed-scale Gaussian reconstruction model and the resulting auxiliary joint density are

\displaystyle p_{\sigma}(x_{k}\mid z_{k}) \\ \displaystyle=\mathcal{N}(x_{k};z_{k},\sigma_{\mathrm{state}}^{2}I_{d}),\qquad\sigma_{\mathrm{state}}>0, \\ \displaystyle p_{\omega,\sigma}(\mathbf{x},\mathbf{z}) \\ \displaystyle=q_{\omega}(\mathbf{z})\prod_{k=1}^{N}p_{\sigma}(x_{k}\mid z_{k}).
(74) (75)

Expanding the expected negative joint log density gives

\displaystyle\mathcal{L}_{\mathrm{joint}}(\omega;\mathbf{x}) \\ \displaystyle=\mathbb{E}_{\mathbf{z}\sim q_{\omega}}[-\log p_{\omega,\sigma}(\mathbf{x},\mathbf{z})] \\ \displaystyle=\mathbb{E}_{\mathbf{z}\sim q_{\omega}}\left[-\sum_{k=1}^{N}\log p_{\sigma}(x_{k}\mid z_{k})-\sum_{k=0}^{N-1}\log q_{\omega}(z_{k+1}\mid z_{k},t_{k},u_{k},c_{k})\right] \\ \displaystyle=\mathcal{L}_{\mathrm{state}}(\omega;\mathbf{x})+\mathcal{L}_{\mathrm{trans}}(\omega).
(76)

The Gaussian reconstruction density yields Equation (26). Its additive constant does not affect optimization at fixed \sigma_{\mathrm{state}}.

For a generated transition, the forward map from \epsilon_{k} to z_{k+1} has Jacobian \sqrt{\Delta t}\,J_{\phi,k}(\epsilon_{k}). The change-of-variables identity in Equation (28) therefore gives

\displaystyle\mathcal{L}_{\mathrm{trans}}(\omega) \\ \displaystyle=\mathbb{E}\left[\sum_{k=0}^{N-1}\left(-\log\mathcal{N}(\epsilon_{k};0,I_{d})+\log|\det J_{\phi,k}(\epsilon_{k})|+\frac{d}{2}\log\Delta t\right)\right] \\ \displaystyle=\mathbb{E}\left[\sum_{k=0}^{N-1}\log|\det J_{\phi,k}(\epsilon_{k})|\right]+\frac{Nd}{2}\bigl[1+\log(2\pi\Delta t)\bigr].
(77)

The Gaussian term varies between sampled inputs, but its expectation is constant with respect to the trainable parameters. The remaining expected forward log determinant controls the path entropy.

Coupling-scale bound.

Each affine coupling layer leaves one coordinate block unchanged and scales and shifts the other. Its log scales have the form \alpha\tanh(\cdot)\in(-\alpha,\alpha), so each multiplicative scale lies in (e^{-\alpha},e^{\alpha}). If layer \ell transforms d_{\ell} coordinates, its Jacobian is block triangular with an identity block and a diagonal block of those scales. Its log determinant is therefore the sum of the d_{\ell} log scales and lies in [-\alpha d_{\ell},\alpha d_{\ell}]. The shifts do not contribute to the determinant, and coordinate permutations have unit absolute determinant. Composing L_{\mathrm{f}} layers gives |\log|\det J_{\phi,k}(\epsilon)||\leq B=\alpha\sum_{\ell=1}^{L_{\mathrm{f}}}d_{\ell}, uniformly over the input and conditioning variables, which is Equation (29). When the layers alternate between the two halves of an even-dimensional state, \sum_{\ell}d_{\ell}=L_{\mathrm{f}}d/2. The geometric mean of the singular values of J_{\phi,k} then lies between e^{-\alpha L_{\mathrm{f}}/2} and e^{\alpha L_{\mathrm{f}}/2}.

Entropy bound and noise floor.

Equations (29) and (77) imply

\mathcal{L}_{\mathrm{trans}}(\omega)\geq\frac{Nd}{2}\bigl[1+\log(2\pi\Delta t)\bigr]-NB.
(78)

The entropy term is minimized by contraction, so wherever reconstruction does not oppose it, the bounded flow approaches this bound. The lower side of Equation (29) then acts as a noise floor: the volume of the per-step increment \sqrt{\Delta t}\,g_{\phi} cannot fall below \Delta t^{d/2}e^{-B}. The floor depends on \alpha and L_{\mathrm{f}} but not on the data. With two coupling layers and \alpha=1, for example, the geometric-mean noise scale cannot fall below e^{-1}\approx 0.37.

Volume, not variance.

Let \sigma_{1}(\epsilon)\geq\cdots\geq\sigma_{d}(\epsilon) denote the singular values of J_{\phi,k}(\epsilon). Equation (29) constrains only their product, |\det J_{\phi,k}(\epsilon)|=\prod_{i=1}^{d}\sigma_{i}(\epsilon), which is the local volume change of the map \epsilon\mapsto g_{\phi}(\epsilon;z_{k},t_{k},u_{k},c_{k}). It does not constrain the individual singular values. The bounded flow can therefore reduce its local scale below e^{-B/d} in some directions only by enlarging it in others. A per-coordinate factor that adds \sum_{i}\log s_{\phi,i} to the log determinant, and thereby lowers the attainable volume itself, is required.

Learned noise scale.

In Equation (30), the factor s_{\phi,i}>0 multiplies coordinate i of the bounded flow output, so the standard deviation of that coordinate of the increment is scaled by s_{\phi,i}. It is a free parameter of the model and is constant along a trajectory. To keep it positive and finite, we restrict its logarithm to a fixed interval [a_{-},a_{+}] with a_{-}<0<a_{+}, using a sigmoid of an unconstrained parameter r_{\phi,i}:

\log s_{\phi,i}=a_{-}+(a_{+}-a_{-})\,\mathrm{sigmoid}\bigl(r_{\phi,i}+r_{0}\bigr),\qquad r_{0}=\log(-a_{-}/a_{+}).
(79)

The offset r_{0} is chosen so that r_{\phi,i}=0 gives s_{\phi,i}=1, that is, no change to the flow. The parameters are initialized at zero.

Effect on the bounds.

Scaling coordinate i by s_{\phi,i} multiplies the volume by s_{\phi,i}, so the log determinant gains \sum_{i}\log s_{\phi,i}. This sum lies in [d\,a_{-},\,d\,a_{+}], and the bounded flow contributes a value in [-B,B]. Equation (29) therefore still holds, with the lower exponent widened to B_{-}=B+d\,|a_{-}| and the upper exponent to B_{+}=B+d\,a_{+}. Likewise, the entropy lower bound (78) holds with B replaced by B_{-}, which is d\,|a_{-}|=10d lower per transition.

Why a proper score is needed.

Because the entropy term rewards contraction, the much lower bound means that this term alone could shrink the noise almost to zero. The learned scale is therefore trained with an objective that also penalizes too little spread, such as the full-horizon energy score of Section 3.2.3. The energy score is a proper scoring rule: it is smallest when the generated spread matches the true conditional spread, whether that spread is large or small. With the bounded flow alone, a true spread below the floor cannot be reached. The learned scale makes it reachable.

Finally, the transition term equals H(q_{\omega})=\mathbb{E}_{q_{\omega}}[-\log q_{\omega}], giving

\mathcal{L}_{\mathrm{joint}}(\omega;\mathbf{x})=\mathcal{L}_{\mathrm{state}}(\omega;\mathbf{x})+H(q_{\omega}).
(80)

The marginal reference-state NLL, -\log\int p_{\omega,\sigma}(\mathbf{x},\mathbf{z})\,d\mathbf{z}, integrates out the generated path and is a different objective. If q_{\omega} is used as the variational path density for the auxiliary model, the negative ELBO cancels the transition entropy:

\displaystyle\mathbb{E}_{\mathbf{z}\sim q_{\omega}}\left[-\log p_{\omega,\sigma}(\mathbf{x},\mathbf{z})+\log q_{\omega}(\mathbf{z})\right] \\ \displaystyle=\mathcal{L}_{\mathrm{state}}(\omega;\mathbf{x})+H(q_{\omega})-H(q_{\omega}) \\ \displaystyle=\mathcal{L}_{\mathrm{state}}(\omega;\mathbf{x}).

The proposed composite objective retains the entropy penalty.

Appendix C Implementation and reproducibility details

This appendix summarizes the data generation, the training of all methods, and the evaluation protocol needed to reproduce the results in Section 4.

C.1 Data generation

Each dataset is a cache of fixed-length windows, each with a known initial state, a control sequence, noisy observations, and the reference states used for training and scoring. The data are split by trajectory or episode before windowing, and normalization statistics are computed on the training split only. Pendulum and Lorenz–96 metrics are reported in physical units. The observation noise of Equation (36) is drawn independently for every observed coordinate and time step. The caches are rebuilt deterministically from fixed seeds and were verified against stored checksums before training.

Pendulum.

The dataset contains 320 trajectories of 60 steps that follow Equation (38) with g=9.81, \ell=m=1, c=0.2, \sigma_{\theta}=0.01, and \sigma_{\omega}=0.2. They are integrated by Euler–Maruyama with eight substeps per interval \Delta t=0.05. The torque is a smooth, bounded random signal, u_{k}=3\tanh(r_{k}), where r_{k} is a first-order autoregressive process. The angle is unwrapped. Each trajectory is one window. The split is 224 / 48 / 48, and the noise scale is \sigma=0.1.

Lorenz–96.

The dataset contains 2000 independent trajectories of Equation (39) (d=12, F=8, RK4 at \Delta t=0.02). Each trajectory starts from a small random perturbation of the origin and is integrated for 500 spin-up steps. The next 100 steps form the window, and the state at the end of the spin-up is the known initial state. Every second coordinate is observed with \sigma=0.5. The split is 1600 / 200 / 200 trajectories, of which the first 100 test windows are scored.

ALOHA insertion.

The 50 teleoperation episodes of the simulated bimanual insertion task (Zhao et al., 2023) at 50 Hz are split 40 / 5 / 5. The 14 commanded joint positions are the controls and the 14 measured follower-joint positions, perturbed as described in Appendix C.2, are the states. Windows of 250 steps are cut with a stride of 25 frames, giving 400 / 50 / 50 windows. States and controls are normalized per joint, and the noise (\sigma=0.1) is added in normalized units.

REASSEMBLE.

The 148 episodes of the 30 Hz real-robot dataset (Sliwowski et al., 2025) are split 94 / 17 / 37. The state is the seven joint positions and the nine-dimensional command is the control. Windows of 250 steps are cut without overlap. The training split is capped at 2000 windows, and 300 windows each are used for validation and test. Normalization and noise are as for ALOHA.

C.2 ALOHA latent disturbance

The recorded ALOHA states are deterministic given the commands, so we add a slowly varying latent disturbance per episode in joint-position units before normalization. With q_{k} denoting the recorded joint positions and u_{k} the commands, the disturbed joint positions \tilde{q}_{k} and the disturbance d_{k} follow

\tilde{q}_{k+1}=\tilde{q}_{k}+(q_{k+1}-q_{k})+\Delta t\,B\,d_{k},\qquad d_{k+1}=\rho\,d_{k}+\sigma_{d}\,(1+\gamma\,r_{k})\,\xi_{k},\qquad\xi_{k}\sim\mathcal{N}(0,I_{4}),
(82)

starting from \tilde{q}_{0}=q_{0} and d_{0}=0, with \rho=0.98, \sigma_{d}=0.05, \gamma=2, \Delta t=0.02, and B=0.35\,Q for a fixed random orthonormal 14\times 4 matrix Q. The regime variable r_{k} is the command-tracking error of the frame relative to its median over the training episodes, capped at 3, so that the disturbance grows during contact. The disturbed trajectory \tilde{q} is the reference state, and the commands are unchanged. The observation of \tilde{q}_{k+1} adds the noise of Equation (36).

C.3 Evaluation protocol

All methods filter causally from the known initial state and never see future observations or intermediate reference states. For every test window a method returns M posterior draws per time step (M=128, 200, 200, 500 on the pendulum, Lorenz–96, ALOHA, and REASSEMBLE). The particle filters run with the same particle count and return M draws from the weighted particles. RMSE is computed per window and averaged over windows. CRPS is the empirical marginal CRPS of the draws, averaged over windows, steps, and coordinates. The energy score is computed on the state vector at each step. Coverage is the fraction of reference values inside the central interval between the empirical quantiles of the draws, pooled over windows, steps, and coordinates, and width is the mean length of that interval. Every method is trained with three seeds on the same caches and with the same total number of optimizer updates per dataset (8400, 18500, 9000, 11000, the largest of the four methods’ tuned recipes). Checkpoints and hyperparameters are selected on the validation split, by the lowest validation RMSE unless stated otherwise, and no post-hoc calibration is applied. Tables report the mean and sample standard deviation over the three seeds. Latency is measured for the seed-0 checkpoint of every method on one NVIDIA L40S GPU with batch size one. Compilation is excluded, and the reported value is the median over 30 calls of the time to filter one test window.

C.4 NormFlowSDE

Architecture.

The feature network T_{\varphi} of Equation (25) receives the state, the window feature, an embedding of the time, and, where available, the control. It is a multilayer perceptron with GELU activations, and its last hidden layer is the feature \chi_{k}. The drift is a linear layer on the feature. In each coupling layer of the conditional RealNVP noise flow, the log scales and shifts are computed from the unchanged noise coordinates and the feature by a network with one hidden tanh layer. The encoder is a bidirectional GRU that reads only the last o=10 measurements, each concatenated with its control (the window feature of Equation (23)). Table 4 lists the sizes, and Table 6 lists the parameter counts of all methods.

Table 4: NormFlowSDE architecture per dataset. All four datasets use the explicit Euler update of Equation (24) in training and inference.
  • Window feature d_{c} / encoder width
    Pendulum
    16 / 16
    Lorenz–96
    128 / 128
    ALOHA
    64 / 64
    REASSEMBLE
    64 / 64
  • Feature network width / depth
    Pendulum
    53 / 2
    Lorenz–96
    266 / 3
    ALOHA
    153 / 3
    REASSEMBLE
    150 / 3
  • Coupling layers / coupling hidden width
    Pendulum
    2 / 16
    Lorenz–96
    2 / 64
    ALOHA
    2 / 64
    REASSEMBLE
    2 / 64
  • Log-scale bound \alpha (stage 1 / 2)
    Pendulum
    1 / 1
    Lorenz–96
    1.5 / 1.5
    ALOHA
    1 / 1
    REASSEMBLE
    1 / 2
Stage 1: composite objective.

The first stage minimizes the objective of Equation (35) on random training windows with the multiple-shooting partition of Section 3.2, using a bounded flow without the learned scale. Table 5 lists the dataset-specific settings. Four generated trajectories per window enter the state and transition terms. The rollout term is the energy score of Equation (34) over the full window, evaluated every few updates with the stated number of draws. The solver uses the explicit Euler update of Equation (24). The optimizer is AdamW with gradient clipping. Lorenz–96 uses a warm-up and cosine learning-rate schedule, epoch-wise shuffling, and a small auxiliary one-step likelihood term, whereas the other datasets use a constant learning rate. The checkpoint with the lowest validation RMSE initializes the second stage.

Table 5: Stage-1 settings of NormFlowSDE. On ALOHA the rollout term is switched off in stage 1 and enters only through stage 2.
  • Updates
    Pendulum
    4400
    Lorenz–96
    14500
    ALOHA
    5000
    REASSEMBLE
    7000
  • Trajectories per update
    Pendulum
    16
    Lorenz–96
    64
    ALOHA
    1
    REASSEMBLE
    4
  • Learning rate
    Pendulum
    6\times 10^{-4}
    Lorenz–96
    2\times 10^{-3}
    ALOHA
    3\times 10^{-4}
    REASSEMBLE
    10^{-3}
  • Segment length (states)
    Pendulum
    11
    Lorenz–96
    5
    ALOHA
    5
    REASSEMBLE
    5
  • \sigma_{\mathrm{state}} (normalized units)
    Pendulum
    1
    Lorenz–96
    1/\sqrt{2}
    ALOHA
    1
    REASSEMBLE
    1
  • \lambda_{\mathrm{cont}}
    Pendulum
    1
    Lorenz–96
    0.1
    ALOHA
    1
    REASSEMBLE
    1
  • \lambda_{\mathrm{rollout}} / rollout draws
    Pendulum
    30 / 4
    Lorenz–96
    1 / 8
    ALOHA
    0 / –
    REASSEMBLE
    0.5 / 4
Stage 2: full-horizon energy score with the learned scale.

The second stage warm-starts from the stage-1 checkpoint and adds the learned per-coordinate scale of Equation (30), initialized so that the model is unchanged at the first step. It minimizes the energy score of Equation (34) of M=16 complete filtering rollouts per window, generated exactly as at inference, for 4000 updates (8000 on REASSEMBLE) on batches of 16 windows with a warm-up and cosine schedule (learning rates 3\times 10^{-3}, 3\times 10^{-5}, 3\times 10^{-4}, and 3\times 10^{-5} on the four datasets).

C.5 Particle filters

The widths of all baselines were chosen so that each method’s parameter count matches NormFlowSDE per dataset as closely as its architecture allows (Table 6).

Table 6: Parameter counts of the selected models. The count of NormFlowSDE includes the d parameters of the learned scale, which the stage-1 model does not have. The NormFlowSDE-PF model is a transition of the same architecture with the learned scale plus its own measurement flow with the architecture of NSF-PF.
  • NormFlowSDE (stage 2)
    Pendulum
    9.9
    Lorenz–96
    365.4
    ALOHA
    129.6
    REASSEMBLE
    120.0
  • NF-DPF
    Pendulum
    9.6
    Lorenz–96
    366.3
    ALOHA
    128.9
    REASSEMBLE
    120.0
  • NSF-PF
    Pendulum
    9.9
    Lorenz–96
    365.1
    ALOHA
    129.6
    REASSEMBLE
    119.8
  • FlowSDE-PF
    Pendulum
    9.9
    Lorenz–96
    365.7
    ALOHA
    129.1
    REASSEMBLE
    120.4
  • NormFlowSDE-PF
    Pendulum
    9.8
    Lorenz–96
    364.7
    ALOHA
    129.4
    REASSEMBLE
    119.8
  • Latent NSF
    Pendulum
    9.7
    Lorenz–96
    364.5
    ALOHA
    130.0
    REASSEMBLE
    120.2
  • Latent SDE
    Pendulum
    10.0
    Lorenz–96
    366.0
    ALOHA
    129.1
    REASSEMBLE
    120.3
  • SigKer SDE
    Pendulum
    9.8
    Lorenz–96
    366.2
    ALOHA
    130.0
    REASSEMBLE
    120.1
NF-DPF.

Our implementation of Chen & Li (2025) has a conditional-RealNVP transition, an observation-conditioned proposal flow, and a conditional-RealNVP measurement density, with importance weights that include the transition and proposal densities. Training has two stages. The first trains on short 8-step windows with 32 particles and differentiable optimal-transport resampling, starting with the supervised likelihoods of the three components and then switching to the end-to-end filtering error. The second warm-starts the best stage-1 checkpoint and trains on a curriculum of increasing horizons up to the full window with 64 particles, minimizing the weighted-particle CRPS together with the measurement likelihood. At test time the filter runs with the protocol particle count and systematic resampling.

NSF-PF and FlowSDE-PF.

The transition is the exact-density Neural Stochastic Flow of Kiyohara et al. (2025) or a FlowSDE drift (Lou et al., 2026a) with fixed isotropic diffusion trained by bridge flow matching and integrated by Euler–Maruyama with four substeps per interval. Both transitions condition on the control and the time but not on observations. The measurement density q(y\mid x) is a conditional RealNVP with four coupling layers (two on the pendulum), and all four particle filters use this architecture. Each filter trains its own measurement flow, and no trained network is shared between filters. Dynamics and measurement flow are trained jointly by maximum likelihood on random training windows for the full update budget. The filter is a bootstrap filter: particles are propagated by the transition without access to the measurement, weighted by q(y\mid x), and resampled systematically when the effective sample size falls below half the particle count. During training, a bootstrap particle filter is run on the validation windows at regular intervals. Checkpoints and a process-noise inflation are selected jointly by validation RMSE, which is an isotropic Gaussian jitter added to every predicted particle.

NormFlowSDE-PF.

The transition has the architecture of NormFlowSDE (Appendix C.4): a feature network with a linear drift head and the conditional RealNVP noise flow with the learned per-coordinate scale of Equation (30). Its feature network has widths 63, 363, 165, and 169 on the four datasets, chosen so that the filter with its measurement flow matches the parameter count of NormFlowSDE (Table 6). It conditions on the control and the time but not on observations, and it uses the explicit Euler update, for which the change-of-variables density is exact. The measurement density, the joint maximum-likelihood training, the update budget, and the joint validation selection of the checkpoint and the process-noise inflation are those of NSF-PF.

Table 7 lists the hyperparameters of the final particle filters.

Table 7: Hyperparameters of the final particle filters. The process-noise inflation \tau is the standard deviation of the Gaussian jitter added to every predicted particle, selected per seed on the validation windows from \{0,0.005,0.01,0.02,0.03,0.05,0.075,0.1,0.15,0.2\}. The three seeds selected the same value except for FlowSDE-PF on the pendulum, where the values of seeds 0, 1, and 2 are listed. All other entries are identical for the three seeds.
  • All four
    Hyperparameter
    Transition hidden layers
    Pendulum
    2
    Lorenz–96
    3
    ALOHA
    3
    REASSEMBLE
    3
  • No data
    Hyperparameter
    Measurement flow: coupling layers
    Pendulum
    2
    Lorenz–96
    4
    ALOHA
    4
    REASSEMBLE
    4
  • No data
    Hyperparameter
    Measurement flow: hidden width / layers
    Pendulum
    16 / 2
    Lorenz–96
    64 / 2
    ALOHA
    64 / 2
    REASSEMBLE
    64 / 2
  • NF-DPF
    Hyperparameter
    Hidden width
    Pendulum
    32
    Lorenz–96
    155
    ALOHA
    70
    REASSEMBLE
    77
  • No data
    Hyperparameter
    Coupling layers
    Pendulum
    2
    Lorenz–96
    2
    ALOHA
    2
    REASSEMBLE
    2
  • No data
    Hyperparameter
    Stage 1: updates
    Pendulum
    4400
    Lorenz–96
    12500
    ALOHA
    3000
    REASSEMBLE
    5000
  • No data
    Hyperparameter
    Stage 1: particles
    Pendulum
    32
    Lorenz–96
    32
    ALOHA
    32
    REASSEMBLE
    32
  • No data
    Hyperparameter
    Stage 2: updates
    Pendulum
    4000
    Lorenz–96
    6000
    ALOHA
    6000
    REASSEMBLE
    6000
  • No data
    Hyperparameter
    Stage 2: learning rate
    Pendulum
    10^{-4}
    Lorenz–96
    10^{-4}
    ALOHA
    10^{-4}
    REASSEMBLE
    10^{-4}
  • No data
    Hyperparameter
    Stage 2: horizons
    Pendulum
    8, 25, 60
    Lorenz–96
    8, 25, 50, 100
    ALOHA
    8, 25, 50, 250
    REASSEMBLE
    8, 25, 50, 250
  • No data
    Hyperparameter
    Stage 2: windows per update
    Pendulum
    32, 16, 8
    Lorenz–96
    32, 16, 8, 8
    ALOHA
    32, 16, 8, 8
    REASSEMBLE
    32, 16, 8, 8
  • No data
    Hyperparameter
    Stage 2: particles
    Pendulum
    64
    Lorenz–96
    64
    ALOHA
    64
    REASSEMBLE
    64
  • NSF-PF, FlowSDE-PF,
    Hyperparameter
    Optimizer updates
    Pendulum
    8400
    Lorenz–96
    18500
    ALOHA
    9000
    REASSEMBLE
    11000
  • NormFlowSDE-PF
    Hyperparameter
    Batch size (windows)
    Pendulum
    16
    Lorenz–96
    16
    ALOHA
    16
    REASSEMBLE
    16
  • No data
    Hyperparameter
    Learning rate
    Pendulum
    3\times 10^{-4}
    Lorenz–96
    3\times 10^{-4}
    ALOHA
    3\times 10^{-4}
    REASSEMBLE
    3\times 10^{-4}
  • NSF-PF
    Hyperparameter
    Hidden width
    Pendulum
    48
    Lorenz–96
    224
    ALOHA
    107
    REASSEMBLE
    113
  • No data
    Hyperparameter
    Coupling layers
    Pendulum
    2
    Lorenz–96
    2
    ALOHA
    2
    REASSEMBLE
    2
  • No data
    Hyperparameter
    Inflation \tau
    Pendulum
    0
    Lorenz–96
    0.005
    ALOHA
    0.05
    REASSEMBLE
    0.03
  • FlowSDE-PF
    Hyperparameter
    Hidden width
    Pendulum
    59
    Lorenz–96
    282
    ALOHA
    141
    REASSEMBLE
    144
  • No data
    Hyperparameter
    Diffusion coefficient
    Pendulum
    0.01
    Lorenz–96
    0.01
    ALOHA
    0.05
    REASSEMBLE
    0.03
  • No data
    Hyperparameter
    Euler–Maruyama substeps
    Pendulum
    4
    Lorenz–96
    4
    ALOHA
    4
    REASSEMBLE
    4
  • No data
    Hyperparameter
    Inflation \tau
    Pendulum
    0.02, 0.03, 0.01
    Lorenz–96
    0
    ALOHA
    0.005
    REASSEMBLE
    0
  • NormFlowSDE-PF
    Hyperparameter
    Feature network width
    Pendulum
    63
    Lorenz–96
    363
    ALOHA
    165
    REASSEMBLE
    169
  • No data
    Hyperparameter
    Coupling layers / coupling hidden width
    Pendulum
    2 / 16
    Lorenz–96
    2 / 64
    ALOHA
    2 / 64
    REASSEMBLE
    2 / 64
  • No data
    Hyperparameter
    Log-scale bound \alpha
    Pendulum
    1
    Lorenz–96
    1.5
    ALOHA
    1
    REASSEMBLE
    1
  • No data
    Hyperparameter
    Inflation \tau
    Pendulum
    0
    Lorenz–96
    0.005
    ALOHA
    0.05
    REASSEMBLE
    0.03

C.6 Direct baselines: latent NSF, latent SDE, and signature-kernel SDE

The three direct baselines use the encoder of NormFlowSDE (Equation (23)) with its settings: a bidirectional GRU of the width of NormFlowSDE (16, 128, 64, and 64 on the pendulum, Lorenz–96, ALOHA, and REASSEMBLE) over the window of the o=10 most recent measurements, in which the known initial state, restricted to its observed coordinates, takes the place of the measurement at k=0.

Latent NSF.

The prior transition is an NSF with the depth and coupling layers of NSF-PF, and the emission model is the measurement flow of the particle filters. The published posterior of Equation (8) never sees the known initial state, which leaves the unobserved Lorenz–96 coordinates unidentifiable. We therefore make the posterior Markov in the state, as in structured inference networks (Krishnan et al., 2017): q_{\varphi}(x_{k+1}\mid x_{k},y_{0:k})=\mathcal{N}(x_{k}+m_{k},\mathrm{diag}\,s_{k}^{2}). Here (m_{k},s_{k}) are computed from x_{k}, the GRU state h_{k}, the control, and the time by a network with the width and depth of the prior. The posterior is rolled out from the known initial state like the other direct estimators. The loss is the \beta-NELBO of Kiyohara et al. (2025, Equation 16), with the KL terms estimated by Monte Carlo along an ancestral posterior path, a KL weight \beta selected below, and linear annealing over the first 30% of the updates. State supervision adds the negative log density of each true state under the posterior along that path and the NSF negative log likelihood of the true states at gaps of one to four steps. For gaps longer than one step, the prior is conditioned on the mean control over the gap. Because every gap is supervised directly, the skip-ahead KL, which has no closed form for a Markov posterior, and the flow consistency penalty are omitted. Samples are posterior paths from the known initial state. With the selected \beta=0, the KL terms vanish and the NSF prior no longer shapes the posterior, which is then trained by the state supervision alone.

Latent SDE.

Following Li et al. (2020), the prior SDE dx=f_{\theta}(x,u,t)\,dt+g_{\theta}(x,u,t)\,dW and the posterior SDE dx=h_{\varphi}(x,h_{k},u,t)\,dt+g_{\theta}(x,u,t)\,dW share a diagonal diffusion. Both are discretized by Euler–Maruyama with one step per interval. The ELBO is the Gaussian log likelihood of the true states under the posterior path, with a learned per-coordinate decoder standard deviation, minus the path KL divergence \tfrac{1}{2}\sum\|(h_{\varphi}-f_{\theta})/g_{\theta}\|^{2}\Delta t, with the KL weight annealed as above. Samples are posterior paths plus decoder noise.

Signature-kernel SDE.

Following Issa et al. (2023), the generator is an SDE whose drift and diagonal diffusion receive the state, h_{k}, the control, and the time, integrated from the known initial state by Euler–Maruyama. For each training window, m=8 generator paths are compared with the reference state path by the unbiased estimate of the score in Equation (11). Every path includes the initial state and is augmented with normalized time. The signature kernel uses an RBF static kernel in the normalized state coordinates, whose bandwidth (default \sqrt{d}) is selected below, and it is computed with the explicit second-order Goursat scheme of Salvi et al. (2021). The training is non-adversarial, since there is no discriminator. This baseline replaces an SDE-GAN (Kidger et al., 2021b) with the same generator and a neural-CDE discriminator on the joint path (t,x,y,u), whose conditional Wasserstein training with gradient penalty collapsed to near-zero spread on every dataset.

All three use the recipe of NSF-PF: batches of 16 random training windows, AdamW with warm-up and cosine decay, gradient clipping at 1, and the update budget of the dataset (8400, 18500, 9000, 11000). The checkpoint with the lowest validation RMSE, computed from 64 draws on all validation windows at the evaluation interval of NSF-PF, is tested with the protocol’s draw count. Widths were chosen to match the parameter count of NormFlowSDE (Table 6). Table 8 lists the hyperparameters of the final models. The learning rate, the KL weight, and the kernel bandwidth were selected per dataset on seed 0 by the same validation RMSE, from the learning rates \{3\times 10^{-4},10^{-3}\}, the KL weights \beta\in\{1,0.1,0.01,0\} for latent NSF and \beta\in\{1,0.1,0.01\} for the latent SDE, and the RBF bandwidths \{\sqrt{d},1,0.5\}, and the selected configuration was then trained with two further seeds. Several selections lie at the edge of this grid, and many selected checkpoints are among the last of the budget, so the baselines might improve further with larger learning rates or budgets.

Table 8: Hyperparameters of the final direct baselines, identical for the three seeds of each cell. The encoder window is ten measurements on every dataset, as for NormFlowSDE.
  • All three
    Hyperparameter
    Optimizer updates
    Pendulum
    8400
    Lorenz–96
    18500
    ALOHA
    9000
    REASSEMBLE
    11000
  • No data
    Hyperparameter
    Batch size (windows)
    Pendulum
    16
    Lorenz–96
    16
    ALOHA
    16
    REASSEMBLE
    16
  • No data
    Hyperparameter
    Encoder width
    Pendulum
    16
    Lorenz–96
    128
    ALOHA
    64
    REASSEMBLE
    64
  • No data
    Hyperparameter
    Hidden layers
    Pendulum
    2
    Lorenz–96
    3
    ALOHA
    3
    REASSEMBLE
    3
  • Latent NSF
    Hyperparameter
    Learning rate
    Pendulum
    10^{-3}
    Lorenz–96
    10^{-3}
    ALOHA
    3\times 10^{-4}
    REASSEMBLE
    10^{-3}
  • No data
    Hyperparameter
    KL weight \beta
    Pendulum
    1
    Lorenz–96
    0
    ALOHA
    0
    REASSEMBLE
    1
  • No data
    Hyperparameter
    Hidden width
    Pendulum
    32
    Lorenz–96
    138
    ALOHA
    63
    REASSEMBLE
    70
  • Latent SDE
    Hyperparameter
    Learning rate
    Pendulum
    10^{-3}
    Lorenz–96
    10^{-3}
    ALOHA
    10^{-3}
    REASSEMBLE
    10^{-3}
  • No data
    Hyperparameter
    KL weight \beta
    Pendulum
    0.1
    Lorenz–96
    0.01
    ALOHA
    0.01
    REASSEMBLE
    0.01
  • No data
    Hyperparameter
    Hidden width
    Pendulum
    44
    Lorenz–96
    178
    ALOHA
    107
    REASSEMBLE
    107
  • SigKer SDE
    Hyperparameter
    Learning rate
    Pendulum
    10^{-3}
    Lorenz–96
    10^{-3}
    ALOHA
    10^{-3}
    REASSEMBLE
    10^{-3}
  • No data
    Hyperparameter
    RBF bandwidth
    Pendulum
    0.5
    Lorenz–96
    \sqrt{d}
    ALOHA
    \sqrt{d}
    REASSEMBLE
    1
  • No data
    Hyperparameter
    Hidden width
    Pendulum
    50
    Lorenz–96
    203
    ALOHA
    126
    REASSEMBLE
    124

C.7 Model-based reference filters

On the pendulum and Lorenz–96 the data-generating model is known. The EKF and UKF use the true dynamics with the moment-matched Gaussian likelihood of the mixture. The bootstrap particle filter uses the true dynamics with the exact mixture likelihood and the protocol particle count. The process-noise scale of each filter is selected on the validation windows from a small grid, and the smallest grid value was selected for every filter and seed. On the pendulum this value is the true process noise. Lorenz–96 is deterministic, so a small additive state noise keeps the filters from collapsing. Three filter seeds are run on the same caches as the learned methods. Table 9 lists the settings.

Table 9: Settings of the model-based reference filters. The dynamics are those of the data generation (Appendix C.1). The EKF and UKF return M draws from their Gaussian filtering distributions, and the particle filter returns M draws from its weighted particles. d is the state dimension and N the particle count. \mathrm{ESS} is the effective sample size.
  • All three
    Setting
    Dynamics
    Pendulum
    Euler, 8 substeps
    Lorenz–96
    Runge–Kutta 4
  • No data
    Setting
    Process noise
    Pendulum
    \sqrt{\kappa}\,(\sigma_{\theta},\sigma_{\omega}), \kappa=1
    Lorenz–96
    additive, std. 0.001 per step
  • No data
    Setting
    Process-noise grid
    Pendulum
    \kappa\in\{1,2,4,8\}
    Lorenz–96
    \{0.001,0.003,0.01,0.03,0.1,0.3\}
  • No data
    Setting
    Posterior draws M
    Pendulum
    128
    Lorenz–96
    200
  • EKF
    Setting
    Linearization
    Pendulum
    exact Jacobian
    Lorenz–96
    exact Jacobian
  • UKF
    Setting
    Sigma points
    Pendulum
    2d=4, equal weights
    Lorenz–96
    2d=24, equal weights
  • Bootstrap PF
    Setting
    Particles
    Pendulum
    500
    Lorenz–96
    1000
  • No data
    Setting
    Resampling
    Pendulum
    systematic, if \mathrm{ESS}<N/2
    Lorenz–96
    systematic, if \mathrm{ESS}<N/2

C.8 Software, hardware, and code availability

All models are implemented in JAX 0.10 with Equinox 0.13 and Optax 0.2 under Python 3.12. Training ran on single NVIDIA A30 GPUs or on CPU nodes, and all latencies were measured on one NVIDIA L40S GPU (Appendix C.3). The code, the manuscript, and the frozen run directories are available at https://github.com/papersubmit-a/NormFlowSDE. The layout of the archive and the commands that rebuild the tables and figures are documented in its README.md. The code is released under the MIT License. The posterior and data arrays are not included in the repository because of their size and redistribution restrictions.