atlas

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

Kernel PCA for Out-of-Distribution Detection

NeurIPS 2024 · Label-efficient and robust learning › OOD and anomaly detection · approach: Provable and feature-based OOD detection · 10 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 CoP and CoRP, kernel PCA detectors for OoD detection that apply a cosine feature mapping (and an RFF-approximated Gaussian on top) before PCA reconstruction error, achieving SOTA with O(1)/O(M) inference cost.

Problem

PCA reconstruction error on penultimate DNN features performs poorly for OoD detection because InD and OoD features are not linearly separable, and kernel PCA with kernel matrices is too costly for large training sets.

Approach

Derives a cosine kernel from the l2-normalization used in KNN detection and a cosine-Gaussian kernel (Gaussian on top of cosine features, approximated with random Fourier features), then runs covariance-based PCA in the explicit mapped feature space so reconstruction errors are computed without a kernel matrix.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add the cosine-Gaussian mapping instead of using KNNOoD detection on ResNet50 · ImageNet-1K, standard trainingFPR: 53.97 -> 48.60Helped
add the cosine-Gaussian mapping instead of using KNNOoD detection on ResNet50 · ImageNet-1K, supervised contrastive learningAUROC: 90.91 -> 92.86Helped
add the cosine-Gaussian mapping instead of using KNNOoD detection on ResNet18 · CIFAR10, standard trainingFPR: 30.77 -> 27.34Helped
add the cosine-Gaussian mapping instead of using KNNOoD detection on ResNet18 · CIFAR10, supervised contrastive learningAUROC: 97.93 -> 98.37Helped
add the Gaussian mapping on top of the cosine mapping (ablation)CoP / CoRP · ImageNet-1K, standard training (ResNet50), average OoD setsFPR: 58.40 -> 48.60Helped
add the Gaussian mapping on top of the cosine mapping (ablation)CoP / CoRP · ImageNet-1K, standard training (ResNet50), average OoD setsAUROC: 83.86 -> 87.53Helped
add the cosine mapping to Gaussian KPCA (ablation)CoRP · ImageNet-1K, standard training (ResNet50), average OoD setsFPR: 94.88 -> 48.60Helped
add the cosine mapping to Gaussian KPCA (ablation)CoRP · ImageNet-1K, standard training (ResNet50), average OoD setsAUROC: 50.60 -> 87.53Helped
replace cosine-Gaussian mapping with standard PCA in the original feature space (ablation)CoRP · ImageNet-1K, standard training (ResNet50), average OoD setsFPR: 48.60 -> 84.41Hurt
replace the Gaussian mapping with a polynomial mapping (ablation)CoRP · ImageNet-1K, standard training (ResNet50), average OoD setsFPR: 48.60 -> 68.01Hurt
replace the Gaussian mapping with a Laplacian mapping (ablation)CoRP · ImageNet-1K, standard training (ResNet50), average OoD setsFPR: 48.60 -> 62.54Hurt

Surprising findings

Limitations

Experimental setup

Datasets: CIFAR10 ImageNet-1K

Benchmarks: CIFAR10 ImageNet-1K SVHN LSUN iSUN Textures Places365 iNaturalist SUN

Metrics: FPR95 AUROC

Baselines: MSP ODIN Energy GODIN Mahalanobis KNN SSD CSI ReAct BATS ViM DICE

Builds on: PCA reconstruction error OoD detection KNN OoD detection random Fourier features kernel PCA

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