[Paper Review] Learning to Augment Distributions for Out-of-Distribution Detection
DAL augments auxiliary OOD distributions within a Wasserstein ball and trains on worst-case OOD to reduce distribution discrepancy, improving open-world OOD detection compared to standard outlier exposure.
Open-world classification systems should discern out-of-distribution (OOD) data whose labels deviate from those of in-distribution (ID) cases, motivating recent studies in OOD detection. Advanced works, despite their promising progress, may still fail in the open world, owing to the lack of knowledge about unseen OOD data in advance. Although one can access auxiliary OOD data (distinct from unseen ones) for model training, it remains to analyze how such auxiliary data will work in the open world. To this end, we delve into such a problem from a learning theory perspective, finding that the distribution discrepancy between the auxiliary and the unseen real OOD data is the key to affecting the open-world detection performance. Accordingly, we propose Distributional-Augmented OOD Learning (DAL), alleviating the OOD distribution discrepancy by crafting an OOD distribution set that contains all distributions in a Wasserstein ball centered on the auxiliary OOD distribution. We justify that the predictor trained over the worst OOD data in the ball can shrink the OOD distribution discrepancy, thus improving the open-world detection performance given only the auxiliary OOD data. We conduct extensive evaluations across representative OOD detection setups, demonstrating the superiority of our DAL over its advanced counterparts.
Motivation & Objective
- Motivate the open-world OOD detection challenge and quantify how auxiliary OOD data may differ from unseen real OOD data.
- Introduce a distributionally robust learning framework that minimizes risk under the worst OOD distribution within a Wasserstein ball.
- Provide theoretical guarantees linking Wasserstein discrepancy to generalization in OOD detection.
- Propose a tractable dual formulation and an embedding-space data-search algorithm for practical training.
- Demonstrate empirical gains on CIFAR and ImageNet-scale benchmarks across multiple OOD datasets.
Proposed method
- Model the discrepancy between auxiliary and real OOD data via Wasserstein distance and show its impact on detection performance.
- Define a Wasserstein-ball distribution set around the auxiliary OOD distribution and optimize for the worst-case OOD within that ball (Eq. 8–9).
- Use a dual reformulation (Theorem 1) to convert the infinite-dimensional worst-case problem into a finite-dimensional data-search in embedding space (Eq. 10).
- Implement a practical stochastic training scheme (Algorithm 1) that perturbs embedding features to approximate the worst-case OOD in mini-batches.
- Adopt cross-entropy loss for ID and KL-divergence-based OE loss; use l1 embedding perturbations with a gamma-regularized objective.
- Provide theoretical results: excess generalization bound (Theorem 2) and risk estimation bound (Theorem 3) with convergence rates.
Experimental results
Research questions
- RQ1How does the distribution discrepancy between auxiliary OOD data and unseen real OOD data affect open-world OOD detection performance?
- RQ2Can augmenting the auxiliary OOD distribution within a Wasserstein ball and training on the worst-case OOD improve detection guarantees on unseen OOD data?
- RQ3What are the theoretical guarantees that support DAL’s open-world performance, and how can they be realized in practice?
- RQ4Does the proposed dual formulation and embedding-space search yield a tractable and effective training procedure for DAL?
- RQ5How does DAL perform empirically against strong baselines across CIFAR and ImageNet-scale settings with various OOD datasets?
Key findings
- DAL reduces average FPR95 by 1.99 to 13.46 on CIFAR benchmarks compared with conventional outlier exposure.
- DAL improves average AUROC by 0.13 on CIFAR-10 and 3.65 on CIFAR-100 versus standard OE.
- DAL achieves substantial gains over hard OOD settings and competitive baselines when combined with advanced scoring strategies.
- Theoretical results (Excess Generalization Bound and Risk Estimation) show how Wasserstein-discrepancy impacts open-world detection and how DAL can mitigate it.
- Experiments across CIFAR and ImageNet-scale setups demonstrate DAL’s superiority over advanced counterparts, especially for datasets with larger label spaces.
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.