Research map / Large language models / Language, safety and interpretability
Inferring Functionality of Attention Heads from their Parameters
Amit Elhelo, Mor Geva
Tel Aviv University
Read the paperPlace an idea next to itCheck your own paper ↗
10measured effects
2improved
5no clear effect
3hurt
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| remove heads MAPS identifies for the relation (ablation) | Pythia 12B · Country to capital task | accuracy: 0.97 -> 0.00 | Hurt |
| remove random heads instead of relation heads (ablation) | Pythia 12B · Country to capital task | accuracy: 0.97 -> 0.95 | No clear effect |
| remove relation heads and test a control task (ablation) | Pythia 12B · Country to capital control task | accuracy: 0.89 -> 0.90 | No clear effect |
| remove relation heads and test a control task (ablation) | Pythia 12B · Adj to comparative control task | accuracy: 0.92 -> 0.63 | Hurt |
| remove relation heads (ablation) | Pythia 12B · Verb to past tense task | accuracy: 0.22 -> 0.04 | No clear effect |
| let heads attend to context rather than only the source token | MAPS correlation, Llama-3.1 8B · Word to last letter | correlation: 0.67 -> 0.36 | Hurt |
| let heads attend to context rather than only the source token | MAPS correlation, Llama-3.1 8B · Name copying | correlation: 0.95 -> 0.95 | No clear effect |
| evaluate multi-token source entities instead of single tokens | MAPS correlation, GPT-2 xl / Pythia · 11 relations | correlation: 53 of 64 combinations within 0.05 or higher | No clear effect |
| apply threshold tau=15% to randomly initialized matrices | MAPS · GPT-2 xl relation heads | number of classified heads: 5 random vs 250 trained | Improved |
| use GPT-4o to describe salient mappings in heads | MAPS pipeline · Pythia 6.9B and GPT-2 xl | share of heads with a described pattern: 60%-96% in middle and upper layers vs 20%-60% in early and last layers | Improved |
Open problems in task vectors and steering
Does steering and task-vector localization found on small open models carry over to larger models, other languages and non-linear representations?
- Tested on a few open models of about 7B to 9B, so larger and other models are untested. · 37 papers state it
- Evidence comes from English text only. · 16 papers state it
- Steering assumes linear directions and tests only simple additive interventions. · 13 papers state it
Closest papers by meaning
- Heads up! Large Language Models Can Perform Tasks Without Your Instruction via Selective Attention Head Masking (ICML 2025 · similarity 0.90)
- Cognitive Mirrors: Exploring the Diverse Functional Roles of Attention Heads in LLM Reasoning (NeurIPS 2025 · similarity 0.89)
- Head Pursuit: Probing Attention Specialization in Multimodal Transformers (NeurIPS 2025 · similarity 0.88)
- Unveiling and Harnessing Hidden Attention Sinks: Enhancing Large Language Models without Training through Attention Calibration (ICML 2024 · similarity 0.88)
- Talking Heads: Understanding Inter-Layer Communication in Transformer Language Models (NeurIPS 2024 · similarity 0.88)
- Finding Interpretable Prompt-Specific Circuits in Language Models (NeurIPS 2026 · similarity 0.88)
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.