Bridging Arbitrary and Tree Metrics via Differentiable Gromov Hyperbolicity

Abstract

Trees and the associated shortest-path tree metrics provide a powerful framework for representing hierarchical and combinatorial structures in data. Given an arbitrary metric space, its deviation from a tree metric can be quantified by Gromov’s $\delta$-hyperbolicity. Nonetheless, designing algorithms that bridge an arbitrary metric to its closest tree metric is still a vivid subject of interest, as most common approaches are either heuristical and lack guarantees, or perform moderately well. In this work, we introduce a novel differentiable optimization framework, coined DeltaZero, that solves this problem. Our method leverages a smooth surrogate for Gromov’s $\delta$-hyperbolicity which enables a gradient-based optimization, with a tractable complexity. The corresponding optimization procedure is derived from a problem with better worst case guarantees than existing bounds, and is justified statistically. Experiments on synthetic and real-world datasets demonstrate that our method consistently achieves state-of-the-art distortion.

Cite

Text

Houédry et al. "Bridging Arbitrary and Tree Metrics via Differentiable Gromov Hyperbolicity." Advances in Neural Information Processing Systems, 2025.

Markdown

[Houédry et al. "Bridging Arbitrary and Tree Metrics via Differentiable Gromov Hyperbolicity." Advances in Neural Information Processing Systems, 2025.](https://mlanthology.org/neurips/2025/houedry2025neurips-bridging/)

BibTeX

@inproceedings{houedry2025neurips-bridging,
  title     = {{Bridging Arbitrary and Tree Metrics via Differentiable Gromov Hyperbolicity}},
  author    = {Houédry, Pierre and Courty, Nicolas and Martin-Baillon, Florestan and Chapel, Laetitia and Vayer, Titouan},
  booktitle = {Advances in Neural Information Processing Systems},
  year      = {2025},
  url       = {https://mlanthology.org/neurips/2025/houedry2025neurips-bridging/}
}