Abstract
This paper introduces Neural Delay Differential Equations (NDDEs) combined with a novel stability regularization framework based on the Razumikhin method. By augmenting system states with their own history rather than unobserved latent variables, NDDEs effectively model continuous-time dynamics from partial and noisy observations. The proposed Lyapunov-Razumikhin stability constraint ensures that learned models remain stable and converge to equilibria, addressing critical safety requirements in system identification for physical and biological systems.
Introduction
Modeling the dynamics of physical systems—such as robotic components, chemical processes, or biological populations—from empirical data is a cornerstone of modern system identification. However, two significant challenges persist in this field: partial observability and the lack of stability guarantees.
Standard Neural Ordinary Differential Equations (NODEs) are Markovian, meaning they assume future states depend solely on the current state. This assumption fails in real-world scenarios where key variables (e.g., velocity in a pendulum system) are unobserved. While Augmented Neural ODEs (ANODEs) attempt to address this by introducing hidden latent variables, they suffer from a "hidden state initialization" problem. It is notoriously difficult to estimate the starting values of variables that are never observed, leading to slow convergence and inaccuracies. Furthermore, ensuring that a learned model remains stable on unseen data is vital for safety-critical applications, yet standard deep learning models offer no such mathematical guarantees.
Methods: Neural Delay Differential Equations
The authors propose Neural Delay Differential Equations (NDDEs) to overcome the limitations of Markovian models. Instead of relying on mysterious latent variables, NDDEs utilize the system's own history, $x(t), x(t-\tau), \dots, x(t-K\tau)$, to provide the necessary context for unobserved dynamics. This approach is grounded in the Takens’ embedding theorem, which suggests that a system's state can often be reconstructed from a sequence of observations.
To handle noisy and discrete data, the framework employs Gaussian Process (GP) regression to interpolate a smooth "history" curve ($\psi$). This curve serves as the initial condition for the NDDE, allowing the model to start from a state that is directly informed by actual data rather than a random guess.
Lyapunov-Razumikhin Stability
To guarantee stability, the authors adapt Lyapunov theory to delay systems. In standard ODEs, a Lyapunov function $V(x)$ is used to show that a system's energy decreases over time. For delay systems, the "state" is technically the entire history curve, making standard Lyapunov functions infinite-dimensional and difficult to compute.
The authors utilize the Razumikhin method, a clever shortcut that proves stability by checking conditions only at discrete points in time. Specifically, it ensures that whenever the system's state is at its maximum allowable distance from equilibrium (relative to its recent history), its derivative points back toward the equilibrium. This condition is transformed into a Lyapunov-Razumikhin Function (LRF) loss, which regularizes the neural network training process to favor physically plausible, stable solutions.
Results and Evaluation
The NDDE approach was evaluated against several benchmarks, including partially observed harmonic oscillators, damped double compound pendulums, and predator-prey models.
Key findings from the experiments include:
- Superior Accuracy and Efficiency: In the Predator-Prey (Lotka-Volterra) task, NDDEs achieved a Mean Squared Error (MSE) of 0.023, significantly outperforming the best ANODE variant, which lagged at 0.305.
- Faster Convergence: As shown in the training loss curves, NDDEs reached lower loss levels in significantly fewer iterations—often around 80 iterations compared to over 300 for ANODEs. This efficiency is attributed to the GP-interpolated history providing a superior starting point for the solver.
- Robustness to Noise: In complex systems like the double pendulum, unregularized models often exhibited instability or chaotic behavior when faced with high noise. The stabilized NDDE remained perfectly bounded and successfully converged to equilibrium.
- Handling Feedback Delays: The framework is naturally suited for systems with inherent feedback delays, a common source of instability in real-world robotics and control systems.
Conclusion
NDDEs provide a robust and theoretically grounded alternative to latent-variable models by leveraging historical data as a proxy for unobserved states. By incorporating the Razumikhin-based stability constraint, the framework ensures that learned models are not only accurate but also mathematically guaranteed to be stable. While solving delay differential equations introduces some computational overhead, the gains in training speed, accuracy, and safety make it a compelling choice for modeling complex dynamical systems from partial observations.
Summary updated