Lune

NeurIPS2024Top-tier venue

Kernel PCA for Out-of-Distribution Detection

Kun Fang, Qinghua Tao, Kexin Lv, Mingzhen He, Xiaolin Huang, Jie Yang

Abstract

Out-of-Distribution (OoD) detection is vital for the reliability of Deep Neural Networks (DNNs). Existing works have shown the insufficiency of Principal Component Analysis (PCA) straightforwardly applied on the features of DNNs in detecting OoD data from In-Distribution (InD) data. The failure of PCA suggests that the network features residing in OoD and InD are not well separated by simply proceeding in a linear subspace, which instead can be resolved through proper non-linear mappings. In this work, we leverage the framework of Kernel PCA (KPCA) for OoD detection, and seek suitable non-linear kernels that advocate the separability between InD and OoD data in the subspace spanned by the principal components. Besides, explicit feature mappings induced from the devoted task-specific kernels are adopted so that the KPCA reconstruction error for new test samples can be efficiently obtained with large-scale data. Extensive theoretical and empirical results on multiple OoD data sets and network structures verify the superiority of our KPCA detector in efficiency and efficacy with state-of-the-art detection performance.

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.

7 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • GEPC: Group-Equivariant Posterior Consistency for Out-of-Distribution Detection in Diffusion Models cites Energy-based Out-of-distribution Detection
  • GEPC: Group-Equivariant Posterior Consistency for Out-of-Distribution Detection in Diffusion Models cites Out-of-Distribution Detection with Deep Nearest Neighbors
  • GEPC: Group-Equivariant Posterior Consistency for Out-of-Distribution Detection in Diffusion Models cites Denoising Diffusion Probabilistic Models
  • The Invisible Gorilla Effect in Out-of-distribution Detection cites Out-of-Distribution Detection with Deep Nearest Neighbors
  • Out-of-Distribution Detection with Deep Nearest Neighbors cites Energy-based Out-of-distribution Detection
  • Out-of-Distribution Detection with Deep Nearest Neighbors cites Supervised Contrastive Learning
  • Mitigating Simplicity Bias in OOD Detection through Object Co-occurrence Analysis cites Energy-based Out-of-distribution Detection
  • Mitigating Simplicity Bias in OOD Detection through Object Co-occurrence Analysis cites Out-of-Distribution Detection with Deep Nearest Neighbors
  • GradPCA: Leveraging NTK Alignment for Reliable Out-of-Distribution Detection cites Energy-based Out-of-distribution Detection
  • GradPCA: Leveraging NTK Alignment for Reliable Out-of-Distribution Detection cites Out-of-Distribution Detection with Deep Nearest Neighbors
  • Activation Subspaces for Out-of-Distribution Detection cites Energy-based Out-of-distribution Detection
  • Activation Subspaces for Out-of-Distribution Detection cites Out-of-Distribution Detection with Deep Nearest Neighbors
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers7

  1. GradPCA: Leveraging NTK Alignment for Reliable Out-of-Distribution DetectionMariia Seleznova, Hung-Hsu Chou, Claudio Mayrink Verdun, Gitta KutyniokICLR 2026 · 2 citations
  2. Activation Subspaces for Out-of-Distribution DetectionBaris Zöngür, Robin Hesse, Stefan RothICCV 2025 · 2 citations
  3. GEPC: Group-Equivariant Posterior Consistency for Out-of-Distribution Detection in Diffusion ModelsRouzoumka Yadang Alexis, Jean Pinsolle, Eugénie TERREAUX, christele morisseau et al.ICML 2026 · 1 citation
  4. Mitigating Simplicity Bias in OOD Detection through Object Co-occurrence AnalysisBoyang Dai, Chaoqi Chen, Yizhou YuCVPR 2026 · 1 citation
  5. The Invisible Gorilla Effect in Out-of-distribution DetectionHarry Anthony, Ziyun Liang, Hermione Warr, Konstantinos KamnitsasCVPR 2026

Builds on24

  1. Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 citations
  2. Training language models to follow instructions with human feedbackLong Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida et al.NeurIPS 2022 · 24,707 citations
  3. Supervised Contrastive LearningPrannay Khosla, Piotr Teterwak, Chen Wang, Aaron Sarna et al.NeurIPS 2020 · 7,049 citations
  4. Energy-based Out-of-distribution DetectionWeitang Liu, Xiaoyun Wang, John D. Owens, Yixuan LiNeurIPS 2020 · 2,213 citations
  5. Out-of-Distribution Detection with Deep Nearest NeighborsYiyou Sun, Yifei Ming, Xiaojin Zhu, Yixuan LiICML 2022 · 789 citations

Related papers

  1. Revisit PCA-based technique for Out-of-Distribution DetectionXiaoyuan Guan, Zhouwu Liu, Wei-Shi Zheng, Yuren Zhou et al.ICCV 2023 · 19 citations
  2. CORES: Convolutional Response-based Score for Out-of-distribution DetectionKeke Tang, Chao Hou, Weilong Peng, Runnan Chen et al.CVPR 2024 · 15 citations
  3. A Statistical Framework for Efficient Out of Distribution Detection in Deep Neural NetworksMatan Haroush, Tzviel Frostig, Ruth Heller, Daniel SoudryICLR 2022 · 40 citations
  4. NECO: NEural Collapse Based Out-of-distribution detectionMouïn Ben Ammar, Nacim Belkhir, Sebastian Popescu, Antoine Manzanera et al.ICLR 2024 · 40 citations
  5. Exploiting Discrepancy in Feature Statistic for Out-of-Distribution DetectionXiaoyuan Guan, Jiankang Chen, Shenshen Bu, Yuren Zhou et al.AAAI 2024 · 4 citations
Dusk over the sea between two cliffs drawn in fine vertical lines