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.
翻译:在这项工作中,我们研究了在现实世界大型数据集中预测可靠与否的问题,由于高维特征、不同视觉概念和大规模抽样,任务更具有挑战性。在这种环境下,我们观察到,经过培训的具有先前水平损失预测功能的可信赖性预测员,即交叉网络性损失、焦点损失和真实级别概率信心损失,很容易看到正确的预测和不正确的预测是可信的。在这项工作中,我们研究了在现实世界大型数据集中预测可信度是否可靠的问题,由于高维特征、不同视觉概念和大比例样本,任务更具有挑战性。在这种环境下,我们观察到,经过培训的具有先前水平损失预测功能的可信赖性预测员,即交叉网络性损失、中心损失和真实级别概率信心损失,因此很容易看到准确的预测和不正确的预测是可靠的。首先,正确预测通常优先于不正确的预测。第二,由于数据的复杂性,我们很难将错误的预测与真实的准确预测与现实前水平预测区分。为了提高可信度,我们提议的一种新的斜度估算值,即准确的准确的准确的预测与两种不同的预测是透性分析,我们所估计的估价的曲线显示的准确性。