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

SAC3:基于语义感知交叉检查一致性的黑盒语言模型可靠幻觉检测

SAC3: Reliable Hallucination Detection in Black-Box Language Models via Semantic-aware Cross-check Consistency

Intuit AI Research(Intuit人工智能研究院);Vanderbilt University(范德堡大学);Vanderbilt University Medical Center(范德堡大学医学中心)

Jiaxin Zhang, Zhuohang Li, Kamalika Das, Bradley A. Malin, Sricharan Kumar

AI总结:

针对语言模型自一致性检查无法有效识别问题级和模型级幻觉的问题,提出SAC3方法,通过语义等价问题扰动和跨模型响应一致性检查进行检测,在多个基准上优于现有技术。

摘要:

幻觉检测是理解现代语言模型(LMs)可信度的关键步骤。为实现这一目标,我们重新审视了基于LMs自一致性的现有检测方法,并发现了由1)问题级和2)模型级导致的两种幻觉,仅通过自一致性检查无法有效识别它们。基于这一发现,我们提出了一种新的基于采样的方法,即语义感知交叉检查一致性(SAC3),该方法扩展了自一致性检查的原则。我们的SAC3方法结合了额外的机制,通过利用语义等价问题扰动和跨模型响应一致性检查等技术进展,来检测问题级和模型级幻觉。通过广泛且系统的实证分析,我们证明了SAC3在多个问答和开放域生成基准上检测非事实性和事实性陈述方面均优于现有技术。

英文摘要:

Hallucination detection is a critical step toward understanding the trustworthiness of modern language models (LMs). To achieve this goal, we re-examine existing detection approaches based on the self-consistency of LMs and uncover two types of hallucinations resulting from 1) question-level and 2) model-level, which cannot be effectively identified through self-consistency check alone. Building upon this discovery, we propose a novel sampling-based method, i.e., semantic-aware cross-check consistency (SAC3) that expands on the principle of self-consistency checking. Our SAC3 approach incorporates additional mechanisms to detect both question-level and model-level hallucinations by leveraging advances including semantically equivalent question perturbation and cross-model response consistency checking. Through extensive and systematic empirical analysis, we demonstrate that SAC3 outperforms the state of the art in detecting both non-factual and factual statements across multiple question-answering and open-domain generation benchmarks.

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

↑