International Journal of Computer Vision Computer Vision and Pattern Recognition
OODD++: Test-Time Out-of-Distribution Detection with Diversified Dictionary
Abstract
Out-of-distribution (OOD) detection remains a major challenge for deep learning models, especially when test-time OOD data differs substantially from training data. To overcome the static nature of conventional OOD detectors, we propose OODD++ , a test-time detection framework featuring a diversified dictionary. Our method introduces a dynamic test-time adaptation mechanism that enables the OOD detector to recognize novel OOD samples upon encountering and improve the detector’s future performance. Its key innovation is a multi-queue and clustering mechanism that prevents the dictionary from becoming outdated or overly specialized, ensuring it captures a wide variety of OOD features. This design is supported by theoretical analysis proving that a more diverse, well-structured dictionary leads to better OOD detection performance. Empirically, OODD++ sets a new state-of-the-art on benchmarks like CIFAR and ImageNet, especially achieving a 12.3% FPR95 improvement on ImageNet-200 Near OOD detection over the best prior work. Furthermore, we demonstrate the practical utility of OODD++ on a bearing OOD detection dataset for industrial fault diagnosis, highlighting its value for real-world applications.