Local Background Features Matter in Out-of-Distribution Detection.
Jinlun Ye, Zhuohao Sun, Yiqiao Qiu, Qiu Li, Zhijun Tan, Ruixuan Wang
Sun Yat-sen University, School of Computer Science and Engineering, Guangzhou, Guangdong, 510275, China. · Amazon Web Services, Cupertino, CA 95014, U.S.A. yiqiaoqiu@hotmail.com.
Key points
From the paper's conclusion- Together with the cross-entropy loss that preserves foreground discriminability, this design reduces background-induced overconfidence without requiring auxiliary OOD data, generated images, segmentation models, or additional OOD-specific branches.
Abstract
Out-of-distribution (OOD) detection is crucial when deploying deep neural networks in the real world to ensure the reliability and safety of their applications. One main challenge in OOD detection is that neural network models often produce overconfident predictions on OOD data. Existing methods address this issue by using auxiliary OOD data sets, generating fake OOD images, or synthesizing pseudo-OOD features, but these methods often require additional data sources, generation pipelines, or extra training components. In this study, we propose a local background feature fine-tuning framework for OOD detection. Instead of constructing explicit pseudo-OOD images or synthesizing artificial outlier features, our method directly extracts local background features from ID images and uses them as feature-level regularization targets. Specifically, local features with low ground-truth class probability are selected as background-like features, and a margin-based L2-norm loss is applied to suppress their activation magnitude during fine-tuning. Together with the cross-entropy loss that preserves foreground discriminability, this design reduces background-induced overconfidence without requiring auxiliary OOD data, generated images, segmentation models, or additional OOD-specific branches. Extensive experiments on standard OOD detection benchmarks demonstrate the effectiveness of our method and its compatibility with existing post hoc scoring functions, achieving competitive or state-of-the-art performance.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Enhancing out-of-distribution detection via local-image set.Neural networks : the official journal of the International Neural Network Society · 2026
- Subspace Learning with Outlier Exposure for Out-of-Distribution DetectionarXiv · 2026
- Feature-alteration Robustness for Out-of-distribution Detection.IEEE transactions on pattern analysis and machine intelligence · 2026
- Robust out-of-distribution detection under noisy labels.Neural networks : the official journal of the International Neural Network Society · 2026
- Don't Replace, Complement: A Detector-Agnostic Subspace Signal for Near-OOD DetectionarXiv · 2026
- Box-conditional Hypothesis Testing for Out-of-Distribution Object DetectionarXiv · 2026