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