mlsanityData to 7 Oct 2026

In-Context Learning Under Regime Change

arXiv 2604.16988 ↗First posted 18 Apr 2026cs.LG cs.AIcited by 1

Not on the map. Why?

Abstract (arXiv)

Non-stationary sequences arise naturally in control, forecasting, and decision-making. The data-generating process shifts at unknown times, and models must detect the change, discard or downweight obsolete evidence, and adapt to new dynamics on the fly. Transformer-based foundation models increasingly rely on in-context learning for time series forecasting, tabular prediction, and continuous control. As these models are deployed in non-stationary environments, understanding their ability to detect and adapt to regime shifts is important. We formalize this as an in-context change-point detection problem and formally establish the existence of transformer models that solve this problem. Our construction demonstrates that model complexity, in layers and parameters, depends on the level of information available about the change-point location, from no knowledge to knowing exact timing. We validate our results with experiments on synthetic linear regression and linear dynamical systems, where trained transformers match the performance of optimal baselines across information levels. We also show that encoding and incorporating changepoint knowledge indeed improves the real-world performance of a pretrained foundation models on infectious disease forecasting and on financial volatility forecasting around Federal Open Market Committee (FOMC) announcements without retraining, demonstrating practical applicability to real-world regime changes.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 12 of its 31 references that are in the map. First posted on arXiv 18 Apr 2026.

Builds on

12 of 31 references.

References · 12

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2022Transformers learn in-context by gradient descentcited by 714
  3. 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 700
  4. 2022What learning algorithm is in-context learning? Investigations with linear modelscited by 671
  5. 2023A decoder-only foundation model for time-series forecastingcited by 650
  6. 2023What and How does In-Context Learning Learn? Bayesian Model Averaging, Parameterization, and Generalizationcited by 112
  7. 2025From Tables to Time: Extending TabPFN-v2 to Time Series Forecastingcited by 49
  8. 2025TimePFN: Effective Multivariate Time Series Forecasting with Synthetic Datacited by 27
  9. 2025Gating is Weighting: Understanding Gated Linear Attention through In-context Learningcited by 11
  10. 2025Simulation as Supervision: Mechanistic Pretraining for Scientific Discoverycited by 3
  11. 2025Mantis: A Foundation Model for Mechanistic Disease Forecastingcited by 3
  12. 2025Learning From Simulators: A Theory of Simulation-Grounded Learningcited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.