arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2306.13781cs.IR
收藏

检索LLM生成答案的支持性证据

Retrieving Supporting Evidence for LLMs Generated Answers

Siqing Huo, Negar Arabzadeh, Charles L. A. Clarke

AI总结:

本文提出用检索到的支持证据自动验证LLM生成的答案,实验表明该方法在MS MARCO上准确率70-80%,不足以完全依赖来检测幻觉。

摘要:

当前的大型语言模型(LLM)在许多自然语言任务上可以展现出接近人类的性能水平,包括开放域问答。不幸的是,它们也会令人信服地产生幻觉,给出错误的答案,因此,在将问题的回答按表面价值接受之前,必须对照外部来源进行验证。在本文中,我们报告了一个简单的实验,以自动对照语料库验证生成的答案。在向LLM提出一个问题并收到生成的答案后,我们用问题+生成答案的组合查询语料库。然后,我们向LLM呈现问题+生成答案+检索到的答案的组合,提示它指出生成的答案是否可以得到检索到的答案的支持。我们的实验基于MS MARCO(V1)测试集中的问题和段落,探索了从标准BM25到完整问答栈(包括基于LLM的阅读器)的三种检索方法。对于很大一部分问题,我们发现,如果提供适当的支持材料,LLM能够验证其生成的答案。然而,由于准确率仅为70-80%,这种方法不能完全可靠地用于检测幻觉。

英文摘要:

Current large language models (LLMs) can exhibit near-human levels of performance on many natural language tasks, including open-domain question answering. Unfortunately, they also convincingly hallucinate incorrect answers, so that responses to questions must be verified against external sources before they can be accepted at face value. In this paper, we report a simple experiment to automatically verify generated answers against a corpus. After presenting a question to an LLM and receiving a generated answer, we query the corpus with the combination of the question + generated answer. We then present the LLM with the combination of the question + generated answer + retrieved answer, prompting it to indicate if the generated answer can be supported by the retrieved answer. We base our experiment on questions and passages from the MS MARCO (V1) test collection, exploring three retrieval approaches ranging from standard BM25 to a full question answering stack, including a reader based on the LLM. For a large fraction of questions, we find that an LLM is capable of verifying its generated answer if appropriate supporting material is provided. However, with an accuracy of 70-80%, this approach cannot be fully relied upon to detect hallucinations.

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

↑