Research map / Architectures and efficiency / Attention and transformers
LayerNorm Induces Recency Bias in Transformer Decoders
Junu Kim, Xiao Liu, Zhenghao Lin, Lei Ji, Yeyun Gong, Edward Choi
Microsoft · Korea Advanced Institute of Science and Technology
Read the paperPlace an idea next to itCheck your own paper ↗
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.
This paper tried a common change: Add residual connections
add residual connection · Simulation d=16 · recency probability: 0.6382 -> 0.5931 Hurt
What 616 accepted papers report for this change
- 510 improved
- 38 no clear effect
- 13 mixed
- 55 hurt
- Resolution as a Direction: Vector-Panning Feature Alignment for Cross-Resolution Re-Identification ICML 2026 · add residual connection to VP · MLR-Market-1501 · Rank-1 (%): 91.2 -> 94.1Improved
- MAGIC: Multi-Granularity Language-Informed Image Clustering ICML 2026 · add residual connection to semantic adapters · CIFAR-20 · ACC: 66.1 -> 59.9Hurt
- Domain Adaptive Object Detection via Dynamic Causal Refinement ICML 2026 · add residual connection to SCC · Cityscapes to Foggy Cityscapes (0.02 split) · mAP@50: 64.0 -> 64.6Improved
See this change in detailMatched by the wording of each paper's own result, read by AI from the full text. Papers report gains more often than failures, so this shows what gets published, not the chance a change works.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| add LayerNorm to stacked causal self-attention layers (ablation) | parameter-free causal attention stack, layer 2 · Simulation d=16 and d=64 | recency probability: without LayerNorm RP close to 0.5; with LayerNorm and alpha=0.5, RP 0.6382 (d=16), 0.5544 (d=64) | Improved |
| use anisotropic input embeddings (alpha=0.5) instead of isotropic (alpha=0) (ablation) | LayerNorm + causal attention, layer 2 · Simulation d=64 | recency probability: 0.5000 -> 0.5544 | Improved |
| use anisotropic input embeddings (alpha=0.5) instead of isotropic (alpha=0) (ablation) | LayerNorm + causal attention, layer 2 · Simulation d=16 | recency probability: 0.5015 -> 0.6382 | Improved |
| add residual connection (ablation) | LayerNorm + causal attention, alpha=0.5 · Simulation d=16 | recency probability: 0.6382 -> 0.5931 | Hurt |
| add residual connection (ablation) | LayerNorm + causal attention, alpha=0.5 · Simulation d=64 | recency probability: 0.5544 -> 0.5457 | Hurt |
| increase hidden size d from 16 to 64 (ablation) | LayerNorm + causal attention, alpha=0 · Simulation | recency probability: 0.5015 -> 0.5000 | Hurt |
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
- On the Emergence of Position Bias in Transformers (ICML 2025 · similarity 0.91)
- The underlying structures of self-attention: symmetry, directionality, and emergent dynamics in Transformer training (ICML 2025 · similarity 0.88)
- What are you sinking? A geometric approach on attention sink (NeurIPS 2025 · similarity 0.87)
- On the Role of Attention Masks and LayerNorm in Transformers (NeurIPS 2024 · similarity 0.87)
- Dynamical Properties of Tokens in Self-Attention and Effects of Positional Encoding (NeurIPS 2025 · similarity 0.86)
- Causality-Induced Positional Encoding for Transformer-Based Representation Learning of Non-Sequential Features (NeurIPS 2025 · similarity 0.86)
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.