arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2306.00740cs.LGstat.ML
收藏

论分布重叠下温度缩放的局限性

On the Limitations of Temperature Scaling for Distributions with Overlaps

Duke University(杜克大学)

Muthu Chidambaram, Rong Ge

AI总结:

本文揭示了温度缩放在处理类别分布重叠时性能退化的瓶颈,并从理论和实验上证明Mixup数据增强引发的修改经验风险能实现更好的校准,表明训练时校准的必要性。

摘要:

尽管深度神经网络具有出色的泛化能力,但人们反复发现它们在犯错时过于自信。解决这一问题被称为模型校准,因此受到了广泛关注,其形式包括修改的训练方案和训练后校准程序(如温度缩放)。虽然温度缩放因其简单性而被频繁使用,但它通常不如修改的训练方案表现好。在本研究中,我们识别了温度缩放性能的一个特定瓶颈。我们表明,对于类别支持区域存在重叠的通用分布集合的经验风险最小化器,温度缩放的性能会随类别间重叠程度的增加而退化;当类别数量庞大时,其表现渐近地变得不比随机更好。另一方面,我们证明,优化由 Mixup 数据增强技术引发的修改形式经验风险,实际上可以带来相当好的校准性能,这表明在某些情况下训练时校准可能是必要的。我们还通过实验验证了理论结果反映实践:在以标签噪声形式引入类别重叠的图像分类基准上,Mixup 在多个校准指标上显著优于经验风险最小化。

英文摘要:

Despite the impressive generalization capabilities of deep neural networks, they have been repeatedly shown to be overconfident when they are wrong. Fixing this issue is known as model calibration, and has consequently received much attention in the form of modified training schemes and post-training calibration procedures such as temperature scaling. While temperature scaling is frequently used because of its simplicity, it is often outperformed by modified training schemes. In this work, we identify a specific bottleneck for the performance of temperature scaling. We show that for empirical risk minimizers for a general set of distributions in which the supports of classes have overlaps, the performance of temperature scaling degrades with the amount of overlap between classes, and asymptotically becomes no better than random when there are a large number of classes. On the other hand, we prove that optimizing a modified form of the empirical risk induced by the Mixup data augmentation technique can in fact lead to reasonably good calibration performance, showing that training-time calibration may be necessary in some situations. We also verify that our theoretical results reflect practice by showing that Mixup significantly outperforms empirical risk minimization (with respect to multiple calibration metrics) on image classification benchmarks with class overlaps introduced in the form of label noise.

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

↑