Learning Deep Dissipative Dynamics

Yuji Okamoto, Ryosuke Kojima

TL;DR

This paper introduces a novel method for training neural networks to learn dissipative dynamical systems, guaranteeing stability and energy conservation even with out-of-domain data. They achieve this by developing a differentiable projection that transforms any neural network dynamics into a dissipative subspace, grounded in a generalized solution to the nonlinear KYP lemma.

What Problem Does This Paper Address?

Learning accurate and reliable models of dynamical systems from time-series data is crucial for many fields, from robotics to biology. A key property for system stability and predictability is "dissipativity," which relates to how systems store and dissipate energy. While existing methods can learn stable or input-output stable systems, strictly guaranteeing dissipativity for neural network models has been a challenge. This paper aims to bridge this gap by ensuring that learned models inherently satisfy dissipative properties, leading to more robust and trustworthy predictions, especially when faced with novel or unexpected inputs.

Methods

The core of this work lies in a dissipative projection ($P_{\Theta, \mathcal{V}}$). This projection acts on the parameters of a neural network representing a dynamical system and maps them into a subspace that is guaranteed to be dissipative. This projection is derived from a generalized solution to the nonlinear Kalman-Yakubovich-Popov (KYP) lemma, which provides a necessary and sufficient condition for dissipativity.

The authors propose a projection-based optimization framework. Instead of directly training a neural network to be dissipative, they train a network that is then projected into the dissipative subspace. This approach allows for learning from data while strictly enforcing the desired physical properties. The learning process involves a loss function that includes terms for prediction error, a projection regularization term (to keep the projected dynamics close to the original), and a reconstruction term (to prevent degenerate outputs).

Datasets

The authors evaluate their method on three benchmarks:

  • Mass-spring-damper system: A classic linear system used to demonstrate the method's effectiveness with both in-domain and out-of-domain inputs (step and random walk signals).
  • n-link pendulum system: A nonlinear system representing robotic arms, used to showcase the method's ability to handle complex dynamics.
  • Flow around a cylinder: A fluid dynamics simulation benchmark, used to demonstrate the method's applicability to complex physical phenomena.

Key Insights and Ideas

  • Dissipativity as a unifying concept: The paper frames dissipativity as a general concept that encompasses internal stability, input-output stability, and energy conservation, providing a unified theoretical framework.
  • Differentiable projection for guaranteed dissipativity: The key innovation is a differentiable projection that can be integrated into gradient-based learning, ensuring that learned dynamics are strictly dissipative, not just approximately so.
  • Robustness to out-of-domain inputs: By enforcing dissipativity, the learned models exhibit significantly improved robustness when presented with inputs that differ from the training data, preventing divergence and maintaining predictable behavior.
  • General solution to nonlinear KYP lemma: The analytical derivation of a general solution to the nonlinear KYP lemma is a foundational contribution that enables the construction of these dissipative projections.

Key Results

  • Improved prediction accuracy: Across all benchmarks, the dissipative models consistently outperformed naive (unconstrained) models, especially when evaluated on out-of-domain inputs. For instance, in the mass-spring-damper benchmark, the dissipative model showed statistically significant improvement over the naive model.
  • Robustness demonstrated: In experiments with unexpected input signals (e.g., longer step inputs than seen during training), naive models showed signs of divergence, while the dissipative models maintained bounded and predictable outputs.
  • Generalization across systems: The method was successfully applied to linear (mass-spring-damper), nonlinear (pendulum), and complex physical systems (fluid dynamics), highlighting its broad applicability.
  • Computational efficiency: While the paper doesn't focus on speedups, the computational times for training are presented, showing that the dissipative methods are comparable to or slightly slower than other constrained methods, but significantly better than naive methods in terms of robustness.

Limitations and Future Work

  • Hyperparameter tuning: The authors acknowledge that determining the dissipative hyperparameters (e.g., related to the supply rate) requires some prior knowledge of the target system's rough properties. Future work could focus on system identification to automate this process.
  • Non-Hilbert spaces: Dissipative projections are generally not orthogonal projections in Hilbert spaces, making their analysis and learning more challenging. The paper suggests that exploring optimal inner products and gradient methods for learning in these non-Hilbert spaces is a future research direction.
  • Generalizing to arbitrary dissipative systems: While the method guarantees dissipativity, extending it to learn any arbitrary dissipative system from data, rather than projecting into a pre-defined dissipative subspace, remains an open problem.

Summary updated

BibTeX
@inproceedings{okamoto2025learning,
  author = {Yuji Okamoto and Ryosuke Kojima},
  title = {{Learning Deep Dissipative Dynamics}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.1609/aaai.v39i18.34175},
}

Loading related content...

Figure