mlsanityData to 14 Oct 2026

B2T Connection: Serving Stability and Performance in Deep Transformers

arXiv 2206.00330 ↗First posted 1 Jun 2022cs.LG cs.CLcited by 16

Not on the map. Why?

Abstract (arXiv)

From the perspective of the layer normalization (LN) positions, the architectures of Transformers can be categorized into two types: Post-LN and Pre-LN. Recent Transformers tend to be Pre-LN because, in Post-LN with deep Transformers (e.g., those with ten or more layers), the training is often unstable, resulting in useless models. However, Post-LN has consistently achieved better performance than Pre-LN in relatively shallow Transformers (e.g., those with six or fewer layers). This study first investigates the reason for these discrepant observations empirically and theoretically and made the following discoveries: 1, the LN in Post-LN is the main source of the vanishing gradient problem that leads to unstable training, whereas Pre-LN prevents it, and 2, Post-LN tends to preserve larger gradient norms in higher layers during the back-propagation, which may lead to effective training. Exploiting the new findings, we propose a method that can provide both high stability and effective training by a simple modification of Post-LN. We conduct experiments on a wide range of text generation tasks. The experimental results demonstrate that our method outperforms Pre-LN, and enables stable training regardless of the shallow or deep layer settings. Our code is publicly available at https://github.com/takase/b2t_connection.

Key facts. Cited by 16 papers in the map (data through 14 Oct 2026). Builds on 33 of its 41 references that are in the map. First posted on arXiv 1 Jun 2022.

Builds on

33 of 41 references.

References · 33

  1. 2017Attention Is All You Needcited by 60,361
  2. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  3. 2020Language Models are Few-Shot Learnerscited by 32,419
  4. 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 7,005
  5. 2016Layer Normalizationcited by 5,669
  6. 2016Pointer Sentinel Mixture Modelscited by 3,096
  7. 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,918
  8. 2018SentencePiece: A simple and language independent subword tokenizer and detokenizer for Neural Text Processingcited by 1,989
  9. 2016Identity Mappings in Deep Residual Networkscited by 1,965
  10. 2018A Call for Clarity in Reporting BLEU Scorescited by 1,799
  11. 2019fairseq: A Fast, Extensible Toolkit for Sequence Modelingcited by 1,488
  12. 2019Energy and Policy Considerations for Deep Learning in NLPcited by 1,254
21 more
  1. 2020On Layer Normalization in the Transformer Architecturecited by 922
  2. 2019Green AIcited by 627
  3. 2019Defending Against Neural Fake Newscited by 559
  4. 2015A Neural Attention Model for Abstractive Sentence Summarizationcited by 396
  5. 2019Learning Deep Transformer Models for Machine Translationcited by 309
  6. 2017OpenNMT: Open-source Toolkit for Neural Machine Translationcited by 251
  7. 2018Adaptive Input Representations for Neural Language Modelingcited by 226
  8. 2019Understanding and Improving Layer Normalizationcited by 217
  9. 2020Understanding the Difficulty of Training Transformerscited by 210
  10. 2018Scaling Neural Machine Translationcited by 204
  11. 2019Fixup Initialization: Residual Learning Without Normalizationcited by 198
  12. 2022DeepNet: Scaling Transformers to 1,000 Layerscited by 178
  13. 2020fairseq S2T: Fast Speech-to-Text Modeling with fairseqcited by 176
  14. 2015Training Very Deep Networkscited by 173
  15. 2018Tensor2Tensor for Neural Machine Translationcited by 85
  16. 2020RealFormer: Transformer Likes Residual Attentioncited by 62
  17. 2019Improving Deep Transformer with Depth-Scaled Initialization and Merged Attentioncited by 59
  18. 2019Positional Encoding to Control Output Sequence Lengthcited by 56
  19. 2018Training Deeper Neural Machine Translation Models with Transparent Attentioncited by 38
  20. 2018Exploiting Deep Representations for Neural Machine Translationcited by 23
  21. 2021Rethinking Perturbations in Encoder-Decoders for Fast Trainingcited by 17

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2023: 2; 2024: 2; 2025: 6; 2026: 6.

16 papers.

Sort:

By area: