Augmenting Self-attention with Persistent Memory
Not on the map. Why?
Abstract (arXiv)
Transformer networks have lead to important progress in language modeling and machine translation. These models include two consecutive modules, a feed-forward layer and a self-attention layer. The latter allows the network to capture long term dependencies and are often regarded as the key ingredient in the success of Transformers. Building upon this intuition, we propose a new model that solely consists of attention layers. More precisely, we augment the self-attention layers with persistent memory vectors that play a similar role as the feed-forward layer. Thanks to these vectors, we can remove the feed-forward layer without degrading the performance of a transformer. Our evaluation shows the benefits brought by our model on standard character and word level language modeling benchmarks.
Key facts. Cited by 92 papers in the map (data through 7 Oct 2026). First posted on arXiv 2 Jul 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 13; 2022: 16; 2023: 19; 2024: 20; 2025: 11; 2026: 13.
92 papers.
Sort:
By area:
- 2022Transformer Feed-Forward Layers Build Predictions by Promoting Concepts in the Vocabulary Spacecited by 522
- 2021Tip-Adapter: Training-free CLIP-Adapter for Better Vision-Language Modelingcited by 429
- 2021A Survey of Transformerscited by 399
- 2025Scaling up Test-Time Compute with Latent Reasoning: A Recurrent Depth Approachcited by 372
- 2024Titans: Learning to Memorize at Test Timecited by 303
- 2023Think before you speak: Training Language Models With Pause Tokenscited by 254
- 2022Memorizing Transformerscited by 219
- 2022Analyzing Transformers in Embedding Spacecited by 131
- 2025Lumina-Image 2.0: A Unified and Efficient Image Generative Frameworkcited by 93
- 2021Top-KAST: Top-K Always Sparse Trainingcited by 79
- 2022HyperPrompt: Prompt-based Task-Conditioning of Transformerscited by 67
- 2025Test-time regression: a unifying framework for designing sequence models with associative memorycited by 63
38 more
- 2021Memory-efficient Transformers via Top-k Attentioncited by 59
- 2023From Language Modeling to Instruction Following: Understanding the Behavior Shift in LLMs after Instruction Tuningcited by 56
- 2023A Study on ReLU and Softmax in Transformercited by 53
- 2022Universal Hopfield Networks: A General Framework for Single-Shot Associative Memory Modelscited by 52
- 2024Explainable and Interpretable Multimodal Large Language Models: A Comprehensive Surveycited by 52
- 2022The Dual Form of Neural Networks Revisited: Connecting Test Time Predictions to Training Patterns via Spotlights of Attentioncited by 45
- 2024WilKE: Wise-Layer Knowledge Editor for Lifelong Knowledge Editingcited by 40
- 2024Memory3: Language Modeling with Explicit Memorycited by 39
- 2022Retrieval-Augmented Transformer for Image Captioningcited by 38
- 2023Simplifying Transformer Blockscited by 37
- 2021When Attention Meets Fast Recurrence: Training Language Models with Reduced Computecited by 34
- 2021Not All Memories are Created Equal: Learning to Forget by Expiringcited by 32
- 2023Scaling Laws for Associative Memoriescited by 30
- 2021Attention Approximates Sparse Distributed Memorycited by 29
- 2021Mask Attention Networks: Rethinking and Strengthen Transformercited by 28
- 2021Improving Transformers with Probabilistic Attention Keyscited by 28
- 2023Transformer-VQ: Linear-Time Transformers via Vector Quantizationcited by 26
- 2023Goodtriever: Adaptive Toxicity Mitigation with Retrieval-augmented Modelscited by 23
- 2022Plug-and-Play Adaptation for Continuously-updated QAcited by 21
- 2022Exploiting Multiple Sequence Lengths in Fast End to End Training for Image Captioningcited by 18
- 2023With a Little Help from your own Past: Prototypical Memory Networks for Image Captioningcited by 18
- 2024Memory Mosaicscited by 16
- 2022A survey on attention mechanisms for medical applications: are we moving towards better algorithms?cited by 15
- 2021Layer-wise Pruning of Transformer Attention Heads for Efficient Language Modelingcited by 14
- 2022CaMEL: Mean Teacher Learning for Image Captioningcited by 14
- 2024Memorization in deep learning: A surveycited by 14
- 2024Beyond Scaling Laws: Understanding Transformer Performance with Associative Memorycited by 12
- 2024Distributional Associations vs In-Context Reasoning: A Study of Feed-forward and Attention Layerscited by 12
- 2024Human-inspired Perspectives: A Survey on AI Long-term Memorycited by 12
- 2025R3Mem: Bridging Memory Retention and Retrieval via Reversible Compressioncited by 12
- 2023Sparse Distributed Memory is a Continual Learnercited by 11
- 2024Position: An Inner Interpretability Framework for AI Inspired by Lessons from Cognitive Neurosciencecited by 11
- 2026Adaptive Loops and Memory in Transformers: Think Harder or Know More?cited by 11
- 2021RelTransformer: A Transformer-Based Long-Tail Visual Relationship Recognitioncited by 9
- 2023Towards A Unified View of Sparse Feed-Forward Network in Pretraining Large Language Modelcited by 9
- 2024Semformer: Transformer Language Models with Semantic Planningcited by 9
- 2024TokenFormer: Rethinking Transformer Scaling with Tokenized Model Parameterscited by 9
- 2025Learning to Insert [PAUSE] Tokens for Better Reasoningcited by 8
50 most cited of 92 All 92 (JSON)
- 2026SchemaMem: Schema-Indexed Recurrent Memory for Delayed State Retrieval27 Sep 2026
- 2026Back from the Future: Key-Value Cache Management by Counter-Causal Surprise30 Jul 2026
- 2026A Controlled Study of Attention-Only Transformers20 Jul 2026
- 2026PriorEye: Geospatial Visual Priors for End-to-End Autonomous Driving30 Jun 2026
- 2026A Unifying View of Attention Sinks: From Mechanisms to Architectural Interventions6 Jun 2026
- 2026Do Value Vectors in Deep Layers Need Context from the Residual Stream?1 Jun 2026
- 2026A Dual-Path Architecture for Scaling Compute and Capacity in LLMs28 May 2026
- 2026TIDE: Every Layer Knows the Token Beneath the Context7 May 2026
- 2026Mixture of Chapters: Scaling Learnt Memory in Transformers22 Mar 2026
- 2026Adaptive Loops and Memory in Transformers: Think Harder or Know More?9 Mar 2026
- 2026MemoryLLM: Plug-n-Play Interpretable Feed-Forward Memory for Transformers30 Jan 2026
- 2026MoVE: Mixture of Value Embeddings -- A New Axis for Scaling Parametric Memory in Autoregressive Models30 Jan 2026
38 more
- 2026Memory Retrieval in Transformers: Insights from The Encoding Specificity Principle28 Jan 2026
- 2025Memory Mosaics at scale4 Jul 2025
- 2025Attention-Only Transformers via Unrolled Subspace Denoising4 Jun 2025
- 2025Learning to Insert [PAUSE] Tokens for Better Reasoning4 Jun 2025
- 2025Amplify Adjacent Token Differences: Enhancing Long Chain-of-Thought Reasoning with Shift-FFN22 May 2025
- 2025SEReDeEP: Hallucination Detection in Retrieval-Augmented Models via Semantic Entropy and Context-Parameter Fusion12 May 2025
- 2025Attention Is Not All You Need: The Importance of Feedforward Networks in Transformer Models10 May 2025
- 2025What Do Large Language Models Know? Tacit Knowledge as a Potential Causal-Explanatory Structure16 Apr 2025
- 2025Lumina-Image 2.0: A Unified and Efficient Image Generative Framework27 Mar 2025
- 2025R3Mem: Bridging Memory Retention and Retrieval via Reversible Compression21 Feb 2025
- 2025Scaling up Test-Time Compute with Latent Reasoning: A Recurrent Depth Approach7 Feb 2025
- 2025Test-time regression: a unifying framework for designing sequence models with associative memory21 Jan 2025
- 2024Titans: Learning to Memorize at Test Time31 Dec 2024
- 2024Explainable and Interpretable Multimodal Large Language Models: A Comprehensive Survey3 Dec 2024
- 2024Simplifying CLIP: Unleashing the Power of Large-Scale Models on Consumer-level Computers22 Nov 2024
- 2024Human-inspired Perspectives: A Survey on AI Long-term Memory1 Nov 2024
- 2024TokenFormer: Rethinking Transformer Scaling with Tokenized Model Parameters30 Oct 2024
- 2024MINER: Mining the Underlying Pattern of Modality-Specific Neurons in Multimodal Large Language Models7 Oct 2024
- 2024Semformer: Transformer Language Models with Semantic Planning17 Sep 2024
- 2024Looking into Black Box Code Language Models5 Jul 2024
- 2024Memory3: Language Modeling with Explicit Memory1 Jul 2024
- 2024Learning Neural Networks with Sparse Activations26 Jun 2024
- 2024A Primal-Dual Framework for Transformers and Neural Networks19 Jun 2024
- 2024FreeCtrl: Constructing Control Centers with Feedforward Layers for Learning-Free Controllable Text Generation14 Jun 2024
- 2024Memorization in deep learning: A survey6 Jun 2024
- 2024Distributional Associations vs In-Context Reasoning: A Study of Feed-forward and Attention Layers5 Jun 2024
- 2024FFNet: MetaMixer-based Efficient Convolutional Mixer Design4 Jun 2024
- 2024Position: An Inner Interpretability Framework for AI Inspired by Lessons from Cognitive Neuroscience3 Jun 2024
- 2024Beyond Scaling Laws: Understanding Transformer Performance with Associative Memory14 May 2024
- 2024Memory Mosaics10 May 2024
- 2024F-MALLOC: Feed-forward Memory Allocation for Continual Learning in Neural Machine Translation7 Apr 2024
- 2024WilKE: Wise-Layer Knowledge Editor for Lifelong Knowledge Editing16 Feb 2024
- 2023Probabilistic Transformer: A Probabilistic Dependency Model for Contextual Word Representation26 Nov 2023
- 2023Simplifying Transformer Blocks3 Nov 2023
- 2023Goodtriever: Adaptive Toxicity Mitigation with Retrieval-augmented Models11 Oct 2023
- 2023Scaling Laws for Associative Memories4 Oct 2023
- 2023Think before you speak: Training Language Models With Pause Tokens3 Oct 2023
- 2023From Language Modeling to Instruction Following: Understanding the Behavior Shift in LLMs after Instruction Tuning30 Sep 2023
50 newest of 92 All 92 (JSON)
- 2025Scaling up Test-Time Compute with Latent Reasoning: A Recurrent Depth Approachcited by 372
- 2024Titans: Learning to Memorize at Test Timecited by 303
- 2023Think before you speak: Training Language Models With Pause Tokenscited by 254
- 2024Distributional Associations vs In-Context Reasoning: A Study of Feed-forward and Attention Layerscited by 12
- 2026Adaptive Loops and Memory in Transformers: Think Harder or Know More?cited by 11
- 2025Learning to Insert [PAUSE] Tokens for Better Reasoningcited by 8
- 2025Amplify Adjacent Token Differences: Enhancing Long Chain-of-Thought Reasoning with Shift-FFNcited by 1
- 2026Adaptive Loops and Memory in Transformers: Think Harder or Know More?9 Mar 2026
- 2025Learning to Insert [PAUSE] Tokens for Better Reasoning4 Jun 2025
- 2025Amplify Adjacent Token Differences: Enhancing Long Chain-of-Thought Reasoning with Shift-FFN22 May 2025
- 2025Scaling up Test-Time Compute with Latent Reasoning: A Recurrent Depth Approach7 Feb 2025
- 2024Titans: Learning to Memorize at Test Time31 Dec 2024
- 2024Distributional Associations vs In-Context Reasoning: A Study of Feed-forward and Attention Layers5 Jun 2024
- 2023Think before you speak: Training Language Models With Pause Tokens3 Oct 2023
- 2024Memory3: Language Modeling with Explicit Memorycited by 39
- 2022Retrieval-Augmented Transformer for Image Captioningcited by 38
- 2023Goodtriever: Adaptive Toxicity Mitigation with Retrieval-augmented Modelscited by 23
- 2025SEReDeEP: Hallucination Detection in Retrieval-Augmented Models via Semantic Entropy and Context-Parameter Fusioncited by 3
- 2025SEReDeEP: Hallucination Detection in Retrieval-Augmented Models via Semantic Entropy and Context-Parameter Fusion12 May 2025
- 2024Memory3: Language Modeling with Explicit Memory1 Jul 2024
- 2023Goodtriever: Adaptive Toxicity Mitigation with Retrieval-augmented Models11 Oct 2023
- 2022Retrieval-Augmented Transformer for Image Captioning26 Jul 2022
- 2021Tip-Adapter: Training-free CLIP-Adapter for Better Vision-Language Modelingcited by 429
- 2024Explainable and Interpretable Multimodal Large Language Models: A Comprehensive Surveycited by 52
- 2024MINER: Mining the Underlying Pattern of Modality-Specific Neurons in Multimodal Large Language Modelscited by 7
- 2024Explainable and Interpretable Multimodal Large Language Models: A Comprehensive Survey3 Dec 2024
- 2024MINER: Mining the Underlying Pattern of Modality-Specific Neurons in Multimodal Large Language Models7 Oct 2024
- 2021Tip-Adapter: Training-free CLIP-Adapter for Better Vision-Language Modeling6 Nov 2021
- 2022Transformer Feed-Forward Layers Build Predictions by Promoting Concepts in the Vocabulary Spacecited by 522
- 2021A Survey of Transformerscited by 399
- 2022Memorizing Transformerscited by 219
- 2022Analyzing Transformers in Embedding Spacecited by 131
- 2025Lumina-Image 2.0: A Unified and Efficient Image Generative Frameworkcited by 93
- 2021Top-KAST: Top-K Always Sparse Trainingcited by 79
- 2022HyperPrompt: Prompt-based Task-Conditioning of Transformerscited by 67
- 2025Test-time regression: a unifying framework for designing sequence models with associative memorycited by 63
- 2021Memory-efficient Transformers via Top-k Attentioncited by 59
- 2023From Language Modeling to Instruction Following: Understanding the Behavior Shift in LLMs after Instruction Tuningcited by 56
- 2023A Study on ReLU and Softmax in Transformercited by 53
- 2022Universal Hopfield Networks: A General Framework for Single-Shot Associative Memory Modelscited by 52
12 most cited of 74 All 74 (JSON)
- 2026SchemaMem: Schema-Indexed Recurrent Memory for Delayed State Retrieval27 Sep 2026
- 2026A Controlled Study of Attention-Only Transformers20 Jul 2026
- 2026A Unifying View of Attention Sinks: From Mechanisms to Architectural Interventions6 Jun 2026
- 2026Do Value Vectors in Deep Layers Need Context from the Residual Stream?1 Jun 2026
- 2026A Dual-Path Architecture for Scaling Compute and Capacity in LLMs28 May 2026
- 2026TIDE: Every Layer Knows the Token Beneath the Context7 May 2026
- 2026Mixture of Chapters: Scaling Learnt Memory in Transformers22 Mar 2026
- 2026MemoryLLM: Plug-n-Play Interpretable Feed-Forward Memory for Transformers30 Jan 2026
- 2026MoVE: Mixture of Value Embeddings -- A New Axis for Scaling Parametric Memory in Autoregressive Models30 Jan 2026
- 2025Memory Mosaics at scale4 Jul 2025
- 2025Attention-Only Transformers via Unrolled Subspace Denoising4 Jun 2025
- 2025Attention Is Not All You Need: The Importance of Feedforward Networks in Transformer Models10 May 2025
12 newest of 74 All 74 (JSON)