Efficient and Accurate Gradients for Neural SDEs
摘要
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 reversible Heun method. This is a new SDE solver that is algebraically 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 speedup. Second, we introduce the Brownian Interval: a new, fast, memory efficient, and exact way of sampling and reconstructing Brownian motion. With this we obtain up to a 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 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.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 21 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Path Integral Sampler: A Stochastic Control Approach For Sampling 引用了 Stochastic Normalizing Flows
- Trajectory Flow Matching with Applications to Clinical Time Series Modelling 引用了 Neural SDEs as Infinite-Dimensional GANs
- Trajectory Flow Matching with Applications to Clinical Time Series Modelling 引用了 Stable Neural Stochastic Differential Equations in Analyzing Irregular Time Series Data
- Trajectory Flow Matching with Applications to Clinical Time Series Modelling 引用了 Score-Based Generative Modeling through Stochastic Differential Equations
- Neural Ideal Large Eddy Simulation: Modeling Turbulence with Neural Stochastic Differential Equations 引用了 Neural SDEs as Infinite-Dimensional GANs
- Neural SDEs as Infinite-Dimensional GANs 引用了 Stochastic Normalizing Flows
- Neural SDEs as Infinite-Dimensional GANs 引用了 Neural Controlled Differential Equations for Irregular Time Series
- Neural SDEs as Infinite-Dimensional GANs 引用了 Score-Based Generative Modeling through Stochastic Differential Equations
- Neural Rough Differential Equations for Long Time Series 引用了 Neural Controlled Differential Equations for Irregular Time Series
- Neural Stochastic PDEs: Resolution-Invariant Learning of Continuous Spatiotemporal Dynamics 引用了 Neural SDEs as Infinite-Dimensional GANs
- Neural Stochastic PDEs: Resolution-Invariant Learning of Continuous Spatiotemporal Dynamics 引用了 Neural Rough Differential Equations for Long Time Series
- Neural Stochastic PDEs: Resolution-Invariant Learning of Continuous Spatiotemporal Dynamics 引用了 Neural Controlled Differential Equations for Irregular Time Series
- Stable Neural Stochastic Differential Equations in Analyzing Irregular Time Series Data 引用了 Neural SDEs as Infinite-Dimensional GANs
- Stable Neural Stochastic Differential Equations in Analyzing Irregular Time Series Data 引用了 Neural Rough Differential Equations for Long Time Series
- Stable Neural Stochastic Differential Equations in Analyzing Irregular Time Series Data 引用了 Neural Controlled Differential Equations for Irregular Time Series
- Neural Controlled Differential Equations for Irregular Time Series 引用了 Stochastic Normalizing Flows
引用它的顶会 Paper21
- Path Integral Sampler: A Stochastic Control Approach For SamplingQinsheng Zhang, Yongxin ChenICLR 2022 · 177 次引用
- Neural Stochastic PDEs: Resolution-Invariant Learning of Continuous Spatiotemporal DynamicsCristopher Salvi, Maud Lemercier, Andris GerasimovicsNeurIPS 2022 · 70 次引用
- Trajectory Flow Matching with Applications to Clinical Time Series ModellingXi Zhang, Yuan Pu, Yuki Kawamura, Andrew Loza 等NeurIPS 2024 · 44 次引用
- Stable Neural Stochastic Differential Equations in Analyzing Irregular Time Series DataYongKyung Oh, Dongyoung Lim, Sungil KimICLR 2024 · 44 次引用
- Neural Ideal Large Eddy Simulation: Modeling Turbulence with Neural Stochastic Differential EquationsAnudhyan Boral, Zhong Yi Wan, Leonardo Zepeda-Núñez, James Lottes 等NeurIPS 2023 · 23 次引用
它引用的 Paper14
- Score-Based Generative Modeling through Stochastic Differential EquationsYang Song, Jascha Sohl-Dickstein, Diederik P. Kingma, Abhishek Kumar 等ICLR 2021 · 1,270 次引用
- Neural Controlled Differential Equations for Irregular Time SeriesPatrick Kidger, James Morrill, James Foster, Terry J. LyonsNeurIPS 2020 · 850 次引用
- Stochastic Normalizing FlowsHao Wu, Jonas Köhler, Frank NoéNeurIPS 2020 · 230 次引用
- Neural SDEs as Infinite-Dimensional GANsPatrick Kidger, James Foster, Xuechen Li, Terry J. LyonsICML 2021 · 214 次引用
- Neural Rough Differential Equations for Long Time SeriesJames Morrill, Cristopher Salvi, Patrick Kidger, James FosterICML 2021 · 176 次引用
相关 Paper
- MaRS: A Fast Sampler for Mean Reverting Diffusion based on ODE and SDE SolversAo Li, Wei Fang, Hongbo Zhao, Le Lu 等ICLR 2025
- Neural Stochastic Flows: Solver-Free Modelling and Inference for SDE SolutionsNaoki Kiyohara, Edward Johns, Yingzhen LiNeurIPS 2025 · 5 次引用
- Minimizing Trajectory Curvature of ODE-based Generative ModelsSangyun Lee, Beomsu Kim, Jong Chul YeICML 2023 · 84 次引用
- Unifying Bayesian Flow Networks and Diffusion Models through Stochastic Differential EquationsKaiwen Xue, Yuhao Zhou, Shen Nie, Xu Min 等ICML 2024 · 27 次引用
- Rex: A Family of Reversible Exponential (Stochastic) Runge-Kutta SolversZander Blasingame, Chen LiuICML 2026 · 2 次引用
