What If the Input is Expanded in OOD Detection?

Boxuan Zhang, Jianing Zhu, Zengmao Wang, Tongliang Liu, Bo Du +1 more
2/3/2026

No official code found. Best implementation: tmlr-group/CoVer (9 stars, last commit 2024-10-28). 1 more below.

Abstract

Out-of-distribution (OOD) detection aims to identify OOD inputs from unknown classes, which is important for the reliable deployment of machine learning models in the open world. Various scoring functions are proposed to distinguish it from in-distribution (ID) data. However, existing methods generally focus on excavating the discriminative information from a single input, which implicitly limits its representation dimension. In this work, we introduce a novel perspective, i.e., employing different common corruptions on the input space, to expand that. We reveal an interesting phenomenon termed confidence mutation, where the confidence of OOD data can decrease significantly under the corruptions, while the ID data shows a higher confidence expectation considering the resistance of semantic features. Based on that, we formalize a new scoring method, namely, Confidence aVerage (CoVer), which can capture the dynamic differences by simply averaging the scores obtained from different corrupted inputs and the original ones, making the OOD and ID distributions more separable in detection tasks. Extensive experiments and analyses have been conducted to understand and verify the effectiveness of CoVer. The code is publicly available at: https://github.com/tmlr-group/CoVer.

View on arXivView PDF

Code Implementations(2)

tmlr-group/CoVerCommunity100%

[NeurIPS 2024] "What If the Input is Expanded in OOD Detection?"

90Shell, PythonOct 19, 20241 years ago
ZBox1005/CoVerCommunity63%

[NeurIPS 2024] "What If the Input is Expanded in OOD Detection?"

41Shell, PythonMay 21, 20241 years ago
ood-detection

Similar Papers

Cite this paper

@article{zhang2026what,
  title  = {What If the Input is Expanded in OOD Detection?},
  author = {Boxuan Zhang and Jianing Zhu and Zengmao Wang and Tongliang Liu and Bo Du and Bo Han},
  year   = {2026},
  eprint = {2410.18472},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2410.18472},
  url    = {https://arxiv.org/abs/2410.18472},
  journal = {NEURIPS 2024 2024}
}

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/2410.18472.svg)](https://codeofpaper.com/paper/2410.18472)

Discussion