Augmenting Softmax Information for Selective Classification with Out-of-Distribution Data
Preprint
Abstract
Detecting out-of-distribution (OOD) data is a task that is receiving an increasing amount of research attention in the domain of deep learning for computer vision. However, the performance of detection methods is generally evaluated on the task in isolation, rather than also considering potential downstream tasks in tandem. In this work, we examine selective classification in the presence of OOD data (SCOD). That is to say, the motivation for detecting OOD samples is to reject them so their impact on the quality of predictions is reduced. We show under this task specification, that existing post-hoc methods perform quite differently compared to when evaluated only on OOD detection. This is because it is no longer an issue to conflate in-distribution (ID) data with OOD data if the ID data is going to be misclassified. However, the conflation within ID data of correct and incorrect predictions becomes undesirable. We also propose a novel method for SCOD, Softmax Information Retaining Combination (SIRC), that augments softmax-based confidence scores with feature-agnostic information such that their ability to identify OOD samples is improved without sacrificing separation between correct and incorrect ID predictions. Experiments on a wide variety of ImageNet-scale datasets and convolutional neural network architectures show that SIRC is able to consistently match or outperform the baseline for SCOD, whilst existing OOD detection methods fail to do so.Keywords
All Related Versions
This publication has 9 references indexed in Scilit:
- Generalized Out-of-Distribution Detection: A SurveyInternational Journal of Computer Vision, 2024
- A unified benchmark for the unknown detection capability of deep neural networksExpert Systems with Applications, 2023
- ViM: Out-Of-Distribution with Virtual-logit Matching2022
- Hands-On Bayesian Neural Networks—A Tutorial for Deep Learning UsersIEEE Computational Intelligence Magazine, 2022
- Big Transfer (BiT): General Visual Representation Learning2020
- Selective Question Answering under Domain Shift2020
- The iNaturalist Species Classification and Detection Dataset2018
- Multi-class texture analysis in colorectal cancer histologyScientific Reports, 2016
- Computer-Aided Classification of Gastrointestinal Lesions in Regular ColonoscopyIEEE Transactions on Medical Imaging, 2016