Research map / Architectures and efficiency / Attention and transformers
Reversed Attention: On The Gradient Descent Of Attention Layers In GPT
Shahar Katz, Lior Wolf
Tel Aviv University
Read the paperPlace an idea next to itCheck your own paper ↗
8measured effects
6improved
2hurt
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 |
|---|---|---|---|
| inject averaged RA maps into forward attention (attention patching) | GPT2-xl · antonym ICL (N=1) | accuracy: 0.18 -> 0.56 | Improved |
| inject averaged RA maps into forward attention | GPT2-xl · capitalize ICL (N=0) | accuracy: 0.00 -> 0.94 | Improved |
| inject averaged forward attention maps instead of RA (ablation) | GPT2-xl · choose-middle-of-3 ICL (N=10) | accuracy: 0.97 -> 0.00 | Hurt |
| inject averaged forward attention maps (FA patching) (ablation) | GPT2-xl · antonym ICL (N=1) | accuracy: 0.18 -> 0.43 | Improved |
| rank heads by RA norm vs causal mediation, 0-shot | GPT2-xl / Llama2-7B · perturbation test | AUC | Hurt |
| rank heads by RA norm vs causal mediation with 5 or 10 shots | GPT2-xl, OPT, GPT-j, Llama2-7B · ICL perturbation test | AUC | Improved |
| rank heads by RA norm on larger models | Llama2-7B · ICL perturbation test | AUC | Improved |
| rank heads by RA norm when model already accurate on natural-language tasks | LMs · natural-language perturbation test (0-shot) | AUC | Improved |
Open problems in attention head mechanisms
Do the attention-head mechanisms and length-generalization results hold in full-scale, real-world models?
- Mechanisms are shown only at small scale, with larger models untested. · 19 papers state it
- Theory covers only one-layer or attention-only transformers. · 14 papers state it
- Findings come from synthetic or toy tasks that may not match natural language. · 12 papers state it
Closest papers by meaning
- Talking Heads: Understanding Inter-Layer Communication in Transformer Language Models (NeurIPS 2024 · similarity 0.88)
- Unveiling and Harnessing Hidden Attention Sinks: Enhancing Large Language Models without Training through Attention Calibration (ICML 2024 · similarity 0.88)
- Rethinking Attention: Exploring Shallow Feed-Forward Neural Networks as an Alternative to Attention Layers in Transformers (Student Abstract) (AAAI 2024 · similarity 0.87)
- From Attention to Activation: Unraveling the Enigmas of Large Language Models (ICLR 2025 · similarity 0.87)
- The Hedgehog & the Porcupine: Expressive Linear Attentions with Softmax Mimicry (ICLR 2024 · similarity 0.87)
- Understanding Differential Transformer Unchains Pretrained Self-Attentions (NeurIPS 2025 · similarity 0.87)
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.