Eigenvalue Initialisation and Regularisation for Koopman Autoencoders

Jack William Miller, Charles O'Neill, Navid C Constantinou, Omri Azencot

Introduction

Deep learning is increasingly used to model complex physical systems, from fluid dynamics to weather patterns. A popular architecture for this is the Koopman Autoencoder (KAE). KAEs work by "lifting" nonlinear data into a latent space where the dynamics can be represented by a simple linear operator.

However, standard training techniques like Xavier initialization or weight decay are often "physics-blind." For example, standard initialization often pushes the eigenvalues of the linear operator toward zero, implying that the system's energy vanishes instantly—a poor assumption for stable or oscillating physical systems. This paper introduces eigeninit and eigenloss to bridge this gap by incorporating spectral properties of dynamical systems into the training process.

Methodology

The authors propose two spectral interventions that can be integrated into existing Koopman-based architectures:

  1. Eigeninit (Eigenvalue Initialisation): Instead of random initialization, the Koopman matrix is initialized by sampling eigenvalues from a "spike and slab" distribution. This places some eigenvalues exactly on the unit circle (conserved quantities) and others inside (dissipative dynamics), better reflecting physical reality.
  2. Eigenloss (Eigenvalue Regularisation): A novel penalty term is added to the loss function to discourage eigenvalues from straying too far from the unit circle. This soft inductive bias encourages the discovery of stable, long-term representations.

Experimental Setup

The methods were evaluated on four datasets:

  • Driven Pendulum: A classic frictionless physics benchmark.
  • Flow Past a Cylinder: A standard fluid dynamics problem.
  • Ocean Surface Temperatures: Real-world satellite data from the Gulf of Mexico.
  • Cyclone Wind Fields: A new benchmark tracking wind components in cyclone paths using ERA5 data.

Results and Discussion

Spectral Insights

Standard initialization methods like Xavier result in an average eigenvalue magnitude of approximately 0.1, as shown in the distribution below. This causes the system's "memory" to decay almost immediately, hindering long-term prediction.

Comparison of eigenvalue distributions for Xavier and Gaussian initialization. Standard methods push eigenvalues toward zero, far from the unit circle required for stable dynamics.

By forcing the model to start and stay near the unit circle, the optimizer follows a "physics-aware" shortcut. The authors also found that Dynamic Mode Decomposition (DMD) can guide the tuning of the stable-to-dissipative eigenvalue ratio.

Performance Metrics

The proposed methods significantly improved both convergence speed and accuracy. On the Fluid dataset, eigeninit reached convergence in 9 epochs compared to 42 for a standard KAE.

Validation loss and cumulative test error across different datasets and initialization/regularization schemes. Bold values indicate best performance.

As seen in the results table above, the combination of these techniques led to a 3x reduction in cumulative long-term prediction error on the Ocean dataset. Furthermore, models trained with eigenloss exhibited smoother validation loss curves, indicating more stable optimization.

Conclusion

While powerful, these methods require careful hyperparameter tuning, particularly for the penalty weight ($\epsilon_\lambda$) and the distribution parameter ($\theta$). Future work may extend these spectral techniques to input-driven systems and other physics-informed neural network architectures.

Summary updated

BibTeX
@inproceedings{miller2022eigenvalue,
  author = {Jack William Miller and Charles O'Neill and Navid C Constantinou and Omri Azencot},
  title = {{Eigenvalue Initialisation and Regularisation for Koopman Autoencoders}},
  booktitle = {International Conference on Learning Representations},
  year = {2022},
  url = {https://openreview.net/forum?id=6TugHflAGRU},
}
Figure