mlsanityData to 7 Oct 2026

Bayes' Power for Explaining In-Context Learning Generalizations

arXiv 2410.01565 ↗First posted 2 Oct 2024cs.LG stat.MLcited by 6

Not on the map. Why?

Abstract (arXiv)

Traditionally, neural network training has been primarily viewed as an approximation of maximum likelihood estimation (MLE). This interpretation originated in a time when training for multiple epochs on small datasets was common and performance was data bound; but it falls short in the era of large-scale single-epoch trainings ushered in by large self-supervised setups, like language models. In this new setup, performance is compute-bound, but data is readily available. As models became more powerful, in-context learning (ICL), i.e., learning in a single forward-pass based on the context, emerged as one of the dominant paradigms. In this paper, we argue that a more useful interpretation of neural network behavior in this era is as an approximation of the true posterior, as defined by the data-generating process. We demonstrate this interpretations' power for ICL and its usefulness to predict generalizations to previously unseen tasks. We show how models become robust in-context learners by effectively composing knowledge from their training data. We illustrate this with experiments that reveal surprising generalizations, all explicable through the exact posterior. Finally, we show the inherent constraints of the generalization capabilities of posteriors and the limitations of neural networks in approximating these posteriors.

Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 13 of its 17 references that are in the map. First posted on arXiv 2 Oct 2024.

Builds on

13 of 17 references.

References · 13

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2023DINOv2: Learning Robust Visual Features without Supervisioncited by 7,764
  4. 2021An Explanation of In-context Learning as Implicit Bayesian Inferencecited by 915
  5. 2022TabPFN: A Transformer That Solves Small Tabular Classification Problems in a Secondcited by 643
  6. 2021Transformers Can Do Bayesian Inferencecited by 338
  7. 2021Thinking Like Transformerscited by 182
  8. 2024Transformers need glasses! Information over-squashing in language taskscited by 87
  9. 2023PFNs4BO: In-Context Learning for Bayesian Optimizationcited by 70
  10. 2023Pretraining Data Mixtures Enable Narrow Model Selection Capabilities in Transformer Modelscited by 45
  11. 2020Understanding Variational Inference in Function-Spacecited by 40
  12. 2023Efficient Bayesian Learning Curve Extrapolation using Prior-Data Fitted Networkscited by 37
1 more
  1. 2024In-Context Freeze-Thaw Bayesian Optimization for Hyperparameter Optimizationcited by 26

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 5; 2026: 1.

6 papers.