mlsanityData to 14 Oct 2026

Efficient and Accurate Gradients for Neural SDEs

arXiv 2105.13493 ↗First posted 27 May 2021cs.LG cs.AI math.DScited by 71

Not on the map. Why?

Abstract (arXiv)

Neural SDEs combine many of the best qualities of both RNNs and SDEs: memory efficient training, high-capacity function approximation, and strong priors on model space. This makes them a natural choice for modelling many types of temporal dynamics. Training a Neural SDE (either as a VAE or as a GAN) requires backpropagating through an SDE solve. This may be done by solving a backwards-in-time SDE whose solution is the desired parameter gradients. However, this has previously suffered from severe speed and accuracy issues, due to high computational cost and numerical truncation errors. Here, we overcome these issues through several technical innovations. First, we introduce the textitreversible Heun method. This is a new SDE solver that is textitalgebraically reversible: eliminating numerical gradient errors, and the first such solver of which we are aware. Moreover it requires half as many function evaluations as comparable solvers, giving up to a 1.98× speedup. Second, we introduce the textitBrownian Interval: a new, fast, memory efficient, and exact way of sampling textitand reconstructing Brownian motion. With this we obtain up to a 10.6× speed improvement over previous techniques, which in contrast are both approximate and relatively slow. Third, when specifically training Neural SDEs as GANs (Kidger et al. 2021), we demonstrate how SDE-GANs may be trained through careful weight clipping and choice of activation function. This reduces computational cost (giving up to a 1.87× speedup) and removes the numerical truncation errors associated with gradient penalty. Altogether, we outperform the state-of-the-art by substantial margins, with respect to training speed, and with respect to classification, prediction, and MMD test metrics. We have contributed implementations of all of our techniques to the torchsde library to help facilitate their adoption.

Key facts. Cited by 71 papers in the map (data through 14 Oct 2026). Builds on 41 of its 101 references that are in the map. First posted on arXiv 27 May 2021.

Builds on

41 of 101 references.

References · 41

  1. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  2. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  3. 2020Score-Based Generative Modeling through Stochastic Differential Equationscited by 9,122
  4. 2018Neural Ordinary Differential Equationscited by 3,779
  5. 2019Analyzing and Improving the Image Quality of StyleGANcited by 3,588
  6. 2016Gaussian Error Linear Units (GELUs)cited by 3,502
  7. 2017Improved Training of Wasserstein GANscited by 2,235
  8. 2018Spectral Normalization for Generative Adversarial Networkscited by 1,636
  9. 2018Averaging Weights Leads to Wider Optima and Better Generalizationcited by 1,209
  10. 2017Sigmoid-Weighted Linear Units for Neural Network Function Approximation in Reinforcement Learningcited by 950
  11. 2020Neural Controlled Differential Equations for Irregular Time Seriescited by 506
  12. 2018Invertible Residual Networkscited by 365
29 more
  1. 2015Generative Moment Matching Networkscited by 257
  2. 2019Residual Flows for Invertible Generative Modelingcited by 257
  3. 2017MMD GAN: Towards Deeper Understanding of Moment Matching Networkcited by 254
  4. 2019GRU-ODE-Bayes: Continuous modeling of sporadically-observed time seriescited by 231
  5. 2019Universal Approximation with Deep Narrow Networkscited by 200
  6. 2019Neural Stochastic Differential Equations: Deep Latent Gaussian Models in the Diffusion Limitcited by 176
  7. 2017Searching for Activation Functionscited by 169
  8. 2021Neural SDEs as Infinite-Dimensional GANscited by 161
  9. 2020Stochastic Normalizing Flowscited by 157
  10. 2019Neural Jump Stochastic Differential Equationscited by 150
  11. 2020Neural Rough Differential Equations for Long Time Seriescited by 143
  12. 2019AntisymmetricRNN: A Dynamical System View on Recurrent Neural Networkscited by 112
  13. 2019Neural SDE: Stabilizing Neural ODE Networks with Stochastic Noisecited by 101
  14. 2019Theoretical guarantees for sampling and inference in generative models with latent diffusionscited by 97
  15. 2016Kernels for sequentially ordered datacited by 84
  16. 2019Deep Signature Transformscited by 75
  17. 2020SDE-Net: Equipping Deep Neural Networks with Uncertainty Estimatescited by 75
  18. 2018The Unusual Effectiveness of Averaging in GAN Trainingcited by 73
  19. 2020The Signature Kernel is the solution of a Goursat PDEcited by 58
  20. 2021Neural ODE Processescited by 57
  21. 2020Signatory: differentiable computations of the signature and logsignature transforms, on both CPU and GPUcited by 46
  22. 2021MALI: A memory efficient and reverse accurate integrator for Neural ODEscited by 42
  23. 2021Infinitely Deep Bayesian Neural Networks with Stochastic Differential Equationscited by 38
  24. 2020Modeling Continuous Stochastic Processes with Dynamic Normalizing Flowscited by 37
  25. 2021Momentum Residual Neural Networkscited by 37
  26. 2019ODE2VAE: Deep generative second order ODEs with Bayesian neural networkscited by 36
  27. 2020Neural Jump Ordinary Differential Equations: Consistent Continuous-Time Prediction and Filteringcited by 34
  28. 2020Robust pricing and hedging via neural SDEscited by 22
  29. 2021SigGPDE: Scaling Sparse Gaussian Processes on Sequential Datacited by 22

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2021: 3; 2022: 3; 2023: 10; 2024: 17; 2025: 26; 2026: 12.

