Out-of-Distribution Detection with Prototype Similarity
Despite their widely known success in various applications, deep models have difficulty distinguishing the distributional uncertainties. This challenge, known as out-of-distribution sample detection, is critical in high-stakes applications such as self-driving vehicles and medical imaging. Various studies focus on frameworks based on the network’s activations at logit and penultimate layers to detect out-of-distribution samples. However, the potential benefit of using intermediate layer activations for out-of-distribution detection is yet to be thoroughly investigated. In this paper, we propose an out-of-distribution detection framework that employs the activations of several layers, including the intermediate layers of a ResNet model. The proposed approach does not modify the complex backbone architecture training but utilizes its pre-trained activations to train prototypes. Finally, an out-of-distribution classifier is trained with the similarity scores extracted from prototypes using both in and out-of-distribution samples. We showed that training prototypes to obtain scores improves the detection performance. Our results on the various benchmark datasets are on par with the state-of-the-art. Implementation of the proposed framework can be found at: https://github.com/ozanzgur/prototype-similarity/tree/main
Authors
- İnci M. Baytaş (ORCID: https://orcid.org/0000-0003-4765-2615)
- Ozan Özgür
Publication Details
- Published
- 2024-12-11
- DOI
- https://doi.org/10.1109/ickg63256.2024.00037
- Primary Topic
- Anomaly Detection Techniques and Applications
- Type
- article
- Field-Weighted Citation Impact
- 0.00