用于提取大语言模型置信度的学习式读出令牌 Learned Readout Tokens for Extracting Large Language Model Confidence 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-10-20
⬇️ 2 次下载
👁️ 预览文献
💡 AI 中文简介
大语言模型在日常应用中越来越普遍,判断其单次回答是否可信很重要。现有做法是在模型隐藏状态上训练探针来预测回答对错,但探针只读取词表中已有令牌的隐藏状态。本文提出学习一个新的“读出令牌”,用它的隐藏状态训练探针(ScratchProbe),在多个数据集和模型上优于原有做法,并进一步提出多令牌版本带来额外提升。由于只改变探针读取位置,任何现有探针都能直接采用,在先进探针上使各骨干模型域内域外AUROC全面提升。
领域自然语言处理/大语言模型可信度与不确定性估计
适合谁读需要一定专业背景(了解LLM隐藏状态与探针方法)
核心贡献1. 提出学习式读出令牌ScratchProbe,用新令牌的隐藏状态训练置信度探针,优于读取已有令牌的做法;2. 方法即插即用,可被任何现有探针采用,并扩展出多令牌版本进一步提升性能。
关键数据在多种数据集和LLM上ScratchProbe优于已有令牌对应方法;多令牌版本性能进一步提升;应用于先进探针时,在每个骨干模型上域内和域外AUROC均有提升。
推荐理由如果你关心LLM回答到底靠不靠谱,这篇给出了一个即插即用、几乎零成本改造现有探针的小妙招,值得一读。
关键词["大语言模型", "置信度估计", "探针", "读出令牌", "AUROC", "模型可信度"]

原文摘要

查看英文原文摘要

Large language models (LLMs) are increasingly used within everyday applications where their responses have significant downstream impacts. For responsible deployment of such systems, we desire insight into how much we can trust their individual outputs. A popular approach for estimating LLM confidence is to train probes on the hidden states of the LLM's tokens to predict the correctness of the model's output. These probes typically read hidden states from tokens that are already in the model's vocabulary. In this work, we introduce a new approach to confidence probes that learn a new readout token and utilize its hidden states to train the probe. We show that our learned readout approach ScratchProbe outperforms its existing-token counterpart on a variety of datasets and LLMs. We also extend our method to a multi-token approach which we show provides further performance improvements. Finally, since the learned readout changes only the position a probe reads from, any existing probe can adopt it. Applied to a state-of-the-art probe, it improves AUROC on every backbone, in domain and out of domain.