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

通过检查推理过程进行无监督幻觉检测

Unsupervised Hallucination Detection by Inspecting Reasoning Processes

Nanyang Technological University(南洋理工大学)

Ponhvoan Srey, Xiaobao Wu, Anh Tuan Luu

AI总结:

提出无监督幻觉检测框架IRIS,通过提示LLM验证陈述真实性获取内部表示特征,结合响应不确定性作为软伪标签,在无需标注数据下实现低成本且泛化性强的实时检测。

摘要:

无监督幻觉检测旨在识别大型语言模型(LLMs)生成的幻觉内容,而无需依赖标注数据。尽管无监督方法因消除了耗费力的人工标注而日益流行,但它们通常依赖于与事实正确性无关的代理信号。这种不一致性使检测探针偏向于表面或非真相相关的方面,限制了跨数据集和场景的泛化能力。为克服这些局限,我们提出了IRIS,一个无监督幻觉检测框架,利用与事实正确性内在相关的内部表示。IRIS提示LLM仔细验证给定陈述的真实性,并获取其上下文嵌入作为信息特征用于训练。同时,每个响应的不确定性被视为真实性的软伪标签。实验结果表明,IRIS持续优于现有的无监督方法。我们的方法完全无监督,计算成本低,即使在少量训练数据下也能良好工作,适合实时检测。

英文摘要:

Unsupervised hallucination detection aims to identify hallucinated content generated by large language models (LLMs) without relying on labeled data. While unsupervised methods have gained popularity by eliminating labor-intensive human annotations, they frequently rely on proxy signals unrelated to factual correctness. This misalignment biases detection probes toward superficial or non-truth-related aspects, limiting generalizability across datasets and scenarios. To overcome these limitations, we propose IRIS, an unsupervised hallucination detection framework, leveraging internal representations intrinsic to factual correctness. IRIS prompts the LLM to carefully verify the truthfulness of a given statement, and obtain its contextualized embedding as informative features for training. Meanwhile, the uncertainty of each response is considered a soft pseudolabel for truthfulness. Experimental results demonstrate that IRIS consistently outperforms existing unsupervised methods. Our approach is fully unsupervised, computationally low cost, and works well even with few training data, making it suitable for real-time detection.

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

↑