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

大语言模型中置信信号的测量有效性与表示动态

Measurement Validity and Representation Dynamics of Confidence Signals in Large Language Models

Debojeet Ghosh, Shreyansh Kumar, Ayushman Garg

AI总结:

该研究对比大语言模型的口头置信度、线性探测、采样一致性三种置信信号测量渠道,在Qwen2.5模型的事实检索与推理任务中发现其有效性、稳定性等差异,修正了现有可互换的假设。

摘要:

语言模型是否“自知其所知”对可信部署及决定何时弃权(不执行)至关重要。现有研究通常通过单一渠道测量这一点:口头置信度、对隐藏状态的线性探测,或采样答案间的一致性(语义熵),且常将这些渠道视为可互换。我们在一项预注册审计中对比了所有三种渠道,审计对象为5个Qwen2.5模型(规模0.5B-7B,含一对7B的基础/指令微调模型),任务为事实检索(PopQA、SimpleQA)与多步推理(GSM8K、MATH)。首先,训练于前缀填充状态以预测采样答案是否不一致的探测头,在检索任务中(平均约7%的层深度)比推理任务(约28%)更早变得有信息;预注册的五层测试仅微弱支持该结论,基于此结果设计的更精细21层后续测试则更清晰地支持了该结论。然而,在多数检索单元中,仅用提示的TF-IDF分类器表现与探测头相当,因此早期信号可能反映问题的表面特征。其次,口头置信度不稳定:极细微的提示模板差异会导致几乎不相关的分数。第三,预期校准误差(ECE)具有误导性:口头置信度看似校准良好,因其聚集于基准率附近但区分度差,而采样一致性的ECE更差但分辨率约为其两倍。在5项预注册假设中,2项被证伪,1项部分支持,1项未被支持,1项因基础模型的口头置信度退化而无法测试。

英文摘要:

Whether a language model "knows what it knows" matters for trustworthy deployment and for deciding when it should abstain. Prior work usually measures this through one channel: verbalized confidence, a linear probe on hidden states, or agreement among sampled answers (semantic entropy), and often treats these as interchangeable. We compare all three in a pre-registered audit of five Qwen2.5 models (0.5B-7B, including a base/instruct pair at 7B) on factual retrieval (PopQA, SimpleQA) and multi-step reasoning (GSM8K, MATH). First, probes trained on prefill states to predict whether sampled answers will disagree become informative earlier for retrieval (about 7% of layer depth on average) than for reasoning (about 28%). The pre-registered five-layer test supported this only marginally; a finer 21-layer follow-up, designed after those results, supports it more clearly. In most retrieval cells, however, a prompt-only TF-IDF classifier matches the probe, so the early signal may reflect surface features of the question. Second, verbalized confidence is unstable: slightly different prompt templates yield scores that barely correlate. Third, Expected Calibration Error is misleading: verbal confidence looks well calibrated because it clusters near the base rate while discriminating poorly, whereas sampling agreement has worse ECE but about twice the resolution. Of five pre-registered hypotheses, two were falsified, one was partly supported, one was not supported, and one could not be tested because the base model's verbal confidence was degenerate.

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

↑