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

一种用于增强大型语言模型零资源幻觉检测的多项填空考试方法

A Multiple-Fill-in-the-Blank Exam Approach for Enhancing Zero-Resource Hallucination Detection in Large Language Models

Fujitsu LTD.(富士通公司)

Satoshi Munakata, Taku Fukui, Takao Mohri

AI总结:

本文提出一种多项填空考试方法,通过掩码原始文本多个对象并让LLM反复作答以保持故事情节一致,从而量化幻觉程度,有效提升了零资源幻觉检测的准确率并实现了更优的集成性能。

摘要:

大型语言模型(LLMs)经常会捏造幻觉文本。目前已开发出几种方法,通过将文本与概率性重新生成的多个版本进行语义比较来检测此类文本。然而,一个显著问题是,如果每个重新生成文本的故事情节发生改变,生成的文本将变得无法比较,从而降低检测准确率。在本文中,我们提出了一种结合多项填空考试方法的幻觉检测方法,以解决这种故事情节变化的问题。首先,我们的方法通过掩码原始文本中的多个对象来创建多项填空考试。其次,提示LLM反复回答此考试。这种方法确保了考试答案的故事情节与原始情节保持一致。最后,通过为考试答案评分来量化每个原始句子的幻觉程度,同时考虑原始文本本身内部潜在的幻觉雪球效应。实验结果表明,我们的方法不仅单独优于现有方法,而且在与其他现有方法的集成中也实现了更清晰的最新技术性能。

英文摘要:

Large language models (LLMs) often fabricate a hallucinatory text. Several methods have been developed to detect such text by semantically comparing it with the multiple versions probabilistically regenerated. However, a significant issue is that if the storyline of each regenerated text changes, the generated texts become incomparable, which worsen detection accuracy. In this paper, we propose a hallucination detection method that incorporates a multiple-fill-in-the-blank exam approach to address this storyline-changing issue. First, our method creates a multiple-fill-in-the-blank exam by masking multiple objects from the original text. Second, prompts an LLM to repeatedly answer this exam. This approach ensures that the storylines of the exam answers align with the original ones. Finally, quantifies the degree of hallucination for each original sentence by scoring the exam answers, considering the potential for \emph{hallucination snowballing} within the original text itself. Experimental results show that our method alone not only outperforms existing methods, but also achieves clearer state-of-the-art performance in the ensembles with existing methods.

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

↑