Knowledge Infused Decoding
Not on the map. Why?
Abstract (arXiv)
Pre-trained language models (LMs) have been shown to memorize a substantial amount of knowledge from the pre-training corpora; however, they are still limited in recalling factually correct knowledge given a certain context. Hence, they tend to suffer from counterfactual or hallucinatory generation when used in knowledge-intensive natural language generation (NLG) tasks. Recent remedies to this problem focus on modifying either the pre-training or task fine-tuning objectives to incorporate knowledge, which normally require additional costly training or architecture modification of LMs for practical applications. We present Knowledge Infused Decoding (KID) -- a novel decoding algorithm for generative LMs, which dynamically infuses external knowledge into each step of the LM decoding. Specifically, we maintain a local knowledge memory based on the current context, interacting with a dynamically created external knowledge trie, and continuously update the local memory as a knowledge-aware constraint to guide decoding via reinforcement learning. On six diverse knowledge-intensive NLG tasks, task-agnostic LMs (e.g., GPT-2 and BART) armed with KID outperform many task-optimized state-of-the-art models, and show particularly strong performance in few-shot scenarios over seven related knowledge-infusion techniques. Human evaluation confirms KID's ability to generate more relevant and factual language for the input context when compared with multiple baselines. Finally, KID also alleviates exposure bias and provides stable generation quality when generating longer sequences. Code for KID is available at https://github.com/microsoft/KID.
Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). Builds on 74 of its 94 references that are in the map. First posted on arXiv 6 Apr 2022.
Builds on
74 of 94 references.
References · 74
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2017Proximal Policy Optimization Algorithmscited by 14,441
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
- 2021On the Opportunities and Risks of Foundation Modelscited by 3,961
- 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,779
- 2019The Curious Case of Neural Text Degenerationcited by 2,881
- 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,818
- 2015Trust Region Policy Optimizationcited by 2,503
- 2017Billion-scale similarity search with GPUscited by 2,477
- 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,126
38 more
- 2019Language Models as Knowledge Bases?cited by 1,922
- 2016MS MARCO: A Human Generated MAchine Reading COmprehension Datasetcited by 1,591
- 2019PubMedQA: A Dataset for Biomedical Research Question Answeringcited by 1,271
- 2020Leveraging Passage Retrieval with Generative Models for Open Domain Question Answeringcited by 1,203
- 2021Scaling Language Models: Methods, Analysis & Insights from Training Gophercited by 1,199
- 2018Hierarchical Neural Story Generationcited by 1,182
- 2019PEGASUS: Pre-training with Extracted Gap-sentences for Abstractive Summarizationcited by 1,100
- 2016ConceptNet 5.5: An Open Multilingual Graph of General Knowledgecited by 1,065
- 2019DialoGPT: Large-Scale Generative Pre-training for Conversational Response Generationcited by 842
- 2018Personalizing Dialogue Agents: I have a dog, do you have pets too?cited by 820
- 2019Plug and Play Language Models: A Simple Approach to Controlled Text Generationcited by 793
- 2019Generalization through Memorization: Nearest Neighbor Language Modelscited by 788
- 2017Reading Wikipedia to Answer Open-Domain Questionscited by 777
- 2019CTRL: A Conditional Transformer Language Model for Controllable Generationcited by 754
- 2021GPT Understands, Toocited by 715
- 2020How Much Knowledge Can You Pack Into the Parameters of a Language Model?cited by 713
- 2019Latent Retrieval for Weakly Supervised Open Domain Question Answeringcited by 691
- 2020Recipes for building an open-domain chatbotcited by 593
- 2020KILT: a Benchmark for Knowledge Intensive Language Taskscited by 571
- 2015Sequence Level Training with Recurrent Neural Networkscited by 568
- 2019ELI5: Long Form Question Answeringcited by 567
- 2018Wizard of Wikipedia: Knowledge-Powered Conversational agentscited by 530
- 2019SAMSum Corpus: A Human-annotated Dialogue Dataset for Abstractive Summarizationcited by 530
- 2019ERNIE: Enhanced Language Representation with Informative Entitiescited by 525
- 2020Towards a Human-like Open-Domain Chatbotcited by 467
- 2019COMET: Commonsense Transformers for Automatic Knowledge Graph Constructioncited by 450
- 2016A Corpus and Evaluation Framework for Deeper Understanding of Commonsense Storiescited by 413
- 2021QA-GNN: Reasoning with Language Models and Knowledge Graphs for Question Answeringcited by 386
- 2017A Deep Reinforced Model for Abstractive Summarizationcited by 364
- 2019Abductive Commonsense Reasoningcited by 300
- 2019Knowledge Enhanced Contextual Word Representationscited by 294
- 2016Deep Reinforcement Learning for Dialogue Generationcited by 286
- 2016Safe and Efficient Off-Policy Reinforcement Learningcited by 260
- 2019Negated and Misprimed Probes for Pretrained Language Models: Birds Can Talk, But Cannot Flycited by 240
- 2019ERNIE 2.0: A Continual Pre-training Framework for Language Understandingcited by 230
- 2020Distilling Knowledge from Reader to Retriever for Question Answeringcited by 226
- 2019Sparse Sequence-to-Sequence Modelscited by 167
- 2021Hurdles to Progress in Long-form Question Answeringcited by 166
50 most cited of 74 All 74 (JSON)
Built on by
Citing papers per year: 2022: 3; 2023: 4; 2024: 2; 2025: 2; 2026: 1.
12 papers.
- 2023Second Thoughts are Best: Learning to Re-Align With Human Values from Text Editscited by 27
- 2022Open-world Story Generation with Structured Knowledge Enhancement: A Comprehensive Surveycited by 21
- 2023Fourier Transformer: Fast Long Range Modeling by Removing Sequence Redundancy with FFT Operatorcited by 19
- 2023TempEL: Linking Dynamically Evolving and Newly Emerging Entitiescited by 14
- 2022Non-Parallel Text Style Transfer with Self-Parallel Supervisioncited by 11
- 2023Preserving Knowledge Invariance: Rethinking Robustness Evaluation of Open Information Extractioncited by 8
- 2024Scalable Model Editing via Customized Expert Networkscited by 5
- 2022Harnessing Knowledge and Reasoning for Human-Like Natural Language Generation: A Brief Reviewcited by 3
- 2025Multi-Amateur Contrastive Decoding for Text Generationcited by 3
- 2025Confidence-Modulated Speculative Decoding for Large Language Modelscited by 1
- 2024Image classification network enhancement methods based on knowledge injectioncited by 0
- 2026Online Domain-aware LLM Decoding for Continual Domain Evolutioncited by 0
- 2026Online Domain-aware LLM Decoding for Continual Domain Evolution8 Feb 2026
- 2025Confidence-Modulated Speculative Decoding for Large Language Models21 Aug 2025
- 2025Multi-Amateur Contrastive Decoding for Text Generation22 Jun 2025
- 2024Scalable Model Editing via Customized Expert Networks3 Apr 2024
- 2024Image classification network enhancement methods based on knowledge injection9 Jan 2024
- 2023Fourier Transformer: Fast Long Range Modeling by Removing Sequence Redundancy with FFT Operator24 May 2023
- 2023Preserving Knowledge Invariance: Rethinking Robustness Evaluation of Open Information Extraction23 May 2023
- 2023TempEL: Linking Dynamically Evolving and Newly Emerging Entities5 Feb 2023
- 2023Second Thoughts are Best: Learning to Re-Align With Human Values from Text Edits1 Jan 2023
- 2022Open-world Story Generation with Structured Knowledge Enhancement: A Comprehensive Survey9 Dec 2022
- 2022Harnessing Knowledge and Reasoning for Human-Like Natural Language Generation: A Brief Review7 Dec 2022
- 2022Non-Parallel Text Style Transfer with Self-Parallel Supervision18 Apr 2022