arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2405.01205cs.LGcs.CV
收藏

误差驱动的不确定性感知训练

Error-Driven Uncertainty Aware Training

Carnegie Mellon University(卡内基梅隆大学);INESC-ID;Instituto Superior Tecnico(高等技术学院);Universidade de Lisboa(里斯本大学)

Pedro Mendes, Paolo Romano, David Garlan

AI总结:

针对神经网络预测过于自信的问题,提出误差驱动的不确定性感知训练EUAT,通过训练阶段按预测正误选用不同损失函数,在图像识别任务中显著提升了不确定性估计的质量与实用性。

摘要:

神经网络往往对其预测过于自信,这会削弱其可靠性与可信度。在本研究中,我们提出了一种名为误差驱动的不确定性感知训练(Error-Driven Uncertainty Aware Training,EUAT)的新技术,旨在提升神经分类器正确估计自身不确定性的能力,即当输出不准确预测时呈现高不确定性,输出准确预测时呈现低不确定性。EUAT方法在模型训练阶段运行,根据模型对训练样本的预测正确与否,选择性采用两种损失函数。这一设计可实现双重目标:一是降低正确预测输入对应的模型不确定性,二是提高错误预测输入对应的模型不确定性,同时维持模型的误预测率不变。我们在图像识别领域的多种神经模型与数据集上评估了EUAT,同时考虑了非对抗与对抗两种设置。结果表明,EUAT的表现优于现有不确定性估计方法(包括其他不确定性感知训练技术、校准方法、集成方法以及DEUP):其提供的不确定性估计不仅在通过统计指标(如与残差的相关性)评估时质量更高,在用于构建判断模型输出是否可信的二元分类器以及面对分布偏移数据时,表现也更优异。

英文摘要:

Neural networks are often overconfident about their predictions, which undermines their reliability and trustworthiness. In this work, we present a novel technique, named Error-Driven Uncertainty Aware Training (EUAT), which aims to enhance the ability of neural classifiers to estimate their uncertainty correctly, namely to be highly uncertain when they output inaccurate predictions and low uncertain when their output is accurate. The EUAT approach operates during the model's training phase by selectively employing two loss functions depending on whether the training examples are correctly or incorrectly predicted by the model. This allows for pursuing the twofold goal of i) minimizing model uncertainty for correctly predicted inputs and ii) maximizing uncertainty for mispredicted inputs, while preserving the model's misprediction rate. We evaluate EUAT using diverse neural models and datasets in the image recognition domains considering both non-adversarial and adversarial settings. The results show that EUAT outperforms existing approaches for uncertainty estimation (including other uncertainty-aware training techniques, calibration, ensembles, and DEUP) by providing uncertainty estimates that not only have higher quality when evaluated via statistical metrics (e.g., correlation with residuals) but also when employed to build binary classifiers that decide whether the model's output can be trusted or not and under distributional data shifts.

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

↑