Research map / Architectures and efficiency / Attention and transformers
On the Expressivity Role of LayerNorm in Transformers' Attention
Shaked Brody, Uri Alon, Eran Yahav
Technion · Carnegie Mellon University
Read the paperPlace an idea next to itCheck your own paper ↗
5measured effects
5improved
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 |
|---|---|---|---|
| keep the projection component of LayerNorm (ablation) | 1-layer Transformer encoder, d=8 · majority task | training steps to converge: without projection required 3x more steps | Improved |
| keep the projection component of LayerNorm (ablation) | 1-layer Transformer encoder · majority task | test accuracy | Improved |
| keep the scaling component of LayerNorm (ablation) | 4-layer LM, layer 1 · unselectable keys | fraction of unselectable keys: 51.0 -> 0 | Improved |
| keep the scaling component of LayerNorm (ablation) | 4-layer LM, layer 2 · unselectable keys | fraction of unselectable keys: 32.2 -> 0 | Improved |
| keep the scaling component of LayerNorm (ablation) | 4-layer LM (GPT-2 style, d=8) · Wikipedia language modeling | training and test loss | Improved |
Open problems in attention head and block redesign
Do attention redesigns still help at large scale, or only in small models and carefully set conditions?
- Theory rests on simplifying assumptions that real transformers break. · 13 papers state it
- Tested only on small models, not at LLM scale. · 12 papers state it
- Gains over the baseline attention are small or mixed. · 10 papers state it
Closest papers by meaning
- Impact of Layer Norm on Memorization and Generalization in Transformers (NeurIPS 2025 · similarity 0.91)
- On the Role of Attention Masks and LayerNorm in Transformers (NeurIPS 2024 · similarity 0.91)
- AttnLRP: Attention-Aware Layer-Wise Relevance Propagation for Transformers (ICML 2024 · similarity 0.89)
- JoMA: Demystifying Multilayer Transformers via Joint Dynamics of MLP and Attention (ICLR 2024 · similarity 0.88)
- Transformer Layers as Painters (AAAI 2025 · similarity 0.88)
- Talking Heads: Understanding Inter-Layer Communication in Transformer Language Models (NeurIPS 2024 · 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.