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