Transformers without Tears: Improving the Normalization of Self-Attention
Authors: Toan Q. Nguyen, Julian Salazar
AI-generated Key Points
⚠The license of the paper does not allow us to build upon its content and the key points are generated using the paper metadata rather than the full article.
- Authors Toan Q. Nguyen and Julian Salazar evaluate three normalization-centric changes to improve Transformer training:
- Implementation of pre-norm residual connections (PreNorm) and smaller initializations for warmup-free, validation-based training with large learning rates.
- Introduction of $\ell_2$ normalization with a single scale parameter (ScaleNorm) for faster training and better performance outcomes.
- Affirmation of normalizing word embeddings to a fixed length (FixNorm).
- Study focuses on low-resource translation pairs from TED Talks-based corpora, showing consistent convergence and an average improvement of +1.1 BLEU over state-of-the-art bilingual baselines.
- Notable achievement of a new high score of 32.8 BLEU on the IWSLT'15 English-Vietnamese translation task.
- Observations include sharper performance curves, more consistent gradient norms, and a linear relationship between activation scaling and decoder depth due to proposed modifications.
- In the high-resource setting represented by the WMT'14 English-German translation task, ScaleNorm and FixNorm remain competitive while PreNorm exhibits a degradation in performance.
- Research emphasizes the importance of normalization-centric adjustments in enhancing Transformer training processes and improving translation performance across different language pairs and resource levels.
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 $\ell_2$ 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 English-German), ScaleNorm and FixNorm remain competitive but PreNorm degrades performance.
Ask questions about this paper to our AI assistant
You can also chat with multiple papers at once here.
⚠The license of the paper does not allow us to build upon its content and the AI assistant only knows about the paper metadata rather than the full article.
The previous summary was created more than a year ago and can be re-run (if necessary) by clicking on the Run button below.
⚠The license of this specific paper does not allow us to build upon its content and the summarizing tools will be run using the paper metadata rather than the full article. However, it still does a good job, and you can also try our tools on papers with more open licenses.
Similar papers summarized with our AI tools
Navigate through even more similar papers through a
tree representationLook for similar papers (in beta version)
By clicking on the button above, our algorithm compares the title and abstract of this paper with all the papers of the same arXiv category that we have summarized, and finds the closest ones. You can rerun it from time to time: the results improve as our database grows.
Disclaimer: The AI-based summarization tool and virtual assistant provided on this website may not always provide accurate and complete summaries or responses. We encourage you to carefully review and evaluate the generated content to ensure its quality and relevance to your needs.