English

Better Learning-Augmented Spanning Tree Algorithms via Metric Forest Completion

Data Structures and Algorithms 2026-03-02 v1 Machine Learning

Abstract

We present improved learning-augmented algorithms for finding an approximate minimum spanning tree (MST) for points in an arbitrary metric space. Our work follows a recent framework called metric forest completion (MFC), where the learned input is a forest that must be given additional edges to form a full spanning tree. Veldt et al. (2025) showed that optimally completing the forest takes Ω(n2)\Omega(n^2) time, but designed a 2.62-approximation for MFC with subquadratic complexity. The same method is a (2γ+1)(2\gamma + 1)-approximation for the original MST problem, where γ1\gamma \geq 1 is a quality parameter for the initial forest. We introduce a generalized method that interpolates between this prior algorithm and an optimal Ω(n2)\Omega(n^2)-time MFC algorithm. Our approach considers only edges incident to a growing number of strategically chosen ``representative'' points. One corollary of our analysis is to improve the approximation factor of the previous algorithm from 2.62 for MFC and (2γ+1)(2\gamma+1) for metric MST to 2 and 2γ2\gamma respectively. We prove this is tight for worst-case instances, but we still obtain better instance-specific approximations using our generalized method. We complement our theoretical results with a thorough experimental evaluation.

Keywords

Cite

@article{arxiv.2602.24232,
  title  = {Better Learning-Augmented Spanning Tree Algorithms via Metric Forest Completion},
  author = {Nate Veldt and Thomas Stanley and Benjamin W. Priest and Trevor Steil and Keita Iwabuchi and T. S. Jayram and Grace J. Li and Geoffrey Sanders},
  journal= {arXiv preprint arXiv:2602.24232},
  year   = {2026}
}
R2 v1 2026-07-01T10:55:57.799Z