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

Medico:基于多源证据融合的幻觉检测与修正

Medico: Towards Hallucination Detection and Correction with Multi-source Evidence Fusion

Harbin Institute of Technology (Shenzhen)(哈尔滨工业大学(深圳));Huawei Cloud, Huawei Technologies Ltd.(华为云,华为技术有限公司)

Xinping Zhao, Jindi Yu, Zhenyu Liu, Jifang Wang, Dongfang Li, Yibin Chen, Baotian Hu, Min Zhang

AI总结:

针对大型语言模型的幻觉问题,提出了多源证据融合增强的幻觉检测与修正框架Medico,通过融合多源证据自动检测事实错误并迭代修正,实验表明其在检索、检测与修正任务上均表现优异。

摘要:

众所周知,幻觉在大型语言模型(LLMs)中普遍存在,其生成的内容连贯但事实上不正确,这给LLMs的广泛应用带来了沉重打击。以往研究表明,LLMs会自信地陈述不存在的事实,而不是回答“我不知道”。因此,有必要借助外部知识来检测和修正幻觉内容。由于人工检测和修正事实错误非常耗费人力,开发一种自动的端到端幻觉检查方法确实是必需的。为此,我们提出了Medico,一个多源证据融合增强的幻觉检测与修正框架。它融合来自多个来源的多样证据,检测生成内容是否包含事实错误,提供判断背后的依据,并迭代修正幻觉内容。在证据检索(HR@5为0.964,MRR@5为0.908)、幻觉检测(F1为0.927-0.951)和幻觉修正(批准率为0.973-0.979)上的实验结果展示了Medico的巨大潜力。Medico的视频演示可在https://youtu.be/RtsO6CSesBI找到。

英文摘要:

As we all know, hallucinations prevail in Large Language Models (LLMs), where the generated content is coherent but factually incorrect, which inflicts a heavy blow on the widespread application of LLMs. Previous studies have shown that LLMs could confidently state non-existent facts rather than answering ``I don't know''. Therefore, it is necessary to resort to external knowledge to detect and correct the hallucinated content. Since manual detection and correction of factual errors is labor-intensive, developing an automatic end-to-end hallucination-checking approach is indeed a needful thing. To this end, we present Medico, a Multi-source evidence fusion enhanced hallucination detection and correction framework. It fuses diverse evidence from multiple sources, detects whether the generated content contains factual errors, provides the rationale behind the judgment, and iteratively revises the hallucinated content. Experimental results on evidence retrieval (0.964 HR@5, 0.908 MRR@5), hallucination detection (0.927-0.951 F1), and hallucination correction (0.973-0.979 approval rate) manifest the great potential of Medico. A video demo of Medico can be found at https://youtu.be/RtsO6CSesBI.

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

↑