On Difficulties of Attention Factorization through Shared Memory
Not on the map. Why?
Abstract (arXiv)
Transformers have revolutionized deep learning in numerous fields, including natural language processing, computer vision, and audio processing. Their strength lies in their attention mechanism, which allows for the discovering of complex input relationships. However, this mechanism's quadratic time and memory complexity pose challenges for larger inputs. Researchers are now investigating models like Linear Unified Nested Attention (Luna) or Memory Augmented Transformer, which leverage external learnable memory to either reduce the attention computation complexity down to linear, or to propagate information between chunks in chunk-wise processing. Our findings challenge the conventional thinking on these models, revealing that interfacing with the memory directly through an attention operation is suboptimal, and that the performance may be considerably improved by filtering the input signal before communicating with memory.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 10 of its 14 references that are in the map. First posted on arXiv 31 Mar 2024.
Builds on
10 of 14 references.
References · 10
- 2017Attention Is All You Needcited by 59,932
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
- 2021Perceiver: General Perception with Iterative Attentioncited by 1,089
- 2020Long Range Arena: A Benchmark for Efficient Transformerscited by 696
- 2018Universal Transformerscited by 613
- 2019Q-BERT: Hessian Based Ultra Low Precision Quantization of BERTcited by 355
- 2021Self-attention Does Not Need O(n2) Memorycited by 152
- 2021Luna: Linear Unified Nested Attentioncited by 96
- 2020Memformer: A Memory-Augmented Transformer for Sequence Modelingcited by 63
Built on by
Not cited yet.