mlsanityData to 7 Oct 2026

An Efficient Memory-Augmented Transformer for Knowledge-Intensive NLP Tasks

arXiv 2210.16773 ↗First posted 30 Oct 2022cs.CL cs.AI cs.LGcited by 36

On the map: Retrieval-augmented generation → Generation and context integration

Abstract (arXiv)

Access to external knowledge is essential for many natural language processing tasks, such as question answering and dialogue. Existing methods often rely on a parametric model that stores knowledge in its parameters, or use a retrieval-augmented model that has access to an external knowledge source. Parametric and retrieval-augmented models have complementary strengths in terms of computational efficiency and predictive accuracy. To combine the strength of both approaches, we propose the Efficient Memory-Augmented Transformer (EMAT) -- it encodes external knowledge into a key-value memory and exploits the fast maximum inner product search for memory querying. We also introduce pre-training tasks that allow EMAT to encode informative key-value representations, and to learn an implicit strategy to integrate multiple memory slots into the transformer. Experiments on various knowledge-intensive tasks such as question answering and dialogue datasets show that, simply augmenting parametric models (T5-base) using our method produces more accurate results (e.g., 25.8 -> 44.3 EM on NQ) while retaining a high throughput (e.g., 1000 queries/s on NQ). Compared to retrieval-augmented models, EMAT runs substantially faster across the board and produces more accurate results on WoW and ELI5. Our code and datasets are available at https://github. com/uclnlp/EMAT.

Key facts. Cited by 36 papers in the map (data through 7 Oct 2026). Placed in Generation and context integration, one of 15 directions in Retrieval-augmented generation. Builds on 35 of its 43 references that are in the map. First posted on arXiv 30 Oct 2022.

Builds on

35 of 43 references.

Closest ancestors · 3

Same direction, newest first

  1. 2022Augmenting Pre-trained Language Models with QA-Memory for Open-Domain Question Answering10 Apr
  2. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks22 May
  3. 2020REALM: Retrieval-Augmented Language Model Pre-Training10 Feb

Other references · 32

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  3. 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
  4. 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,779
  5. 2014Sequence to Sequence Learning with Neural Networkscited by 2,974
  6. 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,895
  7. 2017Billion-scale similarity search with GPUscited by 2,477
  8. 2019Language Models as Knowledge Bases?cited by 1,922
  9. 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,307
  10. 2020Leveraging Passage Retrieval with Generative Models for Open Domain Question Answeringcited by 1,203
  11. 2016Efficient and robust approximate nearest neighbor search using Hierarchical Navigable Small World graphscited by 853
  12. 2017Reading Wikipedia to Answer Open-Domain Questionscited by 777
20 more
  1. 2020How Much Knowledge Can You Pack Into the Parameters of a Language Model?cited by 713
  2. 2017In-Datacenter Performance Analysis of a Tensor Processing Unitcited by 610
  3. 2020KILT: a Benchmark for Knowledge Intensive Language Taskscited by 571
  4. 2019ELI5: Long Form Question Answeringcited by 567
  5. 2018Wizard of Wikipedia: Knowledge-Powered Conversational agentscited by 530
  6. 2021PAQ: 65 Million Probably-Asked Questions and What You Can Do With Themcited by 198
  7. 2014A Convolutional Neural Network for Modelling Sentencescited by 163
  8. 2019End-to-End Open-Domain Question Answering with BERTserinicited by 152
  9. 2020Question and Answer Test-Train Overlap in Open-Domain Question Answering Datasetscited by 137
  10. 2019Large Memory Layers with Product Keyscited by 120
  11. 2019Multi-passage BERT: A Globally Normalized BERT Model for Open-domain Question Answeringcited by 96
  12. 2020Learning Dense Representations of Phrases at Scalecited by 91
  13. 2019A Discrete Hard EM Approach for Weakly Supervised Question Answeringcited by 78
  14. 2020Augmenting Transformers with KNN-Based Composite Memory for Dialoguecited by 53
  15. 2021NeurIPS 2020 EfficientQA Competition: Systems, Analyses and Lessons Learnedcited by 52
  16. 2021Hindsight: Posterior-guided training of retrievers for improved open-ended generationcited by 38
  17. 2022Kformer: Knowledge Injection in Transformer Feed-Forward Layerscited by 37
  18. 2021Challenges in Generalization in Open Domain Question Answeringcited by 30
  19. 2020Don't Read Too Much into It: Adaptive Computation for Open-Domain Question Answeringcited by 7
  20. 2021Training Adaptive Computation for Open-Domain Question Answering with Computational Constraintscited by 4

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 15; 2024: 11; 2025: 9; 2026: 1.

36 papers.

Sort:

