arXiv:2611.03461cs.LGNov 2026

Manuscript Offprint

arXiv:2611.03461

Unrolled gradients in disguise: bridging interpolation-based and Jacobian regularization for stable neural dynamics

Maya Janvier, Etienne Meunier

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Hybrid models and neural differential equations (NDEs) are becoming increasingly important for modeling physical systems; however, they often encounter stability and accuracy issues during long-term integration. Training on unrolled trajectories is known to limit these divergences but quickly becomes too computationally expensive due to the need to backpropagate through the solver, making this method impractical for large-scale physical systems (e.g. computational fluid mechanics, weather and climate forecasting). Two popular paradigms for improving the stability of learned dynamics are to train on interpolated or noisy samples or to regularize the Jacobian of the learned representation. In this work, we demonstrate that these paradigms optimize equivalent objectives as they both correspond to an approximation of the gradients obtained in an unrolled learning strategy. Building on this understanding, we derive a principled framework to regularize training and demonstrate its impact on the stability of learned dynamical systems in both supervised and unsupervised settings.

1 Introduction

Autoregressive models are ubiquitous in the deep learning literature and are central tools in many applications, from forecasting [26, 22, 55, 37, 46] to video analysis [58, 24]. Autoregressive models typically perform two distinct tasks at once: learning an underlying dynamic and learning a solver to advance this ODE in time. These two tasks are intertwined in a way that we cannot decipher the contribution of one or the other. Neural ODE models [5], on the other hand, leave the solving part to numerical integration schemes, while a neural network (NN) is used as the dynamical function or right-hand side of the ODE. This separation has many benefits as it provides a more interpretable and flexible representation while encompassing the literature of autoregressive models (recovering ResNets when using Euler forward). It allows for example to use different timesteps at inference, while most autoregressive models can only predict a fixed number of timesteps ahead. Neural ODEs gained popularity across a wide range of deep learning tasks, from the modeling of physical systems [52, 56, 25, 35], to classification tasks [54, 17] and generative tasks [8, 45]. There is a particular and renewed interest in them for climate and weather forecasting as they provide a natural framework for hybrid modeling [1, 29, 21].

There are two settings for the training of Neural ODEs: the supervised case, where we have access to the true dynamic, and the unsupervised case where this dynamic is unknown and we only have access to trajectories. The former is interesting for building fast emulators of models (to accelerate General Circulation Models predictions where it takes months to perform a hundred years of simulations for example) or in hybrid models where the learned dynamic is tasked only to correct the biases of

40th Conference on Neural Information Processing Systems (NeurIPS 2026).

the existing one (parameterizing high resolution phenomena in low resolution models [47]). The unsupervised case on the other hand corresponds to more realistic scenarios (observed trajectories).

In the supervised case, the Neural ODE can be directly trained to match the right-hand side dynamic in what is called offline or a-priori training [9]. However, a core challenge that arises is that such models quickly become unstable at inference when integrated over long-rollouts [9, 46]. Training on unrolled sequences through the solver (online or a-posteriori training) is known to mitigate this problem and no longer requires the knowledge of FF (unsupervised case); however, this method quickly becomes too computationally expensive due to the need to compute gradients over an iterative process while also suffering from an explosion of the gradients during unrolling [27]. Although methods have been explored to mitigate the latter [11, 31], the issue of the cost remains prominent. On real-world, large scale applications that involve timescales of months to years (weather forecasting), the cost of long rollouts becomes entirely prohibitive while offline training fails in producing stable models for long-horizon predictions [2, 57, 42, 38]. This limits Neural ODEs usage to simple dynamical systems in practice, such as robotic simulations [6, 52].

Among the various methods developed to improve stability (see Section 2), the approaches that can be applied in an offline setting are thus the preferred solutions to this challenge. In particular, methods that either regularize the Jacobian of the system [32, 53] or train on interpolated or noisy samples [4, 12] give promising results on complex physical systems, including chaotic ones. In this paper, we show that these paradigms are not inherently different but rather correspond to an approximation of the gradients in the state-of-the-art online training (Section 3). We then exploit this common framework to derive principled regularization loss functions (Section 4) and investigate their efficiency on various physical problems (Section 5) in both supervised and unsupervised settings.

References (56)