Large Memory Layers with Product Keys
Not on the map. Why?
Cited by 25 in Mixture-of-experts, but placed by its own abstract, which didn’t fit.
Abstract (arXiv)
This paper introduces a structured memory which can be easily integrated into a neural network. The memory is very large by design and significantly increases the capacity of the architecture, by up to a billion parameters with a negligible computational overhead. Its design and access pattern is based on product keys, which enable fast and exact nearest neighbor search. The ability to increase the number of parameters while keeping the same computational budget lets the overall system strike a better trade-off between prediction accuracy and computation efficiency both at training and test time. This memory layer allows us to tackle very large scale language modeling tasks. In our experiments we consider a dataset with up to 30 billion words, and we plug our memory layer in a state-of-the-art transformer-based architecture. In particular, we found that a memory augmented model with only 12 layers outperforms a baseline transformer model with 24 layers, while being twice faster at inference time. We release our code for reproducibility purposes.
Key facts. Cited by 120 papers in the map (data through 7 Oct 2026). First posted on arXiv 10 Jul 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2020: 3; 2021: 18; 2022: 11; 2023: 14; 2024: 14; 2025: 16; 2026: 44.
120 papers.
Sort:
By area:
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,014
- 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,126
- 2021Nystr"omformer: A Nystr"om-Based Algorithm for Approximating Self-Attentioncited by 468
- 2021A Survey of Transformerscited by 399
- 2021Pre-Trained Models: Past, Present and Futurecited by 319
- 2021BASE Layers: Simplifying Training of Large, Sparse Modelscited by 315
- 2021Hash Layers For Large Sparse Modelscited by 236
- 2022Memorizing Transformerscited by 219
- 2022Recurrent Memory Transformercited by 197
- 2021The Efficiency Misnomercited by 98
- 2024CT2Rep: Automated Radiology Report Generation for 3D Medical Imagingcited by 96
38 more
- 2023Fast Inference of Mixture-of-Experts Language Models with Offloadingcited by 88
- 2021Do Transformer Modifications Transfer Across Implementations and Applications?cited by 87
- 2026Conditional Memory via Scalable Lookup: A New Axis of Sparsity for Large Language Modelscited by 78
- 2024Mixture of A Million Expertscited by 70
- 2021ChineseBERT: Chinese Pretraining Enhanced by Glyph and Pinyin Informationcited by 65
- 2023SWARM Parallelism: Training Large Models Can Be Surprisingly Communication-Efficientcited by 58
- 2021NAS-BERT: Task-Agnostic and Adaptive-Size BERT Compression with Neural Architecture Searchcited by 55
- 2023A Study on ReLU and Softmax in Transformercited by 53
- 2024ReMoE: Fully Differentiable Mixture-of-Experts with ReLU Routingcited by 53
- 2020Towards Crowdsourced Training of Large Neural Networks using Decentralized Mixture-of-Expertscited by 43
- 2022Distinguishing Homophenes Using Multi-Head Visual-Audio Memory for Lip Readingcited by 39
- 2024Memory Layers at Scalecited by 39
- 2022An Efficient Memory-Augmented Transformer for Knowledge-Intensive NLP Taskscited by 36
- 2021Efficient Transformers in Reinforcement Learning using Actor-Learner Distillationcited by 35
- 2021Not All Memories are Created Equal: Learning to Forget by Expiringcited by 32
- 2023Diversifying the Mixture-of-Experts Representation for Language Models with Orthogonal Optimizercited by 28
- 2023Approximating Two-Layer Feedforward Networks for Efficient Transformerscited by 27
- 2024XMoE: Sparse Models with Fine-grained and Adaptive Expert Selectioncited by 27
- 2023Transformer-VQ: Linear-Time Transformers via Vector Quantizationcited by 26
- 2021Pruning Self-attentions into Convolutional Layers in Single Pathcited by 24
- 2025Mixture of Experts Made Intrinsically Interpretablecited by 22
- 2022NTIRE 2022 Challenge on Super-Resolution and Quality Enhancement of Compressed Video: Dataset, Methods and Resultscited by 20
- 2024Ultra-Sparse Memory Networkcited by 19
- 2025Scaling Embedding Layers in Language Modelscited by 19
- 2022Discrete Key-Value Bottleneckcited by 18
- 2025Continual Learning via Sparse Memory Finetuningcited by 17
- 2021NWT: Towards natural audio-to-video generation with representation learningcited by 14
- 2022Turbo Training with Token Dropoutcited by 14
- 2022N-Grammer: Augmenting Transformers with latent n-gramscited by 13
- 2023Alternating Updates for Efficient Transformerscited by 13
- 2023ResMem: Learn what you can and memorize the restcited by 13
- 2025Pretraining with hierarchical memories: separating long-tail and common knowledgecited by 13
- 2022Sparse Mixers: Combining MoE and Mixing to build a more efficient BERTcited by 12
- 2024Monet: Mixture of Monosemantic Experts for Transformerscited by 12
- 2024Retrieval-Enhanced Machine Learning: Synthesis and Opportunitiescited by 11
- 2026Fast-weight Product Key Memorycited by 11
- 2026Adaptive Loops and Memory in Transformers: Think Harder or Know More?cited by 11
- 2026STEM: Scaling Transformers with Embedding Modulescited by 10
50 most cited of 120 All 120 (JSON)
- 2026Decision Titan: Test-Time Training for Long-Term Memory in Offline Reinforcement Learning1 Oct 2026
- 2026Score the Update, Not the Token: Descent-Aligned Routing for Combinatorial LoRA Experts30 Sep 2026
- 2026Forking: Sudden Overfitting Under Replay30 Sep 2026
- 2026V-Engram: Trigger-Indexed External Memory for Modular Text-to-Image Personalization29 Sep 2026
- 2026Triadic Linear Attention: Three-Dimensional Recurrent States for Long-Context Sequence Modeling29 Sep 2026
- 2026Infinite-Parameter LLMs: Generating and Adapting Weights from Live Data16 Sep 2026
- 2026MoME: Mixture-of-Memory Embeddings for Context-Aware Sparse Lookup14 Sep 2026
- 2026Lngram v2: Latent N-Gram Memory with Interpretable Discrete Representations3 Sep 2026
- 2026Safin-1: Safety from Within through Memory-Native State Evolution31 Aug 2026
- 2026On Scope Classification and Current Knowledge-Editing Benchmarks: A Negative Result, with INLAY as a Gradient-Free Case Study26 Aug 2026
- 2026Frozen Memory Is Not Enough: Rethinking External Memory as Extraction17 Aug 2026
- 2026MARCH: Scaling Recurrent Memory with Content-Routed State Anchors12 Aug 2026
38 more
- 2026Cluster with Auctions for Vector Search15 Jul 2026
- 2026Co-LMLM: Continuous-Query Limited Memory Language Models8 Jul 2026
- 2026Sparse Delta Memory: Scaling the State of Linear RNNs through Sparsity8 Jul 2026
- 2026BiDeMem: Bidirectional Degradation Memory for Explainable Image Restoration26 Jun 2026
- 2026TokenMem: Faithful Knowledge Injection for Frozen LLMs17 Jun 2026
- 2026User as Engram: Internalizing Per-User Memory as Local Parametric Edits17 Jun 2026
- 2026Sparsely gated tiny linear experts5 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
- 2026IndexMem: Learned KV-Cache Eviction with Latent Memory for Long-Context LLM Inference25 May 2026
- 2026Memory Grafting: Scaling Language Model Pre-training via Offline Conditional Memory20 May 2026
- 2026Key-Gram: Extensible World Knowledge for Embodied Manipulation18 May 2026
- 2026TIDE: Every Layer Knows the Token Beneath the Context7 May 2026
- 2026Adaptive Inverted-Index Routing for Granular Mixtures-of-Experts6 May 2026
- 2026Sparse Memory Finetuning as a Low-Forgetting Alternative to LoRA and Full Finetuning4 May 2026
- 2026A Parametric Memory Head for Continual Generative Retrieval25 Apr 2026
- 2026Generic Triple-Latent Compression with Gated Associative Retrieval17 Apr 2026
- 2026Sparser, Faster, Lighter Transformer Language Models24 Mar 2026
- 2026Mixture of Chapters: Scaling Learnt Memory in Transformers22 Mar 2026
- 2026MANAR: Memory-augmented Attention with Navigational Abstract Conceptual Representation19 Mar 2026
- 2026Models Designed to Forget: Machine Unlearning via Key Deletion16 Mar 2026
- 2026Adaptive Loops and Memory in Transformers: Think Harder or Know More?9 Mar 2026
- 2026Modularity is the Bedrock of Natural and Artificial Intelligence21 Feb 2026
- 2026RAM-Net: Linear-Time Sequence Modeling with Sparsely Addressable State12 Feb 2026
- 2026JTok: On Token Embedding as another Axis of Scaling Law via Joint Token Self-modulation31 Jan 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
- 2026L3: Large Lookup Layers29 Jan 2026
- 2026A Collision-Free Hot-Tier Extension for Engram-Style Conditional Memory: A Controlled Study of Training Dynamics23 Jan 2026
- 2026STEM: Scaling Transformers with Embedding Modules15 Jan 2026
- 2026Conditional Memory via Scalable Lookup: A New Axis of Sparsity for Large Language Models12 Jan 2026
- 2026Fast-weight Product Key Memory2 Jan 2026
- 2025Beyond Heuristics: A Decision-Theoretic Framework for Agent Memory Management25 Dec 2025
- 2025MIDUS: Memory-Infused Depth Up-Scaling15 Dec 2025
- 2025Mixture of Lookup Key-Value Experts10 Dec 2025
- 2025From Masks to Worlds: A Hitchhiker's Guide to World Models23 Oct 2025
- 2025Continual Learning via Sparse Memory Finetuning16 Oct 2025
- 2025Pretraining with hierarchical memories: separating long-tail and common knowledge29 Sep 2025
50 newest of 120 All 120 (JSON)
- 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,014
- 2023Fast Inference of Mixture-of-Experts Language Models with Offloadingcited by 88
- 2026Conditional Memory via Scalable Lookup: A New Axis of Sparsity for Large Language Modelscited by 78
- 2024Mixture of A Million Expertscited by 70
- 2024ReMoE: Fully Differentiable Mixture-of-Experts with ReLU Routingcited by 53
- 2020Towards Crowdsourced Training of Large Neural Networks using Decentralized Mixture-of-Expertscited by 43
- 2023Diversifying the Mixture-of-Experts Representation for Language Models with Orthogonal Optimizercited by 28
- 2024XMoE: Sparse Models with Fine-grained and Adaptive Expert Selectioncited by 27
- 2025Mixture of Experts Made Intrinsically Interpretablecited by 22
- 2024Ultra-Sparse Memory Networkcited by 19
- 2022Sparse Mixers: Combining MoE and Mixing to build a more efficient BERTcited by 12
- 2023Towards A Unified View of Sparse Feed-Forward Network in Pretraining Large Language Modelcited by 9
12 most cited of 25 All 25 (JSON)
- 2026Score the Update, Not the Token: Descent-Aligned Routing for Combinatorial LoRA Experts30 Sep 2026
- 2026Infinite-Parameter LLMs: Generating and Adapting Weights from Live Data16 Sep 2026
- 2026MoME: Mixture-of-Memory Embeddings for Context-Aware Sparse Lookup14 Sep 2026
- 2026Sparsely gated tiny linear experts5 Jun 2026
- 2026Memory Grafting: Scaling Language Model Pre-training via Offline Conditional Memory20 May 2026
- 2026Adaptive Inverted-Index Routing for Granular Mixtures-of-Experts6 May 2026
- 2026JTok: On Token Embedding as another Axis of Scaling Law via Joint Token Self-modulation31 Jan 2026
- 2026L3: Large Lookup Layers29 Jan 2026
- 2026Conditional Memory via Scalable Lookup: A New Axis of Sparsity for Large Language Models12 Jan 2026
- 2025UltraMemV2: Memory Networks Scaling to 120B Parameters with Superior Long-Context Learning26 Aug 2025
- 2025FA-INR: Adaptive Implicit Neural Representations for Interpretable Exploration of Simulation Ensembles7 Jun 2025
- 2025Mixture of Experts Made Intrinsically Interpretable5 Mar 2025
12 newest of 25 All 25 (JSON)
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,126
- 2022An Efficient Memory-Augmented Transformer for Knowledge-Intensive NLP Taskscited by 36
- 2026TokenMem: Faithful Knowledge Injection for Frozen LLMscited by 0
- 2026TokenMem: Faithful Knowledge Injection for Frozen LLMs17 Jun 2026
- 2022An Efficient Memory-Augmented Transformer for Knowledge-Intensive NLP Tasks30 Oct 2022
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks22 May 2020
- 2020REALM: Retrieval-Augmented Language Model Pre-Training10 Feb 2020
- 2025Synthetic bootstrapped pretrainingcited by 4
- 2025Synthetic bootstrapped pretraining17 Sep 2025
- 2025From Masks to Worlds: A Hitchhiker's Guide to World Models23 Oct 2025
- 2021Nystr"omformer: A Nystr"om-Based Algorithm for Approximating Self-Attentioncited by 468
- 2021A Survey of Transformerscited by 399
- 2021Pre-Trained Models: Past, Present and Futurecited by 319
- 2021BASE Layers: Simplifying Training of Large, Sparse Modelscited by 315
- 2021Hash Layers For Large Sparse Modelscited by 236
- 2022Memorizing Transformerscited by 219
- 2022Recurrent Memory Transformercited by 197
- 2021The Efficiency Misnomercited by 98
- 2024CT2Rep: Automated Radiology Report Generation for 3D Medical Imagingcited by 96
- 2021Do Transformer Modifications Transfer Across Implementations and Applications?cited by 87
- 2021ChineseBERT: Chinese Pretraining Enhanced by Glyph and Pinyin Informationcited by 65
- 2023SWARM Parallelism: Training Large Models Can Be Surprisingly Communication-Efficientcited by 58
12 most cited of 82 All 82 (JSON)
- 2026Forking: Sudden Overfitting Under Replay30 Sep 2026
- 2026V-Engram: Trigger-Indexed External Memory for Modular Text-to-Image Personalization29 Sep 2026
- 2026Triadic Linear Attention: Three-Dimensional Recurrent States for Long-Context Sequence Modeling29 Sep 2026
- 2026Lngram v2: Latent N-Gram Memory with Interpretable Discrete Representations3 Sep 2026
- 2026Safin-1: Safety from Within through Memory-Native State Evolution31 Aug 2026
- 2026On Scope Classification and Current Knowledge-Editing Benchmarks: A Negative Result, with INLAY as a Gradient-Free Case Study26 Aug 2026
- 2026Frozen Memory Is Not Enough: Rethinking External Memory as Extraction17 Aug 2026
- 2026MARCH: Scaling Recurrent Memory with Content-Routed State Anchors12 Aug 2026
- 2026Cluster with Auctions for Vector Search15 Jul 2026
- 2026Co-LMLM: Continuous-Query Limited Memory Language Models8 Jul 2026
- 2026Sparse Delta Memory: Scaling the State of Linear RNNs through Sparsity8 Jul 2026
- 2026BiDeMem: Bidirectional Degradation Memory for Explainable Image Restoration26 Jun 2026
12 newest of 82 All 82 (JSON)