HyperTree: Scalable Unsupervised Hierarchy Discovery in Hyperbolic Space

Lang, Thomas, Sidak, Kevin, Beer, Anna, Tschiatschek, Sebastian, Velaj, Yllka, Plant, Claudia

–arXiv.org Artificial Intelligence 

Real-world image datasets are deeply hierarchical, yet unsupervised hierarchical representation learning remains underdeveloped. Hyperbolic space is geometrically ideal for embedding trees with low distortion due to its exponential volume growth, but existing unsupervised hyperbolic methods either fail to scale beyond a few thousand points or depend heavily on class supervision. We bridge this gap with HyperTree, a scalable, capacity-efficient framework with a fully unsupervised objective, built on three contributions: (i) a geometrically consistent, closed-form definition of the hyperbolic Lowest Common Ancestor, valid across hyperbolic manifolds of arbitrary curvatures; (ii) an almost everywhere differentiable hierarchical objective based on Dasgupta's cost that is bounded and invariant to dataset scale; and (iii) a sample-complexity guarantee that enables scaling to datasets such as ImageNet-1k and iNaturalist-2018. Across four benchmarks, HyperTree outperforms Euclidean deep-clustering baselines by wide margins on hierarchical dendrogram purity and surpasses supervised hyperbolic baselines even when the baseline uses up to 8x more dimensions. We release our code at https://github.com/univie-dm/HyperTree.