NECO: NEural Collapse Based Out-of-Distribution Detection
Abstract
Detecting out-of-distribution (OOD) data is a critical challenge in machine learning due to model overconfidence, often without awareness of their epistemological limits. We hypothesize that "neural collapse", a phenomenon affecting in-distribution data for models trained beyond loss convergence, also influences OOD data. To benefit from this interplay, we introduce NECO, a novel post-hoc method for OOD detection, which leverages the geometric properties of “neural collapse” and of principal component spaces to identify OOD data. Our extensive experiments demonstrate that NECO achieves state-of-the-art results on both small and large-scale OOD detection tasks while exhibiting strong generalization capabilities across different network architectures. Furthermore, we provide a theoretical explanation for the effectiveness of our method in OOD detection. We plan to release the code after the anonymity period.
Cite
Text
Ammar et al. "NECO: NEural Collapse Based Out-of-Distribution Detection." International Conference on Learning Representations, 2024.Markdown
[Ammar et al. "NECO: NEural Collapse Based Out-of-Distribution Detection." International Conference on Learning Representations, 2024.](https://mlanthology.org/iclr/2024/ammar2024iclr-neco/)BibTeX
@inproceedings{ammar2024iclr-neco,
title = {{NECO: NEural Collapse Based Out-of-Distribution Detection}},
author = {Ammar, Mouïn Ben and Belkhir, Nacim and Popescu, Sebastian and Manzanera, Antoine and Franchi, Gianni},
booktitle = {International Conference on Learning Representations},
year = {2024},
url = {https://mlanthology.org/iclr/2024/ammar2024iclr-neco/}
}