mlsanityData to 7 Oct 2026

On the Power of Convolution Augmented Transformer

arXiv 2407.05591 ↗First posted 8 Jul 2024cs.LG cs.CL cs.NEcited by 5

Not on the map. Why?

Abstract (arXiv)

The transformer architecture has catalyzed revolutionary advances in language modeling. However, recent architectural recipes, such as state-space models, have bridged the performance gap. Motivated by this, we examine the benefits of Convolution-Augmented Transformer (CAT) for recall, copying, and length generalization tasks. CAT incorporates convolutional filters in the K/Q/V embeddings of an attention layer. Through CAT, we show that the locality of the convolution synergizes with the global view of the attention. Unlike comparable architectures, such as Mamba or transformer, CAT can provably solve the associative recall (AR) and copying tasks using a single layer while also enjoying guaranteed length generalization. We also establish computational tradeoffs between convolution and attention by characterizing how convolution can mitigate the need for full attention by summarizing the context window and creating salient summary tokens to attend. Evaluations on real datasets corroborate our findings and demonstrate that CAT and its variations indeed enhance the language modeling performance.

Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 42 of its 49 references that are in the map. First posted on arXiv 8 Jul 2024.

Builds on

42 of 49 references.

References · 42

  1. 2017Attention Is All You Needcited by 59,932
  2. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  3. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
  4. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
  5. 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,424
  6. 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,734
  7. 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,283
  8. 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,085
  9. 2022In-context Learning and Induction Headscited by 930
  10. 2023Extending Context Window of Large Language Models via Positional Interpolationcited by 721
  11. 2016Language Modeling with Gated Convolutional Networkscited by 688
  12. 2022Hungry Hungry Hippos: Towards Language Modeling with State Space Modelscited by 495
30 more
  1. 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 490
  2. 2022On the Parameterization and Initialization of Diagonal State Space Modelscited by 418
  3. 2023Resurrecting Recurrent Neural Networks for Long Sequencescited by 397
  4. 2023Hyena Hierarchy: Towards Larger Convolutional Language Modelscited by 388
  5. 2022Diagonal State Spaces are as Effective as Structured State Spacescited by 350
  6. 2023The Impact of Positional Encoding on Length Generalization in Transformerscited by 319
  7. 2019CondConv: Conditionally Parameterized Convolutions for Efficient Inferencecited by 273
  8. 2024Repeat After Me: Transformers are Better than State Space Models at Copyingcited by 208
  9. 2023Landmark Attention: Random-Access Infinite Context Length for Transformerscited by 206
  10. 2024Simple linear attention language models balance the recall-throughput tradeoffcited by 197
  11. 2023Zoology: Measuring and Improving Recall in Efficient Language Modelscited by 188
  12. 2022Mega: Moving Average Equipped Gated Attentioncited by 178
  13. 2024Samba: Simple Hybrid State Space Models for Efficient Unlimited Context Language Modelingcited by 167
  14. 2016Using Fast Weights to Attend to the Recent Pastcited by 161
  15. 2022Liquid Structural State-Space Modelscited by 134
  16. 2024How Transformers Learn Causal Structure with Gradient Descentcited by 114
  17. 2024Can Mamba Learn How to Learn? A Comparative Study on In-Context Learning Taskscited by 104
  18. 2022What Makes Convolutional Models Great on Long Sequence Modeling?cited by 86
  19. 2023Max-Margin Token Selection in Attention Mechanismcited by 57
  20. 2024Mechanistic Design and Scaling of Hybrid Architecturescited by 57
  21. 2023JoMA: Demystifying Multilayer Transformers via JOint Dynamics of MLP and Attentioncited by 52
  22. 2023On the Role of Attention in Prompt-tuningcited by 49
  23. 2024Megalodon: Efficient LLM Pretraining and Inference with Unlimited Context Lengthcited by 46
  24. 2024Attention with Markov: A Framework for Principled Analysis of Transformers via Markov Chainscited by 39
  25. 2023On the Optimization and Generalization of Multi-head Attentioncited by 37
  26. 2024From Self-Attention to Markov Models: Unveiling the Dynamics of Generative Transformerscited by 34
  27. 2024Mechanics of Next Token Prediction with Self-Attentioncited by 34
  28. 2017Gated Orthogonal Recurrent Units: On Learning to Forgetcited by 31
  29. 2024In-Context Learning with Transformers: Softmax Attention Adapts to Function Lipschitznesscited by 22
  30. 2023Time-Parameterized Convolutional Neural Networks for Irregularly Sampled Time Seriescited by 5

Built on by

Cited by year

Citing papers per year: 2025: 5.

5 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024Linear Transformers with Learnable Kernel Functions are Better In-Context Models
  2. 2026Dynamic Short Convolutions Improve Transformers
  3. 2025Is Random Attention Sufficient for Sequence Modeling? Disentangling Trainable Components in the Transformer
  4. 2023Attention Alignment and Flexible Positional Embeddings Improve Transformer Length Extrapolation
  5. 2025Forgetting Transformer: Softmax Attention with a Forget Gate
  6. 2024A Training-free Sub-quadratic Cost Transformer Model Serving Framework With Hierarchically Pruned Attention
  7. 2024RecurFormer: Not All Transformer Heads Need Self-Attention
  8. 2025Analyzing Memorization in Large Language Models through the Lens of Model Attribution