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

基于证据的大语言模型不确定性估计

Estimating LLM Uncertainty with Evidence

Tianjin University(天津大学);Beijing University of Posts and Telecommunications(北京邮电大学);A*STAR(新加坡科技研究局)

Huan Ma, Jingdong Chen, Joey Tianyi Zhou, Guangyu Wang, Changqing Zhang

AI总结:

本文针对大语言模型幻觉问题,提出LogTokU框架,通过证据建模估计解耦的token不确定性,无需多次采样即可实现实时估计并指导下游任务。

摘要:

在过去几年中,大语言模型(LLMs)发展迅速,并被广泛应用于各个领域。然而,LLMs面临幻觉问题,即当模型缺乏相关知识时,可能生成不可靠的回复。为了感知潜在的幻觉,研究者引入了不确定性估计方法,其中大多数方法已证实可靠性存在于关键token中。然而,基于概率的方法在识别token可靠性方面表现不佳,限制了其实用价值。本文揭示了基于概率的方法之所以无法估计token可靠性,是因为其丢失了在训练阶段积累的证据强度信息。为此,我们提出了Logits诱导的token不确定性(LogTokU)框架,用于估计LLMs中解耦的token不确定性,无需多次采样过程即可实现实时不确定性估计。我们采用证据建模来实现LogTokU,并利用估计的不确定性来指导下游任务。实验结果表明,LogTokU具有显著的有效性和应用前景。

英文摘要:

Over the past few years, Large Language Models (LLMs) have developed rapidly and are widely applied in various domains. However, LLMs face the issue of hallucinations, generating responses that may be unreliable when the models lack relevant knowledge. To be aware of potential hallucinations, uncertainty estimation methods have been introduced, and most of them have confirmed that reliability lies in critical tokens. However, probability-based methods perform poorly in identifying token reliability, limiting their practical utility. In this paper, we reveal that the probability-based method fails to estimate token reliability due to the loss of evidence strength information which is accumulated in the training stage. Therefore, we present Logits-induced token uncertainty (LogTokU), a framework for estimating decoupled token uncertainty in LLMs, enabling real-time uncertainty estimation without requiring multiple sampling processes. We employ evidence modeling to implement LogTokU and use the estimated uncertainty to guide downstream tasks. The experimental results demonstrate that LogTokU has significant effectiveness and promise.

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

↑