Training neural operators to preserve invariant measures of chaotic attractors

Ruoxi Jiang, Peter Y. Lu, Elena Orlova, Rebecca Willett

TL;DR

This paper introduces a new way to train neural operators for chaotic dynamical systems by focusing on preserving the invariant measures (long-term statistical properties) of their attractors. By combining standard short-term error minimization with either an optimal transport-based loss or a self-supervised contrastive loss, the authors create emulators that remain physically realistic over long horizons, even when trained on noisy data.

What Problem Does This Paper Address?

Predicting the future of chaotic systems—like weather, fluid turbulence, or plasma dynamics—is notoriously difficult. Because of the "butterfly effect," tiny errors in initial conditions or measurement noise grow exponentially, causing predicted trajectories to diverge rapidly from reality.

Standard machine learning approaches usually minimize Root Mean Squared Error (RMSE). While RMSE works for short-term forecasting, it fails for chaotic systems over long periods. As shown in Figure 1, models trained only on RMSE often produce "degenerate" results—physically impossible patterns like static stripes—because the loss function provides a poor signal once the trajectories have diverged. The authors argue that instead of trying to predict the exact state far into the future, we should train models to capture the statistical "fingerprint" of the system, known as its invariant measure.

RMSE vs. Statistical preservation

Methods

The authors propose two novel training paradigms to supplement the standard short-term RMSE loss:

  1. Physics-Informed Optimal Transport (OT): This approach uses expert knowledge to identify key summary statistics (like energy or velocity components). It then uses a Sinkhorn divergence (an efficient approximation of the Wasserstein distance) to match the distribution of these statistics between the model's predictions and the actual noisy data.
  2. Unsupervised Contrastive Learning (CL): For cases where the underlying physics is unknown, the authors use a contrastive framework (InfoNCE). The model learns to extract time-invariant features by recognizing that different segments of the same trajectory should have similar statistical "signatures," while segments from different environments should look distinct.

Both methods are integrated into a multi-environment setting, where the emulator must generalize across systems governed by slightly different physical parameters.

Training Framework Overview

Datasets

The methods were evaluated on two classic benchmarks for chaotic dynamics:

  • Lorenz-96: A standard model used in climate science and data assimilation to study chaos and turbulence.
  • Kuramoto–Sivashinsky (KS): A model for spatiotemporal chaos used to describe fluid flows and plasma physics.

The researchers generated 2,000 trajectories for each, varying the governing parameters ($\phi$) to create a challenging multi-environment training set, and added varying levels of measurement noise ($r=0.1$ to $0.3$).

Key Insights and Ideas

  • Statistics over Samples: In chaotic regimes, point-wise accuracy is a lost cause. The "aha moment" here is that while we can't predict where a particle will be, we can accurately predict the distribution of where it might be.
  • Noise Robustness: Invariant statistics are remarkably robust to noise compared to point-wise values. By targeting these statistics, the model ignores high-frequency noise that would otherwise corrupt an RMSE-only model.
  • Contrastive Learning as a Proxy for Physics: Perhaps the most surprising finding is that the unsupervised contrastive loss performs nearly as well as the physics-informed OT loss. This suggests that deep learning can "discover" the relevant invariant measures of a chaotic system directly from raw, noisy data.

Key Results

The proposed methods significantly outperformed the RMSE baseline across several metrics:

  • Visual Fidelity: As seen in Figure 3, the RMSE-only model produces blurred or striped artifacts, whereas the OT and CL models produce trajectories that are visually indistinguishable from the ground truth.
  • Energy Spectrum: The models correctly captured the distribution of energy across different scales (wavenumbers), whereas RMSE models failed to capture high-frequency signals.
  • Quantitative Gains: On the Lorenz-96 system with high noise ($r=0.3$), the OT approach reduced the histogram error of invariant statistics by nearly 75% compared to the RMSE baseline. The contrastive approach followed closely, proving its utility when expert knowledge is unavailable.
Visual comparison of dynamics

Limitations and Future Work

The current framework assumes the system has already reached a "steady state" attractor; it does not yet handle transient phases (the period before the system settles into its long-term pattern). Additionally, the models do not account for explicit time-dependence in the governing laws, such as seasonal forcing in climate models.

Future research directions include adapting these losses for systems with slowly varying dynamics (like tipping points in ecology) and exploring more complex data augmentations to further improve the robustness of the contrastive learning encoder.

Summary updated

Abstract

Chaotic systems make long-horizon forecasts difficult because small perturbations in initial conditions cause trajectories to diverge at an exponential rate. In this setting, neural operators trained to minimize squared error losses, while capable of accurate short-term forecasts, often fail to reproduce statistical or structural properties of the dynamics over longer time horizons and can yield degenerate results. In this paper, we propose an alternative framework designed to preserve invariant measures of chaotic attractors that characterize the time-invariant statistical properties of the dynamics. Specifically, in the multi-environment setting (where each sample trajectory is governed by slightly different dynamics), we consider two novel approaches to training with noisy data. First, we propose a loss based on the optimal transport distance between the observed dynamics and the neural operator outputs. This approach requires expert knowledge of the underlying physics to determine what statistical features should be included in the optimal transport loss. Second, we show that a contrastive learning framework, which does not require any specialized prior knowledge, can preserve statistical properties of the dynamics nearly as well as the optimal transport approach. On a variety of chaotic systems, our method is shown empirically to preserve invariant measures of chaotic attractors.
BibTeX
@inproceedings{jiang2023training,
  author = {Ruoxi Jiang and Peter Y. Lu and Elena Orlova and Rebecca Willett},
  title = {{Training neural operators to preserve invariant measures of chaotic attractors}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=8xx0pyMOW1},
}
Figure