A (1+?)-Approximation for Ultrametric Embedding in Subquadratic Time
Gabriel Bathie, Guillaume Lagarde
Abstract
Efficiently computing accurate representations of high-dimensional data is essential for data analysis and unsupervised learning. Dendrograms, also known as ultrametrics, are widely used representations that preserve hierarchical relationships within the data. However, popular methods for computing them, such as linkage algorithms, suffer from quadratic time and space complexity, making them impractical for large datasets. The "best ultrametric embedding" (a.k.a. "best ultrametric fit") problem, which aims to find the ultrametric that best preserves the distances between points in the original data, is known to require at least quadratic time for an exact solution. Recent work has focused on improving scalability by approximating optimal solutions in subquadratic time, resulting in a (sqrt(2) + epsilon)-approximation (Cohen-Addad, de Joannis de Verclos and Lagarde, 2021).
In this paper, we present the first subquadratic algorithm that achieves arbitrarily precise approximations of the optimal ultrametric embedding. Specifically, we provide an algorithm that, for any c >1, outputs a c-approximation of the best ultrametric in time O(n^(1 + 1/c)). In particular, for any fixed epsilon > 0, the algorithm computes a (1+ epsilon)-approximation in time O(n^(2 - epsilon + o(epsilon ^2))).
Experimental results show that our algorithm improves upon previous methods in terms of approximation quality while maintaining comparable running times.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext f7ec3074-d526-441e-ada8-8cc966ef354eBuilds on2
Related papers
- UltraTWD: Optimizing Ultrametric Trees for Tree-Wasserstein DistanceFangchen Yu, Yanzhen Chen, Jiaxing Wei, Jianfeng Mao et al.ICML 2025
- Fitting trees to 𝓁1-hyperbolic distancesJoon-Hyeok Yim, Anna C. GilbertNeurIPS 2023 · 4 citations
- Learning Ultrametric Trees for Optimal Transport RegressionSamantha Chen, Puoya Tabaghi, Yusu WangAAAI 2024 · 6 citations
- Additive Approximation Schemes for Low-Dimensional EmbeddingsPrashanti Anderson, Ainesh Bakshi, Samuel B. HopkinsSODA 2026
- Tree! I am no Tree! I am a low dimensional Hyperbolic EmbeddingRishi Sonthalia, Anna C. GilbertNeurIPS 2020 · 62 citations
