Toward a Realistic Benchmark for Out-of-Distribution Detection

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Recalcati, Pietro, Garcea, Fabio, Piano, Luca, Lamberti, Fabrizio, Morra, Lia
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866916208489529344
author Recalcati, Pietro
Garcea, Fabio
Piano, Luca
Lamberti, Fabrizio
Morra, Lia
author_facet Recalcati, Pietro
Garcea, Fabio
Piano, Luca
Lamberti, Fabrizio
Morra, Lia
contents Deep neural networks are increasingly used in a wide range of technologies and services, but remain highly susceptible to out-of-distribution (OOD) samples, that is, drawn from a different distribution than the original training set. A common approach to address this issue is to endow deep neural networks with the ability to detect OOD samples. Several benchmarks have been proposed to design and validate OOD detection techniques. However, many of them are based on far-OOD samples drawn from very different distributions, and thus lack the complexity needed to capture the nuances of real-world scenarios. In this work, we introduce a comprehensive benchmark for OOD detection, based on ImageNet and Places365, that assigns individual classes as in-distribution or out-of-distribution depending on the semantic similarity with the training set. Several techniques can be used to determine which classes should be considered in-distribution, yielding benchmarks with varying properties. Experimental results on different OOD detection techniques show how their measured efficacy depends on the selected benchmark and how confidence-based techniques may outperform classifier-based ones on near-OOD samples.
format Preprint
id arxiv_https___arxiv_org_abs_2404_10474
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Toward a Realistic Benchmark for Out-of-Distribution Detection
Recalcati, Pietro
Garcea, Fabio
Piano, Luca
Lamberti, Fabrizio
Morra, Lia
Machine Learning
Computer Vision and Pattern Recognition
Deep neural networks are increasingly used in a wide range of technologies and services, but remain highly susceptible to out-of-distribution (OOD) samples, that is, drawn from a different distribution than the original training set. A common approach to address this issue is to endow deep neural networks with the ability to detect OOD samples. Several benchmarks have been proposed to design and validate OOD detection techniques. However, many of them are based on far-OOD samples drawn from very different distributions, and thus lack the complexity needed to capture the nuances of real-world scenarios. In this work, we introduce a comprehensive benchmark for OOD detection, based on ImageNet and Places365, that assigns individual classes as in-distribution or out-of-distribution depending on the semantic similarity with the training set. Several techniques can be used to determine which classes should be considered in-distribution, yielding benchmarks with varying properties. Experimental results on different OOD detection techniques show how their measured efficacy depends on the selected benchmark and how confidence-based techniques may outperform classifier-based ones on near-OOD samples.
title Toward a Realistic Benchmark for Out-of-Distribution Detection
topic Machine Learning
Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2404.10474