Mixture Outlier Exposure: Towards Out-of-Distribution Detection in Fine-grained Environments

Jingyang Zhang, Nathan Inkawhich, Randolph Linderman, Yiran Chen, Hai Li
6/7/2021
cs.LG

Official code: zjysteven/MixOE (26 stars, Python, last commit 2023-04-12).

Abstract

Many real-world scenarios in which DNN-based recognition systems are deployed have inherently fine-grained attributes (e.g., bird-species recognition, medical image classification). In addition to achieving reliable accuracy, a critical subtask for these models is to detect Out-of-distribution (OOD) inputs.

Show full abstract

Given the nature of the deployment environment, one may expect such OOD inputs to also be fine-grained w.r.t. the known classes (e.g., a novel bird species), which are thus extremely difficult to identify. Unfortunately, OOD detection in fine-grained scenarios remains largely underexplored. In this work, we aim to fill this gap by first carefully constructing four large-scale fine-grained test environments, in which existing methods are shown to have difficulties. Particularly, we find that even explicitly incorporating a diverse set of auxiliary outlier data during training does not provide sufficient coverage over the broad region where fine-grained OOD samples locate. We then propose Mixture Outlier Exposure (MixOE), which mixes ID data and training outliers to expand the coverage of different OOD granularities, and trains the model such that the prediction confidence linearly decays as the input transitions from ID to OOD. Extensive experiments and analyses demonstrate the effectiveness of MixOE for building up OOD detector in fine-grained environments. The code is available at https://github.com/zjysteven/MixOE.

View on arXivView PDF

Code Implementations(1)

zjysteven/MixOEOfficial100%

[WACV'23] Mixture Outlier Exposure for Out-of-Distribution Detection in Fine-grained Environments

264Python, ShellMar 8, 20223 years ago
fine-grained-classificationfine-grained-recognitionnovelty-detectionopenset-recognitionout-of-distribution-detection+1 more

Similar Papers

Cite this paper

@article{zhang2021mixture,
  title  = {Mixture Outlier Exposure: Towards Out-of-Distribution Detection in Fine-grained Environments},
  author = {Jingyang Zhang and Nathan Inkawhich and Randolph Linderman and Yiran Chen and Hai Li},
  year   = {2021},
  eprint = {2106.03917},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.03917}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2106.03917.svg)](https://codeofpaper.com/paper/2106.03917)

Discussion