atlas

Research map / Large language models / Language, safety and interpretability

Beyond Induction Heads: In-Context Meta Learning Induces Multi-Phase Circuit Emergence

ICML 2025 · Large language models › Language, safety and interpretability · approach: Reasoning mechanisms and failure modes · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Introduces In-Context Meta-Learning (ICML), a copy-task extension where the model must infer a task from context, and shows a 2-layer attention-only transformer passes through three circuit phases (bigram, semi-context, full-context) during training.

Problem

Induction heads explain ICL only when the answer appears in context; the mechanism by which transformers acquire meta-learning (task inference from examples) during training is unclear.

Approach

Extend the copy task to an in-context meta-learning setting where tasks define different item-label mappings, so the query answer must be inferred from context; track training dynamics via novel attention-based circuit metrics (bigram, label attention, chunk example) that reveal three phases with distinct circuits.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add the full-context circuit (FCC), binding example pairs and attending to labelsICML two-layer attention-only transformer · ICML setting (T=3)accuracy: approximately 75% -> 100%Helped
retain only the non-context circuit (NCC) (ablation)ICML two-layer attention-only transformer · ICML setting (T=3)accuracy: 100% -> 30--40%Hurt
retain only the semi-context circuit (SCC) (ablation)ICML two-layer attention-only transformer · ICML setting (T=3)accuracy: 100% -> approximately 75%Hurt
provide the full-context circuit (FCC) from the beginning (ablation)ICML two-layer attention-only transformer · ICML setting (T=3)training steps to 100% accuracy: single stepHelped
increase the number of tasksICML model · ICML settingPhase 1 accuracy: approximately proportional to 1/THurt
set the number of tasks to 1 instead of 3ICML model · ICML settingnumber of learning phasesHelped
increase the number of classes to large values (e.g., K=128,256)ICML model · ICML settingPhase 2 visibility: K=128,256Hurt
increase within-class variation epsilonICML model · ICML settingPhase 2 visibility: epsilon=1Hurt
increase class-sampling bias alphaICML model · ICML settingemergence of NCC or SCCHurt
increase task-sampling bias betaICML model · ICML settingaverage accuracy across tasksNo clear effect
increase the number of attention headsICML attention-only transformer · ICML settingsmoothness of accuracy improvementHelped
randomly permute labels within context pairsICML model · random-label OOD evaluationaccuracyMixed

Surprising findings

Limitations

Experimental setup

Datasets: SST2 (GLUE)

Benchmarks: SST2 (GLUE)

Metrics: accuracy loss bigram attention label attention chunk example attention random-label accuracy

Baselines: induction head (single-task copy setting)

Builds on: induction heads Data distributional properties drive emergent in-context learning Transformers learn in-context by gradient descent

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

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