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

通过数据驱动的置信度最小化实现保守预测

Conservative Prediction via Data-Driven Confidence Minimization

Stanford University(斯坦福大学);Carnegie Mellon University(卡内基梅隆大学);University of North Carolina at Chapel Hill(北卡罗来纳大学教堂山分校)

Caroline Choi, Fahim Tajwar, Yoonho Lee, Huaxiu Yao, Ananya Kumar, Chelsea Finn

AI总结:

提出数据驱动的置信度最小化(DCM)框架,通过在不确定性数据集上最小化置信度实现保守预测,在选择性分类和OOD检测任务上显著优于现有方法。

摘要:

在机器学习的安全关键应用中,通常希望模型保持保守,对训练数据中未充分表示的未知输入弃权(不执行)预测。然而,检测未知样本具有挑战性,因为在测试时无法预见所有潜在输入。为解决此问题,先前工作(Hendrycks et al., 2018)在一个精心策划以与训练分布不相交的辅助离群数据集上最小化模型置信度。我们从理论上分析了用于置信度最小化的辅助数据集的选择,揭示了两个可操作的见解:(1)如果辅助集包含与测试时所见相似的未知样本,置信度最小化能够可证明地检测未知测试样本;(2)如果满足第一个条件,对于分布外(OOD)检测,则无需过滤已知样本。基于这些准则,我们提出了 Data-Driven Confidence Minimization (DCM) 框架,该框架在不确定性数据集上最小化置信度。我们将 DCM 应用于保守预测至关重要的两个问题设置——选择性分类和 OOD 检测——并为每种设置提供了一种收集不确定性数据的现实方法。在实验中,当在未见分布上测试时,DCM 在 4 个数据集上始终优于现有的选择性分类方法,并在 12 个 ID-OOD 数据集对上优于最先进的 OOD 检测方法,与 Outlier Exposure 相比,在 CIFAR-10 和 CIFAR-100 上将 FPR(在 TPR $95\%$ 时)分别降低了 $6.3\%$ 和 $58.1\%$。

英文摘要:

In safety-critical applications of machine learning, it is often desirable for a model to be conservative, abstaining from making predictions on unknown inputs which are not well-represented in the training data. However, detecting unknown examples is challenging, as it is impossible to anticipate all potential inputs at test time. To address this, prior work (Hendrycks et al., 2018) minimizes model confidence on an auxiliary outlier dataset carefully curated to be disjoint from the training distribution. We theoretically analyze the choice of auxiliary dataset for confidence minimization, revealing two actionable insights: (1) if the auxiliary set contains unknown examples similar to those seen at test time, confidence minimization leads to provable detection of unknown test examples, and (2) if the first condition is satisfied, it is unnecessary to filter out known examples for out-of-distribution (OOD) detection. Motivated by these guidelines, we propose the Data-Driven Confidence Minimization (DCM) framework, which minimizes confidence on an uncertainty dataset. We apply DCM to two problem settings in which conservative prediction is paramount -- selective classification and OOD detection -- and provide a realistic way to gather uncertainty data for each setting. In our experiments, DCM consistently outperforms existing selective classification approaches on 4 datasets when tested on unseen distributions and outperforms state-of-the-art OOD detection methods on 12 ID-OOD dataset pairs, reducing FPR (at TPR $95\%$) by $6.3\%$ and $58.1\%$ on CIFAR-10 and CIFAR-100 compared to Outlier Exposure.

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

↑