Optimizing Factual Accuracy in Text Generation through Dynamic Knowledge Selection
Hongjin Qian, Zhicheng Dou, Jiejun Tan, Haonan Chen, Haoqi Gu, Ruofei, Lai, Xinyu Zhang, Zhao Cao, Ji-Rong Wen

TL;DR
This paper introduces DKGen, a dynamic iterative text generation method that selectively uses relevant external knowledge to improve factual accuracy in language models, addressing issues of irrelevant references and output randomness.
Contribution
DKGen's novel iterative process and relevance distillation significantly enhance factual accuracy by dynamically selecting knowledge references during generation.
Findings
DKGen outperforms baseline models on a large-scale benchmark.
Dynamic reference selection reduces irrelevant knowledge influence.
Relevance distillation improves factual consistency.
Abstract
Language models (LMs) have revolutionized the way we interact with information, but they often generate nonfactual text, raising concerns about their reliability. Previous methods use external knowledge as references for text generation to enhance factuality but often struggle with the knowledge mix-up(e.g., entity mismatch) of irrelevant references. Besides,as the length of the output text grows, the randomness of sampling can escalate, detrimentally impacting the factual accuracy of the generated text. In this paper, we present DKGen, which divide the text generation process into an iterative process. In each iteration, DKGen takes the input query, the previously generated text and a subset of the reference passages as input to generate short text. During the process, the subset is dynamically selected from the full passage set based on their relevance to the previously generated text…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsTopic Modeling · Natural Language Processing Techniques · Advanced Text Analysis Techniques