71 papers.

Sort:

By area:

  1. 2021Path Integral Sampler: a stochastic control approach for samplingcited by 181
  2. 2022An optimal control perspective on diffusion-based generative modelingcited by 147
  3. 2024Fine-Tuning of Continuous-Time Diffusion Models as Entropy-Regularized Controlcited by 143
  4. 2021Neural Stochastic PDEs: Resolution-Invariant Learning of Continuous Spatiotemporal Dynamicscited by 47
  5. 2024Fine-tuning of diffusion models via stochastic control: entropy regularization and beyondcited by 42
  6. 2024Stable Neural Stochastic Differential Equations in Analyzing Irregular Time Series Datacited by 36
  7. 2024Implicit Diffusion: Efficient Optimization through Stochastic Samplingcited by 24
  8. 2024Trajectory Flow Matching with Applications to Clinical Time Series Modelingcited by 24
  9. 2025SDE Matching: Scalable and Simulation-Free Training of Latent Stochastic Differential Equationscited by 23
  10. 2025Comprehensive Review of Neural Differential Equations for Time Series Analysiscited by 20
  11. 2025From discrete-time policies to continuous-time diffusion samplers: Asymptotic equivalences and faster trainingcited by 19
  12. 2022Scaling ResNets in the Large-depth Regimecited by 18
38 more
  1. 2025Outsourced diffusion sampling: Efficient posterior inference in latent spaces of generative modelscited by 17
  2. 2023Latent SDEs on Homogeneous Spacescited by 16
  3. 2024Sparse Inducing Points in Deep Gaussian Processes: Enhancing Modeling with Denoising Diffusion Variational Inferencecited by 16
  4. 2023Neural Ideal Large Eddy Simulation: Modeling Turbulence with Neural Stochastic Differential Equationscited by 13
  5. 2023Graph-based Multi-ODE Neural Networks for Spatio-Temporal Traffic Forecastingcited by 11
  6. 2023Variational Gaussian Process Diffusion Processescited by 11
  7. 2024Towards Scene Graph Anticipationcited by 10
  8. 2023Variational Inference for SDEs Driven by Fractional Noisecited by 9
  9. 2024Efficient, Accurate and Stable Gradients for Neural ODEscited by 9
  10. 2024AdjointDEIS: Efficient Gradients for Diffusion Modelscited by 7
  11. 2025In-Context Learning of Stochastic Differential Equations with Foundation Inference Modelscited by 7
  12. 2025Longitudinal Flow Matching for Trajectory Modelingcited by 7
  13. 2025HD-NDEs: Neural Differential Equations for Hallucination Detection in LLMscited by 6
  14. 2026Strong Stochastic Flow Mapscited by 6
  15. 2023Kinematics-aware Trajectory Generation and Prediction with Latent Stochastic Differential Modelingcited by 5
  16. 2025Reversible Deep Equilibrium Modelscited by 5
  17. 2024Fully Bayesian Differential Gaussian Processes through Stochastic Differential Equationscited by 4
  18. 2025Physics-Informed Machine Learning in Biomedical Science and Engineeringcited by 4
  19. 2023Generative Modelling of L'evy Area for High Order SDE Simulationcited by 3
  20. 2023Faster Training of Neural ODEs Using Gauss-Legendre Quadraturecited by 3
  21. 2024Single-seed generation of Brownian paths and integrals for adaptive and high order SDE solverscited by 3
  22. 2025Integration Matters for Learning PDEs with Backward SDEscited by 3
  23. 2025Efficient Training of Neural SDEs Using Stochastic Optimal Controlcited by 3
  24. 2023Graph Neural Stochastic Differential Equationscited by 2
  25. 2025Greed is Good: A Unifying Perspective on Guided Generationcited by 2
  26. 2025Universal approximation property of neural stochastic differential equationscited by 2
  27. 2025A Jump-Diffusion Framework for Irregular Time Series Generationcited by 2
  28. 2025Latent Stochastic Interpolantscited by 2
  29. 2025Deep Neural Networks Inspired by Differential Equationscited by 2
  30. 2025Contrastive Diffusion Alignment: Learning Structured Latents for Controllable Generationcited by 2
  31. 2025Diffusion differentiable resamplingcited by 2
  32. 2026Neural Stochastic Processes for Satellite Precipitation Refinementcited by 2
  33. 2021Characteristic Neural Ordinary Differential Equationscited by 1
  34. 2023Neural SDEs for Conditional Time Series Generation and the Signature-Wasserstein-1 metriccited by 1
  35. 2024Neural stochastic Volterra equations: learning path-dependent dynamicscited by 1
  36. 2024Multi-View Neural Differential Equations for Continuous-Time Stream Data in Long-Term Traffic Forecastingcited by 1
  37. 2024Variational Neural Stochastic Differential Equations with Change Pointscited by 1
  38. 2025Efficient Neural SDE Training using Wiener-Space Cubaturecited by 1

50 most cited of 71 All 71 (JSON)