atlas

Research map / Label-efficient and robust learning / OOD and anomaly detection

How to Overcome Curse-of-Dimensionality for Out-of-Distribution Detection?

AAAI 2024 · Label-efficient and robust learning › OOD and anomaly detection · approach: Provable and feature-based OOD detection · 12 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes Subspace Nearest Neighbor (SNN), which trains a classifier with class-dependent top-s feature subspace masking so that k-NN distance OOD detection on the learned features avoids the curse of dimensionality.

Problem

Distance-based OOD detection (e.g., k-NN on penultimate features) degrades in high-dimensional feature spaces due to the curse of dimensionality.

Approach

During training, for each class the logit is computed from only the top-s most relevant feature dimensions (sum of the top-s entries of w_c ⊙ h(x)), a training-time subspace regularizer; k-NN distance is then computed on the subspace-regularized normalized features, with a theoretical bound linking embedding dimension to density-estimation error.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Train with class-relevant feature subspaces instead of full-space KNNKNN OOD detection · CIFAR-100 (six OOD datasets average)FPR95: 47.21 -> 31.25Helped
Train with class-relevant feature subspaces instead of full-space KNNKNN OOD detection · CIFAR-10 near-OOD (CIFAR-100 OOD)FPR95: 58.34 -> 50.10Helped
Train with class-relevant feature subspaces and use Mahalanobis distanceMahalanobis OOD detection · CIFAR-10FPR95: 44.55 -> 34.68Helped
Train with class-relevant feature subspaces and use Mahalanobis distanceMahalanobis OOD detection · CIFAR-100FPR95: 56.93 -> 55.05Helped
Replace selecting the most relevant dimensions with a random subspace (ablation)SNN · CIFAR-100 (six OOD datasets average)FPR95: 31.25 -> 42.21Hurt
Select the least relevant feature dimensions instead of the most relevant (ablation)SNN · CIFAR-100 (six OOD datasets average)FPR95: 31.25 -> 63.96Hurt
Use a very small relevance ratio (r=0.05) (ablation)SNN · CIFAR-100OOD detection performanceHurt
Use a mild relevance ratio such as r=0.25 (ablation)SNN · CIFAR-100OOD detection performanceHelped
Vary the number of nearest neighbors k within mild values (ablation)SNN · CIFAR-100OOD detection performanceNo clear effect

Surprising findings

Limitations

Experimental setup

Datasets: CIFAR-10 CIFAR-100 ImageNet-100 Textures SVHN LSUN-Crop LSUN-Resize iSUN Places365 iNaturalist SUN Gaussian noise validation images

Benchmarks: CIFAR-10 CIFAR-100 ImageNet-100 OOD benchmarks

Metrics: FPR95 AUROC ID accuracy SCE ECE training time

Baselines: MSP ODIN Generalized-ODIN Energy score ReAct GradNorm LogitNorm DICE Mahalanobis KNN Unit Dropout Adaptive Dropout

Builds on: KNN OOD detection DICE Mahalanobis distance Targeted Dropout Adaptive Dropout

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy