Conservative Prediction via Data-Driven Confidence Minimization
Abstract
In safety-critical applications of machine learning, it is often desirable for a model to be \textit{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 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 \textit{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.
Cite
Text
Choi et al. "Conservative Prediction via Data-Driven Confidence Minimization." Transactions on Machine Learning Research, 2024.Markdown
[Choi et al. "Conservative Prediction via Data-Driven Confidence Minimization." Transactions on Machine Learning Research, 2024.](https://mlanthology.org/tmlr/2024/choi2024tmlr-conservative/)BibTeX
@article{choi2024tmlr-conservative,
title = {{Conservative Prediction via Data-Driven Confidence Minimization}},
author = {Choi, Caroline and Tajwar, Fahim and Lee, Yoonho and Yao, Huaxiu and Kumar, Ananya and Finn, Chelsea},
journal = {Transactions on Machine Learning Research},
year = {2024},
url = {https://mlanthology.org/tmlr/2024/choi2024tmlr-conservative/}
}