This work proposes 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.
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.
While deep features have transformed anomaly detection in images and video, their impact on tabular data has been less substantial, partly due to the limited availability of strong deep representations. Recently, prior-data fitted networks (PFNs) have emerged as a promising source of such representations for tabular da...
We introduce Reduced-rank Mahalanobis Distance (ReMaD), a novel prototypical distance-based refinement to classification and out-of-distribution (OOD) detection using pretrained models without finetuning. We use embeddings of the target dataset to fit closed-form distribution statistics in the model's latent space whic...
Elijah D. Bolluyt, Cristina Comaniciu· 0 citations
Out-of-distribution (OOD) detection is essential for ensuring the reliability and safety of machine learning systems in open-world scenarios. Most existing methods rely on global representations of the entire image to determine whether a sample is OOD, assuming that the most informative features are uniformly distribut...
Qi-Chao Chen, Yan-Qi Wu, Kuan Li et al.· Neural Networks· 0 citations
Anomaly detection (AD) in remote sensing aims to identify pixels or regions that deviate from the normal background distribution, without relying on any labeled anomalies. Many unsupervised anomaly detection methods in remote sensing rely on scene-specific background modeling or per-scene network training, which limits...
Zhi-Ru Yang, Meng-Meng Zhang, Yun-Hao Gao et al.· IEEE Transactions on Image P...· 0 citations