How to Overcome Curse-of-Dimensionality for Out-of-Distribution Detection?
Soumya Suvra Ghosal, Yiyou Sun, Yixuan Li
Abstract
Machine learning models deployed in the wild can be challenged by out-of-distribution (OOD) data from unknown classes. Recent advances in OOD detection rely on distance measures to distinguish samples that are relatively far away from the in-distribution (ID) data. Despite the promise, distance-based methods can suffer from the curse-of-dimensionality problem, which limits the efficacy in high dimensional feature space. To combat this problem, we propose a novel framework, Subspace Nearest Neighbor (SNN), for OOD detection. In training, our method regularizes the model and its feature representation by leveraging the most relevant subset of dimensions (i.e. subspace). The subspace learning yields highly distinguishable distance measures between ID and OOD data. We provide comprehensive experiments and ablations to validate the efficacy of SNN. Compared to the current best distance-based method, SNN reduces the average FPR95 by 15.96% on the CIFAR-100 benchmark.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
10 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- WeiPer: OOD Detection using Weight Perturbations of Class Projections cites Energy-based Out-of-distribution Detection
- WeiPer: OOD Detection using Weight Perturbations of Class Projections cites ReAct: Out-of-distribution Detection With Rectified Activations
- WeiPer: OOD Detection using Weight Perturbations of Class Projections cites Out-of-Distribution Detection with Deep Nearest Neighbors
- Revisiting Score Propagation in Graph Out-of-Distribution Detection cites Energy-based Out-of-distribution Detection
- Revisiting Score Propagation in Graph Out-of-Distribution Detection cites ReAct: Out-of-distribution Detection With Rectified Activations
- Revisiting Score Propagation in Graph Out-of-Distribution Detection cites Out-of-Distribution Detection with Deep Nearest Neighbors
- REDOUBT: Duo Safety Validation for Autonomous Vehicle Motion Planning cites Energy-based Out-of-distribution Detection
- REDOUBT: Duo Safety Validation for Autonomous Vehicle Motion Planning cites Learning to Shape In-distribution Feature Space for Out-of-distribution Detection
- REDOUBT: Duo Safety Validation for Autonomous Vehicle Motion Planning cites Out-of-Distribution Detection with Deep Nearest Neighbors
- ReAct: Out-of-distribution Detection With Rectified Activations cites Energy-based Out-of-distribution Detection
- Learning to Shape In-distribution Feature Space for Out-of-distribution Detection cites Energy-based Out-of-distribution Detection
- Learning to Shape In-distribution Feature Space for Out-of-distribution Detection cites ReAct: Out-of-distribution Detection With Rectified Activations
- Learning to Shape In-distribution Feature Space for Out-of-distribution Detection cites Out-of-Distribution Detection with Deep Nearest Neighbors
- Learning to Shape In-distribution Feature Space for Out-of-distribution Detection cites CSI: Novelty Detection via Contrastive Learning on Distributionally Shifted Instances
- Out-of-Distribution Detection with Deep Nearest Neighbors cites Energy-based Out-of-distribution Detection
- Out-of-Distribution Detection with Deep Nearest Neighbors cites ReAct: Out-of-distribution Detection With Rectified Activations
Cited by top-tier papers10
- Learning to Shape In-distribution Feature Space for Out-of-distribution DetectionYonggang Zhang, Jie Lu, Bo Peng, Zhen Fang et al.NeurIPS 2024 · 33 citations
- Tribase: A Vector Data Query Engine for Reliable and Lossless Pruning Compression using Triangle InequalitiesQian Xu, Juan Yang, Feng Zhang, Junda Pan et al.SIGMOD 2025 · 14 citations
- Revisiting Score Propagation in Graph Out-of-Distribution DetectionLongfei Ma, Yiyou Sun, Kaize Ding, Zemin Liu et al.NeurIPS 2024 · 14 citations
- WeiPer: OOD Detection using Weight Perturbations of Class ProjectionsMaximilian Granz, Manuel Heurich, Tim LandgrafNeurIPS 2024 · 6 citations
- REDOUBT: Duo Safety Validation for Autonomous Vehicle Motion PlanningShuguang Wang, Qian Zhou, Kui Wu, Dapeng Wu et al.NeurIPS 2025 · 6 citations
Builds on22
- Energy-based Out-of-distribution DetectionWeitang Liu, Xiaoyun Wang, John D. Owens, Yixuan LiNeurIPS 2020 · 2,213 citations
- Out-of-Distribution Detection with Deep Nearest NeighborsYiyou Sun, Yifei Ming, Xiaojin Zhu, Yixuan LiICML 2022 · 789 citations
- CSI: Novelty Detection via Contrastive Learning on Distributionally Shifted InstancesJihoon Tack, Sangwoo Mo, Jongheon Jeong, Jinwoo ShinNeurIPS 2020 · 755 citations
- ReAct: Out-of-distribution Detection With Rectified ActivationsYiyou Sun, Chuan Guo, Yixuan LiNeurIPS 2021 · 733 citations
- Calibrating Deep Neural Networks using Focal LossJishnu Mukhoti, Viveka Kulharia, Amartya Sanyal, Stuart Golodetz et al.NeurIPS 2020 · 674 citations
Related papers
- SIREN: Shaping Representations for Detecting Out-of-Distribution ObjectsXuefeng Du, Gabriel Gozum, Yifei Ming, Yixuan LiNeurIPS 2022 · 105 citations
- GradOrth: A Simple yet Efficient Out-of-Distribution Detection with Orthogonal Projection of GradientsSima Behpour, Thang Long Doan, Xin Li, Wenbin He et al.NeurIPS 2023 · 34 citations
- How to Exploit Hyperspherical Embeddings for Out-of-Distribution Detection?Yifei Ming, Yiyou Sun, Ousmane Dia, Yixuan LiICLR 2023 · 24 citations
- Single Layer Predictive Normalized Maximum Likelihood for Out-of-Distribution DetectionKoby Bibas, Meir Feder, Tal HassnerNeurIPS 2021 · 31 citations
- Out-of-Distribution Detection Using Union of 1-Dimensional SubspacesAlireza Zaeemzadeh, Niccolò Bisagno, Zeno Sambugaro, Nicola Conci et al.CVPR 2021
