scimeatlas

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

NAACL 2022Architectures and efficiency › Attention and transformersapproach: Attention head and block redesignopen problems in this approach69 citations (OpenAlex)

Iran University of Science and Technology · University of Tehran · Khatam University

Read the paperPlace an idea next to itCheck your own paper ↗

12measured effects
10improved
1no clear effect
1hurt

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

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 changedWhereMeasuredEffect
use vector norms instead of raw attention weights (ablation)attention rollout, BERT-base · SST-2 validationSpearman correlation with saliency: -0.11 -> 0.44Improved
add residual connection with actual context-mixing ratio to norm-based analysis (ablation)N, BERT-base · SST-2 validationSpearman correlation with saliency: 0.44 -> 0.73Improved
add a fixed 0.5 residual instead of none (ablation)N, BERT-base · MNLI validationSpearman correlation with saliency: 0.47 -> 0.55Improved
use dynamic context-mixing ratio instead of fixed 0.5 for weight-based (ablation)W, BERT-base · HateXplain validationSpearman correlation with saliency: 0.13 -> 0.53Improved
add layer norm 1 (LN#1) to residual norm-based analysis alone (ablation)N_Res, BERT-base · SST-2 validationSpearman correlation with saliency: 0.73 -> -0.21Hurt
add layer norm 2 together with layer norm 1 (N_Enc) (ablation)N_ResLN, BERT-base · SST-2 validationSpearman correlation with saliency: -0.21 -> 0.77Improved
add LN#2 to N_Res (full GlobEnc) (ablation)N_Res, BERT-base · SST-2 validationSpearman correlation with saliency: 0.73 -> 0.77Improved
add LN#2 to N_Res (full GlobEnc) (ablation)N_Res, BERT-base · MNLI validationSpearman correlation with saliency: 0.75 -> 0.78Improved
aggregate layers with rollout instead of single layer (ablation)N_Enc, BERT-base · SST-2 validation, layer 12Spearman correlation with saliency: +.41 -> +.77Improved
add LN#2 to N_Res on a single layer (no aggregation) (ablation)N_Res, BERT-base · SST-2 validation, layer 12Spearman correlation with saliency: +.41 -> +.41No clear effect
replace BERT-base with BERT-large for GlobEncGlobEnc · SST-2 validationSpearman correlation with saliency: 0.77 -> 0.83Improved
apply GlobEnc to ELECTRA-base instead of N_Res (ablation)GlobEnc · HateXplain validationSpearman correlation with saliency: 0.44 -> 0.47Improved

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?

All 5 open problems and what was already tried →

Closest papers by meaning

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.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy