Abstract
Delay Differential Equations (DDEs) are essential for modeling complex systems where the rate of change depends on past states, a phenomenon known as "memory effects." While DDEs are prevalent in fields ranging from biology to climate science, identifying the governing equations and unknown time delays from observational data remains a significant challenge. This paper presents a comprehensive evaluation of data-driven discovery methods, specifically focusing on extensions of Sparse Identification of Nonlinear Dynamics (SINDy) and the development of Neural Delay Differential Equations (NDDEs). By treating delays as trainable parameters, these methods allow for the simultaneous recovery of physical laws and temporal lags directly from time-series data.
Introduction
Many real-world dynamical systems exhibit inherent delays. In biological feedback loops, neural activity, climate patterns, and global supply chains, the current state of the system is influenced by its history. Mathematically, these are represented as DDEs. Unlike Ordinary Differential Equations (ODEs), which are finite-dimensional, DDEs are infinite-dimensional because their evolution depends on a continuous segment of the past state.
The "inverse problem" in this context is twofold: one must identify the functional form of the dynamics and the specific duration of the time delays. Traditional modeling often relies on expert intuition to guess these delays, which is prone to error in complex systems. This research explores automated, data-driven frameworks to solve this problem, comparing sparse regression techniques with deep learning architectures.
Methodology
1. SINDy for Delay Systems
The authors extend the Sparse Identification of Nonlinear Dynamics (SINDy) framework to accommodate delays through two distinct approaches:
- Expert SINDy (E-SINDy): This method incorporates suspected delay structures directly into a library of candidate nonlinear functions. Sparse regression (such as SR3) is then used to identify the most parsimonious model that fits the data.
- Pragmatic SINDy (P-SINDy): To handle unknown delays more flexibly, P-SINDy utilizes pseudospectral collocation. By approximating the DDE using Chebyshev nodes, the system is transformed into a high-dimensional ODE system. This "black-box" approach is computationally efficient as it only requires an estimate of the maximum possible delay rather than the exact lag values.
2. Neural Delay Differential Equations (NDDEs)
NDDEs represent the right-hand side of the governing equation using a neural network. A key innovation here is the use of trainable delays. Instead of treating the time lag as a fixed hyperparameter, it is treated as a weight within the network, allowing it to be optimized via backpropagation. The authors compare two loss functions:
- Derivative Loss: Matches the predicted derivative to the numerical derivative of the data. This is significantly faster (approx. 20x) but sensitive to noise.
- Simulation Loss: Compares the entire integrated trajectory to the data. While computationally intensive, it is more robust for chaotic systems.
3. Optimization of Non-multiplicative Parameters
Since time delays enter the equations nonlinearly, they cannot be solved via standard linear regression. The study evaluates Brute Force (BF), Bayesian Optimization (BO), and Particle Swarm (PS) optimization. Particle Swarm consistently emerged as the superior method for searching the delay parameter space, offering a better balance of speed and global search capabilities than Bayesian alternatives.
Experimental Validation
The frameworks were tested against a suite of benchmark nonlinear systems:
- Hutchinson Equation: A model for population growth with feedback delays.
- Mackey-Glass Equation: A classic chaotic system used to model physiological feedback loops.
- Two-Neuron Model: A multi-delay system representing neural interactions.
- ENSO Climate Model: A model of the El Niño Southern Oscillation featuring multiple delays and external forcing.
- Delayed Rössler System: A 3-state chaotic system used to test the limits of SINDy and NDDEs.
Key Results and Discussion
Accuracy and Precision
Both SINDy variants demonstrated remarkable precision in parameter recovery. For the Mackey-Glass and Logistic systems, the methods recovered delay parameters with errors as low as $10^{-7}$ to $10^{-8}$. This level of accuracy suggests that data-driven methods can effectively "crack the code" of systems with memory when the underlying physics are representable in the candidate library.
Interpretability vs. Flexibility
A central finding is the trade-off between SINDy and NDDEs. SINDy provides human-readable, symbolic equations that are highly interpretable but requires the user to provide a comprehensive library of candidate functions. If the true physics is missing from the library, SINDy fails. Conversely, NDDEs are highly flexible and can approximate unknown physics without a predefined library, but they function as black boxes and require significantly more data to generalize, especially in chaotic regimes.
Data Richness and Stability
NDDEs are susceptible to falling into local minima, sometimes learning numerical differentiation artifacts rather than the actual physics. This occurs primarily when the training data is not "rich" enough (e.g., observing only a single stable orbit). In the 3-state Rössler system, SINDy outperformed NDDEs when the library was accurate. However, as the library grew more complex and included "noise" terms, NDDEs provided more stable long-term trajectory predictions, highlighting their robustness in high-dimensional spaces.
Conclusion
This work establishes a robust toolkit for identifying DDEs from data. While SINDy is preferred for its interpretability and data efficiency in well-understood domains, NDDEs offer a powerful alternative for complex, unknown dynamics. Future research will focus on extending these methods to stochastic and distributed delays, as well as hybrid models that combine the symbolic clarity of SINDy with the gradient-based delay learning of neural networks.
Summary updated