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

通过逐层信息缺陷检测大语言模型幻觉:模糊提示与不可回答问题的分析

Detecting LLM Hallucination Through Layer-wise Information Deficiency: Analysis of Ambiguous Prompts and Unanswerable Questions

University of Oxford(牛津大学)

Hazel Kim, Tom A. Lamb, Adel Bibi, Philip Torr, Yarin Gal

AI总结:

本文提出一种测试时方法,通过分析跨层信息动态($\mathcal{L}$I)检测大语言模型在模糊或不可回答问题上的幻觉,无需额外训练,为模型可靠性提供稳健指标。

摘要:

大语言模型(LLMs)经常生成自信但不准确的响应,在安全关键领域的部署中引入显著风险。我们提出了一种新颖的测试时方法,通过系统分析跨模型层的信息流来检测模型幻觉。我们针对LLMs处理具有模糊或不充分上下文输入的情况。我们的研究表明,幻觉表现为层间传输中的可用信息缺陷。虽然现有方法主要关注最终层输出分析,但我们证明跟踪跨层信息动态($\mathcal{L}$I)为模型可靠性提供了稳健的指标,同时考虑了计算过程中的信息增益和损失。$\mathcal{L}$I易于与预训练的LLMs集成,无需额外训练或架构修改。

英文摘要:

Large language models (LLMs) frequently generate confident yet inaccurate responses, introducing significant risks for deployment in safety-critical domains. We present a novel, test-time approach to detecting model hallucination through systematic analysis of information flow across model layers. We target cases when LLMs process inputs with ambiguous or insufficient context. Our investigation reveals that hallucination manifests as usable information deficiencies in inter-layer transmissions. While existing approaches primarily focus on final-layer output analysis, we demonstrate that tracking cross-layer information dynamics ($\mathcal{L}$I) provides robust indicators of model reliability, accounting for both information gain and loss during computation. $\mathcal{L}$I integrates easily with pretrained LLMs without requiring additional training or architectural modifications.

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

↑