arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.13663cs.CLcs.AIcs.LG
收藏

基于模型内部的答案归因:面向可信检索增强生成

Model Internals-based Answer Attribution for Trustworthy Retrieval-Augmented Generation

Center for Language and Cognition (CLCG), University of Groningen(格罗宁根大学语言与认知中心(CLCG));Institute for Logic, Language and Computation (ILLC), University of Amsterdam(阿姆斯特丹大学逻辑、语言与计算研究所(ILLC))

Jirui Qi, Gabriele Sarti, Raquel Fernández, Arianna Bisazza

AI总结:

针对RAG问答中模型答案可验证性的挑战,提出即插即用的MIRAGE方法,利用模型内部信息实现忠实归因,在多语言数据集上与人类归因高度一致,开放式QA中性能与自引用相当且支持细粒度控制。

摘要:

确保模型答案的可验证性是问答(QA)领域中检索增强生成(RAG)的核心挑战。近期,自引用提示方法被提出,用于让大型语言模型(LLMs)在生成答案的同时生成对支持文档的引用。然而,自引用LLMs常面临格式匹配困难、引用不存在来源以及无法忠实反映生成过程中上下文使用情况的问题。在本研究中,我们提出MIRAGE——基于模型内部的RAG解释,这是一种即插即用的方法,利用模型内部信息实现RAG应用中忠实的答案归因。MIRAGE通过显著性方法检测上下文敏感的答案标记,并将其与对预测有贡献的检索文档配对。我们在多语言抽取式QA数据集上评估该方法,发现其与人类答案归因高度一致。在开放式QA中,MIRAGE的引用质量和效率与自引用相当,同时还允许对归因参数进行更细粒度的控制。定性评估强调了MIRAGE归因的忠实性,并突显了模型内部信息在RAG答案归因中的应用潜力。

英文摘要:

Ensuring the verifiability of model answers is a fundamental challenge for retrieval-augmented generation (RAG) in the question answering (QA) domain. Recently, self-citation prompting was proposed to make large language models (LLMs) generate citations to supporting documents along with their answers. However, self-citing LLMs often struggle to match the required format, refer to non-existent sources, and fail to faithfully reflect LLMs' context usage throughout the generation. In this work, we present MIRAGE --Model Internals-based RAG Explanations -- a plug-and-play approach using model internals for faithful answer attribution in RAG applications. MIRAGE detects context-sensitive answer tokens and pairs them with retrieved documents contributing to their prediction via saliency methods. We evaluate our proposed approach on a multilingual extractive QA dataset, finding high agreement with human answer attribution. On open-ended QA, MIRAGE achieves citation quality and efficiency comparable to self-citation while also allowing for a finer-grained control of attribution parameters. Our qualitative evaluation highlights the faithfulness of MIRAGE's attributions and underscores the promising application of model internals for RAG answer attribution.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