TL;DR
Inferring the hidden parameters of noisy, continuous-time systems from sparse snapshots is notoriously slow because we rarely have a formula for how probabilities evolve between data points. This paper trains a specialized neural network—a bounded Normalizing Flow—offline to solve the underlying physics of probability, turning agonizingly slow real-time Bayesian inference into a fast, accurate, plug-and-play operation. Even better, it handles tricky mathematical "walls" (like stock market volatility never dropping below zero) where standard methods crash and burn.
What Problem Does This Paper Address?
Imagine watching a firefly blink every few seconds in a dark room and trying to deduce the exact wind currents pushing it around. Many real-world phenomena—wind power generation, cellular network signals, and financial markets—are modeled as diffusion processes via Stochastic Differential Equations (SDEs). When we observe these systems at discrete ticks in time and want to infer their governing parameters using Bayesian inference (specifically Markov chain Monte Carlo, or MCMC), we hit a wall: we need the likelihood function, which requires knowing the exact Transition Probability Density Function (TPDF) between consecutive observations.
For most interesting nonlinear systems, a closed-form formula for the TPDF simply doesn't exist. Traditional workarounds either simulate thousands of tiny, fake intermediate steps between observations (which becomes painfully slow when observations are far apart) or solve the governing Fokker-Planck (FP) partial differential equation on the fly for every single MCMC guess.
The math gets even nastier in systems with inaccessible boundaries—regions the system can approach but never cross, like asset variance in Stochastic Volatility (SV) models, which can approach zero but never go negative. Near zero, randomness vanishes and deterministic drift dominates, creating sharp, localized probability spikes (starting from a single point, a Dirac delta) that cause standard numerical solvers and Physics-Informed Neural Networks (PINNs) to fail.
Methods
Instead of simulating paths at inference time, the authors build an offline surrogate for the TPDF by marrying two frameworks: Normalizing Flows (NFs) and Neural Galerkin schemes.
- What is standard: Normalizing Flows transform a simple base probability distribution into a complex target distribution using invertible mappings, naturally guaranteeing that probabilities stay positive and integrate to 1. The Neural Galerkin framework (introduced in recent literature) evolves neural network parameters forward in time via a system of Ordinary Differential Equations (ODEs) rather than training over the whole space-time grid at once like PINNs, naturally preserving time causality.
- What is new: Previous Neural Galerkin Normalizing Flows (NGNFs) operated on unbounded spaces ($\mathbb{R}^d$). Here, the authors introduce a bounded Normalizing Flow architecture built on stacked cumulative distribution functions of mixtures of truncated Gaussians (conditioned via GRU-based neural networks).
- By truncating the domain to a bounded hyperrectangle and carefully choosing the reference distribution, the flow strictly enforces zero-probability (homogeneous Dirichlet) conditions right at the inaccessible boundary.
- By initializing the truncated Gaussians with vanishing variance, it cleanly captures the sharp Dirac delta initial condition.
- Crucially, the network is conditioned on both the initial state and the SDE parameters. Once trained offline over a distribution of parameters, evaluating the likelihood during MCMC requires just fast forward passes through the flow.
Datasets
Because this is a physics-informed, equation-driven approach, the Normalizing Flow is trained completely data-free offline by minimizing PDE residuals via adaptive Monte Carlo sampling.
For testing Bayesian inference, the authors generate synthetic discrete time-series trajectories from two continuous-time financial stochastic volatility models (no external benchmark datasets are used):
- The Heston model: A classic 2D model (asset log-price and variance) that has a semi-exact TPDF available via Fourier transform inversion, providing a clean ground truth ($n + 1 = 350$ observations at lag $\Delta = 0.5$, and $n + 1 = 200$ at low-frequency lag $\Delta = 1.0$).
- The SVCEV model: A harder, nonlinear, non-affine extension of Heston with no closed-form characteristic function ($n + 1 = 100$ observations at lag $\Delta = 0.5$), benchmarked against a heavy-duty Data Augmentation (DA) and importance sampling estimator. (Note: A higher-dimensional experiment is also mentioned as being in the Appendix).
Key Insights and Ideas
- Respecting boundaries prevents low-volatility blowups: In an ablation study against an unbounded Real NVP Normalizing Flow, as the initial variance $\epsilon$ drops toward the inaccessible boundary at zero (from $10^{-2}$ down to $10^{-6}$), the unbounded model's relative $L^2$ error explodes from $0.08$ to $21.70$. By contrast, the proposed bounded architecture stays rock-steady at $0.06$.
- Immunity to low-frequency observation gaps: Classical closed-form likelihood approximations (like Aït-Sahalia or Itô-Taylor expansions) rely on power-series expansions of the time lag $\Delta$. When observations are sparse ($\Delta = 1$) or when MCMC explores parameters far from the true values, those expansions degrade or diverge. Learning a structure-preserving flow across time avoids this trap entirely.
- Asynchronous flexibility for free: Because the Neural Galerkin ODE evolves the flow parameters continuously over $\tau \in [0, \Delta]$, you don't just get a fixed-lag estimator—you can evaluate likelihoods for observations arriving asynchronously at any interval up to $\Delta$.
Key Results
- High surrogate accuracy: On the Heston model, the NF achieves a relative log-likelihood error of just $0.0003$ at the true parameters and an average relative $L^2$ TPDF error of $0.076$ across random parameter-state pairs. In the low-frequency Heston regime ($\Delta = 1$), its average relative log-likelihood error across test parameters is $0.257$, compared to $4.335$ (Aït-Sahalia) and $3.232$ (Itô-Taylor).
- Massive MCMC speedups: Generating $10^4$ posterior MCMC samples on the Heston model takes 2,243 seconds with the NF versus 14,560 seconds via Fourier inversion (~6.5x faster), with a tiny joint Wasserstein-2 ($W_2$) distance of $0.066$.
- Outperforming Data Augmentation: On the intractable SVCEV model, drawing $10^4$ MCMC samples takes 1,389 seconds with the NF compared to 63,542 seconds for Data Augmentation (~45x faster!) and 7,219 seconds for Itô-Taylor, while achieving a much closer posterior match ($W_2$ distance of $0.412$ vs. $1.337$ for Itô-Taylor).
Limitations and Future Work
- Compact support and tail behavior: The method confines the TPDF to a bounded hyperrectangle, meaning accuracy is not guaranteed out in the extreme tails—making it unsuitable for simulating rare, extreme events. Furthermore, a fixed base distribution in the NF might not perfectly capture exact tail decay rates right next to the inaccessible boundary; the authors suggest parameterizing and training the reference density in future work.
- Full observability assumption: All experiments assume noiseless, fully observed state trajectories (meaning volatility itself is observed alongside price). In real finance, volatility is latent. The authors note their fast likelihood surrogate could be paired with particle-based MCMC to tackle partially observed diffusions.
- New SDE classes: Future work aims to extend this framework to bounded-domain Wright-Fisher SDEs (popular in population genetics) and self-interacting McKean-Vlasov SDEs.
Summary updated