Does confidence calibration improve conformal prediction?
Southern University of Science and Technology(南方科技大学);Nanyang Technological University(南洋理工大学);University of Macau(澳门大学);Singapore University of Technology and Design(新加坡科技设计大学)
Huajun Xi, Jianguo Huang, Kangdao Liu, Lei Feng, Hongxin Wei
共形预测是一种新兴的不确定性量化技术,它构建的预测集保证以预定义的概率包含真实标签。以往的研究通常采用温度缩放来校准分类器,假设置信度校准有益于共形预测。然而,置信度校准对共形预测的具体影响仍有待深入探索。在本研究中,我们关于置信度校准方法对自适应共形预测的影响得出了两个关键发现。首先,我们通过实证表明,当前的置信度校准方法(例如温度缩放)通常会在自适应共形预测中导致更大的预测集。其次,通过研究温度值的作用,我们观察到高置信度预测能够提升自适应共形预测的效率。在理论上,我们证明了更高置信度的预测在期望上会产生更小的预测集。这一发现意味着,这些校准方法中的重缩放参数在使用交叉熵损失进行优化时,可能会与生成高效预测集的目标相悖。为了解决这一问题,我们提出了 Conformal Temperature Scaling (ConfTS),这是温度缩放的一种变体,其带有旨在提升预测集效率的新型损失函数。该方法可扩展用于优化其他事后置信度校准方法的参数。大量实验表明,我们的方法改进了现有的自适应共形预测方法在分类任务中的表现,尤其是在使用 LLMs 时。
英文摘要:
Conformal prediction is an emerging technique for uncertainty quantification that constructs prediction sets guaranteed to contain the true label with a predefined probability. Previous works often employ temperature scaling to calibrate classifiers, assuming that confidence calibration benefits conformal prediction. However, the specific impact of confidence calibration on conformal prediction remains underexplored. In this work, we make two key discoveries about the impact of confidence calibration methods on adaptive conformal prediction. Firstly, we empirically show that current confidence calibration methods (e.g., temperature scaling) typically lead to larger prediction sets in adaptive conformal prediction. Secondly, by investigating the role of temperature value, we observe that high-confidence predictions can enhance the efficiency of adaptive conformal prediction. Theoretically, we prove that predictions with higher confidence result in smaller prediction sets on expectation. This finding implies that the rescaling parameters in these calibration methods, when optimized with cross-entropy loss, might counteract the goal of generating efficient prediction sets. To address this issue, we propose Conformal Temperature Scaling (ConfTS), a variant of temperature scaling with a novel loss function designed to enhance the efficiency of prediction sets. This approach can be extended to optimize the parameters of other post-hoc methods of confidence calibration. Extensive experiments demonstrate that our method improves existing adaptive conformal prediction methods in classification tasks, especially with LLMs.
Deep Neural Network Calibration by Reducing Classifier Shift with Stochastic Masking
School of Artificial Intelligence, Jilin University(吉林大学人工智能学院);CSIRO's Data61 and Monash University (adjunct)(CSIRO的数据61与墨尔本大学(兼职));King Abdullah University of Science and Technology(国王阿卜杜勒阿齐兹科技大学)
Calibrating Bayesian Learning via Regularization, Confidence Minimization, and Selective Inference
King’s Communications, Learning & Information Processing (KCLIP) lab(国王通讯、学习与信息处理(KCLIP)实验室);Centre for Intelligent Information Processing Systems (CIIPS)(智能信息处理系统中心);Department of Engineering, King’s College London(伦敦国王学院工程系)
Conformal Calibration: Ensuring the Reliability of Black-Box AI in Wireless Systems
King’s Communications, Learning and Information Processing (KCLIP) lab(国王通讯、学习与信息处理实验室);Centre for Intelligent Information Processing Systems (CIIPS)(智能信息处理系统中心);Department of Engineering(工程系)
Impact of Data Augmentation on Confidence Calibration in Melanoma Classification
Technological University Dublin(都柏林理工大学);Research Ireland Centre for Research Training in Machine Learning(爱尔兰研究机器学习研究培训中心);University College Dublin(都柏林大学学院);Dublin City University(都柏林城市大学)
Learning to Cascade: Confidence Calibration for Improving the Accuracy and Computational Cost of Cascade Inference Systems
NTT Software Innovation Center(NTT软件创新中心)
最近,深度神经网络已被用于各种应用中。在深度神经网络的准确性不断提高的同时,表示预测结果可靠性的置信度得分也变得更加重要。深度神经网络被认为是高度准确的,但众所周知是过度自信的,因此校准置信度分数很重要。许多研究已经进行了置信度校准。他们校准模型的置信度得分以匹配其准确性,但尚不清楚这些置信度得分是否可以提高使用置信度得分的系统的性能。本文重点研究了级联推理系统,一种使用置信度的系统,并讨论了期望的置信度,以提高系统的推理精度和计算成本方面的性能。在此基础上,提出了一种新的置信度校准方法--学习级联法。学习级联是一种简单但新颖的方法,它可以同时优化原始损失项和置信度校准损失项。实验使用两个数据集,CIFAR-100和ImageNet,在两个系统设置中进行,并表明,现有的校准方法级联推理系统的天真应用有时表现更差。然而,学习级联总是在推理精度和计算成本之间实现更好的权衡。Learning to Cascade的简单性使其可以轻松地应用于提高现有系统的性能。
On the effectiveness of reward functions in reinforcement learning for confidence calibration of large language models
School of Computing National University of Singapore(新加坡国立大学计算机学院);Institute of Advanced Intelligence and Computing(高级智能与计算研究所);Agency for Science, Technology and Research(科技研究局);Department of Electrical & Computer Engineering(电气与计算机工程系)
Probabilistic Conformal Coverage Guarantees in Small-Data Settings
Berkeley Synchrotron Infrared Structural Biology Program(伯克利同步辐射红外结构生物学项目);Center for Advanced Mathematics in Energy Research Applications(能源研究应用高级数学中心);Molecular Biophysics and Integrated Bioimaging Division(分子生物物理与整合生物成像部门)