Research map / Architectures and efficiency / Attention and transformers
GlobEnc: Quantifying Global Token Attribution by Incorporating the Whole Encoder Layer in Transformers
Ali Modarressi, Mohsen Fayyaz, Yadollah Yaghoobzadeh, Mohammad Taher Pilehvar
Iran University of Science and Technology · University of Tehran · Khatam 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 residual connection with actual context-mixing ratio to norm-based analysis · SST-2 validation · Spearman correlation with saliency: 0.44 -> 0.73 Improved
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 |
|---|---|---|---|
| use vector norms instead of raw attention weights (ablation) | attention rollout, BERT-base · SST-2 validation | Spearman correlation with saliency: -0.11 -> 0.44 | Improved |
| add residual connection with actual context-mixing ratio to norm-based analysis (ablation) | N, BERT-base · SST-2 validation | Spearman correlation with saliency: 0.44 -> 0.73 | Improved |
| add a fixed 0.5 residual instead of none (ablation) | N, BERT-base · MNLI validation | Spearman correlation with saliency: 0.47 -> 0.55 | Improved |
| use dynamic context-mixing ratio instead of fixed 0.5 for weight-based (ablation) | W, BERT-base · HateXplain validation | Spearman correlation with saliency: 0.13 -> 0.53 | Improved |
| add layer norm 1 (LN#1) to residual norm-based analysis alone (ablation) | N_Res, BERT-base · SST-2 validation | Spearman correlation with saliency: 0.73 -> -0.21 | Hurt |
| add layer norm 2 together with layer norm 1 (N_Enc) (ablation) | N_ResLN, BERT-base · SST-2 validation | Spearman correlation with saliency: -0.21 -> 0.77 | Improved |
| add LN#2 to N_Res (full GlobEnc) (ablation) | N_Res, BERT-base · SST-2 validation | Spearman correlation with saliency: 0.73 -> 0.77 | Improved |
| add LN#2 to N_Res (full GlobEnc) (ablation) | N_Res, BERT-base · MNLI validation | Spearman correlation with saliency: 0.75 -> 0.78 | Improved |
| aggregate layers with rollout instead of single layer (ablation) | N_Enc, BERT-base · SST-2 validation, layer 12 | Spearman correlation with saliency: +.41 -> +.77 | Improved |
| add LN#2 to N_Res on a single layer (no aggregation) (ablation) | N_Res, BERT-base · SST-2 validation, layer 12 | Spearman correlation with saliency: +.41 -> +.41 | No clear effect |
| replace BERT-base with BERT-large for GlobEnc | GlobEnc · SST-2 validation | Spearman correlation with saliency: 0.77 -> 0.83 | Improved |
| apply GlobEnc to ELECTRA-base instead of N_Res (ablation) | GlobEnc · HateXplain validation | Spearman correlation with saliency: 0.44 -> 0.47 | 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
- ENAT: Rethinking Spatial-temporal Interactions in Token-based Image Synthesis (NeurIPS 2024 · similarity 0.86)
- Dynamical Properties of Tokens in Self-Attention and Effects of Positional Encoding (NeurIPS 2025 · similarity 0.86)
- Looking Beyond the Top-1: Transformers Determine Top Tokens in Order (ICML 2025 · similarity 0.86)
- On the Emergence of Position Bias in Transformers (ICML 2025 · similarity 0.86)
- Token Transformation Matters: Towards Faithful Post-hoc Explanation for Vision Transformer (CVPR 2024 · similarity 0.86)
- JoMA: Demystifying Multilayer Transformers via Joint Dynamics of MLP and Attention (ICLR 2024 · similarity 0.85)
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.