AI Paper Atlas

Research map / Architectures and efficiency / Attention and transformers

Training dynamics of in-context learning

Proves how transformers acquire in-context learning and induction heads during training.

62 accepted papers at ICML, NeurIPS, ICLR, CVPR and AAAI (2022–2026) · an approach in Attention and transformers, keyword cluster “vision · vit · transformers”

State History Tried Checklist Preprints Who Export

Where it stands

Not enough benchmark data Fewer than four papers report the same benchmark, so there is no record to follow.

21 papers in 2023–24 and 40 in 2025–26 (at ICML, NeurIPS, ICLR, CVPR and AAAI); its share of the topic held steady, from 3.6% to 3.4%.

How this is decided

A benchmark is tracked when at least four papers of this approach report their own method on the same dataset and metric in at least two different years. Its record is the best number reported up to 2024 compared with the best reported in 2025–26: still improving means at least 1% better, flat means at most 0.2% better with at least two papers from 2025–26 trying. Numbers on a different scale from the rest (a fraction among percentages) and far outliers are left out. Results come from different papers with different setups, so they are signals, not head-to-head comparisons. The share of papers is counted at ICML, NeurIPS, ICLR, CVPR and AAAI.

How it got here

2016: 0162017: 0172018: 0182019: 0192020: 0202021: 0212022: 1222023: 1232024: 20242025: 22252026: 1826

Most cited paper of each year

Earliest papers here

What has been tried

42 papers here report 390 measured changes (a component added, removed or swapped, compared with a baseline): helped 52%, no clear effect 13%, hurt 26%, mixed 9%. Papers mostly publish changes that helped, so "helped" is over-represented.

Ablations in recent papers

What was changedMeasured onResultEffectPaper
Add an attention layer within the Mamba blocksVector MQAR · test loss (MSE)HelpedCan Mamba Learn How To Learn? A Comparative Study on In-Context Learning Tasks (ICML 2024 · 10 citations)
add tree-based SCMs to synthetic pretraining200 classification datasets · relative accuracyHelpedTabICL: A Tabular Foundation Model for In-Context Learning on Large Data (ICML 2025 · 9 citations)
replace head-specific shift magnitudes with one magnitude shared across headsVQAv2 · accuracy57.89 -> 59.64HurtMimic In-Context Learning for Multimodal Tasks (CVPR 2025 · 4 citations)
Add NGH¹, NGH², and NGH³ to RetNetRegBench, N=2500 · TVD0.392 -> 0.217HelpedIn-Context Language Learning: Architectures and Algorithms (ICML 2024 · 3 citations)
Add two fully-connected layers after the relational bottleneckLine oddball · lossHelpedMLPs Learn In-Context on Regression and Classification Tasks (ICLR 2025 · 2 citations)
Set β₂ to 0, preventing extra target attention to contextual labelsIn-context classification task · ICL accuracyNo clear effectThe mechanistic basis of data dependence and abrupt learning in an in-context classification task (ICLR 2024 · 2 citations)
Use a one-layer transformer embedding before the upper moduleLinear ICL pasting, D-dimensional, noise 0.1 · test riskHelpedHow Do Transformers Learn In-Context Beyond Simple Functions? A Case Study on Learning with Representations (ICLR 2024 · 2 citations)
Use multiple Layer 2 induction heads instead of restricting training to one headFew-shot Omniglot task · training dynamicsHelpedWhat needs to go right for an induction head? A mechanistic study of in-context learning circuits and their formation (ICML 2024 · 2 citations)
concatenate an irrelevant GSM-IC sentence to an SST-2 input-label pairSST-2 attention analysis, 100 evaluation prompts · attention correlation magnitudeMixedWhy Larger Language Models Do In-context Learning Differently? (ICML 2024 · 2 citations)
Increase task Lipschitzness LLipschitzness ablation · attention matrix spectral norm ||M||HelpedIn-Context Learning with Transformers: Softmax Attention Adapts to Function Lipschitzness (NeurIPS 2024 · 2 citations)
Add extra context loss instead of extra weights lossShape3D D_rnd · accuracyλ = 0.1No clear effectBreaking through the learning plateaus of in-context learning in Transformer (ICML 2024 · 1 citation)
sample pre-training task vectors randomly instead of using the rectangular rulemodular arithmetic out-of-distribution generalization · accuracyHurtLearning to grok: Emergence of in-context learning and skill composition in modular arithmetic tasks (NeurIPS 2024 · 1 citation)

What reviewers will expect

Datasets and baselines named in the 28 papers of this approach from 2025–2026 that have a full-text summary. Leaving out the common ones is a frequent review question.

Baselines

  • LoRA · 2 of 28 papers
  • Zero-shot · 2 of 28 papers
  • dMMSE estimator · 2 of 28 papers

Recent preprints

Loading recent arXiv preprints…

    Who publishes on it

    Institutions on the most papers of this approach since 2023 (of 61 papers; from OpenAlex and the papers' affiliations).

    Use it

    Download BibTeX of 22 key papersOpen the topic in the interactive map

    Get alerts. Describe your idea in scime atlas and save it (free scime account): you get a weekly email when new preprints land close to it.

    Same keyword cluster

    Elsewhere in the topic

    Benchmark numbers, ablations and baseline numbers are extracted by AI from each paper's full text and can be wrong; the paper is the authority. Data: results index of 2026-11-02, citation counts from OpenAlex (2026-10-09).

    Get the next scime Dispatch and a monthly field update

    Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy