Hostname: page-component-5db58dd55d-xnzfm Total loading time: 0 Render date: 2026-07-08T14:53:00.489Z Has data issue: false hasContentIssue false

Neural delay differential equations: learning non-Markovian closures for partially known dynamical systems

Published online by Cambridge University Press:  22 June 2026

Thibault Monsel
Affiliation:
Laboratoire Interdisciplinaire des Sciences du Numérique, Université Paris-Saclay, France
Onofrio Semeraro*
Affiliation:
Laboratoire Interdisciplinaire des Sciences du Numérique, Université Paris-Saclay, France CNRS , France
Guillaume Charpiat
Affiliation:
Laboratoire Interdisciplinaire des Sciences du Numérique, Université Paris-Saclay, France INRIA , France
Lionel Mathelin
Affiliation:
Laboratoire Interdisciplinaire des Sciences du Numérique, Université Paris-Saclay, France CNRS , France
*
Corresponding author: Onofrio Semeraro; Email: onofrio.semeraro@cnrs.fr

Abstract

Recent advances in learning dynamical systems from data have shown significant promise. However, 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. To address this challenge, we draw inspiration from the Mori–Zwanzig formalism, which provides a theoretical connection between hidden variables and memory terms. Motivated by this perspective, we introduce a constant-lag neural delay differential equations (NDDEs) framework, providing a continuous-time approach for learning non-Markovian dynamics directly from data. These memory effects are captured using a finite set of time delays, which are identified via the adjoint method. We validate the proposed approach on a range of datasets, including synthetic systems, chaotic dynamics, and experimental measurements, such as the Kuramoto–Sivashinsky equation and cavity-flow experiments. Results demonstrate that NDDEs compare favorably with existing approaches for partially observed systems, including long short-term memory (LSTM) networks and augmented neural ordinary differential equations (ANODEs). Overall, NDDEs offer a principled and data-efficient framework for modeling non-Markovian dynamics under partial observability. An open-source implementation accompanies this article.

Information

Type
Research Article
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (http://creativecommons.org/licenses/by/4.0), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.
Copyright
© The Author(s), 2026. Published by Cambridge University Press
Figure 0

Figure 1. Measuring the fully observed state of a system (left [1]) is often impossible due to its high dimensionality. Ultimately, the user only has, at their disposal, sparse observations of the full state that can be seen as a low-dimensional observable vector y$ \mathbf{y} $ (middle [2]). The MZ equation DDE approximation (Proposition 2.1) can then be used to model partially observed systems (right [3]).Figure 1. long description.

Figure 1

Figure 2. {τ1=p1Δt,τ2=p2Δt}$ \left\{{\tau}_1={p}_1\hskip0.1em \Delta t,{\tau}_2={p}_2\hskip0.1em \Delta t\right\} $-map of delayed mutual information, I((y(t−τ1),y(t−τ2)),y(t))$ I\left(\left(y\left(t-{\tau}_1\right),y\left(t-{\tau}_2\right)\right),y(t)\right) $. The maximum is exhibited at (p1,p2)$ \left({p}_1,{p}_2\right) $ = (250,400)$ \left(250,400\right) $ and (400,250)$ \left(\mathrm{400,250}\right) $, in agreement with p1⋆=250$ {p}_1^{\star }=250 $, p2⋆=400$ {p}_2^{\star }=400 $.Figure 2. long description.

Figure 2

Table 1. Number of delays used in NDDE for each experimentTable 1. long description.

Figure 3

Figure 3. Sketch of open cavity flow taken from (Tuerke et al., 2020). A data-acquiring sensor is placed in P. The cavity has a length L and depth H. The incoming laminar boundary layer flow is characterized by the freestream velocity U∞$ {U}_{\infty } $ and the momentum thickness Θ0$ {\Theta}_0 $.Figure 3. long description.

Figure 4

Table 2. Model performance (MSE) over the test set in each experiment averaged over five runsTable 2. long description.

Figure 5

Figure 4. The prediction of the DDE model is seen to accurately match the true evolution.

Figure 6

Figure 5. Toy dataset delay evolution during training for several initial conditions.Figure 5. long description.

Figure 7

Figure 6. Examples of prediction of the Brusselator dynamics in terms of y(t)≡u1(t)$ y(t)\equiv {u}_1(t) $, for initial conditions sampled at random.Figure 6. long description.

Figure 8

Figure 7. Phase-portrait of (y(t),y˙(t))$ \left(y(t),\dot{y}(t)\right) $. Long-term behavior of each trained model for the Brusselator system.Figure 7. long description.

Figure 9

Figure 8. Prediction of the KS system from a test sample for different models.Figure 8. long description.

Figure 10

Figure 9. Probability density functions of the predictions yi(t)$ {y}_i(t) $ over the time horizon and across several initial conditions for different models. KS system.Figure 9. long description.

Figure 11

Table 3. Estimation of the maximum Lyapunov exponent λmax$ {\boldsymbol{\lambda}}_{\mathrm{max}} $ for the KS system based on the generated trajectories from the test set for each modelTable 3. long description.

Figure 12

Figure 10. Prediction of the cavity observables from different models for two test samples.Figure 10. long description.

Figure 13

Figure 11. Evolution of the MSE train loss of the NDDE model with constant (solid lines) and learnable delays (dashed lines) for different delay initialization values ranging from 0.2$ 0.2 $ to 1.0$ 1.0 $.Figure 11. long description.

Figure 14

Table 4. Summary of model performance metrics, that is, the test MSE loss. CD-ROM, ODE, and DDE closure models are compared across the 4, 8, and 10 POD mode settingsTable 4. long description.

Figure 15

Figure 12. Examples of predictions of POD Galerkin ROM (4 modes).Figure 12. long description.

Figure 16

Figure 13. Examples of predictions of POD Galerkin ROM (4 modes) with different models from KS testset reconstructed in terms of the full solution field u(x,t)$ u\left(\mathbf{x},t\right) $ (first three columns). The two rightmost columns show the absolute value of the reconstruction error associated with each model.Figure 13. long description.

Figure 17

Figure A1. Computation time of the forward pass (averaged over 5 runs) as a function of the size of the horizon for different numbers of observations (5, 10, 50, 100).Figure A1. long description.

Figure 18

Table A1. Clock time (s) per batchTable A1. long description.

Figure 19

Table A2. GPU consumption (Gb ±$ \pm $ Mb) per batchTable A2. long description.

Figure 20

Figure A2. Time duration of forward pass averaged over 5 runs.Figure A2. long description.

Figure 21

Figure A3. Memory consumption of the forward pass averaged over 5 runs.Figure A3. long description.

Figure 22

Table A3. How long are the trajectory chunks given at first, and the patience used for each experimentTable A3. long description.

Figure 23

Table A4. Number of parameters for each experimentTable A4. long description.

Figure 24

Table A5. Initial and final learning rates for each experimentTable A5. long description.

Figure 25

Table A6. MLP width and depth for each experimentTable A6. long description.

Figure 26

Table A7. Hidden size and number of layers for each experiment for the LSTM modelTable A7. long description.

Figure 27

Table A8. Configuration parameters for each experiment for Latent ODETable A8. long description.

Submit a response

Comments

No Comments have been published for this article.