Randomized HyperSteiner: A Stochastic Delaunay Triangulation Heuristic for the Hyperbolic Steiner Minimal Tree

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

TL;DR

The paper introduces Randomized HyperSteiner (RHS), a novel stochastic algorithm designed to find Steiner Minimal Trees (the shortest possible networks connecting a set of points) in hyperbolic space. By introducing randomness into Delaunay triangulation sampling and refining the network using Riemannian gradient descent, RHS successfully avoids the local minima that trap deterministic methods. This approach achieves up to a 32% reduction in tree length over existing state-of-the-art hyperbolic heuristics, making it a powerful tool for uncovering hierarchical structures in complex datasets.

What Problem Does This Paper Address?

Hyperbolic geometry has become highly popular in machine learning for embedding hierarchical data—such as evolutionary lineages or single-cell genomic profiles—because its exponential volume growth naturally accommodates tree-like structures with very low distortion. However, once data points are embedded in hyperbolic space, explicitly reconstructing the shortest tree that connects them remains a major challenge.

This is known as the Steiner Minimal Tree (SMT) problem, which allows the insertion of extra helper nodes (Steiner points) to reduce the overall network length. Because the SMT problem is NP-hard, researchers must rely on heuristics. Prior hyperbolic methods, like the deterministic HyperSteiner algorithm, are "myopic": they rely too heavily on a Minimum Spanning Tree (MST) baseline and frequently get trapped in suboptimal local configurations. This limitation is especially severe when data points cluster near the boundary of the hyperbolic space, where the negative curvature is most pronounced.

Comparison of MST, Vanilla HyperSteiner, and Randomized HyperSteiner topologies near the boundary.

Methods

The authors propose Randomized HyperSteiner (RHS), which breaks out of local minima by combining stochastic topology exploration with continuous geometric optimization:

  1. Fast Iterative Stochastic Expansion: Instead of deterministically evaluating every triangle in a hyperbolic Delaunay Triangulation (DT), RHS randomly samples triangles with a given probability to insert candidate Steiner points at their hyperbolic barycenters. It uses a dynamic square-root schedule ($\lfloor 2\sqrt{n}-1 \rfloor$) to control the number of expansions per trial, preventing explosive computational growth.
  2. Heuristic Construction: The algorithm filters and adjusts these candidates to satisfy strict Steiner tree properties (e.g., Steiner nodes must have a degree of exactly three, with incident edges meeting at exactly 120°). Local optimization is handled efficiently using hyperbolic isoptic curves to find exact Fermat points.
  3. Global Refinement via Riemannian GD: To fix global suboptimality, RHS optimizes the continuous positions of all Steiner points simultaneously using Riemannian gradient descent (accelerated via mathematical shortcuts called retractions).

Theoretical Contribution: Crucially, the authors extend the Euclidean uniqueness theorem to hyperbolic space, proving that for a fixed tree topology and set of terminals, there is a unique optimal configuration of Steiner points that minimizes total tree length.

Datasets

The authors evaluated RHS across three distinct data regimes:

  • Centered Hyperbolic Gaussian: Simulates data clustered near the origin, where hyperbolic space behaves similarly to flat Euclidean space.
  • Boundary Mixture of Gaussians: Ten well-separated clusters positioned near the hyperbolic boundary to stress-test the algorithm where negative curvature dominates.
  • Real Biological Data (Planaria Dataset): A single-cell RNA-sequencing dataset containing 21,612 cells from S. mediterranea. The cells were embedded into 2D hyperbolic space to capture their continuous hierarchical differentiation pathways.

Key Insights and Ideas

  • The Power of Strategic Randomness: Purely geometric, deterministic heuristics are easily blinded by local symmetries. Introducing a simple Bernoulli trial over Delaunay triangles allows the algorithm to explore a vastly broader topological space without sacrificing efficiency.
  • Unlocking the Hyperbolic Boundary: In flat Euclidean space, a Steiner tree can only reduce network length by at most ~13.4% compared to an MST. In contrast, the theoretical upper bound for length reduction in hyperbolic space is a massive 50%. RHS demonstrates that this geometric advantage is unlocked most dramatically near the boundary.
  • Topology-Geometry Duality: By cleanly separating the discrete problem (searching for the right tree topology) from the continuous problem (positioning the nodes via Riemannian gradient descent), the algorithm makes an otherwise intractable non-linear optimization problem highly manageable.

Key Results

  • Approaching the Theoretical Limit: In boundary-concentrated regular polygon configurations, RHS achieved a 43.39% length reduction over the MST baseline, coming remarkably close to the theoretical 50% limit.
  • Outperforming Baselines: RHS consistently beat MST, Neighbour Joining (a standard bioinformatics baseline), and vanilla HyperSteiner across all datasets.
  • Massive Relative Gains: In clustered near-boundary configurations, RHS achieved up to a 32% reduction in total length over vanilla HyperSteiner, successfully resolving complex, deeply hierarchical tree structures where the deterministic variant failed.
Tree-length reduction over MST near the boundary, showing RHS tracking the theoretical upper bound.

Limitations and Future Work

Despite its strong performance, RHS has a few limitations:

  • No Global Topology Guarantees: While the continuous node positioning is mathematically proven to be unique and globally optimized for a fixed topology, finding the absolute best discrete topology still relies on heuristic stochastic search.
  • Computational Cost: Quality comes at a price. Because it runs iterative optimization loops, RHS is computationally heavier than deterministic approaches, taking an average of 187 seconds to process 100 points.

Future Directions: The authors point out a remaining 7% gap between their empirical results and the theoretical upper bound. They suggest that future work could bridge this gap by developing Polynomial-Time Approximation Schemes (PTAS) using hyperbolic quadtrees instead of Delaunay triangulations.

Summary updated

BibTeX
@inproceedings{medbouhi2026randomized,
  author = {Aniss Aiman Medbouhi and Alejandro García-Castellanos and Giovanni Luca Marchetti and Daniel Pelt and Erik J Bekkers and Danica Kragic},
  title = {{Randomized HyperSteiner: A Stochastic Delaunay Triangulation Heuristic for the Hyperbolic Steiner Minimal Tree}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2026},
  url = {https://openreview.net/forum?id=cq2lc89TqM},
}
Figure