HyperSteiner: Computing Heuristic Hyperbolic Steiner Minimal Trees

Alejandro García-Castellanos, Aniss Aiman Medbouhi, Giovanni Luca Marchetti, Erik J. Bekkers, Danica Kragic

TL;DR

HyperSteiner is a new, highly scalable heuristic algorithm for computing Steiner Minimal Trees in hyperbolic space. By adapting classical Euclidean techniques to the "natural geometry of hierarchies," it enables researchers to discover complex branching structures in massive datasets—like cell lineages—up to 12 times faster than traditional methods.

What Problem Does This Paper Address?

In computational geometry, the Steiner Minimal Tree (SMT) problem asks for the shortest possible network connecting a set of points. Unlike a Minimum Spanning Tree (MST), which only connects the original points, an SMT can add new "Steiner points" to create shorter shortcuts. This problem is notoriously NP-hard.

While well-studied in flat Euclidean space, SMTs are increasingly needed in hyperbolic space. Hyperbolic geometry is essentially the "natural" home for hierarchical data (like evolutionary trees or language taxonomies) because its negative curvature allows for exponential branching without the "crowding" seen in flat space. However, existing hyperbolic Steiner algorithms either don't scale beyond a handful of points or are too computationally expensive for modern "big data" applications like single-cell genomics.

Methods

The authors introduce HyperSteiner, a hyperbolic adaptation of the Smith-Lee-Liebman (SLL) algorithm. SLL is a divide-and-conquer heuristic that breaks a large problem into tiny, solvable pieces.

Key technical innovations include:

  • Klein-Beltrami Model: The authors use this specific model of hyperbolic geometry because its "straight lines" (geodesics) align with Euclidean lines, simplifying the math.
  • Hyperbolic Delaunay Triangulation: They compute the initial "map" of the points using Euclidean "power cells" (weighted Voronoi diagrams), a clever trick to handle hyperbolic distances efficiently.
  • Isoptic Curve Solvers: To find the optimal Steiner points for 3 or 4 terminals, they derive explicit algebraic expressions for "isoptic curves"—the set of points that "see" a line segment at a specific angle (120° for Steiner points).
  • Dual Solvers: They offer a "Simple" solver (fast, Newton-based) for most cases and a "Precise" solver (using Polynomial Homotopy Continuation) for difficult points near the boundary where standard numerical methods fail.

Datasets

The algorithm was evaluated on both synthetic and real-world data:

  • Synthetic: "Pseudo-hyperbolic" Gaussian distributions and mixtures designed to test how the algorithm handles clusters near the center versus the boundary of the hyperbolic disk.
  • Planaria Dataset: A massive real-world biological dataset containing RNA-sequencing data for 21,612 cells of the Planaria flatworm. This dataset is inherently hierarchical as cells differentiate from stem cells into specialized types.

Key Insights and Ideas

  • The "Boundary Benefit": The advantage of Steiner trees over MSTs is most dramatic near the boundary of the hyperbolic space. In these regions, the "Steiner ratio" (reduction in length) can reach over 20%, compared to the typical 2-3% in Euclidean space.
  • 2D is Enough: Unlike Euclidean space, where complex trees might require many dimensions to embed without distortion, two hyperbolic dimensions are mathematically sufficient to represent any tree structure.
  • Scalability via Geometry: By restricting the search for Steiner points to the edges of a Delaunay triangulation, the authors achieve an asymptotic complexity of $O(N \log N)$, making it feasible for datasets with tens of thousands of points.

Key Results

  • Speed: On the full Planaria dataset, HyperSteiner was over 12 times faster than Neighbor Joining (NJ), a standard but slow ($O(N^3)$) algorithm used in phylogenetics.
  • Accuracy: While NJ (which uses more information) achieved slightly lower error in predicting cell ages (0.17 vs 0.18), HyperSteiner significantly outperformed the standard Minimum Spanning Tree (0.19).
  • Efficiency: The "Simple" (Newton-based) version of the algorithm provides a "sweet spot," offering Euclidean-like speeds while still capturing most of the Steiner length reduction.

Limitations and Future Work

  • Heuristic Nature: As a heuristic based on the SLL algorithm, HyperSteiner does not guarantee the absolute shortest tree, though it provides a provable upper bound (it will never be more than twice the length of the true SMT).
  • Numerical Sensitivity: The Newton-based solver can be unstable near the boundary of the hyperbolic disk, necessitating the slower "Precise" algebraic solver in those regions.
  • Future Directions: The authors suggest applying HyperSteiner to other hierarchical domains, such as Natural Language Processing (word hierarchies) and Reinforcement Learning (state-space branching), where hyperbolic embeddings are becoming standard.

Summary updated

BibTeX
@inproceedings{garciacastellanos2025hypersteiner,
  author = {Alejandro García-Castellanos and Aniss Aiman Medbouhi and Giovanni Luca Marchetti and Erik J. Bekkers and Danica Kragic},
  title = {{HyperSteiner: Computing Heuristic Hyperbolic Steiner Minimal Trees}},
  booktitle = {ALENEX},
  year = {2025},
  doi = {10.1137/1.9781611978339.16},
}
Figure