English

FAMST: Fast Approximate Minimum Spanning Tree Construction for Large-Scale and High-Dimensional Data

Data Structures and Algorithms 2025-07-22 v1 Artificial Intelligence

Abstract

We present Fast Approximate Minimum Spanning Tree (FAMST), a novel algorithm that addresses the computational challenges of constructing Minimum Spanning Trees (MSTs) for large-scale and high-dimensional datasets. FAMST utilizes a three-phase approach: Approximate Nearest Neighbor (ANN) graph construction, ANN inter-component connection, and iterative edge refinement. For a dataset of nn points in a dd-dimensional space, FAMST achieves O(dnlogn)\mathcal{O}(dn \log n) time complexity and O(dn+kn)\mathcal{O}(dn + kn) space complexity when kk nearest neighbors are considered, which is a significant improvement over the O(n2)\mathcal{O}(n^2) time and space complexity of traditional methods. Experiments across diverse datasets demonstrate that FAMST achieves remarkably low approximation errors while providing speedups of up to 1000×\times compared to exact MST algorithms. We analyze how the key hyperparameters, kk (neighborhood size) and λ\lambda (inter-component edges), affect performance, providing practical guidelines for hyperparameter selection. FAMST enables MST-based analysis on datasets with millions of points and thousands of dimensions, extending the applicability of MST techniques to problem scales previously considered infeasible.

Keywords

Cite

@article{arxiv.2507.14261,
  title  = {FAMST: Fast Approximate Minimum Spanning Tree Construction for Large-Scale and High-Dimensional Data},
  author = {Mahmood K. M. Almansoori and Miklos Telek},
  journal= {arXiv preprint arXiv:2507.14261},
  year   = {2025}
}
R2 v1 2026-07-01T04:08:33.704Z