Out-of-Distribution Detection by Principal Component Correspondence

Xiaoyuan Guan,Zhiyong Gan,Ling Deng,Wei Shi,Jiankang Chen,Shenshen Bu,Chunliang Zhao,Jianfang Hu,Yuren Zhou,Wei-Shi Zheng,Ruixuan Wang
DOI: https://doi.org/10.1109/icme57554.2024.10687703
2024-01-01
Abstract:Out-of-distribution (OOD) detection is vital for the safe application of intelligent systems in real-world scenarios. This paper proposes an enhancement to OOD detection by leveraging the consistency in cognition between two models, both pretrained on in-distribution (ID) data. Specifically, for a given test sample, we first apply Principal Component Analysis (PCA)-based projection on the feature vectors from each model. These obtained feature vectors (with correlation between dimensions decoupled by PCA projection) are then aligned using a multiple linear mapping, which is fitted using the least squares method on the training data. We hypothesize that the regression error for OOD data will be larger than that for ID data, making it a useful metric for OOD detection. Our experimental results demonstrate the effectiveness of this method. When combined with existing robust baselines, our approach achieves state-of-the-art performance in OOD detection.
What problem does this paper attempt to address?