Balanced Hyperbolic Embeddings Are Natural Out-of-Distribution Detectors
Abstract Out-of-distribution recognition forms an important and well-studied problem in deep learning, with the goal to filter out samples that do not belong to the distribution on which a network has been trained. The conclusion of this paper is simple: a good hierarchical hyperbolic embedding is preferred for discriminating in- and out-of-distribution samples. We introduce Balanced Hyperbolic Learning. We outline a hyperbolic class embedding algorithm that jointly optimizes for hierarchical distortion and balancing between shallow and wide subhierarchies. We then use the class embeddings as hyperbolic prototypes for classification on in-distribution data. We outline how to generalize existing out-of-distribution scoring functions to operate with hyperbolic prototypes. Empirical evaluations across 13 datasets and 13 scoring functions show that our hyperbolic embeddings outperform existing out-of-distribution approaches when trained on the same data with the same backbones. We also show that our hyperbolic embeddings outperform other hyperbolic approaches, beat state-of-the-art contrastive methods, and natively enable hierarchical out-of-distribution generalization.
Authors
- Pascal Mettes (ORCID: https://orcid.org/0000-0001-9275-5942)
- Tejaswi Kasarla (ORCID: https://orcid.org/0000-0003-4580-9383)
- Max van Spengler (ORCID: https://orcid.org/0000-0002-7440-920X)
Institutions
- University of Amsterdam (NL)
Publication Details
- Journal
- International Journal of Computer Vision
- Published
- 2026-04-07
- DOI
- https://doi.org/10.1007/s11263-026-02775-6
- Primary Topic
- Domain Adaptation and Few-Shot Learning
- Type
- article
- Field-Weighted Citation Impact
- 0.00