Augmenting Transformers with KNN-Based Composite Memory for Dialogue
Not on the map. Why?
Abstract (arXiv)
Various machine learning tasks can benefit from access to external information of different modalities, such as text and images. Recent work has focused on learning architectures with large memories capable of storing this knowledge. We propose augmenting generative Transformer neural networks with KNN-based Information Fetching (KIF) modules. Each KIF module learns a read operation to access fixed external knowledge. We apply these modules to generative dialog modeling, a challenging task where information must be flexibly retrieved and incorporated to maintain the topic and flow of conversation. We demonstrate the effectiveness of our approach by identifying relevant knowledge required for knowledgeable but engaging dialog from Wikipedia, images, and human-written dialog utterances, and show that leveraging this retrieved information improves model performance, measured by automatic and human evaluation.
Key facts. Cited by 53 papers in the map (data through 14 Oct 2026). First posted on arXiv 27 Apr 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 13; 2022: 18; 2023: 10; 2024: 8; 2025: 2; 2026: 2.
53 papers.
Sort:
By area:
- 2021Retrieval Augmentation Reduces Hallucination in Conversationcited by 692
- 2024Retrieval-Augmented Generation for AI-Generated Content: A Surveycited by 354
- 2022Memorizing Transformerscited by 226
- 2021End-to-End Training of Multi-Document Reader and Retriever for Open-Domain Question Answeringcited by 133
- 2022Training Language Models with Memory Augmentationcited by 113
- 2023Complex Claim Verification with Evidence Retrieved in the Wildcited by 110
- 2023Retrieving Multimodal Information for Augmented Generation: A Surveycited by 85
- 2022Language Generation Models Can Cause Harm: So What Can We Do About It? An Actionable Surveycited by 80
- 2024Retrieval Augmented Time Series Forecastingcited by 46
- 2021Fast Nearest Neighbor Machine Translationcited by 37
- 2022An Efficient Memory-Augmented Transformer for Knowledge-Intensive NLP Taskscited by 36
- 2021Knowledge Enhanced Pretrained Language Models: A Compreshensive Surveycited by 33
38 more
- 2021GNN-LM: Language Modeling based on Global Contexts via GNNcited by 27
- 2022Relational Memory Augmented Language Modelscited by 24
- 2022Knowledge-in-Context: Towards Knowledgeable Semi-Parametric Language Modelscited by 24
- 2022Chunk-based Nearest Neighbor Machine Translationcited by 21
- 2021Cross-Modal Retrieval Augmentation for Multi-Modal Classificationcited by 20
- 2022You can't pick your neighbors, or can you? When and how to rely on retrieval in the kNN-LMcited by 18
- 2021Learning to Select External Knowledge with Multi-Scale Negative Samplingcited by 16
- 2023Rethinking Privacy in Machine Learning Pipelines from an Information Flow Control Perspectivecited by 16
- 2021RETRONLU: Retrieval Augmented Task-Oriented Semantic Parsingcited by 15
- 2024DR-RAG: Applying Dynamic Document Relevance to Retrieval-Augmented Generation for Question-Answeringcited by 14
- 2023Simple and Scalable Nearest Neighbor Machine Translationcited by 12
- 2024Retrieval-Enhanced Machine Learning: Synthesis and Opportunitiescited by 11
- 2022Incorporating Explicit Knowledge in Pre-trained Language Models for Passage Re-rankingcited by 10
- 2021Faster Nearest Neighbor Machine Translationcited by 8
- 2021∞-former: Infinite Memory Transformercited by 7
- 2023MOKA: Moral Knowledge Augmentation for Moral Event Extractioncited by 7
- 2022kNN-NER: Named Entity Recognition with Nearest Neighbor Searchcited by 6
- 2022Injecting Domain Knowledge in Language Models for Task-Oriented Dialogue Systemscited by 6
- 2022Long-term Control for Dialogue Generation: Methods and Evaluationcited by 5
- 2022Knowledge-grounded Dialog State Trackingcited by 5
- 2022Linearizing Transformer with Key-Value Memorycited by 4
- 2023Hybrid-RACA: Hybrid Retrieval-Augmented Composition Assistance for Real-time Text Predictioncited by 4
- 2021A Neighbourhood Framework for Resource-Lean Content Flaggingcited by 3
- 2021Generating Related Workcited by 3
- 2021Understanding and Improving the Exemplar-based Generation for Open-domain Conversationcited by 3
- 2022GNN-SL: Sequence Labeling Based on Nearest Examples via GNNcited by 3
- 2024RoboMP2: A Robotic Multimodal Perception-Planning Framework with Multimodal Large Language Modelscited by 3
- 2026Controlling Long-Horizon Behavior in Language Model Agents with Explicit State Dynamicscited by 3
- 2025When More Retrieval Hurts: Retrieval-Augmented Code Review Generationcited by 2
- 2022Memory in humans and deep language models: Linking hypotheses for model augmentationcited by 1
- 2022Mind the Knowledge Gap: A Survey of Knowledge-enhanced Dialogue Systemscited by 1
- 2023Nearest Neighbor Machine Translation is Meta-Optimizer on Output Projection Layercited by 1
- 2023Neural Conversation Models and How to Rein Them in: A Survey of Failures and Fixescited by 1
- 2023DRAFT: Dense Retrieval Augmented Few-shot Topic classifier Frameworkcited by 1
- 2024Extended Mind Transformerscited by 1
- 2024Unstructured Text Enhanced Open-domain Dialogue System: A Systematic Surveycited by 1
- 2022Transferring Knowledge via Neighborhood-Aware Optimal Transport for Low-Resource Hate Speech Detectioncited by 0
- 2023Heterogenous Memory Augmented Neural Networkscited by 0
50 most cited of 53 All 53 (JSON)
- 2026Dynamic Knowledge Fusion for Multi-Domain Dialogue State Tracking11 Mar 2026
- 2026Controlling Long-Horizon Behavior in Language Model Agents with Explicit State Dynamics22 Jan 2026
- 2025When More Retrieval Hurts: Retrieval-Augmented Code Review Generation7 Nov 2025
- 2025RETROcode: Leveraging a Code Database for Improved Natural Language to Code Generation8 Apr 2025
- 2024Unstructured Text Enhanced Open-domain Dialogue System: A Systematic Survey14 Nov 2024
- 2024Retrieval Augmented Time Series Forecasting12 Nov 2024
- 2024Exploiting Pre-trained Models for Drug Target Affinity Prediction with Nearest Neighbors21 Jul 2024
- 2024Retrieval-Enhanced Machine Learning: Synthesis and Opportunities17 Jul 2024
- 2024DR-RAG: Applying Dynamic Document Relevance to Retrieval-Augmented Generation for Question-Answering11 Jun 2024
- 2024Extended Mind Transformers4 Jun 2024
- 2024RoboMP2: A Robotic Multimodal Perception-Planning Framework with Multimodal Large Language Models7 Apr 2024
- 2024Retrieval-Augmented Generation for AI-Generated Content: A Survey29 Feb 2024
38 more
- 2023DRAFT: Dense Retrieval Augmented Few-shot Topic classifier Framework5 Dec 2023
- 2023Rethinking Privacy in Machine Learning Pipelines from an Information Flow Control Perspective27 Nov 2023
- 2023MOKA: Moral Knowledge Augmentation for Moral Event Extraction16 Nov 2023
- 2023Heterogenous Memory Augmented Neural Networks17 Oct 2023
- 2023Neural Conversation Models and How to Rein Them in: A Survey of Failures and Fixes11 Aug 2023
- 2023Hybrid-RACA: Hybrid Retrieval-Augmented Composition Assistance for Real-time Text Prediction8 Aug 2023
- 2023Nearest Neighbor Machine Translation is Meta-Optimizer on Output Projection Layer22 May 2023
- 2023Complex Claim Verification with Evidence Retrieved in the Wild19 May 2023
- 2023Retrieving Multimodal Information for Augmented Generation: A Survey20 Mar 2023
- 2023Simple and Scalable Nearest Neighbor Machine Translation23 Feb 2023
- 2022Mind the Knowledge Gap: A Survey of Knowledge-enhanced Dialogue Systems19 Dec 2022
- 2022Injecting Domain Knowledge in Language Models for Task-Oriented Dialogue Systems15 Dec 2022
- 2022GNN-SL: Sequence Labeling Based on Nearest Examples via GNN5 Dec 2022
- 2022An Efficient Memory-Augmented Transformer for Knowledge-Intensive NLP Tasks30 Oct 2022
- 2022Knowledge-in-Context: Towards Knowledgeable Semi-Parametric Language Models28 Oct 2022
- 2022You can't pick your neighbors, or can you? When and how to rely on retrieval in the kNN-LM28 Oct 2022
- 2022Transferring Knowledge via Neighborhood-Aware Optimal Transport for Low-Resource Hate Speech Detection17 Oct 2022
- 2022Language Generation Models Can Cause Harm: So What Can We Do About It? An Actionable Survey14 Oct 2022
- 2022Knowledge-grounded Dialog State Tracking13 Oct 2022
- 2022Memory in humans and deep language models: Linking hypotheses for model augmentation4 Oct 2022
- 2022Training Language Models with Memory Augmentation25 May 2022
- 2022Chunk-based Nearest Neighbor Machine Translation24 May 2022
- 2022Long-term Control for Dialogue Generation: Methods and Evaluation15 May 2022
- 2022Incorporating Explicit Knowledge in Pre-trained Language Models for Passage Re-ranking25 Apr 2022
- 2022kNN-NER: Named Entity Recognition with Nearest Neighbor Search31 Mar 2022
- 2022Linearizing Transformer with Key-Value Memory23 Mar 2022
- 2022Memorizing Transformers16 Mar 2022
- 2022Relational Memory Augmented Language Models24 Jan 2022
- 2021Faster Nearest Neighbor Machine Translation15 Dec 2021
- 2021Understanding and Improving the Exemplar-based Generation for Open-domain Conversation13 Dec 2021
- 2021GNN-LM: Language Modeling based on Global Contexts via GNN17 Oct 2021
- 2021Knowledge Enhanced Pretrained Language Models: A Compreshensive Survey16 Oct 2021
- 2021RETRONLU: Retrieval Augmented Task-Oriented Semantic Parsing21 Sep 2021
- 2021∞-former: Infinite Memory Transformer1 Sep 2021
- 2021End-to-End Training of Multi-Document Reader and Retriever for Open-Domain Question Answering9 Jun 2021
- 2021Fast Nearest Neighbor Machine Translation30 May 2021
- 2021Generating Related Work18 Apr 2021
- 2021Cross-Modal Retrieval Augmentation for Multi-Modal Classification16 Apr 2021
50 newest of 53 All 53 (JSON)
- 2024Retrieval-Augmented Generation for AI-Generated Content: A Surveycited by 354
- 2021End-to-End Training of Multi-Document Reader and Retriever for Open-Domain Question Answeringcited by 133
- 2024Retrieval Augmented Time Series Forecastingcited by 46
- 2022An Efficient Memory-Augmented Transformer for Knowledge-Intensive NLP Taskscited by 36
- 2021RETRONLU: Retrieval Augmented Task-Oriented Semantic Parsingcited by 15
- 2024DR-RAG: Applying Dynamic Document Relevance to Retrieval-Augmented Generation for Question-Answeringcited by 14
- 2022kNN-NER: Named Entity Recognition with Nearest Neighbor Searchcited by 6
- 2023Hybrid-RACA: Hybrid Retrieval-Augmented Composition Assistance for Real-time Text Predictioncited by 4
- 2025When More Retrieval Hurts: Retrieval-Augmented Code Review Generationcited by 2
- 2023DRAFT: Dense Retrieval Augmented Few-shot Topic classifier Frameworkcited by 1
- 2025When More Retrieval Hurts: Retrieval-Augmented Code Review Generation7 Nov 2025
- 2024Retrieval Augmented Time Series Forecasting12 Nov 2024
- 2024DR-RAG: Applying Dynamic Document Relevance to Retrieval-Augmented Generation for Question-Answering11 Jun 2024
- 2024Retrieval-Augmented Generation for AI-Generated Content: A Survey29 Feb 2024
- 2023DRAFT: Dense Retrieval Augmented Few-shot Topic classifier Framework5 Dec 2023
- 2023Hybrid-RACA: Hybrid Retrieval-Augmented Composition Assistance for Real-time Text Prediction8 Aug 2023
- 2022An Efficient Memory-Augmented Transformer for Knowledge-Intensive NLP Tasks30 Oct 2022
- 2022kNN-NER: Named Entity Recognition with Nearest Neighbor Search31 Mar 2022
- 2021RETRONLU: Retrieval Augmented Task-Oriented Semantic Parsing21 Sep 2021
- 2021End-to-End Training of Multi-Document Reader and Retriever for Open-Domain Question Answering9 Jun 2021
- 2021Retrieval Augmentation Reduces Hallucination in Conversationcited by 692
- 2022Memorizing Transformerscited by 226
- 2022Training Language Models with Memory Augmentationcited by 113
- 2023Complex Claim Verification with Evidence Retrieved in the Wildcited by 110
- 2023Retrieving Multimodal Information for Augmented Generation: A Surveycited by 85
- 2022Language Generation Models Can Cause Harm: So What Can We Do About It? An Actionable Surveycited by 80
- 2021Fast Nearest Neighbor Machine Translationcited by 37
- 2021Knowledge Enhanced Pretrained Language Models: A Compreshensive Surveycited by 33
- 2021GNN-LM: Language Modeling based on Global Contexts via GNNcited by 27
- 2022Relational Memory Augmented Language Modelscited by 24
- 2022Chunk-based Nearest Neighbor Machine Translationcited by 21
- 2021Cross-Modal Retrieval Augmentation for Multi-Modal Classificationcited by 20
12 most cited of 40 All 40 (JSON)
- 2026Dynamic Knowledge Fusion for Multi-Domain Dialogue State Tracking11 Mar 2026
- 2025RETROcode: Leveraging a Code Database for Improved Natural Language to Code Generation8 Apr 2025
- 2024Unstructured Text Enhanced Open-domain Dialogue System: A Systematic Survey14 Nov 2024
- 2024Exploiting Pre-trained Models for Drug Target Affinity Prediction with Nearest Neighbors21 Jul 2024
- 2024Retrieval-Enhanced Machine Learning: Synthesis and Opportunities17 Jul 2024
- 2024Extended Mind Transformers4 Jun 2024
- 2023Rethinking Privacy in Machine Learning Pipelines from an Information Flow Control Perspective27 Nov 2023
- 2023MOKA: Moral Knowledge Augmentation for Moral Event Extraction16 Nov 2023
- 2023Heterogenous Memory Augmented Neural Networks17 Oct 2023
- 2023Neural Conversation Models and How to Rein Them in: A Survey of Failures and Fixes11 Aug 2023
- 2023Nearest Neighbor Machine Translation is Meta-Optimizer on Output Projection Layer22 May 2023
- 2023Complex Claim Verification with Evidence Retrieved in the Wild19 May 2023
12 newest of 40 All 40 (JSON)