mlsanityData to 7 Oct 2026

From Euler to Dormand-Prince: ODE Solvers for Flow Matching Generative Models

arXiv 2605.00836 ↗First posted 4 Apr 2026cs.LGcited by 0

On the map: Diffusion models → Flow matching, time series and science

Abstract (arXiv)

Sampling from Flow Matching generative models requires solving an ordinary differential equation (ODE) whose computational cost is dominated by neural network forward passes. We derive four classical ODE solvers -- Euler, Explicit Midpoint, Classical Runge-Kutta (RK4), and Dormand-Prince 5(4) -- from first principles via Taylor expansion, implement them from scratch in PyTorch, and systematically benchmark their efficiency on Conditional Flow Matching tasks ranging from 2D toy distributions to MNIST digits. On the quantitative side, we use sliced Wasserstein distance to construct NFE-quality Pareto frontiers,finding that RK4 at 80 function evaluations achieves sample quality comparable to Euler at 200. Beyond reproducing known convergence rates, we report two empirical observations: (1) the Jacobian eigenvalue spectrum of the learned velocity field stiffens sharply near t=1, explaining why the adaptive Dormand-Prince solver automatically concentrates its step budget at the end of the trajectory; (2) the quality gap between low-order and high-order solvers widens for undertrained and smaller models, indicating that solver choice matters most when the model is imperfect. Code and all experiment scripts are publicly available.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Flow matching, time series and science, one of 14 directions in Diffusion models. Builds on 18 of its 21 references that are in the map. First posted on arXiv 4 Apr 2026.

Builds on

18 of 21 references.

Closest ancestors · 3

Same direction, newest first

  1. 2023Improving and generalizing flow-based generative models with minibatch optimal transport1 Feb
  2. 2022Flow Matching for Generative Modeling6 Oct
  3. 2022Flow Straight and Fast: Learning to Generate and Transfer Data with Rectified Flow7 Sep

Other references · 15

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020Denoising Diffusion Probabilistic Modelscited by 20,851
  3. 2020Denoising Diffusion Implicit Modelscited by 9,655
  4. 2020Score-Based Generative Modeling through Stochastic Differential Equationscited by 8,964
  5. 2016Layer Normalizationcited by 5,579
  6. 2024Scaling Rectified Flow Transformers for High-Resolution Image Synthesiscited by 4,094
  7. 2018Neural Ordinary Differential Equationscited by 3,733
  8. 2022Elucidating the Design Space of Diffusion-Based Generative Modelscited by 2,994
  9. 2022DPM-Solver: A Fast ODE Solver for Diffusion Probabilistic Model Sampling in Around 10 Stepscited by 1,961
  10. 2022Building Normalizing Flows with Stochastic Interpolantscited by 964
  11. 2017Sigmoid-Weighted Linear Units for Neural Network Function Approximation in Reinforcement Learningcited by 935
  12. 2022DPM-Solver++: Fast Solver for Guided Sampling of Diffusion Probabilistic Modelscited by 924
3 more
  1. 2018FFJORD: Free-form Continuous Dynamics for Scalable Reversible Generative Modelscited by 584
  2. 2022Fast Sampling of Diffusion Models with Exponential Integratorcited by 526
  3. 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

  1. 2024Convergence Analysis of Flow Matching in Latent Space with Transformers
  2. 2025Theoretical Guarantees for High Order Trajectory Refinement in Generative Flows
  3. 2025Generative Modeling with Continuous Flows: Sample Complexity of Flow Matching
  4. 2026ODE-free Neural Flow Matching for One-Step Generative Modeling
  5. 2024Explicit Flow Matching: On The Theory of Flow Matching Algorithms with Applications
  6. 2026Learning to Solve Generative ODEs Beyond the Linear Span
  7. 2026Isokinetic Flow Matching for Pathwise Straightening of Generative Flows
  8. 2026Improving Flow Matching by Aligning Flow Divergence