VeriCite通过三阶段验证提升RAG生成答案的引用可靠性。
VeriCite: Towards Reliable Citations in Retrieval-Augmented Generation via Rigorous Verification
- 分三步生成:先答后验,再选证据,最后融合优化。
- 在5个模型、4个数据集上显著提升引用质量,答案正确率不变。
- 无需大量标注数据,适合需要高可信度问答的场景。
检索增强生成(RAG)已成为提升大语言模型响应能力的关键方法,能引入外部知识源。尽管在复杂问答任务中表现优异,RAG仍存在幻觉问题。通过内联引用标注生成内容,有助于减少幻觉并便于人工验证。现有引用生成方法主要依赖微调模型或后处理匹配,前者需大量标注数据和算力,后者难以处理多引用且效果不佳。本文提出新框架VeriCite,严格验证支持证据并增强答案归因。该框架分为三阶段:1)初始生成基于全部上下文生成回答,并用NLI模型验证其主张;2)支持证据选择评估每篇文档效用,提取有效支撑证据;3)最终答案精炼结合初始回答与收集证据生成最终结果。在五个开源LLM和四个数据集上的实验表明,VeriCite可显著提升引用质量,同时保持答案正确性。
原文摘要 · Abstract (English)
Retrieval-Augmented Generation (RAG) has emerged as a crucial approach for enhancing the responses of large language models (LLMs) with external knowledge sources. Despite the impressive performance in complex question-answering tasks, RAG still struggles with hallucinations. Attributing RAG-generated content through in-line citations has demonstrated potential in reducing hallucinations and facilitating human verification. Existing citation generation methods primarily rely on either fine-tuning the generator or employing post-processing approaches for citation matching. However, the former approach demands substantial annotated data and computational resources, while the latter often encounters difficulties in managing multiple citations and frequently produces suboptimal results. In this paper, we introduce a novel framework, called VeriCite, designed to rigorously validate supporting evidence and enhance answer attribution. Specifically, VeriCite breaks down into a three-stage generation: 1) The initial answer generation first generates a response based on all available contexts and has its claims verified through the NLI model; 2) the supporting evidence selection assesses the utility of each document and extracts useful supporting evidences; 3) the final answer refinement integrates the initial response and collected evidences to produce the final, refined answer.We conduct experiments across five open-source LLMs and four datasets, demonstrating that VeriCite can significantly improve citation quality while maintaining the correctness of the answers.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。