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

面向长尾识别的双分支温度缩放校准

Dual-Branch Temperature Scaling Calibration for Long-Tailed Recognition

Jialin Guo, Zhenyu Wu, Zhiqiang Zhan, Yang Ji

AI总结:

针对长尾识别中少数类温度系数泛化差及 ECE 评估偏差问题,提出 Dual-TS 双分支温度缩放校准模型和 Esbin-ECE 指标,并在两项指标上达到最优。

摘要:

深度神经网络的校准目前正受到广泛关注和研究。错误校准通常会导致模型过度自信。然而,在数据呈长尾分布的条件下,由于少数类和多数类中样本的置信度不同,错误校准问题更加突出,并会导致更严重的过度自信。为解决这一问题,当前一些研究基于温度缩放(TS)方法,为不同类别设计了不同的温度系数。但是,在少数类样本稀少的情况下,温度系数不具备泛化性,并且训练集与验证集的温度系数之间存在较大差异。为应对这一挑战,本文提出一种双分支温度缩放校准模型(Dual-TS),该模型同时考虑不同类别温度参数的差异性,以及少数类稀有样本温度参数的不可泛化性。此外,我们注意到传统校准评估指标期望校准误差(ECE)对少数类中的低置信度样本赋予了更高权重,从而导致对模型校准的评估不准确。因此,我们还提出等样本分箱期望校准误差(Esbin-ECE)作为一种新的校准评估指标。通过实验,我们证明该模型在传统 ECE 和 Esbin-ECE 两项指标上均取得了最优水平。

英文摘要:

The calibration for deep neural networks is currently receiving widespread attention and research. Miscalibration usually leads to overconfidence of the model. While, under the condition of long-tailed distribution of data, the problem of miscalibration is more prominent due to the different confidence levels of samples in minority and majority categories, and it will result in more serious overconfidence. To address this problem, some current research have designed diverse temperature coefficients for different categories based on temperature scaling (TS) method. However, in the case of rare samples in minority classes, the temperature coefficient is not generalizable, and there is a large difference between the temperature coefficients of the training set and the validation set. To solve this challenge, this paper proposes a dual-branch temperature scaling calibration model (Dual-TS), which considers the diversities in temperature parameters of different categories and the non-generalizability of temperature parameters for rare samples in minority classes simultaneously. Moreover, we noticed that the traditional calibration evaluation metric, Excepted Calibration Error (ECE), gives a higher weight to low-confidence samples in the minority classes, which leads to inaccurate evaluation of model calibration. Therefore, we also propose Equal Sample Bin Excepted Calibration Error (Esbin-ECE) as a new calibration evaluation metric. Through experiments, we demonstrate that our model yields state-of-the-art in both traditional ECE and Esbin-ECE metrics.

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

↑