mlsanityData to 7 Oct 2026

Wide Attention Is The Way Forward For Transformers?

arXiv 2210.00640 ↗First posted 2 Oct 2022cs.LGcited by 8

Not on the map. Why?

Abstract (arXiv)

The Transformer is an extremely powerful and prominent deep learning architecture. In this work, we challenge the commonly held belief in deep learning that going deeper is better, and show an alternative design approach that is building wider attention Transformers. We demonstrate that wide single layer Transformer models can compete with or outperform deeper ones in a variety of Natural Language Processing (NLP) tasks when both are trained from scratch. The impact of changing the model aspect ratio on Transformers is then studied systematically. This ratio balances the number of layers and the number of attention heads per layer while keeping the total number of attention heads and all other hyperparameters constant. On average, across 4 NLP tasks and 10 attention types, single layer wide models perform 0.3% better than their deep counterparts. We show an in-depth evaluation and demonstrate how wide models require a far smaller memory footprint and can run faster on commodity hardware, in addition, these wider models are also more interpretable. For example, a single layer Transformer on the IMDb byte level text classification has 3.1x faster inference latency on a CPU than its equally accurate deeper counterpart, and is half the size. We therefore put forward wider and shallower models as a viable and desirable alternative for small models on NLP tasks, and as an important area of research for domains beyond this.

Key facts. Cited by 8 papers in the map (data through 7 Oct 2026). Builds on 28 of its 35 references that are in the map. First posted on arXiv 2 Oct 2022.

Builds on

28 of 35 references.

References · 28

  1. 2017Attention Is All You Needcited by 59,932
  2. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  3. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  4. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  5. 2020Longformer: The Long-Document Transformercited by 3,362
  6. 2016Wide Residual Networkscited by 3,057
  7. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
  8. 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,960
  9. 2020Big Bird: Transformers for Longer Sequencescited by 1,673
  10. 2020Reformer: The Efficient Transformercited by 1,658
  11. 2020Rethinking Attention with Performerscited by 1,584
  12. 2019Generating Long Sequences with Sparse Transformerscited by 1,523
16 more
  1. 2020Linformer: Self-Attention with Linear Complexitycited by 1,462
  2. 2021PVT v2: Improved Baselines with Pyramid Vision Transformercited by 749
  3. 2020Long Range Arena: A Benchmark for Efficient Transformerscited by 696
  4. 2018Explaining Explanations: An Overview of Interpretability of Machine Learningcited by 508
  5. 2018Generating Wikipedia by Summarizing Long Sequencescited by 333
  6. 2020Sparse Sinkhorn Attentioncited by 250
  7. 2022cosFormer: Rethinking Softmax in Attentioncited by 212
  8. 2020Synthesizer: Rethinking Self-Attention in Transformer Modelscited by 204
  9. 2016Wider or Deeper: Revisiting the ResNet Model for Visual Recognitioncited by 184
  10. 2019The Evolved Transformercited by 180
  11. 2020HAT: Hardware-Aware Transformers for Efficient Natural Language Processingcited by 136
  12. 2021Go Wider Instead of Deepercited by 56
  13. 2019NAT: Neural Architecture Transformer for Accurate and Compact Architecturescited by 33
  14. 2022Neural Architecture Search on Efficient Transformers and Beyondcited by 17
  15. 2021RankNAS: Efficient Neural Architecture Search by Pairwise Rankingcited by 12
  16. 2020Finding Fast Transformers: One-Shot Neural Architecture Search by Component Compositioncited by 10

Built on by

Cited by year

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

8 papers.