Université Paris-Saclay's NDDEs Beat LSTMs on Chaotic Systems With 4x Less Error
NDDEs learn time delays from data to model partially observed chaotic systems, outperforming LSTMs and Neural ODEs with fewer parameters
ProTakeaways
- NDDEs learn explicit time delays from data to model systems observed through only a few sensors, outperforming LSTMs, ANODEs, and Latent ODEs on chaotic benchmarks.
- The approach is grounded in two classical theories: the Mori-Zwanzig formalism (statistical physics) and Takens' embedding theorem (dynamical systems).
- On the chaotic Kuramoto-Sivashinsky equation, NDDE achieves MSE of 0.28 vs 0.43 for Latent ODE and recovers the true Lyapunov exponent (0.128 vs ground truth 0.129).
- Delays are learned via a custom adjoint method, making them differentiable parameters -- and learned delays consistently beat any fixed delay value.
- As a closure model for reduced-order simulations, DDE-ROM achieves 4x lower MSE than ODE-ROM in data-scarce regimes (4 POD modes).
- Open-source PyTorch library torchdde ships with the paper, including adjoint training and multi-delay support.
Most real-world dynamical systems -- turbulent flows, chemical reactions, climate patterns -- are never fully observable. You plant a handful of sensors, collect time-series from those few measurement points, and then try to build a model that predicts the future. The catch: standard approaches like Neural ODEs assume you have the complete system state at every moment. When you don't, they fail badly. A new paper from researchers at Université Paris-Saclay introduces Neural Delay Differential Equations (NDDEs) with learnable delays as a principled fix -- and backs it up with results on chaotic systems and real wind-tunnel experiments.
The hidden variable problem
Many existing methods assume access to the full state of the system -- an assumption that is rarely satisfied in practice, where systems are typically monitored through a limited number of sensors, leading to partial observability. This is the core tension in scientific machine learning for physical systems. A turbulence simulation might have millions of degrees of freedom; your wind tunnel gives you one pressure sensor.
The standard workaround is to give the model some form of memory -- LSTMs use hidden states, Latent ODEs encode a latent variable, Augmented NODEs (ANODEs) pad the state space with extra learned dimensions. Unfortunately, many applications have to deal with partially observable states and non-Markovian dynamics, making a NODE problem formulation ill-suited. Non-Markovian means the future depends not just on the current state, but on the history of the system -- a property that hidden-state approaches handle implicitly but not transparently.
Physics says: use the past explicitly
The theoretical backbone here comes from two classical results. The first is the Mori-Zwanzig (MZ) formalism, a framework from statistical physics that decomposes dynamics into a Markovian term (what you can see), a memory integral (the cumulative influence of what you can't see), and a noise term. The Mori-Zwanzig formalism provides a theoretical connection between hidden variables and memory terms. The memory piece takes the form of a convolution integral over the entire past -- mathematically exact, but computationally intractable.
The second result is Takens' embedding theorem, a geometric result from dynamical systems theory. It says that if you stack enough time-delayed copies of a single observable, you reconstruct a space that is topologically equivalent to the full system state. In other words, the past values of your sensor readings carry enough information to recover the hidden dimensions -- you just need the right delays.
The paper's key theoretical contribution is bridging these two frameworks into a single proposition: for any smooth dynamical system, there exists a finite number of time delays and a function such that the observables exactly follow a delay differential equation. No approximation from the number of delays -- only from the neural network's expressivity.

Learning the delays, not just the dynamics
Previous NDDE work fixed the delays ahead of time or learned a single delay. This paper learns all delays jointly with the neural network weights. The model is defined as:
# Conceptual NDDE training loop (simplified)
for epoch in range(N_epochs):
tau_max = max(tau_1, ..., tau_n) # largest delay
psi = interpolate(data, t <= t0 + tau_max) # history function
y_pred = solve_dde(h_theta, psi, taus) # forward pass
loss = mse(y_pred, y_true)
grads = adjoint_method(loss, theta, taus) # memory-efficient gradients
theta, taus = optimizer.step(grads) # delays are parameters too
The key enabler is a custom adjoint method for DDEs. The adjoint approach (also used in Neural ODEs) computes gradients by solving a second differential equation backwards in time, rather than storing the full forward computation graph. These memory effects are captured using a finite set of time delays, which are identified via the adjoint method. This makes training memory-efficient even for long trajectories, and it means the delay values themselves are differentiable parameters updated by gradient descent.
The number of delays to use is estimated from the data using the correlation dimension (D2) of the observed time series -- a measure of the intrinsic dimensionality of the attractor. Takens' theorem provides a lower bound: you need at least twice the intrinsic dimension.
What it was tested on
The benchmark suite spans synthetic and real-world systems of increasing difficulty:
- Population dynamics (Mackey-Glass-style DDE): A scalar system where the ground-truth delay is known. The model recovers a delay consistent with Takens' theorem.
- Brusselator: A stiff, oscillatory 2-species chemical system observed through only one species. All memory-based models do well here; the test is long-term stability.
- Kuramoto-Sivashinsky (KS) equation: A chaotic PDE originally derived for flame dynamics, observed at only 5 spatial locations out of 128. This is where differences become stark.
- Open cavity flow (experimental): Real wind-tunnel pressure measurements from a cavity flow experiment at Reynolds number 9190 -- noisy, non-stationary, and governed by acoustic feedback loops.

The numbers
On the two hardest benchmarks, NDDEs pull ahead clearly. NDDE is the only model that accurately captures the statistics of the KS system. On the chaotic KS equation, NDDE achieves a test MSE of 0.28 versus 0.43 for Latent ODE, 0.55 for ANODE, and 0.77 for LSTM. The maximum Lyapunov exponent (MLE) -- a measure of how chaotic the predicted trajectory is -- tells the same story: NDDE recovers 0.128 against a ground truth of 0.129, while Latent ODE collapses to 0.035.
On the cavity flow experiment, NDDE scores an MSE of 0.13 versus 0.25 for Latent ODE and 0.65 for ANODE. In the cavity experiment, learning delays is crucial, as fixed delays fail to capture the system's dynamics. The paper shows that learned delays consistently outperform any fixed delay value, regardless of initialization.
NDDEs also shine as closure models for reduced-order models (ROMs). When a Galerkin-projected model captures only 4 POD modes (58% of system energy), the DDE closure achieves MSE of 3.39 versus 13.61 for a standard ODE closure -- a 4x improvement in the data-scarce regime.
Why it matters beyond the benchmark
The real breakthrough is interpretability. LSTMs and Latent ODEs hide their memory in opaque latent vectors. NDDEs expose it as explicit time delays that can be mapped back to physical timescales -- the feedback loop period of a cavity, the characteristic oscillation of a chemical reaction. NDDEs offer a principled and data-efficient framework for modelling non-Markovian dynamics under partial observability.
There's also a computational advantage over Neural Integro-Differential Equations (Neural IDEs), the most direct alternative. Neural IDEs integrate over the entire past at every step, so cost grows with trajectory length. NDDEs evaluate the vector field at a fixed number of past time points -- the benchmark shows NDDEs are at least an order of magnitude faster in forward pass time.
Practical use-cases
- Fluid dynamics: Modeling flows from sparse sensor arrays, where acoustic or vortex feedback introduces natural time delays.
- Climate modeling: ENSO dynamics and other teleconnection patterns are known to involve delayed feedbacks across months to years.
- Biology and pharmacology: Population dynamics, immune response, and drug concentration models are classically formulated as DDEs.
- Reduced-order modeling: Plugging in an NDDE closure when a coarse simulation is missing physics from unresolved scales.
- Any time-series where you suspect the system has memory but don't know the timescales.
Limitations to know
The framework assumes smooth (C2) dynamics and differentiable observables -- it won't work out of the box for systems with sharp discontinuities or non-smooth transitions. Determining the right number of delays is still partly heuristic; the paper notes that overestimating doesn't hurt performance, but a principled selection method is left as future work. The adjoint method is also slightly slower per batch than standard backpropagation (though it uses less memory), and the Brusselator results show NDDE trailing LSTM and ANODE slightly on simpler, fully-periodic dynamics where memory structure is less critical.
Open source
The codes associated with the examples can be found at GitHub repositories for learnable delays and DDEROM. The torchdde library for learning jointly the delays and the DDE dynamics is made open-source. It provides a PyTorch-compatible DDE solver with adjoint support, designed to integrate cleanly into existing neural ODE workflows.