Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Out-Of-Distribution Detection with Diversification (Provably)

About

Out-of-distribution (OOD) detection is crucial for ensuring reliable deployment of machine learning models. Recent advancements focus on utilizing easily accessible auxiliary outliers (e.g., data from the web or other datasets) in training. However, we experimentally reveal that these methods still struggle to generalize their detection capabilities to unknown OOD data, due to the limited diversity of the auxiliary outliers collected. Therefore, we thoroughly examine this problem from the generalization perspective and demonstrate that a more diverse set of auxiliary outliers is essential for enhancing the detection capabilities. However, in practice, it is difficult and costly to collect sufficiently diverse auxiliary outlier data. Therefore, we propose a simple yet practical approach with a theoretical guarantee, termed Diversity-induced Mixup for OOD detection (diverseMix), which enhances the diversity of auxiliary outlier set for training in an efficient way. Extensive experiments show that diverseMix achieves superior performance on commonly used and recent challenging large-scale benchmarks, which further confirm the importance of the diversity of auxiliary outliers.

Haiyun Yao, Zongbo Han, Huazhu Fu, Xi Peng, Qinghua Hu, Changqing Zhang• 2024

Related benchmarks

TaskDatasetResultRank
OOD DetectionCIFAR-100 standard (test)
AUROC (%)98.24
94
OOD DetectionCIFAR-10 (test)
AUROC99.42
40
OOD DetectionImageNet Average
FPR9553.07
37
Image ClassificationImageNet In-Distribution (test)
ID Accuracy85.95
23
OOD DetectionImageNet Far-OOD
FPR48.58
18
OOD DetectionAverage OOD (test)
FPR53.07
9
OOD DetectionImageNet Near-OOD
FPR59.81
9
OOD DetectionNear-OOD (test)
FPR0.5981
9
Out-of-Distribution DetectionSNLI (test)
FPR@9521.58
3
Out-of-Distribution DetectionMulti30K (test)
FPR@9519.38
3
Showing 10 of 12 rows

Other info

Code

Follow for update