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

检测检索增强生成中关于争议性话题的幻觉与覆盖错误

Detecting Hallucination and Coverage Errors in Retrieval Augmented Generation for Controversial Topics

Google Research(谷歌研究院);UC San Diego(加州大学圣地亚哥分校)

Tyler A. Chang, Katrin Tomanek, Jessica Hoffmann, Nithum Thain, Erin van Liemt, Kathleen Meier-Hellstern, Lucas Dixon

AI总结:

本研究针对LLM聊天机器人处理争议话题,基于NPOV原则提出检索增强生成框架,并评估三种错误检测方法,其中基于LLM的分类器在幻觉和覆盖错误检测上分别达到95.3%和90.5%的ROC AUC。

摘要:

我们探索了一种基于维基百科中立观点(NPOV)原则来处理基于LLM的聊天机器人中争议性话题的策略:承认不存在单一正确答案,并呈现多种观点。我们将此框架为检索增强生成,其中从知识库中检索观点,LLM的任务是根据给定的观点生成流畅且忠实的响应。作为起点,我们使用确定性检索系统,然后关注在这种文本生成方法中出现的常见LLM故障模式,即幻觉和覆盖错误。我们提出并评估了三种检测此类错误的方法,基于(1)词重叠,(2)显著性,以及(3)基于LLM的分类器。我们的结果表明,基于LLM的分类器,即使仅使用合成错误进行训练,也能在明确的错误案例中实现高错误检测性能,幻觉检测的ROC AUC分数为95.3%,覆盖错误检测为90.5%。我们表明,当没有训练数据可用时,我们的其他方法在幻觉(84.0%)和覆盖错误(85.2%)检测上仍能取得良好结果。

英文摘要:

We explore a strategy to handle controversial topics in LLM-based chatbots based on Wikipedia's Neutral Point of View (NPOV) principle: acknowledge the absence of a single true answer and surface multiple perspectives. We frame this as retrieval augmented generation, where perspectives are retrieved from a knowledge base and the LLM is tasked with generating a fluent and faithful response from the given perspectives. As a starting point, we use a deterministic retrieval system and then focus on common LLM failure modes that arise during this approach to text generation, namely hallucination and coverage errors. We propose and evaluate three methods to detect such errors based on (1) word-overlap, (2) salience, and (3) LLM-based classifiers. Our results demonstrate that LLM-based classifiers, even when trained only on synthetic errors, achieve high error detection performance, with ROC AUC scores of 95.3% for hallucination and 90.5% for coverage error detection on unambiguous error cases. We show that when no training data is available, our other methods still yield good results on hallucination (84.0%) and coverage error (85.2%) detection.

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

↑