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

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
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Out-of-Distribution Detection with Prototype Similarity

İnci M. Baytaş, Ozan Özgür
Anomaly Detection Techniques and Applications
article

Out-of-Distribution Detection with Prototype Similarity

İnci M. Baytaş, Ozan Özgür
article en

Abstract

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

Openalex Percentile: Top 75%
Anomaly Detection Techniques and Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.