From Trees to Continuous Embeddings and Back: Hyperbolic Hierarchical Clustering
Ines Chami, Albert Gu, Vaggos Chatziafratis, Christopher Ré
Abstract
Similarity-based Hierarchical Clustering (HC) is a classical unsupervised machine learning algorithm that has traditionally been solved with heuristic algorithms like Average-Linkage. Recently, Dasgupta reframed HC as a discrete optimization problem by introducing a global cost function measuring the quality of a given tree. In this work, we provide the first continuous relaxation of Dasgupta's discrete optimization problem with provable quality guarantees. The key idea of our method, HypHC, is showing a direct correspondence from discrete trees to continuous representations (via the hyperbolic embeddings of their leaf nodes) and back (via a decoding algorithm that maps leaf embeddings to a dendrogram), allowing us to search the space of discrete binary trees with continuous optimization. Building on analogies between trees and hyperbolic space, we derive a continuous analogue for the notion of lowest common ancestor, which leads to a continuous relaxation of Dasgupta's discrete objective. We can show that after decoding, the global minimizer of our continuous relaxation yields a discrete tree with a (1 + epsilon)-factor approximation for Dasgupta's optimal tree, where epsilon can be made arbitrarily small and controls optimization challenges. We experimentally evaluate HypHC on a variety of HC benchmarks and find that even approximate solutions found with gradient descent have superior clustering quality than agglomerative heuristics or other gradient based algorithms. Finally, we highlight the flexibility of HypHC using end-to-end training in a downstream classification task.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 2b6e9a47-fa50-4132-95cf-47f61646c09bCited by top-tier papers43
- HoroPCA: Hyperbolic Dimensionality Reduction via Horospherical ProjectionsInes Chami, Albert Gu, Dat Nguyen, Christopher RéICML 2021 · 64 citations
- Neural Distance Embeddings for Biological SequencesGabriele Corso, Zhitao Ying, Michal Pándy, Petar Velickovic et al.NeurIPS 2021 · 51 citations
- LSEnet: Lorentz Structural Entropy Neural Network for Deep Graph ClusteringLi Sun, Zhenhao Huang, Hao Peng, Yujie Wang et al.ICML 2024 · 31 citations
- Symmetric Spaces for Graph Embeddings: A Finsler-Riemannian ApproachFederico López, Beatrice Pozzetti, Steve Trettel, Michael Strube et al.ICML 2021 · 29 citations
- Hyperbolic Diffusion Embedding and Distance for Hierarchical Representation LearningYa-Wei Eileen Lin, Ronald R. Coifman, Gal Mishne, Ronen TalmonICML 2023 · 26 citations
Builds on2
Related papers
- Hyperbolic Continuous Structural Entropy for Hierarchical ClusteringGuangjie Zeng, Hao Peng, Angsheng Li, Li Sun et al.AAAI 2026
- Cross-modal Scalable Hyperbolic Hierarchical ClusteringTeng Long, Nanne van NoordICCV 2023 · 12 citations
- End-to-End Learning of Probabilistic Hierarchies on GraphsDaniel Zügner, Bertrand Charpentier, Morgane Ayle, Sascha Geringer et al.ICLR 2022 · 4 citations
- Expected Probabilistic HierarchiesMarcel Kollovieh, Bertrand Charpentier, Daniel Zügner, Stephan GünnemannNeurIPS 2024 · 4 citations
- Nearly-Optimal Hierarchical Clustering for Well-Clustered GraphsSteinar Laenen, Bogdan-Adrian Manghiuc, He SunICML 2023 · 8 citations
