陡坡损失下的可信度预测学习
Learning to Predict Trustworthiness with Steep Slope Loss
摘要:
了解分类器产生的预测的可信度对于安全有效地使用AI模型至关重要。先前的努力已被证明是可靠的小规模数据集。在这项工作中,我们研究了在现实世界的大规模数据集上预测可信度的问题,由于高维特征,不同的视觉概念和大规模样本,该任务更具挑战性。在这样的设置中,我们观察到用现有技术的损失函数训练的可信度预测器,即,交叉熵损失、焦点损失和真类概率置信度损失倾向于认为正确预测和不正确预测都是可信的。原因有两方面。首先,正确的预测通常比不正确的预测占主导地位。其次,由于数据的复杂性,在真实世界的大规模数据集上区分错误的预测和正确的预测是具有挑战性的。为了提高可信度预测的泛化能力,我们提出了一种新的陡坡损失分离的功能w.r.t. w.r.t.的预测正确。两条相互对立的幻灯片状曲线的错误预测。使用两个代表性的深度学习模型来评估所提出的损失,即,视觉Transformer和ResNet,作为可信度预测器。我们在ImageNet上进行了全面的实验和分析,结果表明,所提出的损失有效地提高了可信度预测器的泛化能力。可在https://github.com/luoyan407/predict_trustworthiness上获得代码和预训练的可重复性可信度预测器。
英文摘要:
Understanding the trustworthiness of a prediction yielded by a classifier is critical for the safe and effective use of AI models. Prior efforts have been proven to be reliable on small-scale datasets. In this work, we study the problem of predicting trustworthiness on real-world large-scale datasets, where the task is more challenging due to high-dimensional features, diverse visual concepts, and large-scale samples. In such a setting, we observe that the trustworthiness predictors trained with prior-art loss functions, i.e., the cross entropy loss, focal loss, and true class probability confidence loss, are prone to view both correct predictions and incorrect predictions to be trustworthy. The reasons are two-fold. Firstly, correct predictions are generally dominant over incorrect predictions. Secondly, due to the data complexity, it is challenging to differentiate the incorrect predictions from the correct ones on real-world large-scale datasets. To improve the generalizability of trustworthiness predictors, we propose a novel steep slope loss to separate the features w.r.t. correct predictions from the ones w.r.t. incorrect predictions by two slide-like curves that oppose each other. The proposed loss is evaluated with two representative deep learning models, i.e., Vision Transformer and ResNet, as trustworthiness predictors. We conduct comprehensive experiments and analyses on ImageNet, which show that the proposed loss effectively improves the generalizability of trustworthiness predictors. The code and pre-trained trustworthiness predictors for reproducibility are available at https://github.com/luoyan407/predict_trustworthiness.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。