AI Paper Atlas

Research map / Architectures and efficiency / Attention and transformers

Understanding the Difficulty of Training Transformers

Liyuan Liu, Xiaodong Liu, Jianfeng Gao, Weizhu Chen, Jiawei Han

EMNLP 2020Architectures and efficiency › Attention and transformersapproach: Transformer block and depth design410 citations (OpenAlex)

Microsoft · University of Illinois, Urbana Champaign

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

13measured effects
7improved
3no clear effect
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 batch / layer normalization

add layer normalization to ReZero · IWSLT'14 De-En · BLEU: 33.67±0.14 -> 34.67±0.08 Improved

What 447 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
fix gradient vanishing by switching decoder from Post-LN to Pre-LN (Post-LN encoder kept) (ablation)18-layer Transformer · WMT'14 En-De training stabilityconvergence: diverged -> divergedNo clear effect
replace Post-LN with Admin initializationPost-LN Transformer · WMT'14 En-De 12L-12LBLEU: failed -> 28.58Improved
replace Post-LN with Admin initializationPost-LN Transformer · WMT'14 En-De 18L-18LBLEU: failed -> 29.03Improved
use Admin instead of Pre-LNPre-LN Transformer · WMT'14 En-De 18L-18LBLEU: 28.38 -> 29.03Improved
use Admin instead of Pre-LNPre-LN Transformer · WMT'14 En-Fr 60L-12LBLEU: 43.10 -> 43.80Improved
use Admin instead of Post-LN on shallow modelPost-LN Transformer · WMT'14 En-De 6L-6LBLEU: 27.80 -> 27.90Improved
use Admin instead of Post-LNPost-LN Transformer · IWSLT'14 De-En smallBLEU: 35.64±0.23 -> 35.67±0.15No clear effect
use Pre-LN instead of Post-LNPost-LN Transformer · WMT'14 En-De 6L-6LBLEU: 27.80 -> 27.27Hurt
extend learning-rate warmup from 8k to 16k, 24k, 32k updates (ablation)18-layer Post-LN · WMT'14 En-DeconvergenceNo clear effect
remove warmup and grid-search optimizer hyper-parameters, use Admin (ablation)Post-LN Transformer · IWSLT'14 De-Enconvergence/BLEU: Post-LN diverges in 7 of 15 settingsImproved
apply ReZero initialization (small residual dependency) (ablation)Transformer-small · IWSLT'14 De-EnBLEU: 35.67±0.15 -> 33.67±0.14Hurt
add layer normalization to ReZero (ablation)ReZero · IWSLT'14 De-EnBLEU: 33.67±0.14 -> 34.67±0.08Improved

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