Guaranteeing Knowledge Integration with Joint Decoding for Retrieval-Augmented Generation
AI 摘要
GuarantRAG通过解耦推理和证据整合,并使用联合解码提升RAG性能,降低幻觉。
主要贡献
- 提出GuarantRAG框架,解耦推理和证据整合
- 使用对比DPO目标函数生成Refer-Answer,抑制内部幻觉
- 提出联合解码机制,融合内部逻辑和外部事实
方法论
GuarantRAG首先生成基于内部知识的Inner-Answer,再通过对比DPO生成Refer-Answer,最后联合解码两者。
原文摘要
Retrieval-Augmented Generation (RAG) significantly enhances Large Language Models (LLMs) by providing access to external knowledge. However, current research primarily focuses on retrieval quality, often overlooking the critical ''integration bottleneck'': even when relevant documents are retrieved, LLMs frequently fail to utilize them effectively due to conflicts with their internal parametric knowledge. In this paper, we argue that implicitly resolving this conflict in a single generation pass is suboptimal. We introduce GuarantRAG, a framework that explicitly decouples reasoning from evidence integration. First, we generate an ''Inner-Answer'' based solely on parametric knowledge to capture the model's reasoning flow. Second, to guarantee faithful evidence extraction, we generate a ''Refer-Answer'' using a novel Contrastive DPO objective. This objective treats the parametric Inner-Answer as a negative constraint and the retrieved documents as positive ground truth, forcing the model to suppress internal hallucinations in favor of external evidence during this phase. Finally, rather than naive concatenation or using the DPO trained model directly, we propose a joint decoding mechanism that dynamically fuses the logical coherence of the Inner-Answer with the factual precision of the Refer-Answer at the token level. Experiments on five QA benchmarks demonstrate that GuarantRAG improves accuracy by up to 12.1% and reduces hallucinations by 16.3% compared to standard and dynamic RAG baselines.