Research map / Architectures and efficiency / Attention and transformers
Incorporating Residual and Normalization Layers into Analysis of Masked Language Models
Goro Kobayashi, Tatsuki Kuribayashi, Sho Yokoi, Kentaro Inui
RIKEN · Tohoku University
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 the residual connection to the attention analysis (AttnRes-n vs Attn-n) · Wikipedia, BERT-base · mean mixing ratio (%): 85.2 -> 22.3 Improved
What 561 accepted papers report for this change
- 461 improved
- 37 no clear effect
- 12 mixed
- 51 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 the residual connection to the attention analysis (AttnRes-n vs Attn-n) (ablation) | norm-based analysis · Wikipedia, BERT-base | mean mixing ratio (%): 85.2 -> 22.3 | Improved |
| add layer normalization to the analysis (AttnResLn-n vs AttnRes-n) (ablation) | norm-based analysis · Wikipedia, BERT-base | mean mixing ratio (%): 22.3 -> 18.8 | Improved |
| add layer normalization to the analysis (AttnResLn-n vs AttnRes-n) (ablation) | norm-based analysis · Wikipedia, RoBERTa-base | mean mixing ratio (%): 19.6 -> 16.2 | Improved |
| assume equal 0.5 weighting of ATTN and RES (AttnRes-w) instead of measuring norms (ablation) | attention-weight analysis · Wikipedia, BERT-base | mean mixing ratio (%): 48.6 vs 18.8 (AttnResLn-n) | Hurt |
| reduce model size (fewer layers) | BERT · Wikipedia | mixing ratio: 15% (BERT-large) -> 37% (BERT-tiny) | Hurt |
| use larger models (BERT-base/large vs smaller) | BERT · Wikipedia | expansion rate of ATTN affine transform: 0.88 (base), 0.80 (large) vs 1.24 (mini), 1.86 (tiny) | Improved |
| account for RES and LN when measuring frequency effect (ablation) | norm-based analysis · Wikipedia, BERT-base | Spearman's rho (frequency rank vs mixing ratio): 0.16 -> -0.84 (AttnRes-n), -0.54 (AttnResLn-n) | Improved |
| use smaller BERT variants for the frequency-mixing relation | BERT · Wikipedia | correlation of frequency rank and mixing ratio | Hurt |
| compare [MASK] tokens with all tokens in middle/deep layers | AttnResLn-n · Wikipedia, BERT-base | mixing ratio (%): 15-20% overall -> 19-30% for [MASK] | Improved |
Closest papers by meaning
- Talking Heads: Understanding Inter-Layer Communication in Transformer Language Models (NeurIPS 2024 · similarity 0.89)
- Unveiling Induction Heads: Provable Training Dynamics and Feature Learning in Transformers (NeurIPS 2024 · similarity 0.89)
- How Transformers Learn Regular Language Recognition: A Theoretical Study on Training Dynamics and Implicit Bias (ICML 2025 · similarity 0.89)
- Looking Beyond the Top-1: Transformers Determine Top Tokens in Order (ICML 2025 · similarity 0.88)
- Transformer Block Coupling and its Correlation with Generalization in LLMs (ICLR 2025 · similarity 0.88)
- From Attention to Activation: Unraveling the Enigmas of Large Language Models (ICLR 2025 · 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.
