mlsanityData to 7 Oct 2026

Multi-head or Single-head? An Empirical Comparison for Transformer Training

arXiv 2106.09650 ↗First posted 17 Jun 2021cs.CL cs.LGcited by 15

Not on the map. Why?

Abstract (arXiv)

Multi-head attention plays a crucial role in the recent success of Transformer models, which leads to consistent performance improvements over conventional attention in various applications. The popular belief is that this effectiveness stems from the ability of jointly attending multiple positions. In this paper, we first demonstrate that jointly attending multiple positions is not a unique feature of multi-head attention, as multi-layer single-head attention also attends multiple positions and is more effective. Then, we suggest the main advantage of the multi-head attention is the training stability, since it has less number of layers than the single-head attention, when attending the same number of positions. For example, 24-layer 16-head Transformer (BERT-large) and 384-layer single-head Transformer has the same total attention head number and roughly the same model size, while the multi-head one is significantly shallower. Meanwhile, we show that, with recent advances in deep learning, we can successfully stabilize the training of the 384-layer Transformer. As the training difficulty is no longer a bottleneck, substantially deeper single-head Transformer achieves consistent performance improvements without tuning hyper-parameters.

Key facts. Cited by 15 papers in the map (data through 7 Oct 2026). Builds on 28 of its 36 references that are in the map. First posted on arXiv 17 Jun 2021.

Builds on

28 of 36 references.

References · 28

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2017Graph Attention Networkscited by 8,854
  4. 2016Layer Normalizationcited by 5,579
  5. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
  6. 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
  7. 2015Delving Deep into Rectifiers: Surpassing Human-Level Performance on ImageNet Classificationcited by 3,590
  8. 2016Gaussian Error Linear Units (GELUs)cited by 3,431
  9. 2020Reformer: The Efficient Transformercited by 1,658
  10. 2018Know What You Don't Know: Unanswerable Questions for SQuADcited by 1,538
  11. 2018Self-Attention with Relative Position Representationscited by 1,112
  12. 2015Effective Approaches to Attention-based Neural Machine Translationcited by 1,024
16 more
  1. 2020On Layer Normalization in the Transformer Architecturecited by 906
  2. 2019Are Sixteen Heads Really Better than One?cited by 803
  3. 2018Image Transformercited by 770
  4. 2019On the Variance of the Adaptive Learning Rate and Beyondcited by 763
  5. 2014Neural Turing Machinescited by 630
  6. 2019Stand-Alone Self-Attention in Vision Modelscited by 542
  7. 2019Learning Deep Transformer Models for Machine Translationcited by 309
  8. 2018Adaptive Input Representations for Neural Language Modelingcited by 226
  9. 2020Understanding the Difficulty of Training Transformerscited by 210
  10. 2018Music Transformercited by 207
  11. 2019The Evolved Transformercited by 180
  12. 2019Transformers without Tears: Improving the Normalization of Self-Attentioncited by 153
  13. 2018The Best of Both Worlds: Combining Recent Advances in Neural Machine Translationcited by 101
  14. 2019Convolutional Self-Attention Networkscited by 32
  15. 2020A Mixture of h-1 Heads is Better than h Headscited by 22
  16. 2021Memory-Efficient Differentiable Transformer Architecture Searchcited by 13

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 1; 2022: 2; 2023: 6; 2024: 4; 2025: 1; 2026: 1.

15 papers.

Sort:

By area: