[Paper Review] Unsupervised Evaluation of Out-of-distribution Detection: A Data-centric Perspective
This paper introduces the first unsupervised evaluation framework for out-of-distribution (OOD) detection, proposing Gscore—a data-centric proxy metric derived from the separability of in-distribution and OOD score distributions. Using three methods (K-means, GMM, UDE), Gscore correlates strongly with AUROC, enabling performance prediction without OOD labels, validated on a new benchmark, Gbench, with 200 real-world OOD datasets.
Out-of-distribution (OOD) detection methods assume that they have test ground truths, i.e., whether individual test samples are in-distribution (IND) or OOD. However, in the real world, we do not always have such ground truths, and thus do not know which sample is correctly detected and cannot compute the metric like AUROC to evaluate the performance of different OOD detection methods. In this paper, we are the first to introduce the unsupervised evaluation problem in OOD detection, which aims to evaluate OOD detection methods in real-world changing environments without OOD labels. We propose three methods to compute Gscore as an unsupervised indicator of OOD detection performance. We further introduce a new benchmark Gbench, which has 200 real-world OOD datasets of various label spaces to train and evaluate our method. Through experiments, we find a strong quantitative correlation betwwen Gscore and the OOD detection performance. Extensive experiments demonstrate that our Gscore achieves state-of-the-art performance. Gscore also generalizes well with different IND/OOD datasets, OOD detection methods, backbones and dataset sizes. We further provide interesting analyses of the effects of backbones and IND/OOD datasets on OOD detection performance. The data and code will be available.
Motivation & Objective
- Address the lack of OOD labels in real-world deployment, where standard metrics like AUROC cannot be computed.
- Overcome the limitation of existing OOD evaluation methods that rely on labeled test sets, which are costly and impractical to obtain in new environments.
- Develop a proxy metric that quantitatively reflects OOD detection performance without requiring ground-truth labels.
- Establish a benchmark to evaluate and validate unsupervised OOD evaluation methods across diverse data distributions and detection setups.
- Investigate the generalization of OOD detection performance across different backbones, in-distribution, and out-of-distribution datasets.
Proposed method
- Propose Gscore as a data-centric proxy metric measuring the separability between in-distribution and out-of-distribution score distributions.
- Implement three methods—K-means clustering, Gaussian Mixture Models (GMM), and Unilateral Density Estimation (UDE)—to compute Gscore from OOD confidence scores.
- Train a regression model to learn the mapping between Gscore and standard OOD evaluation metrics (e.g., AUROC) using labeled data.
- Use the trained regression model to predict OOD detection performance on new, unlabeled test sets solely based on Gscore.
- Construct Gbench, a benchmark of 200 real-world OOD datasets with diverse label spaces, to train and evaluate the method.
- Evaluate generalization across varying backbones, OOD detection methods, and dataset sizes using the Gbench benchmark.
Experimental results
Research questions
- RQ1Can a data-centric, unsupervised proxy metric reliably predict OOD detection performance without ground-truth labels?
- RQ2How does the distributional separability between in-distribution and out-of-distribution scores correlate with actual OOD detection performance?
- RQ3Does the proposed Gscore generalize across different in-distribution and out-of-distribution datasets, backbones, and model architectures?
- RQ4What are the effects of backbone choice and dataset characteristics on OOD detection performance, and can these be quantitatively analyzed?
- RQ5Can a single regression model trained on diverse data generalize to predict OOD performance across unseen environments?
Key findings
- A strong quantitative correlation exists between Gscore and standard OOD detection metrics like AUROC, enabling reliable performance prediction without labels.
- The proposed Gscore method achieves state-of-the-art performance in unsupervised OOD evaluation across diverse settings, including different backbones, OOD detection methods, and dataset sizes.
- Gbench, the new benchmark with 200 real-world OOD datasets, reveals that OOD detection performance varies significantly across different OOD categories and is highly sensitive to changes in the in-distribution data.
- Classification accuracy on the in-distribution data shows a positive correlation with OOD detection performance, suggesting that model capacity and generalization are key factors.
- When the in-distribution data changes, OOD detection performance on the same OOD data can shift drastically, highlighting the importance of environment-specific evaluation.
- The method generalizes well across different OOD detection techniques and backbone architectures, demonstrating robustness and practical utility in real-world deployment scenarios.
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.