[Paper Review] Out-of-distribution Detection with Implicit Outlier Transformation
This paper introduces Distributional-agnostic Outlier Exposure (DOE), a min-max learning framework that synthesizes worst-case OOD data via implicit data transformation through model perturbations to achieve uniform OOD detection performance across unseen distributions.
Outlier exposure (OE) is powerful in out-of-distribution (OOD) detection, enhancing detection capability via model fine-tuning with surrogate OOD data. However, surrogate data typically deviate from test OOD data. Thus, the performance of OE, when facing unseen OOD data, can be weakened. To address this issue, we propose a novel OE-based approach that makes the model perform well for unseen OOD situations, even for unseen OOD cases. It leads to a min-max learning scheme -- searching to synthesize OOD data that leads to worst judgments and learning from such OOD data for uniform performance in OOD detection. In our realization, these worst OOD data are synthesized by transforming original surrogate ones. Specifically, the associated transform functions are learned implicitly based on our novel insight that model perturbation leads to data transformation. Our methodology offers an efficient way of synthesizing OOD data, which can further benefit the detection model, besides the surrogate OOD data. We conduct extensive experiments under various OOD detection setups, demonstrating the effectiveness of our method against its advanced counterparts.
Motivation & Objective
- Motivate and address the OOD distribution gap inherent in standard outlier exposure (OE) methods.
- Propose a novel data synthesis approach that uses model perturbations to implicitly transform surrogate OOD data into diverse, unseen-like OOD distributions.
- Develop a min-max learning objective (WOR-based) to ensure uniform OOD detection performance across candidate OOD distributions.
- Empirically validate DOE on CIFAR-10, CIFAR-100, and ImageNet, showing improved OOD detection over state-of-the-art baselines, including hard OOD scenarios.
Proposed method
- Propose implicit data transformation: perturb model weights multiplicatively to implicitly transform data distributions (Theorem 1, Proposition 1, Lemma 1).
- Define Worst OOD Regret (WOR) to measure the gap between current OOD performance and the best possible within a candidate OOD set.
- Formulate DOE as a min-max objective that maximizes WOR with respect to perturbations and minimizes the OE loss over surrogate OOD data.
- Use a stochastic realization with ID and surrogate OOD mini-batches; estimate WOR via gradient-based perturbations (Equation 7–9).
- Adopt MaxLogit scoring for OOD detection after training (Equation 10).
- Compare against post-hoc and fine-tuning baselines on CIFAR and ImageNet, with surrogate OOD data (tinyImageNet / ImageNet-21K-P).
Experimental results
Research questions
- RQ1Can implicit data transformation via model perturbations generate useful OOD data that complement surrogate OOD data?
- RQ2Does a distributional-robust, WOR-based learning objective improve OOD detection uniformly across unseen OOD distributions compared to traditional OE and DRO methods?
- RQ3Are DOE’s gains consistent across diverse benchmarks (CIFAR-10, CIFAR-100, ImageNet) and in hard OOD scenarios?
Key findings
- DOE reduces false positive rate at 95% true ID rate (FPR 95) and improves AUROC across common OOD benchmarks vs OE and many baselines.
- On CIFAR-10, CIFAR-100, and ImageNet, DOE lowers FPR95 by 7.26%, 20.30%, and 13.97% respectively compared with original OE.
- In hard OOD detection settings, DOE achieves stronger gains (e.g., reductions of 7.45%, 7.75%, and 4.09% in FPR95 across LSUN-Fix, ImageNet-Resize, and CIFAR-100 respectively).
- Ablation studies show implicit data transformation and WOR-based learning both contribute to DOE’s performance, outperforming standard DRO and adversarial training baselines in wide settings.
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.