Revisit PCA-based technique for Out-of-Distribution Detection

Xiaoyuan Guan, Zhouwu Liu, Weishi Zheng, Yuren Zhou, Ruixuan Wang
2/14/2026

No confident code implementation found for this paper.

Abstract

Out-of-distribution (OOD) detection is a desired ability to ensure the reliability and safety of intelligent systems. A scoring function is often designed to measure the degree of any new data being an OOD sample. While most designed scoring functions are based on a single source of information (e.g., the classifier’s output, logits, or feature vector), recent studies demonstrate that fusion of multiple sources may help better detect OOD data. In this study, after detailed analysis of the issue in OOD detection by the conventional principal component analysis (PCA), we propose fusing a simple regularized PCA-based reconstruction error with other source of scoring function to further improve OOD detection performance. In particular, when combined with a strong energy score-based OOD method, the regularized reconstruction error helps achieve new state-of the-art OOD detection results on multiple standard benchmarks. The code is available at https://github.com/SYSUMIA-GROUP/pca-based-out-of-distribution-detection.

DOISemantic Scholar

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{guan2026revisit,
  title  = {Revisit PCA-based technique for Out-of-Distribution Detection},
  author = {Xiaoyuan Guan and Zhouwu Liu and Weishi Zheng and Yuren Zhou and Ruixuan Wang},
  year   = {2026},
  doi    = {10.1109/ICCV51070.2023.01780},
  url    = {https://doi.org/10.1109/ICCV51070.2023.01780},
  journal = {ICCV 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/350b00baaddd9f42dd3689f475bea3139e24099d.svg)](https://codeofpaper.com/paper/350b00baaddd9f42dd3689f475bea3139e24099d)

Discussion