How to Exploit Hyperspherical Embeddings for Out-of-Distribution Detection?
Yifei Ming, Yiyou Sun, Ousmane Dia, Yixuan Li

TL;DR
This paper introduces CIDER, a hyperspherical embedding framework that improves out-of-distribution detection by optimizing class prototype dispersion and sample compactness, significantly outperforming existing methods.
Contribution
CIDER is a novel representation learning method that jointly optimizes dispersion and compactness losses for enhanced OOD detection in hyperspherical space.
Findings
CIDER outperforms rivals by 19.36% in FPR95.
Hyperspherical embedding properties are crucial for OOD detection.
Dispersion and compactness are key factors in embedding quality.
Abstract
Out-of-distribution (OOD) detection is a critical task for reliable machine learning. Recent advances in representation learning give rise to distance-based OOD detection, where testing samples are detected as OOD if they are relatively far away from the centroids or prototypes of in-distribution (ID) classes. However, prior methods directly take off-the-shelf contrastive losses that suffice for classifying ID samples, but are not optimally designed when test inputs contain OOD samples. In this work, we propose CIDER, a novel representation learning framework that exploits hyperspherical embeddings for OOD detection. CIDER jointly optimizes two losses to promote strong ID-OOD separability: a dispersion loss that promotes large angular distances among different class prototypes, and a compactness loss that encourages samples to be close to their class prototypes. We analyze and establish…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
Taxonomy
TopicsDomain Adaptation and Few-Shot Learning · Adversarial Robustness in Machine Learning · Anomaly Detection Techniques and Applications
