Abstract
Velocity Matching is a simulation-free objective for learning continuous-time dynamics that avoids long-rollout instability and numerical-scheme bias while providing theoretical guarantees and improved accuracy on ODEs and PDEs.
Learning the continuous-time evolution of nonlinear dynamical systems relies on trajectory-based objectives, which require simulating the learned dynamics during training and backpropagating through the numerical scheme, at a cost that grows with the rollout horizon. We show that trajectory-based objectives degenerate as the rollout horizon increases, hindering gradient-based optimization, and that the numerical scheme biases the learned dynamics by constraining the spectrum of the learned Jacobian to its absolute stability region. To overcome these limitations, we introduce Velocity Matching (VM), a simulation-free objective that relies on piecewise-linear interpolation and stochastic collocation, and approximates the velocity population risk to second order in the sampling step. We develop a theoretical framework for velocity-based learning, introducing stability estimates that control trajectory errors in terms of velocity errors, which enable us to establish universal and continuous-time approximation results when the learned velocity field is parameterized by deep neural networks. Building on a bias-variance decomposition of the VM objective, we show that its higher-order approximation of the velocity population risk yields a consistent minimizer; that it relates to the residual of an A-stable continuous-stage Runge-Kutta scheme, thus connecting VM to implicit integration without requiring any implicit solve; and that it implicitly matches the action of the learned Jacobian to that of the true one along the observed trajectories, without requiring access to the underlying velocity field or its Jacobian. Numerical experiments on nonlinear ordinary differential equations and semi-discretized time-dependent partial differential equations show that VM improves accuracy over trajectory-based objectives, while avoiding both the cost of simulation and the instabilities of long rollouts.
Community
Can simulation be avoided when learning neural ODE surrogates of dynamical systems?
We introduce Velocity Matching (VM), a simulation-free training objective with guarantees on the learned trajectories.
Neural ODEs are usually trained on trajectories: rollouts backprop through the solver, teacher forcing predicts one step ahead. VM stochastically collocates the field along the piecewise-linear interpolant, regressing it onto finite-diffence velocities. Simulation is not only expensive, it also yields degenerate loss landscapes as the horizon T grows. Already for a scalar linear ODE in continuous time, gradients vanish or explode exponentially in T and the minimum sharpens, hindering convergence of gradient descent. Once the numerical scheme enters the loss, long rollouts in the linear case yield a loss that collapses within the scheme’s absolute stability region and explodes outside it. In the nonlinear setting, this translates into a spectral constraint on the learned Jacobian.
We motivate velocity-based learning by building a theoretical framework based on stability estimates that bound trajectory error by velocity error along true trajectories, so no simulation is needed. It also yields continuous-time universal approximation results. To this mean, we introduce Velocity Matching (VM), an objective which stochastically collocates the learned vector field along the piecewise-linear interpolant of the observed trajectories, relying on a perturbation in the direction of the first order finite-difference velocity estimate.
Experimentally, on nonlinear ODEs test cases, VM reaches lower trajectory error than teacher forcing (TF) and rollouts at the training cost of TF (w/ explicit Euler), and velocity and Jacobian errors drop accordingly (this comes from an implicit regularization effect, explained below). Moreover, VM-learned fields hold a continuous-time approximation property (which we prove via universal approx), namely they can be integrated on finer time grids and with RK schemes other than the training one, whereas rollout-trained models overfit both (here, explicit Euler). On semi-discretized PDEs, rollout training often becomes unstable. With the same architecture and hyperparameters, VM trains stably and attains the lowest test errors, shown here on the Burgers and Korteweg–de Vries equations.
Interpolation-based identification goes back to Bellman in the ’70s (structural system identification), and the same reading connects VM to recent Flow Matching approaches. Recently, CFOs have bridged Neural Operators and Stochastic Interpolants, relying on higher-order splines. Although VM relies on a simpler mechanism, this motivated us to study the role of stochastic collocation along the interpolant, and the perturbation it induces.
We identify three mechanisms behind its effectiveness:
- The VM objective is a second-order approximation of the velocity risk, with a consistent minimizer, whereas teacher forcing is only first-order.
- The VM residual coincides with that of an A-stable implicit Runge–Kutta scheme, but without requiring any implicit solve during training.
- VM implicitly performs a form of Jacobian matching, which proves critical for learning chaotic dynamics and connects to our universal approximation result in Sobolev norms.
As with simulation-based/simulation-free training in flow-based generative modeling, an analogous duality holds for learning dynamical systems. We hope VM and the accompanying theory are a step towards understanding why this is the case.
Get this paper in your agent:
hf papers read 2611.00448 Don't have the latest CLI?
curl -LsSf https://hf.co/cli/install.sh | bash Models citing this paper 0
No model linking this paper
Datasets citing this paper 0
No dataset linking this paper
Spaces citing this paper 0
No Space linking this paper
Collections including this paper 0
No Collection including this paper

