Papers
Topics
Authors
Recent
Search
2000 character limit reached

Variational Smoothing and Inference for SDEs from Sparse Data with Dynamic Neural Flows

Published 7 May 2026 in stat.ML, cs.LG, and math.PR | (2605.05606v1)

Abstract: Stochastic differential equations (SDEs) provide a flexible framework for modeling temporal dynamics in partially observed systems. A central task is to calibrate such models from data, which requires inferring latent trajectories and parameters from sparse, noisy observations. Classical smoothing methods for this problem are often limited by path degeneracy and poor scalability. In this work, we developed a novel method based on characterization of the posterior SDE in terms of conditional backward-in-time score defined as the gradient of a function solving a Kolmogorov backward equation with multiplicative updates at observation times. We learn this conditional score using neural networks trained to satisfy both the governing PDE and the observation-induced jump conditions, thereby integrating continuous-time dynamics with discrete Bayesian updates. The resulting score induces a posterior SDE with the same diffusion coefficient but a modified drift, enabling efficient posterior trajectory sampling. We further derive a likelihood-based objective for learning the SDE parameters, yielding an evidence lower bound (ELBO) for joint state smoothing and parameter estimation. This leads to a variational EM-style procedure, where the neural conditional score is optimized to approximate the smoothing distribution, followed by a maximization step over the SDE parameters using samples from the induced posterior. Experiments on nonlinear systems demonstrate accurate and stable inference with a very few observations demonstrating significant improved scalability compared to classical MCMC methods.

Authors (2)

Summary

  • The paper introduces a scalable variational framework that approximates the backward conditional score with neural networks for joint smoothing and parameter estimation.
  • The method employs a variational EM algorithm, combining neural score estimation and Monte Carlo ELBO maximization to achieve stable convergence and accurate trajectory reconstruction.
  • Empirical evaluations on biochemical and physical systems demonstrate enhanced performance and reduced variance compared to traditional MCMC approaches, even with extremely sparse observations.

Variational Inference for SDE Smoothing from Sparse Data Using Dynamic Neural Flows

Introduction and Motivation

Stochastic Differential Equations (SDEs) are fundamental for modeling systems subject to intrinsic noise, especially in fields such as quantitative biology, finance, and physics. The key inferential challenge involves reconstructing both the latent state trajectories and the parameters governing these dynamics from partially observed, noisy, and usually sparse data. Classical approaches mainly discretize the state space and apply Markov Chain Monte Carlo (MCMC) or particle MCMC/particle filtering techniques, suffering from poor scalability, path degeneracy, and inefficiency in high-dimensional or low-data regimes.

The paper "Variational Smoothing and Inference for SDEs from Sparse Data with Dynamic Neural Flows" (2605.05606) introduces a scalable variational learning framework for joint smoothing and parameter estimation in partially observed nonlinear SDEs. The distinctive technical advancement is the characterization and direct neural approximation of the backward conditional score (the pathwise gradient of the log-smoothing function that solves a backward Kolmogorov equation with observation-induced jump discontinuities). This facilitates construction of a posterior SDE with an adaptive, observation-dependent drift, enabling robust variational inference directly in the path space.

Methodological Framework

Path-Space Posterior Characterization

Given discrete, noisy measurements of a latent SDE dXt=b(κ,Xt) dt+σ(Xt) dWtdX_t = b(\kappa, X_t)\,dt + \sigma(X_t)\,dW_t at timepoints {tm}\{t_m\}, the posterior (smoothing) law of the trajectory, conditioned on all observations, is characterized as the law of a diffusion with the prior drift augmented via the spatial gradient of a time- and observation-conditional "message function" (the solution to a backward Kolmogorov PDE with multiplicative jump conditions at the observation times).

Neural Backward Conditional Score Approximation

The essential computational technique is to model the (generally intractable) conditional score as a neural network, trained to satisfy both the interval-wise PDE and the jump condition at each observation. Specifically, over each interval (tm−1,tm](t_{m-1}, t_m], a neural network hθmh_{\theta_m} approximates the log-message function, with the neural parameters trained to minimize a residual sum-of-squares for both the PDE inside each interval and the jump at endpoints. Figure 1

Figure 1

Figure 1

Figure 1: Illustration of the overall PINN-based method, enforcing both the continuous-time PDE and discrete-time jump conditions on the score network family across observation intervals.

