Subspace Learning with Outlier Exposure for Out-of-Distribution Detection
Hongxu Shen, Kun Fang, Jiahui Zheng, Jian Sun, Qinghua Tao
Key points
From the paper's conclusion- By introducing outliers as surrogate OoD data to finetune DNNs, Outlier Exposure (OE) has greatly advanced OoD detection in recent years.
Abstract
Out-of-Distribution (OoD) detection is pivotal for reliable deployments of Deep Neural Networks (DNNs), aiming to distinguish anomalous samples from the In-Distribution (InD) data in training. By introducing outliers as surrogate OoD data to finetune DNNs, Outlier Exposure (OE) has greatly advanced OoD detection in recent years. Existing OE-based research remains predominantly logit-centric, either by generating diverse outliers or by regularizing them with objectives operating at the prediction-output level. Nonetheless, these approaches leave much of the rich information in feature spaces untapped. In this work, we propose an OE-based detection framework, named RecOE, that learns appropriate feature subspaces from InD data and auxiliary outliers, such that the InD-OoD discrepancy can be effectively characterized through the learned feature subspaces. Specifically, the feature subspaces are optimized to capture the dominant variations of InD and outliers by minimizing reconstruction errors therein. Besides, a sample-level objective discourages reconstruction in the opposing subspace, while an orthogonality regularizer reduces subspace overlap, further promoting discriminative subspaces. At inference, the difference in reconstruction errors between the learned subspaces serves as the OoD detection score. Extensive experiments show the superiority of RecOE on multiple benchmarks, in which significant performance gains are achieved over recent strong baselines with only slight extra overhead from two small-size matrices of subspace bases. The source code is available at https://github.com/shenhongxu123/RecOE.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Local Background Features Matter in Out-of-Distribution Detection.Neural computation · 2026
- DUO: Dual Readouts of Diffusion Models for OOD DetectionarXiv · 2026
- TriScore: Post-Hoc Out-of-Distribution Detection with Energy, Boundary Probes, and Transform ConsistencyarXiv · 2026
- Don't Replace, Complement: A Detector-Agnostic Subspace Signal for Near-OOD DetectionarXiv · 2026
- General OOD detection via model-aware and subspace-aware variable priorityKnowledge and Information Systems · 2026
- PixOOD: Pixel-Level Out-of-Distribution DetectionIEEE Transactions on Pattern Analysis and Machine Intelligence · 2026