GradRepair-ODE: Certified Gradient Repair for Neural ODE Training
Not on the map. Why?
Abstract (arXiv)
Neural ordinary differential equations use numerical solvers inside the training loop. The solver determines the forward trajectory and also affects the gradient passed to the optimizer. That coupling creates a reliability problem for scientific machine learning and continuous-time generative modeling, including diffusion probability-flow ordinary differential equations and flow-matching models. Under loose step sizes, stiff dynamics, chaotic sensitivity, or event discontinuities, a differentiable ODE pipeline can return a finite gradient whose direction is numerically suspect. We introduce GradRepair-ODE, a reliability framework for checking, repairing, and rejecting ODE gradients at the optimizer step. The method computes several gradient candidates, compares them with directional finite-difference checks and solver diagnostics, diagnoses likely numerical failure modes, repairs selected gradients through path switching or stricter recomputation, and rejects steps whose descent direction cannot be certified. In six synthetic ODE systems, GradRepair-ODE leaves low-risk systems unchanged, repairs Robertson and Lorenz gradients to cosine similarity 1.000 against a strict reference, reduces unsafe accepted steps from 37 to 0, and rejects an event-discontinuous case instead of applying an uncertified update. The paper argues for a simple change in the training contract: an ODE gradient should reach the optimizer with numerical evidence attached.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 9 of its 23 references that are in the map. First posted on arXiv 14 Aug 2026.
Builds on
9 of 23 references.
References · 9
- 2020Denoising Diffusion Probabilistic Modelscited by 21,076
- 2020Score-Based Generative Modeling through Stochastic Differential Equationscited by 9,122
- 2022Flow Matching for Generative Modelingcited by 5,702
- 2018Neural Ordinary Differential Equationscited by 3,779
- 2022Flow Straight and Fast: Learning to Generate and Transfer Data with Rectified Flowcited by 3,700
- 2018FFJORD: Free-form Continuous Dynamics for Scalable Reversible Generative Modelscited by 594
- 2019ANODE: Unconditionally Accurate Memory-Efficient Gradients for Neural ODEscited by 84
- 2020Discretize-Optimize vs. Optimize-Discretize for Time-Series Regression and Continuous Normalizing Flowscited by 37
- 2020"Hey, that's not an ODE": Faster ODE Adjoints via Seminormscited by 35
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026From Euler to Dormand-Prince: ODE Solvers for Flow Matching Generative Models
- 2026Learning to Solve Generative ODEs Beyond the Linear Span
- 2024Simulation-Free Training of Neural ODEs on Paired Data
- 2024Switched Flow Matching: Eliminating Singularities via Switching ODEs
- 2025GAS: Improving Discretization of Diffusion ODEs via Generalized Adversarial Solver
- 2025ODEt(ODEl): Shortcutting the Time and the Length in Diffusion and Flow Models for Faster Sampling
- 2025SADA: Stability-guided Adaptive Diffusion Acceleration
- 2025Rex: A Family of Reversible Exponential (Stochastic) Runge-Kutta Solvers