Spectrally informed learning of fluid flows

Benjamin D. Shaffer, Jeremy R. Vorenberg, M. Ani HsiehChaos: An Interdisciplinary Journal of Nonlinear Science 2025

TL;DR

This paper introduces a "Spectrally Informed Autoencoder" (SIAE) that injects prior knowledge about fluid flow energy distribution into machine learning models. By biasing the learning towards lower frequencies with higher energy content, SIAE significantly improves long-term prediction accuracy and creates models that better reflect the underlying physics of fluid dynamics, especially for systems with dominant, slow-moving structures.

What Problem Does This Paper Address?

Accurately modeling fluid flows is crucial for many applications, but these flows often exhibit complex, multiscale dynamics that are computationally expensive to simulate. While machine learning, particularly Koopman autoencoders (KAEs), offers a way to learn reduced-order models, these data-driven approaches can struggle with generalizability, noise sensitivity, and producing physically plausible results. The challenge is to leverage known physical properties, like spectral characteristics (how energy is distributed across different frequencies), to guide the learning process and create more robust and accurate models, especially when dealing with systems where dominant, low-frequency structures hold most of the energy.

Methods

The core of this work is the Spectrally Informed Autoencoder (SIAE), which builds upon the Koopman Autoencoder (KAE) framework. KAEs learn a low-dimensional latent representation of a system's dynamics and approximate the underlying nonlinear dynamics with a linear map in this latent space. The SIAE enhances this by incorporating two novel regularization terms into the KAE's loss function:

  • Spectral Regularization: This term encourages the learned linear dynamics' power spectrum to match a prior known spectrum. This prior can be derived from empirical measurements or theoretical assumptions (like the Kolmogorov hypothesis for turbulence).
  • Low-Frequency Bias: This term explicitly incentivizes the learned linear dynamics to have lower eigenfrequencies. The intuition is that dominant, energy-containing structures in fluid flows tend to evolve on slower timescales and thus correspond to lower frequencies.

These spectral priors are incorporated by analyzing the eigenvalues and eigenvectors of the learned linear operator in the latent space. The SIAE model combines a standard autoencoder loss (for reconstruction and prediction accuracy) with these spectral and low-frequency bias terms, balancing them with tunable parameters.

Datasets

The authors evaluate their SIAE method on three distinct fluid flow datasets:

  1. Periodic Vortex Shedding: A 2D simulation of flow past a cylinder at Re=160. This is a canonical benchmark, simplified by focusing on the stable oscillatory manifold of the limit cycle.
  2. Meandering Zonal Jet (Bickley Jet): A kinematic model of eastward zonal flows, incorporating a steady background flow and a time-dependent Rossby wave perturbation.
  3. Gulf of Mexico Sea Surface Temperature (SST): Monthly average SST data from NOAA. This represents a large-scale, Earth system phenomenon.

These datasets vary in complexity and scale, demonstrating the method's generalizability.

Key Insights and Ideas

  • Spectral Properties as Inductive Bias: The paper highlights that spectral information (how energy is distributed across frequencies) is a powerful, generalizable physical prior that can be effectively injected into machine learning models.
  • Dominant Structures = Low Frequencies: The core assumption that dominant, energy-containing structures in fluid flows evolve slowly and thus correspond to lower frequencies is a key driver for the method's success.
  • Complementary Regularization: Both the spectral matching and low-frequency bias terms contribute to improved performance, suggesting they offer complementary benefits rather than redundancy.
  • Improved Long-Term Prediction: The SIAE's primary advantage lies in its ability to make more accurate predictions over longer time horizons, a common challenge for purely data-driven models.
  • Emergent Properties: In some cases, like the SST data, improved persistence (eigenvalues closer to 1) in the learned dynamics emerges as a beneficial side effect of the spectral-informed training, even when not explicitly enforced.

Key Results

  • Improved Prediction Accuracy: Across all three experiments, the SIAE model consistently outperformed the baseline KAE model in terms of Mean Squared Error (MSE) and Structural Similarity Index Measure (SSIM) for long-term predictions. For example, in the SST case, the SIAE achieved a significantly lower MSE (0.731) compared to the baseline (1.00).
  • Better Spectral Matching: The SIAE models showed a reduced spectral error (Espectrum), indicating a closer match to the empirical power spectrum of the data.
  • Lower Average Eigenfrequencies: Models incorporating the low-frequency bias generally exhibited lower average eigenfrequencies, aligning with the physical intuition that dominant structures are slow-moving.
  • Stability Trade-off: While the SIAE models sometimes showed slightly less stability (higher maximum growth/decay) compared to the baseline, this was often within acceptable limits and outweighed by improved predictive accuracy.

Limitations and Future Work

  • Assumption Dependence: The SIAE's effectiveness relies on the assumption that the system exhibits dominant, low-rank structures with a discernible spectral property. It may not perform as well for systems without such characteristics or with continuous, high-frequency spectra.
  • Parameter Tuning: While the paper demonstrates robustness to parameter variations, optimal tuning still requires data and can be computationally intensive.
  • Control Applications: The authors suggest future work could explore the SIAE method for control applications, where bandwidth limitations make models that evolve on lower frequencies particularly valuable.
  • Explicit Constraints: Investigating explicit methods for clamping eigenfrequencies, rather than just penalizing deviations, could be a future direction.

Summary updated

BibTeX
@article{shaffer2025spectrally,
  author = {Benjamin D. Shaffer and Jeremy R. Vorenberg and M. Ani Hsieh},
  title = {{Spectrally informed learning of fluid flows}},
  journal = {Chaos: An Interdisciplinary Journal of Nonlinear Science},
  year = {2025},
  url = {https://openreview.net/forum?id=n7FB3JGPb2},
}

Loading related content...

Figure