[Paper Review] VOS: Learning What You Don't Know by Virtual Outlier Synthesis
VOS presents a framework to synthesize virtual outliers in feature space to regularize models for better OOD detection, achieving strong results in both object detection and image classification without real outlier data.
Out-of-distribution (OOD) detection has received much attention lately due to its importance in the safe deployment of neural networks. One of the key challenges is that models lack supervision signals from unknown data, and as a result, can produce overconfident predictions on OOD data. Previous approaches rely on real outlier datasets for model regularization, which can be costly and sometimes infeasible to obtain in practice. In this paper, we present VOS, a novel framework for OOD detection by adaptively synthesizing virtual outliers that can meaningfully regularize the model's decision boundary during training. Specifically, VOS samples virtual outliers from the low-likelihood region of the class-conditional distribution estimated in the feature space. Alongside, we introduce a novel unknown-aware training objective, which contrastively shapes the uncertainty space between the ID data and synthesized outlier data. VOS achieves competitive performance on both object detection and image classification models, reducing the FPR95 by up to 9.36% compared to the previous best method on object detectors. Code is available at https://github.com/deeplearning-wisc/vos.
Motivation & Objective
- Motivate robust OOD detection under unknowns by avoiding reliance on real outlier datasets.
- Learn a dual objective that optimizes in-distribution performance while improving OOD uncertainty.
- Propose a tractable method to synthesize informative virtual outliers in feature space.
- Develop an unknown-aware training objective that shapes the uncertainty surface between ID and OOD data.
- Extend OOD detection techniques to both object detection and image classification tasks.
Proposed method
- Model the ID feature representation as class-conditional Gaussians in a latent space extracted from the detector.
- Sample virtual outliers from the low-likelihood region of each class-conditional Gaussian in feature space.
- Define a classification-output for virtual outliers via a linear transformation on the latent features.
- Introduce an uncertainty regularization loss based on an energy-function of the outputs, optimized with a logistic surrogate.
- Apply an object-level energy score to enable OOD detection at the instance level during inference.
- Jointly train the object detector with the standard detection losses and the uncertainty regularization term governed by a hyperparameter.
Experimental results
Research questions
- RQ1How can unknown Out-Of-Distribution data be effectively synthesized without real outlier datasets?
- RQ2Can virtual outliers in feature space provide a meaningful regularization signal to improve OOD detection while preserving ID accuracy?
- RQ3Does an unknown-aware objective improve OOD detection for both object detection and image classification?
- RQ4What is the impact of sampling in feature space versus pixel space for outlier synthesis?
Key findings
- VOS provides competitive or superior OOD detection performance for both object detection and image classification compared to strong baselines that use only ID data.
- Synthesizing virtual outliers in feature space is more effective and stable than generating pixel-space outliers via GANs or using noise.
- An energy-based, learnable uncertainty loss (with a logistic surrogate) improves the separation between ID and virtual outliers without extra hyperparameters.
- VOS achieves improved OOD detection while preserving the in-distribution task performance (e.g., mAP or classification accuracy).
- The approach is applicable across architectures (e.g., ResNet-50, RegNet) and tasks, including complex object detection benchmarks like PASCAL-VOC and BDD-100k, and standard image classification benchmarks.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.