Transformers without Tears: Improving the Normalization of Self-Attention
Toan Q. Nguyen, Julian Salazar

TL;DR
This paper explores normalization techniques in Transformer models, demonstrating that specific normalization strategies improve training stability, efficiency, and translation performance across low-resource and high-resource language tasks.
Contribution
The paper introduces and evaluates three normalization-centric modifications—PreNorm residuals, ScaleNorm, and FixNorm—that enhance Transformer training and translation quality.
Findings
PreNorm and smaller initializations enable warmup-free training with large learning rates.
ScaleNorm accelerates training and improves translation performance.
Normalizing word embeddings to fixed length benefits low-resource translation tasks.
Abstract
We evaluate three simple, normalization-centric changes to improve Transformer training. First, we show that pre-norm residual connections (PreNorm) and smaller initializations enable warmup-free, validation-based training with large learning rates. Second, we propose normalization with a single scale parameter (ScaleNorm) for faster training and better performance. Finally, we reaffirm the effectiveness of normalizing word embeddings to a fixed length (FixNorm). On five low-resource translation pairs from TED Talks-based corpora, these changes always converge, giving an average +1.1 BLEU over state-of-the-art bilingual baselines and a new 32.8 BLEU on IWSLT'15 English-Vietnamese. We observe sharper performance curves, more consistent gradient norms, and a linear relationship between activation scaling and decoder depth. Surprisingly, in the high-resource setting (WMT'14…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsTopic Modeling · Natural Language Processing Techniques · Speech Recognition and Synthesis
MethodsLinear Layer · Absolute Position Encodings · Position-Wise Feed-Forward Layer · Residual Connection · Byte Pair Encoding · Dense Connections · Label Smoothing · *Communicated@Fast*How Do I Communicate to Expedia? · Adam · Softmax
