[Paper Review] Out-of-distribution Detection Learning with Unreliable Out-of-distribution Sources
This paper proposes Auxiliary Task-based OOD Learning (ATOL), a data generation-based method that leverages unreliable, mistakenly generated OOD data as an auxiliary detection task to improve real OOD detection. By ensuring disjoint supports between auxiliary ID and OOD data and aligning real and auxiliary ID distributions, ATOL enables the predictor to learn robustly despite flawed OOD generation, achieving state-of-the-art performance on CIFAR-10, CIFAR-100, and ImageNet benchmarks.
Out-of-distribution (OOD) detection discerns OOD data where the predictor cannot make valid predictions as in-distribution (ID) data, thereby increasing the reliability of open-world classification. However, it is typically hard to collect real out-of-distribution (OOD) data for training a predictor capable of discerning ID and OOD patterns. This obstacle gives rise to data generation-based learning methods, synthesizing OOD data via data generators for predictor training without requiring any real OOD data. Related methods typically pre-train a generator on ID data and adopt various selection procedures to find those data likely to be the OOD cases. However, generated data may still coincide with ID semantics, i.e., mistaken OOD generation remains, confusing the predictor between ID and OOD data. To this end, we suggest that generated data (with mistaken OOD generation) can be used to devise an auxiliary OOD detection task to facilitate real OOD detection. Specifically, we can ensure that learning from such an auxiliary task is beneficial if the ID and the OOD parts have disjoint supports, with the help of a well-designed training procedure for the predictor. Accordingly, we propose a powerful data generation-based learning method named Auxiliary Task-based OOD Learning (ATOL) that can relieve the mistaken OOD generation. We conduct extensive experiments under various OOD detection setups, demonstrating the effectiveness of our method against its advanced counterparts.
Motivation & Objective
- To address the challenge of unreliable OOD data generation in out-of-distribution detection, where generators trained on in-distribution data may produce OOD samples with in-distribution semantics.
- To overcome the limitation of existing data generation-based methods that fail due to mistaken OOD generation, which confuses the predictor.
- To propose a method that leverages such unreliable generated data constructively by formulating it as a beneficial auxiliary OOD detection task.
- To theoretically justify that learning from the auxiliary task improves real OOD detection when the auxiliary ID and OOD data have disjoint supports and real and auxiliary ID data are similarly distributed.
- To empirically validate the effectiveness of the proposed method across diverse OOD detection setups, including ImageNet.
Proposed method
- Construct an auxiliary OOD detection task using generated data, where auxiliary ID and OOD data are explicitly separated in the latent space to ensure disjoint supports.
- Train the generator to produce auxiliary OOD data by sampling noise from low-density regions in the latent space, avoiding high-density areas of the MoG-based ID distribution.
- Design a joint training procedure that enables the predictor to learn from both the real OOD detection task and the auxiliary task, improving generalization.
- Enforce condition C1 (disjoint supports between auxiliary ID and OOD data) via explicit latent space partitioning, and condition C2 (distributional similarity between real and auxiliary ID data) via shared data distribution modeling.
- Use a multi-head predictor with shared feature extractor and separate heads for real and auxiliary OOD detection, allowing knowledge transfer while maintaining task specificity.
- Apply a contrastive learning objective to align the representations of real and auxiliary ID data, promoting domain consistency and improving robustness to distributional shift.
Experimental results
Research questions
- RQ1Can unreliable, mistakenly generated OOD data still be leveraged to improve real OOD detection performance?
- RQ2Under what conditions does learning from an auxiliary OOD detection task with flawed generated data lead to improved performance on real OOD detection?
- RQ3How can disjoint supports between auxiliary ID and OOD data be enforced in high-dimensional input space?
- RQ4What training procedure ensures that the auxiliary task benefits the real OOD detection task despite imperfect OOD generation?
- RQ5How does ATOL compare to state-of-the-art OOD detection methods under various benchmark settings?
Key findings
- ATOL achieves state-of-the-art performance on CIFAR-10, with an FPR95 of 14.27 ± 0.48 and AUROC of 97.44 ± 0.13, outperforming existing methods.
- On CIFAR-100, ATOL achieves an FPR95 of 56.92 ± 1.61 and AUROC of 88.38 ± 0.54, demonstrating strong generalization across diverse OOD detection scenarios.
- On ImageNet, ATOL achieves a mean FPR95 of 51.84 ± 0.35 and AUROC of 85.85 ± 0.13 across five runs, showing consistent and robust performance.
- The method significantly reduces the negative impact of mistaken OOD generation, as evidenced by stable performance even when OOD data contain ID semantics.
- Visualization results confirm that ATOL generates diverse and semantically distinct auxiliary OOD samples, supporting the theoretical design of disjoint latent space regions.
- Ablation studies show that the auxiliary task contributes significantly to performance, with ablation of the auxiliary head leading to a drop in AUROC by up to 3.5% on CIFAR-10.
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.