COOD: Combined Out-of-distribution Detection Using Multiple Measures for Anomaly & Novel Class Detection in Large-scale Hierarchical Classification

Laurens E. Hogeweg, Rajesh Gangireddy, Django Brunink, Vincent J. Kalkman, Ludo Cornelissen, Jacob W. Kamminga; Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) Workshops, 2024, pp. 3971-3980

Abstract


High-performing out-of-distribution (OOD) detection both anomaly and novel class is an important prerequisite for the practical use of classification models. In this paper we focus on the species recognition task in images concerned with large databases a large number of fine-grained hierarchical classes severe class imbalance and varying image quality. We propose a framework for combining individual OOD measures into one combined OOD (COOD) measure using a supervised model. The individual measures are several existing state-of-the-art measures and several novel OOD measures developed with novel class detection and hierarchical class structure in mind. COOD was extensively evaluated on three large-scale (500k+ images) biodiversity datasets in the context of anomaly and novel class detection. We show that COOD outperforms individual including state-of-the-art OOD measures by a large margin in terms of TPR@1% FPR in the majority of experiments e.g. improving detecting ImageNet images (OOD) from 54.3% to 83.3% for the iNaturalist 2018 dataset. SHAP (feature contribution) analysis shows that different individual OOD measures are essential for various tasks indicating that multiple OOD measures and combinations are needed to generalize. Additionally we show that explicitly considering ID images that are incorrectly classified for the original (species) recognition task is important for constructing high-performing OOD detection methods and for practical applicability. The framework can easily be extended or adapted to other tasks and media modalities.

Related Material


[pdf] [supp] [arXiv]
[bibtex]
@InProceedings{Hogeweg_2024_CVPR, author = {Hogeweg, Laurens E. and Gangireddy, Rajesh and Brunink, Django and Kalkman, Vincent J. and Cornelissen, Ludo and Kamminga, Jacob W.}, title = {COOD: Combined Out-of-distribution Detection Using Multiple Measures for Anomaly \& Novel Class Detection in Large-scale Hierarchical Classification}, booktitle = {Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) Workshops}, month = {June}, year = {2024}, pages = {3971-3980} }