mlsanityData to 26 Nov 2026

Solvable dynamical model of in-context learning

arXiv 2611.00921 ↗Submitted 31 Oct 2026cs.LG cond-mat.dis-nncited by 0

Not on the map. Why?

Abstract (arXiv)

Pretrained Transformer architectures display a surprising in-context learning ability without additional training. How the learning process guides the network to achieve this intriguing capability remains unsolved. In this study, we focus on a single-layer single-head linear attention model, where an empirical risk minimization is defined for learning. Given a finite number of training examples, we determine the exact solution of network-parameter dynamics, which is linked to the training error and generalization error, characterizing how memorization and generalization emerge from learning and how these transitions are related to curvatures of the empirical risk landscape. Furthermore, we calculate a data-dependent free energy, from which the training and generalization errors in the long time limit of learning dynamics can be well predicted. Our work adds insights toward understanding the mechanism of in-context learning especially from a learning dynamics perspective.

Key facts. No citing papers in the map yet (data through 26 Nov 2026). Builds on 20 of its 23 references that are in the map. Submitted 31 Oct 2026.

Builds on

20 of 23 references.

References · 20

  1. 2017Attention Is All You Needcited by 62,125
  2. 2020Language Models are Few-Shot Learnerscited by 33,113
  3. 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,683
  4. 2021An Explanation of In-context Learning as Implicit Bayesian Inferencecited by 989
  5. 2022Transformers learn in-context by gradient descentcited by 763
  6. 2022What learning algorithm is in-context learning? Investigations with linear modelscited by 729
  7. 2023Trained Transformers Learn Linear Models In-Contextcited by 358
  8. 2017High-dimensional dynamics of generalization error in neural networkscited by 247
  9. 2023Pretraining task diversity and the emergence of non-Bayesian in-context learning for regressioncited by 155
  10. 2023How Many Pretraining Tasks Are Needed for In-Context Learning of Linear Regression?cited by 99
  11. 2023Auto-Regressive Next-Token Predictors are Universal Learnerscited by 78
  12. 2024Asymptotic theory of in-context learning by linear attentioncited by 68
8 more
  1. 2025Training Dynamics of In-Context Learning in Linear Attentioncited by 51
  2. 2025Key-value memory in the braincited by 27
  3. 2025Theory of Scaling Laws for In-Context Regression: Depth, Width, Context and Timecited by 21
  4. 2025In-Context Linear Regression Demystified: Training Dynamics and Mechanistic Interpretability of Multi-Head Softmax Attentioncited by 10
  5. 2026From AGI to ASIcited by 7
  6. 2020Weakly-correlated synapses promote dimension reduction in deep neural networkscited by 5
  7. 2025Exact Learning Dynamics of In-Context Learning in Linear Transformers and Its Application to Non-Linear Transformerscited by 4
  8. 2024Spin glass model of in-context learningcited by 3

Built on by

Not cited yet.