Chaos Meets Attention: Transformers for Large-Scale Dynamical Prediction

Yi He, Yiming Yang, Xiaoyuan Cheng, Hai Wang, Xiao Xue +2 more
2/14/2026

No official code found. Best implementation: Hy23333/ChaosMeetsAttention (10 stars, MIT, last commit 2025-05-23).

Abstract

Generating long-term trajectories of dissipative chaotic systems autoregressively is a highly challenging task. The inherent positive Lyapunov exponents amplify prediction errors over time. Many chaotic systems possess a crucial property - ergodicity on their attractors, which makes long-term prediction possible. State-of-the-art methods address ergodicity by preserving statistical properties using optimal transport techniques. However, these methods face scalability challenges due to the curse of dimensionality when matching distributions. To overcome this bottleneck, we propose a scalable transformer-based framework capable of stably generating long-term high-dimensional and high-resolution chaotic dynamics while preserving ergodicity. Our method is grounded in a physical perspective, revisiting the Von Neumann mean ergodic theorem to ensure the preservation of long-term statistics in the $\mathcal{L}^2$ space. We introduce novel modifications to the attention mechanism, making the transformer architecture well-suited for learning large-scale chaotic systems. Compared to operator-based and transformer-based methods, our model achieves better performances across five metrics, from short-term prediction accuracy to long-term statistics. In addition to our methodological contributions, we introduce a new chaotic system benchmark: a machine learning dataset of 140$k$ snapshots of turbulent channel flow along with various evaluation metrics for both short- and long-term performances, which is well-suited for machine learning research on chaotic systems.

View on arXivView PDF

Code Implementations(1)

MIT

Official implementation of the paper "Chaos Meets Attention: Transformers for Large-Scale Dynamical Prediction"

101PythonJan 30, 20251 years agoMIT

Similar Papers

Cite this paper

@article{he2026chaos,
  title  = {Chaos Meets Attention: Transformers for Large-Scale Dynamical Prediction},
  author = {Yi He and Yiming Yang and Xiaoyuan Cheng and Hai Wang and Xiao Xue and Boli Chen and Yukun Hu},
  year   = {2026},
  eprint = {2504.20858},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2504.20858},
  journal = {ICML 2025 2025}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2504.20858.svg)](https://codeofpaper.com/paper/2504.20858)

Discussion