mlsanityData to 7 Oct 2026

Transformers for dynamical systems learn transfer operators in-context

arXiv 2602.18679 ↗First posted 21 Feb 2026cs.LG nlin.CDcited by 1

Not on the map. Why?

Abstract (arXiv)

Large-scale foundation models for scientific machine learning adapt to physical settings unseen during training, such as zero-shot transfer between turbulent scales. This phenomenon, in-context learning, challenges conventional understanding of learning and adaptation in physical systems. Here, we study in-context learning of dynamical systems in a minimal setting: we train a small two-layer, single-head transformer to forecast one dynamical system, and then evaluate its ability to forecast a different dynamical system without retraining. We discover an early tradeoff in training between in-distribution and out-of-distribution performance, which manifests as a secondary double descent phenomenon. We discover that attention-based models apply a transfer-operator forecasting strategy in-context. They (1) lift low-dimensional time series using delay embedding, to detect the system's higher-dimensional dynamical manifold, and (2) identify and forecast long-lived invariant sets that characterize the global flow on this manifold. Our results clarify the mechanism enabling large pretrained models to forecast unseen physical systems at test time without retraining, and they illustrate the unique ability of attention-based models to leverage global attractor information in service of short-term forecasts.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 28 of its 45 references that are in the map. First posted on arXiv 21 Feb 2026.

Builds on

28 of 45 references.

References · 28

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  4. 2016Layer Normalizationcited by 5,579
  5. 2022A Time Series is Worth 64 Words: Long-term Forecasting with Transformerscited by 1,981
  6. 2018Reconciling modern machine learning practice and the bias-variance trade-offcited by 919
  7. 2020Quantifying Attention Flow in Transformerscited by 759
  8. 2022Transformers learn in-context by gradient descentcited by 714
  9. 2024Chronos: Learning the Language of Time Seriescited by 712
  10. 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 700
  11. 2022What learning algorithm is in-context learning? Investigations with linear modelscited by 671
  12. 2019Deep Double Descent: Where Bigger Models and More Data Hurtcited by 667
16 more
  1. 2023Trained Transformers Learn Linear Models In-Contextcited by 331
  2. 2024Poseidon: Efficient Foundation Models for PDEscited by 186
  3. 2023Towards Foundation Models for Scientific Machine Learning: Characterizing Scaling and Transfer Behaviorcited by 128
  4. 2023The mechanistic basis of data dependence and abrupt learning in an in-context classification taskcited by 115
  5. 2024The Evolution of Statistical Induction Heads: In-Context Learning Markov Chainscited by 115
  6. 2021Chaos as an interpretable benchmark for forecasting and data-driven modellingcited by 87
  7. 2024Pretraining Codomain Attention Neural Operators for Solving Multiphysics PDEscited by 58
  8. 2024Out-of-Domain Generalization in Dynamical Systems Reconstructioncited by 33
  9. 2020Memorizing without overfitting: Bias, variance, and interpolation in over-parameterized modelscited by 26
  10. 2025Walrus: A Cross-Domain Foundation Model for Continuum Dynamicscited by 26
  11. 2025Context parroting: A simple but tough-to-beat baseline for foundation models in scientific machine learningcited by 14
  12. 2023Magnetohydrodynamics with Physics Informed Neural Operatorscited by 6
  13. 2024Invariant Measures in Time-Delay Coordinates for Unique Dynamical System Identificationcited by 5
  14. 2024On the relationship between Koopman operator approximations and neural ordinary differential equations for data-driven time-evolution predictionscited by 3
  15. 2026Universal Redundancies in Time Series Foundation Modelscited by 3
  16. 2025A Mechanistic Analysis of Transformers for Dynamical Systemscited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.