ICODE: Modeling Dynamical Systems With Extrinsic Input Information

Zhaoyi Li, Wenjie Mei, Ke Yu, Yang Bai, Shihua Li

TL;DR

The paper introduces Input Concomitant Neural ODEs (ICODEs), a novel framework that explicitly integrates real-time external inputs into dynamical system models. By ensuring a mathematical property called "contraction," ICODEs provide stable, highly accurate predictions for complex physical systems even when faced with abrupt or irregular environmental changes.

What Problem Does This Paper Address?

Modeling how physical systems—like robotic arms, power converters, or biological pathways—evolve over time is a cornerstone of engineering. Neural Ordinary Differential Equations (NODEs) have become a popular tool for this, learning the underlying physics directly from data.

However, standard NODEs have a "blind spot": they often struggle with systems influenced by external, time-varying inputs (like a pilot's control stick or a sudden change in voltage). Existing methods either ignore these inputs or try to "learn" them as hidden parameters, which fails when inputs are non-smooth, jumpy, or atypical. This leads to models that are inaccurate and potentially unstable in real-world, safety-critical applications.

Methods

The authors propose ICODEs to bridge this gap. Instead of a generic black-box function, they use a structure that is affine in the input: $$\dot{x} = f(x) + g(x)u$$ Here, $x$ is the system state, and $u$ is the explicit external input.

Key technical highlights include:

  • Direct Integration: Real-time input data is fed directly into the learning process rather than being estimated.
  • Contraction Property: The authors provide theoretical proofs for sufficient conditions that ensure the model is "contracting." This means that regardless of where the system starts (initial conditions), its trajectories will converge to a predictable state, ensuring consistency and reliability.
  • Scalable Architecture: The framework uses multiple neural subnetworks to model different parts of the dynamics, allowing it to scale with the complexity of the system.
The schematic of ICODE architecture shows how state $x$ and external input $u$ interact through neural networks to determine the system's rate of change.

Datasets

The researchers validated ICODEs across seven diverse and challenging physical systems:

  1. Single-link Robot: A 1-DOF robotic arm.
  2. DC-to-DC Converter: A fundamental power electronics system.
  3. Rigid Body Motion: Angular momentum dynamics of an arbitrary shape.
  4. Rabinovich-Fabrikant Equation: A system known for chaotic behavior.
  5. Glycolytic-glycogenolytic Pathway: A complex biological metabolic model.
  6. Heat Conduction Equation: A partial differential equation (PDE) problem.
  7. Swing Equation: Modeling synchronous generators in a multi-agent power grid.

Key Insights and Ideas

  • Explicit is Better than Implicit: Treating external inputs as first-class citizens in the ODE equation significantly improves performance over models that try to treat them as latent variables (like standard NODEs or ANODEs).
  • Stability as a Constraint: By baking the contraction property into the architecture, ICODEs avoid the "drifting" issues common in long-term neural network predictions.
  • Handling "Atypical" Inputs: ICODEs shine when the input signal is weird—for example, a control torque that jumps suddenly. While other models (like Neural Controlled Differential Equations or CDEs) might see these jumps as interference, ICODEs use them to refine their understanding of the system dynamics.

Key Results

ICODEs consistently outperformed state-of-the-art variants like CDE, NODE, and Augmented NODE (ANODE) across all benchmarks.

  • Accuracy: In the single-link robot task with high-variance inputs ($\Delta u = 0.5$), ICODE achieved an $R^2$ score of 0.91, while all other methods failed to even capture the general trend (resulting in negative $R^2$ scores).
  • Convergence Speed: ICODEs learn the "ground truth" dynamics much faster. As shown in the phase plane trajectories for the robot arm, ICODE captures the true path of the system in significantly fewer training epochs than standard NODEs.
Comparison of system trajectories on the phase plane. ICODE (top) fits the true trajectory much more accurately and faster than the standard NODE (bottom).
  • Robustness: The model maintained high performance even when Gaussian noise was added to the training data or the measured input signals.
Training and prediction loss curves for the single-link robot. ICODE (red line) achieves lower error more consistently than competing models.

Limitations and Future Work

The authors note that the "inductive bias" of ICODEs is context-dependent. If a system's evolution is entirely independent of its input (no coupling), ICODE's performance might drop down to the level of a standard NODE.

Future work aims to:

  • Explore more general, non-affine forms ($x = f(x, u)$) while maintaining the guaranteed contraction property.
  • Investigate adaptive learning rates to handle the potentially complex architectures of ICODEs more efficiently.
  • Apply the framework to even broader classes of dynamics, such as those with mutual interactions between state and input.

Summary updated

BibTeX
@article{li2025icode,
  author = {Zhaoyi Li and Wenjie Mei and Ke Yu and Yang Bai and Shihua Li},
  title = {{ICODE: Modeling Dynamical Systems With Extrinsic Input Information}},
  journal = {IEEE Trans Autom. Sci. Eng.},
  year = {2025},
  doi = {10.1109/tase.2025.3560450},
}
Figure