SOTAVerified

EPA: Neural Collapse Inspired Robust Out-of-Distribution Detector

2024-01-03Unverified0· sign in to hype

Jiawei Zhang, Yufan Chen, Cheng Jin, Lei Zhu, Yuantao Gu

Unverified — Be the first to reproduce this paper.

Reproduce

Abstract

Out-of-distribution (OOD) detection plays a crucial role in ensuring the security of neural networks. Existing works have leveraged the fact that In-distribution (ID) samples form a subspace in the feature space, achieving state-of-the-art (SOTA) performance. However, the comprehensive characteristics of the ID subspace still leave under-explored. Recently, the discovery of Neural Collapse (NC) sheds light on novel properties of the ID subspace. Leveraging insight from NC, we observe that the Principal Angle between the features and the ID feature subspace forms a superior representation for measuring the likelihood of OOD. Building upon this observation, we propose a novel NC-inspired OOD scoring function, named Entropy-enhanced Principal Angle (EPA), which integrates both the global characteristic of the ID subspace and its inner property. We experimentally compare EPA with various SOTA approaches, validating its superior performance and robustness across different network architectures and OOD datasets.

Tasks

Reproductions