Differentiating through Stochastic Differential Equations: A Primer
Rishi Leburu, Levon Nurbekyan, Lars Ruthotto

TL;DR
This paper provides a comprehensive guide on numerical differentiation of stochastic differential equations, clarifying methods for both Itô and Stratonovich calculus, and analyzing the reliability of different approaches.
Contribution
It introduces a clear, organized primer on differentiating through SDEs, comparing discretize-optimize and optimize-discretize methods, and explaining their behaviors in stochastic settings.
Findings
Discretize-optimize approach is reliable for both Itô and Stratonovich SDEs.
The continuous limit of backward equations explains when methods agree or diverge.
Provides practical guidance for correctly computing gradients in stochastic systems.
Abstract
Dynamical systems are essential to model various phenomena in physics, finance, economics, and are also of current interest in machine learning. A central modeling task is investigating parameter sensitivity, whether tuning atmospheric coefficients, computing financial Greeks, or optimizing neural networks. These sensitivities are mathematically expressed as derivatives of an objective function with respect to parameters of interest and are rarely available analytically, necessitating numerical methods for approximating them. While the literature for differentiation of deterministic systems is well-covered, the treatment of stochastic systems, such as stochastic differential equations (SDEs), in most curricula is less comprehensive than the subtleties arising from the interplay of noise and discretization require. This paper provides a primer on numerical differentiation of SDEs…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsRisk and Portfolio Optimization · Stochastic processes and financial applications · Stochastic Gradient Optimization Techniques
