What has interpretability research shown about individual attention heads in trained transformers?
Same topic, related formats. Practice these next.
Same topic, related formats. Practice these next.
Trained heads visibly specialize (syntactic, positional, induction, rare token), but many are post hoc prunable, specialization and redundancy both hold.
Imagine handing one murder case to twelve detectives. They don't all duplicate each other's notes. One focuses on fingerprints, another on alibis, another on motive. Once the case is solved, you could have done it with fewer detectives, but during the investigation, you needed the whole team so the right specialization could emerge naturally. Attention heads work the same way: during training, they each gravitate toward a different relationship type in the data. After training, many of them are doing similar enough work that you can drop a chunk without losing much quality.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example.
Everything important, quickly.
Walk through Voita 2019 and Clark 2019 specialization findings, Olsson 2022 induction heads with their emergence pattern and ICL connection, Michel 2019 pruning evidence, and reconcile specialization with redundancy via the training vs inference distinction.
Real products, models, and research that use this idea.
What an interviewer would ask next. Try answering before peeking at the approach.
Red flags and common mistakes that signal junior thinking. Click to expand.
Asserting either that all heads are identical (wrong) or that no heads are redundant (also wrong). The interesting truth is both specialization and redundancy coexist.
The night-before-the-interview bullets. Scan these on the way to the call.
Primary sources. Skim if you want the original framing.