Large Language Models (LLMs) often lack meaningful confidence estimates for their outputs. While base LLMs are known to exhibit next-token calibration, it remains unclear whether they can assess confidence in the actual meaning of their responses beyond the token level. We find that, when using a certain sampling-based notion of semantic calibration, base LLMs are remarkably well-calibrated: they can meaningfully assess confidence in open-domain question-answering tasks, despite not being explicitly trained to do so. Our main theoretical contribution establishes a mechanism for why semantic calibration emerges as a byproduct of next-token prediction, leveraging a recent connection between calibration and local loss optimality. The theory relies on a general definition of "B-calibration," which is a notion of calibration parameterized by a choice of equivalence classes (semantic or otherwise). This theoretical mechanism leads to a testable prediction: base LLMs will be semantically calibrated when they can easily predict their own distribution over semantic answer classes before generating a response. We state three implications of this prediction, which we validate through experiments: (1) Base LLMs are semantically calibrated across question-answering tasks, (2) RL instruction-tuning systematically breaks this calibration, and (3) chain-of-thought reasoning breaks calibration. To our knowledge, our work provides the first principled explanation of when and why semantic calibration emerges in LLMs.
Double-Calibration: Towards Reliable LLMs via Calibrating Knowledge and Reasoning Confidence
School of Computer Science and Engineering, Sun Yat-sen University, Guangzhou, China(中山大学计算机科学与工程学院,广州,中国);Department of Computing, The Hong Kong Polytechnic University, Hong Kong SAR(香港理工大学计算机系,香港特别行政区);School of Science and Technology, Hong Kong Metropolitan University, Hong Kong SAR(香港 Metropolitan 大学科技学院,香港特别行政区)
C-TPT: Calibrated Test-Time Prompt Tuning for Vision-Language Models via Text Feature Dispersion
Korea Advanced Institute of Science and Technology (KAIST)(韩国科学技术院(KAIST));University of Illinois at Urbana-Champaign (UIUC)(伊利诺伊大学厄巴纳-香槟分校(UIUC));Imperial College London(伦敦帝国学院)
Extracting Chemical-Protein Interactions via Calibrated Deep Neural Network and Self-training
Gwangju Institute of Science and Technology(光州科学技术院)
从一些生物医学文章中提取化学物质和蛋白质之间的相互作用在许多生物医学研究领域都很重要,例如药物开发和药物副作用的预测。包括深度神经网络(DNN)模型在内的几种自然语言处理方法已经被应用于解决这个问题。然而,这些方法是用硬标记数据训练的,这些数据往往变得过于自信,导致模型可靠性下降。为了估计数据的不确定性并提高可靠性,“校准”技术已被应用于深度学习模型。在这项研究中,提取化学-蛋白质相互作用,我们提出了一种基于DNN的方法,结合不确定性信息和校准技术。我们的模型首先使用预训练的语言理解模型对输入序列进行编码,然后使用两种校准方法进行训练:混合训练和增加置信度惩罚损失。最后,使用使用估计的不确定性提取的增强数据重新训练模型。我们的方法已经实现了国家的最先进的性能方面的Biocreative VI ChemProt任务,同时保留更高的校准能力比以前的方法。此外,我们的方法也提出了使用不确定性估计的性能改进的可能性。