VeriCite:通过严格验证在检索增强生成中实现可靠引用
VeriCite: Towards Reliable Citations in Retrieval-Augmented Generation via Rigorous Verification
AI总结:
针对RAG中的幻觉问题,提出VeriCite框架,通过三阶段生成(初始答案生成与NLI验证、支持证据选择、最终答案精炼)严格验证证据并增强归因,显著提升引用质量且保持答案正确性。
摘要:
检索增强生成(RAG)已成为利用外部知识源增强大型语言模型(LLMs)响应的关键方法。尽管在复杂问答任务中表现优异,RAG 仍难以避免幻觉问题。通过行内引用为 RAG 生成的内容提供归因,在减少幻觉和促进人工验证方面展现了潜力。现有引用生成方法主要依赖微调生成器或采用后处理方法进行引用匹配。然而,前者需要大量标注数据和计算资源,而后者在处理多重引用时常常遇到困难,且经常产生次优结果。本文提出了一种名为 VeriCite 的新框架,旨在严格验证支持证据并增强答案归因。具体而言,VeriCite 分为三个阶段生成:1)初始答案生成阶段首先基于所有可用上下文生成响应,并通过 NLI 模型验证其声明;2)支持证据选择阶段评估每份文档的效用并提取有用的支持证据;3)最终答案精炼阶段整合初始响应和收集到的证据,生成最终精炼答案。我们在五个开源 LLM 和四个数据集上进行了实验,证明 VeriCite 能显著提升引用质量,同时保持答案的正确性。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。