用于失败检测的模型可信度量化经验最优风险
Empirical Optimal Risk to Quantify Model Trustworthiness for Failure Detection
AI总结:
本文提出E-AUoptRC和信任指数(TI)两个互补指标,通过最优覆盖率点评估模型失败检测能力与可信度,并在多个基准数据集上验证其优于现有指标。
摘要:
人工智能系统中的失败检测(FD)是安全关键任务部署的重要保障。FD性能的常用评估方法是风险-覆盖率(RC)曲线,该曲线揭示了数据覆盖率与已接受数据性能之间的权衡。量化RC曲线的一种常见方式是计算RC曲线下面积。然而,该指标并不能说明任何方法对FD的适用程度,也不能说明最优覆盖率应为多少。由于FD旨在以更少的数据丢弃实现更高的性能,因此以排除最不确定样本的部分覆盖率进行评估比完全覆盖率更直观、更有意义。此外,在覆盖率中存在一个最优点,模型在该点理论上可以达到理想性能。我们提出了最优RC曲线下超额面积(E-AUoptRC),其覆盖范围从最优点到完全覆盖率。进一步地,模型在该最优点的性能可以同时代表模型的学习能力和校准能力。我们将其提出为信任指数(TI),作为对整体模型准确率的补充评估指标。我们在三个基准图像数据集上对十种Transformer和CNN模型变体进行了大量实验。结果表明,与现有评估指标相比,我们提出的方法能够更好地反映模型可信度。我们进一步观察到,整体准确率高的模型并不总是具有高TI,这表明所提出的信任指数作为模型整体准确率的补充指标是必要的。代码可在\url{https://github.com/AoShuang92/optimal_risk}获取。
英文摘要:
Failure detection (FD) in AI systems is a crucial safeguard for the deployment for safety-critical tasks. The common evaluation method of FD performance is the Risk-coverage (RC) curve, which reveals the trade-off between the data coverage rate and the performance on accepted data. One common way to quantify the RC curve by calculating the area under the RC curve. However, this metric does not inform on how suited any method is for FD, or what the optimal coverage rate should be. As FD aims to achieve higher performance with fewer data discarded, evaluating with partial coverage excluding the most uncertain samples is more intuitive and meaningful than full coverage. In addition, there is an optimal point in the coverage where the model could achieve ideal performance theoretically. We propose the Excess Area Under the Optimal RC Curve (E-AUoptRC), with the area in coverage from the optimal point to the full coverage. Further, the model performance at this optimal point can represent both model learning ability and calibration. We propose it as the Trust Index (TI), a complementary evaluation metric to the overall model accuracy. We report extensive experiments on three benchmark image datasets with ten variants of transformer and CNN models. Our results show that our proposed methods can better reflect the model trustworthiness than existing evaluation metrics. We further observe that the model with high overall accuracy does not always yield the high TI, which indicates the necessity of the proposed Trust Index as a complementary metric to the model overall accuracy. The code are available at \url{https://github.com/AoShuang92/optimal_risk}.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。