English

Tree! I am no Tree! I am a Low Dimensional Hyperbolic Embedding

Machine Learning 2020-10-26 v4 Metric Geometry Machine Learning

Abstract

Given data, finding a faithful low-dimensional hyperbolic embedding of the data is a key method by which we can extract hierarchical information or learn representative geometric features of the data. In this paper, we explore a new method for learning hyperbolic representations by taking a metric-first approach. Rather than determining the low-dimensional hyperbolic embedding directly, we learn a tree structure on the data. This tree structure can then be used directly to extract hierarchical information, embedded into a hyperbolic manifold using Sarkar's construction \cite{sarkar}, or used as a tree approximation of the original metric. To this end, we present a novel fast algorithm \textsc{TreeRep} such that, given a δ\delta-hyperbolic metric (for any δ0\delta \geq 0), the algorithm learns a tree structure that approximates the original metric. In the case when δ=0\delta = 0, we show analytically that \textsc{TreeRep} exactly recovers the original tree structure. We show empirically that \textsc{TreeRep} is not only many orders of magnitude faster than previously known algorithms, but also produces metrics with lower average distortion and higher mean average precision than most previous algorithms for learning hyperbolic embeddings, extracting hierarchical information, and approximating metrics via tree metrics.

Keywords

Cite

@article{arxiv.2005.03847,
  title  = {Tree! I am no Tree! I am a Low Dimensional Hyperbolic Embedding},
  author = {Rishi Sonthalia and Anna C. Gilbert},
  journal= {arXiv preprint arXiv:2005.03847},
  year   = {2020}
}

Comments

Code available at https://github.com/rsonthal/TreeRep

R2 v1 2026-06-23T15:23:55.621Z