Variational EM Algorithm

Parameter learning proceeds via a variational Expectation-Maximization (EM) procedure:

  • E-step: For fixed parameters, the neural networks are optimized to approximate the conditional score and, hence, the smoothing distribution.
  • M-step: Samples from the induced posterior SDE are used to compute a Monte Carlo Evidence Lower Bound (ELBO), and the parameters κ\kappa are updated to maximize this objective, leveraging automatic differentiation for efficient gradient computation.

This approach avoids the primary pitfalls of discretize-then-condition MCMC regimes by performing variational inference with respect to the actual path-space smoothing law, leading to greater numerical stability and efficiency. Figure 2

Figure 2

Figure 2: The entire proposed method pipeline, encompassing the neural score learning, SDE trajectory sampling, and parameter ELBO maximization.

Empirical Evaluation

The efficacy and robustness of the proposed approach are demonstrated through inference tasks on representative nonlinear SDEs:

  • 2D Michaelis–Menten Biochemical System: Estimation proceeds even under extremely sparse and noisy sampling, yielding convergence of spatial parameters (k1,k−1)(k_1, k_{-1}) to true values, with the neural method showing substantially less variance than MCMC baselines.
  • 4D Ring-Coupled Double Well System: The method successfully reconstructs all three free parameters {k1,k2,k3}\{k_1, k_2, k_3\} and yields consistent smooth trajectories, even from poor initialization, whereas traditional MCMC schemes produce highly unstable and erratic results. Figure 3

    Figure 3: Posterior trajectory samples for the 4D double well system, capturing the multi-modal, metastable latent dynamics and remaining consistent with sparse and noisy observations.

Strong numerical results are observed: parameter inference with the neural approach achieves reliable, monotonic convergence and accurate latent state reconstructions with only five observation points. Classical MCMC shows poor mixing and wide fluctuations, especially in higher dimensions.

Numerical Verification and Validation

The paper further validates the method on 1D Geometric Brownian Motion (GBM) and 1D Double Well SDEs, where the ground-truth smoothing distributions are available via finite-difference solvers of the Kolmogorov equations. Figure 4

Figure 4

Figure 4: Comparison of smoothing distributions for 1D GBM, showing close alignment between neural and PDE-based solutions.

Figure 5

Figure 5

Figure 5: Demonstration of rapid, stable parameter inference in 1D GBM, closely tracking the true drift parameter.

Figure 6

Figure 6

Figure 6: Parameter inference in the 1D double well SDE, with convergence to the true nonlinear drift parameter.

These ablation experiments confirm that the neural variational method mirrors the performance of numerical PDE approaches while retaining scalability, expressivity, and automatic adaptability to arbitrary drift/diffusion forms and data sparsity.

Practical and Theoretical Implications

The framework significantly advances continuous-time SDE inference from sparse and noisy partial observations. By elevating the neural network learning target from time marginals to entire path-space smoothings, it bypasses the curse of dimensionality inherent to prior-discretization or bridge-simulation. The method exploits the compositional modularity of neural approximators, facilitating training in parallel and adaptation to increasing observation regimes or dimensionality with minimal additional complexity.

Limiting factors include potential issues with nonconvex optimization when learning high-dimensional score fields and the need for sufficiently expressive neural architectures to capture intricate score landscapes. However, batching, GPU acceleration, and warm-starts across EM iterations ensure practical scalability even in demanding settings.

Theoretically, this approach opens a pathway toward unified, physics-constrained, data-driven SDE inference where Bayesian confidence quantification aligns seamlessly with neural function approximation. By leveraging pathwise variational objectives and distributional control theory, it aligns with emerging paradigms at the intersection of generative modeling, stochastic simulation, and PDE-informed machine learning.

Conclusion

This work establishes a robust, variational neural framework for smoothing and parameter inference in SDEs under data scarcity and nonlinear latent dynamics. By circumventing the bottlenecks of classical discretization-based methods, it enables accurate and scalable reconstruction of both parameters and trajectories, with empirical results demonstrating marked improvements in stability, accuracy, and sample efficiency relative to MCMC schemes. Open directions include further theoretical analysis of the optimization landscape, development of more expressive score architectures, and extension to high-dimensional and multiscale systems.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Collections

Sign up for free to add this paper to one or more collections.

Tweets

Sign up for free to view the 1 tweet with 8 likes about this paper.