By area:

  1. 2023Unifying Large Language Models and Knowledge Graphs: A Roadmapcited by 663
  2. 2023ChatDB: Augmenting LLMs with Databases as Their Symbolic Memorycited by 136
  3. 2024NetLLM: Adapting Large Language Models for Networkingcited by 76
  4. 2024Steering Knowledge Selection Behaviours in LLMs via SAE-Based Representation Engineeringcited by 60
  5. 2024DoraemonGPT: Toward Understanding Dynamic Scenes with Large Language Models (Exemplified as A Video Agent)cited by 56
  6. 2025KaLM-Embedding-V2: Superior Training Techniques and Data Inspire A Versatile Embedding Modelcited by 35
  7. 2023Creating Trustworthy LLMs: Dealing with Hallucinations in Healthcare AIcited by 33
  8. 2023ZO-AdaMU Optimizer: Adapting Perturbation by the Momentum and Uncertainty in Zeroth-order Optimizationcited by 24
  9. 2023Fourier Transformer: Fast Long Range Modeling by Removing Sequence Redundancy with FFT Operatorcited by 19
  10. 2023Pre-computed memory or on-the-fly encoding? A hybrid approach to retrieval augmentation makes the most of your computecited by 17
  11. 2024Analysing the Residual Stream of Language Models Under Knowledge Conflictscited by 15
  12. 2025Episodic Memories Generation and Evaluation Benchmark for Large Language Modelscited by 14
24 more
  1. 2023The Effect of Scaling, Retrieval Augmentation and Form on the Factual Consistency of Language Modelscited by 11
  2. 2024Retrieval-Enhanced Machine Learning: Synthesis and Opportunitiescited by 11
  3. 2025A Comprehensive Analysis of Large Language Model Outputs: Similarity, Diversity, and Biascited by 10
  4. 2025Memory-Augmented Transformers: A Systematic Review from Neuroscience Principles to Enhanced Model Architecturescited by 9
  5. 2023GLIMMER: generalized late-interaction memory rerankercited by 7
  6. 2023Neuro Symbolic Reasoning for Planning: Counterexample Guided Inductive Synthesis using Large Language Models and Satisfiability Solvingcited by 6
  7. 2023Insights into Classifying and Mitigating LLMs' Hallucinationscited by 6
  8. 2023Answering Ambiguous Questions with a Database of Questions, Answers, and Revisionscited by 4
  9. 2024A Multimodal In-Context Tuning Approach for E-Commerce Product Description Generationcited by 4
  10. 2024KS-LLM: Knowledge Selection of Large Language Models with Evidence Document for Question Answeringcited by 4
  11. 2025From Standalone LLMs to Integrated Intelligence: A Survey of Compound Al Systemscited by 4
  12. 2024Learning to Reason Iteratively and Parallelly for Complex Visual Reasoning Scenarioscited by 3
  13. 2023AWESOME: GPU Memory-constrained Long Document Summarization using Memory Mechanism and Global Salient Contentcited by 2
  14. 2024MATTER: Memory-Augmented Transformer Using Heterogeneous Knowledge Sourcescited by 2
  15. 2024TTM-RE: Memory-Augmented Document-Level Relation Extractioncited by 2
  16. 2024Novel-WD: Exploring acquisition of Novel World Knowledge in LLMs Using Prefix-Tuningcited by 2
  17. 2025R4: Retrieval-Augmented Reasoning for Vision-Language Models in 4D Spatio-Temporal Spacecited by 2
  18. 2023Pluggable Neural Machine Translation Models via Memory-augmented Adapterscited by 1
  19. 2023MEMORY-VQ: Compression for Tractable Internet-Scale Memorycited by 1
  20. 2025Learning to Extract Rational Evidence via Reinforcement Learning for Retrieval-Augmented Generationcited by 1
  21. 2023Heterogenous Memory Augmented Neural Networkscited by 0
  22. 2025End-to-End Dialog Neural Coreference Resolution: Balancing Efficiency and Accuracy in Large-Scale Systemscited by 0
  23. 2025Dual Knowledge-Enhanced Two-Stage Reasoner for Multimodal Dialog Systemscited by 0
  24. 2026Mixture of Chapters: Scaling Learnt Memory in Transformerscited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2025MLP Memory: A Retriever-Pretrained Memory for Large Language Models
  2. 2023BRENT: Bidirectional Retrieval Enhanced Norwegian Transformer
  3. 2026Conditional Memory via Scalable Lookup: A New Axis of Sparsity for Large Language Models
  4. 2026Knowledge Capsules: Structured Nonparametric Memory Units for LLMs
  5. 2022When Not to Trust Language Models: Investigating Effectiveness of Parametric and Non-Parametric Memories
  6. 2024Memory3: Language Modeling with Explicit Memory
  7. 2025Evaluating Long-Term Memory for Long-Context Question Answering
  8. 2022Knowledge-in-Context: Towards Knowledgeable Semi-Parametric Language Models