Skip to main content
QUICK REVIEW

[论文解读] Learning to Augment Distributions for Out-of-Distribution Detection

Qizhou Wang, Zhen Fang|arXiv (Cornell University)|Nov 3, 2023
Anomaly Detection Techniques and ApplicationsComputer Science被引用 8
一句话总结

DAL 在 Wasserstein ball 内对辅助 OOD 分布进行增强并在最坏情况 OOD 上训练,以降低分布差异,从而提升开放世界 OOD 检测性能,相较于标准 OE(outlier exposure)有改进。

ABSTRACT

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.

研究动机与目标

  • 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.

提出的方法

  • 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.

实验结果

研究问题

  • 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?

主要发现

  • 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.

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。