REVIEW 4 cited by
Which Attention Heads Matter for In-Context Learning?
Not yet reviewed by Pith; the record is open.
This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.
SPECIMEN: schema-true, not a live event
T0 review · schema-true
One-sentence machine reading of the paper's core claim.
pith:XXXXXXXX · record.json · timestamp
read the original abstract
Large language models (LLMs) exhibit impressive in-context learning (ICL) capability, enabling them to perform new tasks using only a few demonstrations in the prompt. Two different mechanisms have been proposed to explain ICL: induction heads that find and copy relevant tokens, and function vector (FV) heads whose activations compute a latent encoding of the ICL task. To better understand which of the two distinct mechanisms drives ICL, we study and compare induction heads and FV heads in 12 language models. Through detailed ablations, we discover that few-shot ICL performance depends primarily on FV heads, especially in larger models. In addition, we uncover that FV and induction heads are connected: many FV heads start as induction heads during training before transitioning to the FV mechanism. This leads us to speculate that induction facilitates learning the more complex FV mechanism that ultimately drives ICL.
Forward citations
Cited by 4 Pith papers
-
Compressed Sensing for Capability Localization in Large Language Models
LLM capabilities are concentrated in small sets of attention heads, and a compressed-sensing method can find those heads efficiently.
-
Predicting the Emergence of Induction Heads in Language Model Pretraining
A fitted law UPT = T/√(BC) predicts when induction heads emerge, and a Pareto frontier in bigram repetition frequency/reliability separates data that produce induction heads from data that do not.
-
CompressKV: Semantic Retrieval Heads Know What Tokens are Not Important Before Generation
A method that uses a handful of 'semantic retrieval heads' instead of all attention heads to decide which key-value cache entries can be dropped, plus layer-wise cache budgeting, reportedly beats prior KV compression ...
-
Distinct Computations Emerge From Compositional Curricula in In-Context Learning
When transformer models see easy component examples before a harder combined math problem in one prompt, they solve unseen versions of the combined problem and store intermediate steps internally, unlike models traine...
Discussion (0). Continue with ORCID to comment.