Approximate Forest Completion and Learning-Augmented Algorithms for Metric Minimum Spanning Trees

Abstract

Finding a minimum spanning tree (MST) for $n$ points in an arbitrary metric space is a fundamental primitive for hierarchical clustering and many other ML tasks, but this takes $\Omega(n^2)$ time to even approximate. We introduce a framework for metric MSTs that first (1) finds a forest of trees using practical heuristics, and then (2) finds a small weight set of edges to connect disjoint components in the forest into a spanning tree. We prove that optimally solving step (2) still takes $\Omega(n^2)$ time, but we provide a subquadratic 2.62-approximation algorithm. In the spirit of learning-augmented algorithms, we then show that if the heuristic forest found in step (1) overlaps with an optimal MST, we can approximate the original MST problem in subquadratic time, where the approximation factor depends on a measure of overlap. In practice, we find nearly optimal spanning trees for a wide range of metrics, while being orders of magnitude faster than exact algorithms.

Cite

Text

Veldt et al. "Approximate Forest Completion and Learning-Augmented Algorithms for Metric Minimum Spanning Trees." Proceedings of the 42nd International Conference on Machine Learning, 2025.

Markdown

[Veldt et al. "Approximate Forest Completion and Learning-Augmented Algorithms for Metric Minimum Spanning Trees." Proceedings of the 42nd International Conference on Machine Learning, 2025.](https://mlanthology.org/icml/2025/veldt2025icml-approximate/)

BibTeX

@inproceedings{veldt2025icml-approximate,
  title     = {{Approximate Forest Completion and Learning-Augmented Algorithms for Metric Minimum Spanning Trees}},
  author    = {Veldt, Nate and Stanley, Thomas and Priest, Benjamin W and Steil, Trevor and Iwabuchi, Keita and Jayram, T.S. and Sanders, Geoffrey},
  booktitle = {Proceedings of the 42nd International Conference on Machine Learning},
  year      = {2025},
  pages     = {61126-61149},
  volume    = {267},
  url       = {https://mlanthology.org/icml/2025/veldt2025icml-approximate/}
}