Enhancing the Power of OOD Detection via Sample-Aware Model Selection

Feng Xue, Zi He, Yuan Zhang, Chuanlong Xie, Zhenguo Li +1 more
2/9/2026

No confident code implementation found for this paper.

Abstract

In this work, we present a novel perspective on detecting out-of-distribution (OOD) samples and propose an algorithm for sample-aware model selection to enhance the effectiveness of OOD detection. Our algorithm determines, for each test input, which pre-trained models in the model zoo are capable of identifying the test input as an OOD sample. If no such models exist in the model zoo, the test input is classified as an in-distribution (ID) sample. We the-oretically demonstrate that our method maintains the true positive rate of ID samples and accurately identifies OOD samples with high probability when there are a sufficient number of diverse pre-trained models in the model zoo. Extensive experiments were conducted to validate our method, demonstrating that it leverages the complementarity among single-model detectors to consistently improve the effective-ness of OOD sample identification. Compared to baseline methods, our approach improved the relative performance by 65.40% and 37.25% on the CIFAR10 and ImageNet benchmarks, respectively.

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!

Cite this paper

@article{xue2026enhancing,
  title  = {Enhancing the Power of OOD Detection via Sample-Aware Model Selection},
  author = {Feng Xue and Zi He and Yuan Zhang and Chuanlong Xie and Zhenguo Li and Falong Tan},
  year   = {2026},
  doi    = {10.1109/CVPR52733.2024.01623},
  url    = {https://doi.org/10.1109/CVPR52733.2024.01623},
  journal = {CVPR 2024 2024}
}

Discussion