Copy-Paste to Mitigate Large Language Model Hallucinations
Yongchao Long, Yingying Zhang, Xianbin Wen, Xian Wu, Yuxi Zhou, Shenda Hong
Abstract
While Retrieval-Augmented Generation (RAG) enables large language models (LLMs) to generate contextually grounded responses, contextual faithfulness remains challenging as LLMs may not consistently trust provided context, leading to hallucinations that undermine reliability. We observe an inverse correlation between response copying degree and context-unfaithful hallucinations on RAGTruth, suggesting higher copying degrees reduce hallucinations by fostering genuine contextual belief. We propose Copy-Paste, a generation paradigm that directly embeds contextual fragments to ensure faithfulness, and instantiate it through CopyPasteLLM via two-stage high-copying preference training. We design three prompting methods to enhance copying degree, demonstrating that high-copying responses achieve superior contextual faithfulness and hallucination control. These approaches enable a fully automated pipeline that transforms generated responses into high-copying preference data for training CopyPasteLLM. On FaithEval, ConFiQA and PubMedQA, CopyPasteLLM achieves best performance in both counterfactual and original contexts, remarkably with 12.2% to 24.5% accuracy improvements on FaithEval over the best baseline, while requiring only 365 training samples—1/50th of baseline data. To elucidate CopyPasteLLM's effectiveness, we propose the Context-Parameter Copying Capturing algorithm. Interestingly, this reveals that CopyPasteLLM recalibrates reliance on internal parametric knowledge rather than external knowledge during generation. All codes are available at https://github.com/longyongchao/CopyPasteLLM
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
Lineage
- Extractive Summarization via ChatGPT for Faithful Summary Generation cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- Can LLM-Generated Misinformation Be Detected? cites Extractive Summarization via ChatGPT for Faithful Summary Generation
Builds on26
- Chain-of-Thought Prompting Elicits Reasoning in Large Language ModelsJason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma et al.NeurIPS 2022 · 22,562 citations
- Direct Preference Optimization: Your Language Model is Secretly a Reward ModelRafael Rafailov, Archit Sharma, Eric Mitchell, Christopher D. Manning et al.NeurIPS 2023 · 10,924 citations
- Can LLM-Generated Misinformation Be Detected?Canyu Chen, Kai ShuICLR 2024 · 270 citations
- Enabling Large Language Models to Generate Text with CitationsTianyu Gao, Howard Yen, Jiatong Yu, Danqi ChenEMNLP 2023 · 152 citations
- Extractive Summarization via ChatGPT for Faithful Summary GenerationHaopeng Zhang, Xiao Liu, Jiawei ZhangEMNLP Findings 2023 · 74 citations
Related papers
- FaithEval: Can Your Language Model Stay Faithful to Context, Even If "The Moon is Made of Marshmallows"Yifei Ming, Senthil Purushwalkam, Shrey Pandit, Zixuan Ke et al.ICLR 2025
- Context-DPO: Aligning Language Models for Context-FaithfulnessBaolong Bi, Shaohan Huang, Yiwei Wang, Tianchi Yang et al.ACL Findings 2025 · 2 citations
- Transparentize the Internal and External Knowledge Utilization in LLMs with Trustworthy CitationJiajun Shen, Tong Zhou, Yubo Chen, Delai Qiu et al.ACL Findings 2025
- ParamMute: Suppressing Knowledge-Critical FFNs for Faithful Retrieval-Augmented GenerationPengcheng Huang, Zhenghao Liu, Yukun Yan, Haiyan Zhao et al.NeurIPS 2025 · 11 citations
- Investigating Context Faithfulness in Large Language Models: The Roles of Memory Strength and Evidence StyleYuepei Li, Kang Zhou, Qiao Qiao, Bach Nguyen et al.ACL Findings 2025 · 5 citations
