Fast hyperboloid decision tree algorithms

Philippe Chlenski, Ethan Turok, A. Moretti, I. Pe’er
10/1/2023

Official code: pchlenski/hyperdt (13 stars, MIT, last commit 2025-06-04).

Abstract

Hyperbolic geometry is gaining traction in machine learning for its effectiveness at capturing hierarchical structures in real-world data. Hyperbolic spaces, where neighborhoods grow exponentially, offer substantial advantages and consistently deliver state-of-the-art results across diverse applications. However, hyperbolic classifiers often grapple with computational challenges. Methods reliant on Riemannian optimization frequently exhibit sluggishness, stemming from the increased computational demands of operations on Riemannian manifolds. In response to these challenges, we present hyperDT, a novel extension of decision tree algorithms into hyperbolic space. Crucially, hyperDT eliminates the need for computationally intensive Riemannian optimization, numerically unstable exponential and logarithmic maps, or pairwise comparisons between points by leveraging inner products to adapt Euclidean decision tree algorithms to hyperbolic space. Our approach is conceptually straightforward and maintains constant-time decision complexity while mitigating the scalability issues inherent in high-dimensional Euclidean spaces. Building upon hyperDT we introduce hyperRF, a hyperbolic random forest model. Extensive benchmarking across diverse datasets underscores the superior performance of these models, providing a swift, precise, accurate, and user-friendly toolkit for hyperbolic data analysis.

View on arXivView PDF

Code Implementations(1)

pchlenski/hyperdtOfficial100%
MIT

Hyperbolic decision trees

131TeX, PythonJul 7, 20231 years agoMIT

Similar Papers

Cite this paper

@article{chlenski2023fast,
  title  = {Fast hyperboloid decision tree algorithms},
  author = {Philippe Chlenski and Ethan Turok and A. Moretti and I. Pe’er},
  year   = {2023},
  eprint = {2310.13841},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2310.13841},
  journal = {ICLR 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2310.13841.svg)](https://codeofpaper.com/paper/2310.13841)

Discussion