Skip to content
Transformer Circuits·Indexed by this site · Originally published· Alignment →SelectedAttention39

Anthropic research: induction heads may be the main mechanism for Transformer in-context learning

In-Context Learning and Induction Heads

AI summary

Anthropic's interpretability team proposed that induction heads may be the mechanism behind most in-context learning in large Transformers. An induction head consists of two layers of attention heads: the previous-token head writes the previous token's information into the current token, and the second head uses this to locate positions where the current token appeared earlier and copies the token that follows, achieving pattern completion of [A][B]...[A]→[B].

Why it was selected

Anthropic's interpretability team used six pieces of evidence to link induction heads to in-context learning, and provided reusable methods for observing ablation and phase transitions.

Read originaltransformer-circuits.pub