mlsanityData to 7 Oct 2026

Breaking the Attention Bottleneck

arXiv 2406.10906 ↗First posted 16 Jun 2024cs.LG cs.CLcited by 1

Not on the map. Why?

Abstract (arXiv)

Attention-based transformers have become the standard architecture in many deep learning fields, primarily due to their ability to model long-range dependencies and handle variable-length input sequences. However, the attention mechanism with its quadratic complexity is a significant bottleneck in the transformer architecture. This algorithm is only uni-directional in the decoder and converges to a static pattern in over-parametrized decoder-only models. I address this issue by developing a generative function as attention or activation replacement. It still has the auto-regressive character by comparing each token with the previous one. In my test setting with nanoGPT this yields a smaller loss while having a smaller model. The loss further drops by incorporating an average context vector. This concept of attention replacement is distributed under the GNU AGPL v3 license at https://gitlab.com/Bachstelze/causal_generation.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 16 of its 25 references that are in the map. First posted on arXiv 16 Jun 2024.

Builds on

16 of 25 references.

References · 16

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
  3. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
  4. 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,307
  5. 2023The Linear Representation Hypothesis and the Geometry of Large Language Modelscited by 679
  6. 2021Linear Transformers Are Secretly Fast Weight Programmerscited by 471
  7. 2024Leave No Context Behind: Efficient Infinite Context Transformers with Infini-attentioncited by 194
  8. 2023Linearity of Relation Decoding in Transformer Language Modelscited by 190
  9. 2021An Attention Free Transformercited by 111
  10. 2021Fastformer: Additive Attention Can Be All You Needcited by 61
  11. 2024Lightning Attention-2: A Free Lunch for Handling Unlimited Sequence Lengths in Large Language Modelscited by 57
  12. 2024Nearest Neighbor Speculative Decoding for LLM Generation and Attributioncited by 26
4 more
  1. 2023Swift Parameter-free Attention Network for Efficient Super-Resolutioncited by 24
  2. 2023SEA: Sparse Linear Attention with Estimated Attention Maskcited by 10
  3. 2022Momentum Transformer: Closing the Performance Gap Between Self-attention and Its Linearizationcited by 4
  4. 2022Parameter-Free Average Attention Improves Convolutional Neural Network Performance (Almost) Free of Chargecited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.