mlsanityData to 14 Oct 2026

Momentum Transformer: Closing the Performance Gap Between Self-attention and Its Linearization

arXiv 2208.00579 ↗First posted 1 Aug 2022cs.LG cs.NA math.NAcited by 4

Not on the map. Why?

Abstract (arXiv)

Transformers have achieved remarkable success in sequence modeling and beyond but suffer from quadratic computational and memory complexities with respect to the length of the input sequence. Leveraging techniques include sparse and linear attention and hashing tricks; efficient transformers have been proposed to reduce the quadratic complexity of transformers but significantly degrade the accuracy. In response, we first interpret the linear attention and residual connections in computing the attention map as gradient descent steps. We then introduce momentum into these components and propose the momentum transformer, which utilizes momentum to improve the accuracy of linear transformers while maintaining linear memory and computational complexities. Furthermore, we develop an adaptive strategy to compute the momentum value for our model based on the optimal momentum for quadratic optimization. This adaptive momentum eliminates the need to search for the optimal momentum value and further enhances the performance of the momentum transformer. A range of experiments on both autoregressive and non-autoregressive tasks, including image generation and machine translation, demonstrate that the momentum transformer outperforms popular linear transformers in training efficiency and accuracy.

Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 54 of its 73 references that are in the map. First posted on arXiv 1 Aug 2022.

Builds on

54 of 73 references.

References · 54

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  4. 2020Language Models are Few-Shot Learnerscited by 32,419
  5. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  6. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  7. 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,513
  8. 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
  9. 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,148
  10. 2020Longformer: The Long-Document Transformercited by 3,413
  11. 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,918
  12. 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,682
38 more
  1. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
  2. 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,850
  3. 2020Big Bird: Transformers for Longer Sequencescited by 1,684
  4. 2020Reformer: The Efficient Transformercited by 1,668
  5. 2020Rethinking Attention with Performerscited by 1,601
  6. 2019Generating Long Sequences with Sparse Transformerscited by 1,546
  7. 2020Linformer: Self-Attention with Linear Complexitycited by 1,474
  8. 2020Efficient Transformers: A Surveycited by 790
  9. 2018Image Transformercited by 772
  10. 2020Long Range Arena: A Benchmark for Efficient Transformerscited by 700
  11. 2020Efficient Content-Based Sparse Attention with Routing Transformerscited by 471
  12. 2021Nystr"omformer: A Nystr"om-Based Algorithm for Approximating Self-Attentioncited by 471
  13. 2017PixelCNN++: Improving the PixelCNN with Discretized Logistic Mixture Likelihood and Other Modificationscited by 417
  14. 2018Efficient Attention: Attention with Linear Complexitiescited by 368
  15. 2019Axial Attention in Multidimensional Transformerscited by 358
  16. 2021Random Feature Attentioncited by 354
  17. 2014Stochastic Gradient Hamiltonian Monte Carlocited by 343
  18. 2018Generating Wikipedia by Summarizing Long Sequencescited by 335
  19. 2020Sparse Sinkhorn Attentioncited by 251
  20. 2019Transformer Dissection: A Unified Understanding of Transformer's Attention via the Lens of Kernelcited by 213
  21. 2018Music Transformercited by 211
  22. 2017A Conceptual Introduction to Hamiltonian Monte Carlocited by 209
  23. 2020Synthesizer: Rethinking Self-Attention in Transformer Modelscited by 205
  24. 2018Deterministic Non-Autoregressive Neural Sequence Modeling by Iterative Refinementcited by 195
  25. 2019The Evolved Transformercited by 180
  26. 2019Blockwise Self-Attention for Long Document Understandingcited by 159
  27. 2018Character-Level Language Modeling with Deeper Self-Attentioncited by 138
  28. 2020Fast Transformers with Clustered Attentioncited by 123
  29. 2017Structured Attention Networkscited by 95
  30. 2019Augmenting Self-attention with Persistent Memorycited by 93
  31. 2020Challenges in Information-Seeking QA: Unanswerable Questions and Paragraph Retrievalcited by 44
  32. 2021Heavy Ball Neural Ordinary Differential Equationscited by 42
  33. 2017Adaptive Sampled Softmax with Kernel Based Samplingcited by 38
  34. 2019Sampled Softmax with Random Fourier Featurescited by 33
  35. 2021FMMformer: Efficient and Flexible Transformer via Decomposed Near-field and Far-field Attentioncited by 26
  36. 2020Scheduled Restart Momentum for Accelerated Stochastic Gradient Descentcited by 24
  37. 2020MomentumRNN: Integrating Momentum into Recurrent Neural Networkscited by 18
  38. 2018Optimization Algorithm Inspired Deep Neural Network Structure Designcited by 14

50 most cited of 54 All 54 (JSON)

Built on by

Cited by year

Citing papers per year: 2024: 2; 2025: 2.

4 papers.