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

不确定性观测于何处?大语言模型中不确定性量化的机制理解

Where Is Uncertainty Observed? A Mechanistic Understanding of Uncertainty Quantification in LLMs

University College London(伦敦大学学院);Technische Universität Darmstadt(达姆施塔特工业大学);Universität zu Lübeck(吕贝克大学);Mohamed bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学)

Xiaoyu Liang, Virginia Ceccatelli, Aliai Eusebi, Tobias Braun, Nils Loose, Carlo Malagnino, Lorenzo Cavallaro

AI总结:

该研究借助机制可解释性定义四种观测视角,为大语言模型不确定性量化方法选择提供原则,综述现有方法并明确评估协议,指出相关开放问题与研究方向。

摘要:

了解大语言模型(LLM)的响应何时可被信任,对其安全使用至关重要。不确定性量化(UQ)可帮助LLM识别其响应是否可能不可靠。现有分类法按不确定性来源或估计机制组织UQ方法,但未解决模型计算中不确定性观测于何处的问题。该答案至关重要,因为观测点决定了估计器是否能获取足够信息以恢复给定目标,以及恢复效果如何。我们借助机制可解释性,定义了四种机制观测视角:结构视角观测组件更新,表征视角观测隐藏状态,分布视角观测token概率,语义视角观测含义分布。我们通过残差流关联这些视角,并按其携带的信息排序,这为针对不同目标选择UQ方法提供了原则。我们通过这四种视角对现有方法进行了综述。此外,我们区分了评估目标、标准和指标,以阐明不同的UQ评估协议。最后,我们确定了将不确定性估计与LLM的内部计算及下游使用相连接的开放问题和研究方向。

英文摘要:

Knowing when a large language model's (LLM's) response can be trusted is critical for its safe use. Uncertainty quantification (UQ) can help LLMs recognize if their responses may be unreliable. Existing taxonomies organize UQ methods by uncertainty source or estimation mechanism. They leave unresolved the question of where uncertainty is observed in the model's computation. The answer matters because the observation point determines whether an estimator has access to enough information to recover a given target, and how well it can recover it. Drawing on mechanistic interpretability, we define four mechanistic observation lenses: the structural lens observes component updates, the representational lens observes hidden states, the distributional lens observes token probabilities, and the semantical lens observes distributions over meanings. We relate these lenses through the residual stream and order them by the information they carry, which gives a principle for selecting UQ methods for different targets. We survey existing methods through the four lenses. Furthermore, we distinguish evaluation targets, criteria, and metrics to clarify different UQ evaluation protocols. Finally, we identify open problems and research directions to connect uncertainty estimation to the internal computation and downstream use of LLMs.

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

↑