arXiv · 2308.01030
Optimizing Three Critical Factors for Practical and Effective OOD Detection Fine-Tuning
Abstract
In out-of-distribution (OOD) detection, fine-tuning with auxiliary outlier data often improves detection performance at the cost of classification accuracy. This trade-off stems from the loss of the original in-distribution (ID) distribution during fine-tuning. To establish a more practical and effective paradigm, we optimize three critical factors: model reminder, data sampling, and representation learning. We propose: (1) Self-Knowledge Distillation (SKD) to mitigate accuracy reduction; (2) Semi-hard Outlier Sampling (SOS) to improve detection efficiency with minimal data; and (3) Outlier-aware Supervised Contrastive Learning (OSCL) to promote ID-OOD separability. Optimizing these factors produces cumulative gains, boosting both OOD detection performance and classification accuracy. Our framework outperforms existing methods across diverse benchmarks, particularly in long-tailed scenarios, providing a robust baseline for real-world OOD detection.
Explore related subjects
Keep this discovery
Hyunjun Choi, JaeHo Chung, Hawook Jeong. 2023-08-02. Optimizing Three Critical Factors for Practical and Effective OOD Detection Fine-Tuning. https://doi.org/10.1007/978-3-032-31930-2_29
Cite the original work for its findings. Save a collection to share your selection of sources.