Semi-Supervised Hierarchical Open-Set Classification
Erik Wallin, Fredrik Kahl, Lars Hammarstrand
TL;DR
This work tackles hierarchical open-set classification in a semi-supervised setting by enabling models to learn from unlabeled mixtures of in-distribution and out-of-distribution data. It introduces SemiHOC, a teacher–Student framework that combines ProHOC-based hierarchical predictions with subtree pseudo-labels and a novel age-gating mechanism to prevent overconfident, overly specific OOD assignments. The key contributions are the subtree pseudo-labels for robust OOD supervision and age-gating to curb late SPL overpredictions, integrated within a semi-supervised learning loop. Empirically, SemiHOC outperforms SSL baselines and matches fully supervised performance on iNaturalist19 with only 20 labeled samples per class, demonstrating strong practical impact for scale-limited open-world recognition in hierarchical taxonomies.
Abstract
Hierarchical open-set classification handles previously unseen classes by assigning them to the most appropriate high-level category in a class taxonomy. We extend this paradigm to the semi-supervised setting, enabling the use of large-scale, uncurated datasets containing a mixture of known and unknown classes to improve the hierarchical open-set performance. To this end, we propose a teacher-student framework based on pseudo-labeling. Two key components are introduced: 1) subtree pseudo-labels, which provide reliable supervision in the presence of unknown data, and 2) age-gating, a mechanism that mitigates overconfidence in pseudo-labels. Experiments show that our framework outperforms self-supervised pretraining followed by supervised adaptation, and even matches the fully supervised counterpart when using only 20 labeled samples per class on the iNaturalist19 benchmark. Our code is available at https://github.com/walline/semihoc.
