ProHOC: Probabilistic Hierarchical Out-of-Distribution Classification via Multi-Depth Networks

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Wallin, Erik, Kahl, Fredrik, Hammarstrand, Lars
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866908286791450624
author Wallin, Erik
Kahl, Fredrik
Hammarstrand, Lars
author_facet Wallin, Erik
Kahl, Fredrik
Hammarstrand, Lars
contents Out-of-distribution (OOD) detection in deep learning has traditionally been framed as a binary task, where samples are either classified as belonging to the known classes or marked as OOD, with little attention given to the semantic relationships between OOD samples and the in-distribution (ID) classes. We propose a framework for detecting and classifying OOD samples in a given class hierarchy. Specifically, we aim to predict OOD data to their correct internal nodes of the class hierarchy, whereas the known ID classes should be predicted as their corresponding leaf nodes. Our approach leverages the class hierarchy to create a probabilistic model and we implement this model by using networks trained for ID classification at multiple hierarchy depths. We conduct experiments on three datasets with predefined class hierarchies and show the effectiveness of our method. Our code is available at https://github.com/walline/prohoc.
format Preprint
id arxiv_https___arxiv_org_abs_2503_21397
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle ProHOC: Probabilistic Hierarchical Out-of-Distribution Classification via Multi-Depth Networks
Wallin, Erik
Kahl, Fredrik
Hammarstrand, Lars
Machine Learning
Computer Vision and Pattern Recognition
Out-of-distribution (OOD) detection in deep learning has traditionally been framed as a binary task, where samples are either classified as belonging to the known classes or marked as OOD, with little attention given to the semantic relationships between OOD samples and the in-distribution (ID) classes. We propose a framework for detecting and classifying OOD samples in a given class hierarchy. Specifically, we aim to predict OOD data to their correct internal nodes of the class hierarchy, whereas the known ID classes should be predicted as their corresponding leaf nodes. Our approach leverages the class hierarchy to create a probabilistic model and we implement this model by using networks trained for ID classification at multiple hierarchy depths. We conduct experiments on three datasets with predefined class hierarchies and show the effectiveness of our method. Our code is available at https://github.com/walline/prohoc.
title ProHOC: Probabilistic Hierarchical Out-of-Distribution Classification via Multi-Depth Networks
topic Machine Learning
Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2503.21397