Explicit and Effectively Symmetric Schemes for Neural SDEs

Daniil Shmelev, Cristopher Salvi
9/24/2025
cs.LGmath.NA

No official code found. Best implementation: daniil-shmelev/EES-Neural-SDEs (4 stars, Apache-2.0, last commit 2026-04-29).

Abstract

Backpropagation through (neural) SDE solvers is traditionally approached in two ways: discretise-then-optimise, which offers accurate gradients but incurs prohibitive memory costs due to storing the full computational graph (even when mitigated by checkpointing); and optimise-then-discretise, which achieves constant memory cost by solving an auxiliary backward SDE, but suffers from slower evaluation and gradient approximation errors. Algebraically reversible solvers promise both memory efficiency and gradient accuracy, yet existing methods such as the Reversible Heun scheme are often unstable under complex models and large step sizes. We address these limitations by introducing a novel class of stable, near-reversible Runge--Kutta schemes for neural SDEs. These Explicit and Effectively Symmetric (EES) schemes retain the benefits of reversible solvers while overcoming their instability, enabling memory-efficient training without severe restrictions on step size or model complexity. Through numerical experiments, we demonstrate the superior stability and reliability of our schemes, establishing them as a practical foundation for scalable and accurate training of neural SDEs.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Explicit and Effectively Symmetric Schemes for Neural SDEs

40PythonMay 26, 20255 months agoApache-2.0

Similar Papers

Cite this paper

@article{shmelev2025explicit,
  title  = {Explicit and Effectively Symmetric Schemes for Neural SDEs},
  author = {Daniil Shmelev and Cristopher Salvi},
  year   = {2025},
  eprint = {2509.20599},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2509.20599v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2509.20599.svg)](https://codeofpaper.com/paper/2509.20599)

Discussion