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

通过词级温度缩放改进语言模型问答中的语义不确定性量化

Improving Semantic Uncertainty Quantification in Language Model Question-Answering via Token-Level Temperature Scaling

University of Oxford(牛津大学);University of Toronto(多伦多大学)

Tom A. Lamb, Desi R. Ivanova, Philip H. S. Torr, Tim G. J. Rudner

AI总结:

本文通过系统评估校准与判别两个方面,提出词级温度缩放方法,有效提升语义校准、判别及下游熵值,优于传统基线和更复杂的重校准方法。

摘要:

校准是可靠语义不确定性量化的核心,但先前工作大多聚焦于判别,忽视了校准。由于校准与判别捕捉的是不确定性不同的方面,仅关注判别会得到不完整的画面。我们通过系统评估广泛置信度测量中的两个方面来解决这一缺口。我们展示了当前方法,特别是固定温度启发式方法,会产生系统性校准不当且判别能力差的语义置信度分布。我们证明优化单一标量温度,我们认为这提供了一个合适的归纳偏差,是一个出人意料但有效的解决方案。我们的全面评估证实,温度缩放一致地提高了语义校准、判别和下游熵值,在问答任务中优于传统基线和更复杂的词级重校准方法。

英文摘要:

Calibration is central to reliable semantic uncertainty quantification, yet prior work has largely focused on discrimination, neglecting calibration. As calibration and discrimination capture distinct aspects of uncertainty, focusing on discrimination alone yields an incomplete picture. We address this gap by systematically evaluating both aspects across a broad set of confidence measures. We show that current approaches, particularly fixed-temperature heuristics, produce systematically miscalibrated and poorly discriminative semantic confidence distributions. We demonstrate that optimising a single scalar temperature, which, we argue, provides a suitable inductive bias, is a surprisingly simple yet effective solution. Our exhaustive evaluation confirms that temperature scaling consistently improves semantic calibration, discrimination, and downstream entropy, outperforming both heuristic baselines and more expressive token-level recalibration methods on question-answering tasks.

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

↑