AI Paper Atlas

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

EMNLP 2021Architectures and efficiency › Attention and transformersapproach: Long-context KV and memory attention84 citations (OpenAlex)

RIKEN · Tohoku University

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

9measured effects
6improved
3hurt

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

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
add the residual connection to the attention analysis (AttnRes-n vs Attn-n) (ablation)norm-based analysis · Wikipedia, BERT-basemean mixing ratio (%): 85.2 -> 22.3Improved
add layer normalization to the analysis (AttnResLn-n vs AttnRes-n) (ablation)norm-based analysis · Wikipedia, BERT-basemean mixing ratio (%): 22.3 -> 18.8Improved
add layer normalization to the analysis (AttnResLn-n vs AttnRes-n) (ablation)norm-based analysis · Wikipedia, RoBERTa-basemean mixing ratio (%): 19.6 -> 16.2Improved
assume equal 0.5 weighting of ATTN and RES (AttnRes-w) instead of measuring norms (ablation)attention-weight analysis · Wikipedia, BERT-basemean mixing ratio (%): 48.6 vs 18.8 (AttnResLn-n)Hurt
reduce model size (fewer layers)BERT · Wikipediamixing ratio: 15% (BERT-large) -> 37% (BERT-tiny)Hurt
use larger models (BERT-base/large vs smaller)BERT · Wikipediaexpansion 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-baseSpearman'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 relationBERT · Wikipediacorrelation of frequency rank and mixing ratioHurt
compare [MASK] tokens with all tokens in middle/deep layersAttnResLn-n · Wikipedia, BERT-basemixing ratio (%): 15-20% overall -> 19-30% for [MASK]Improved

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