How to Exploit Hyperspherical Embeddings for Out-of-Distribution Detection?
Yifei Ming, Yiyou Sun, Ousmane Dia, Yixuan Li
摘要
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 the unexplored relationship between OOD detection performance and the embedding properties in the hyperspherical space, and demonstrate the importance of dispersion and compactness. CIDER establishes superior performance, outperforming the latest rival by 13.33% in FPR95. Code is available at https://github.com/deeplearning-wisc/cider .
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 78 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hypersphere 引用了 A Simple Framework for Contrastive Learning of Visual Representations
- Scaling for Training Time and Post-hoc Out-of-distribution Detection Enhancement 引用了 Energy-based Out-of-distribution Detection
- Learning to Augment Distributions for Out-of-distribution Detection 引用了 Energy-based Out-of-distribution Detection
- Learning to Augment Distributions for Out-of-distribution Detection 引用了 Out-of-distribution Detection Learning with Unreliable Out-of-distribution Sources
- Out-of-distribution Detection Learning with Unreliable Out-of-distribution Sources 引用了 Learning to Augment Distributions for Out-of-distribution Detection
- Contrastive Learning with Hard Negative Samples 引用了 Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hypersphere
- Contrastive Learning with Hard Negative Samples 引用了 A Simple Framework for Contrastive Learning of Visual Representations
- Out-of-distribution Detection Learning with Unreliable Out-of-distribution Sources 引用了 Energy-based Out-of-distribution Detection
- Out-of-distribution Detection Learning with Unreliable Out-of-distribution Sources 引用了 Supervised Contrastive Learning
- Supervised Contrastive Learning 引用了 Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hypersphere
- Supervised Contrastive Learning 引用了 A Simple Framework for Contrastive Learning of Visual Representations
- Dream the Impossible: Outlier Imagination with Diffusion Models 引用了 Energy-based Out-of-distribution Detection
- Learning with Mixture of Prototypes for Out-of-Distribution Detection 引用了 Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hypersphere
- Learning with Mixture of Prototypes for Out-of-Distribution Detection 引用了 Energy-based Out-of-distribution Detection
- Learning with Mixture of Prototypes for Out-of-Distribution Detection 引用了 A Simple Framework for Contrastive Learning of Visual Representations
- Learning with Mixture of Prototypes for Out-of-Distribution Detection 引用了 Contrastive Learning with Hard Negative Samples
- Learning with Mixture of Prototypes for Out-of-Distribution Detection 引用了 Supervised Contrastive Learning
引用它的顶会 Paper78
- Dream the Impossible: Outlier Imagination with Diffusion ModelsXuefeng Du, Yiyou Sun, Jerry Zhu, Yixuan LiNeurIPS 2023 · 114 次引用
- Scaling for Training Time and Post-hoc Out-of-distribution Detection EnhancementKai Xu, Rongyu Chen, Gianni Franchi, Angela YaoICLR 2024 · 81 次引用
- Learning to Augment Distributions for Out-of-distribution DetectionQizhou Wang, Zhen Fang, Yonggang Zhang, Feng Liu 等NeurIPS 2023 · 59 次引用
- Learning with Mixture of Prototypes for Out-of-Distribution DetectionHaodong Lu, Dong Gong, Shuo Wang, Jason Xue 等ICLR 2024 · 55 次引用
- Out-of-distribution Detection Learning with Unreliable Out-of-distribution SourcesHaotian Zheng, Qizhou Wang, Zhen Fang, Xiaobo Xia 等NeurIPS 2023 · 53 次引用
它引用的 Paper28
- A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 次引用
- Supervised Contrastive LearningPrannay Khosla, Piotr Teterwak, Chen Wang, Aaron Sarna 等NeurIPS 2020 · 7,049 次引用
- Understanding Contrastive Representation Learning through Alignment and Uniformity on the HypersphereTongzhou Wang, Phillip IsolaICML 2020 · 2,360 次引用
- Energy-based Out-of-distribution DetectionWeitang Liu, Xiaoyun Wang, John D. Owens, Yixuan LiNeurIPS 2020 · 2,213 次引用
- Contrastive Learning with Hard Negative SamplesJoshua David Robinson, Ching-Yao Chuang, Suvrit Sra, Stefanie JegelkaICLR 2021 · 999 次引用
相关 Paper
- Provable Discriminative Hyperspherical Embedding for Out-of-Distribution DetectionZhipeng Zou, Sheng Wan, Guangyu Li, Bo Han 等AAAI 2025 · 1 次引用
- HYPO: Hyperspherical Out-Of-Distribution GeneralizationHaoyue Bai, Yifei Ming, Julian Katz-Samuels, Yixuan LiICLR 2024 · 13 次引用
- SIREN: Shaping Representations for Detecting Out-of-Distribution ObjectsXuefeng Du, Gabriel Gozum, Yifei Ming, Yixuan LiNeurIPS 2022 · 105 次引用
- How to Overcome Curse-of-Dimensionality for Out-of-Distribution Detection?Soumya Suvra Ghosal, Yiyou Sun, Yixuan LiAAAI 2024 · 26 次引用
- Contrastive Out-of-Distribution Detection for Pretrained TransformersWenxuan Zhou, Fangyu Liu, Muhao ChenEMNLP 2021 · 63 次引用
