Sublinear Algorithms for Estimating Single-Linkage Clustering Costs
Abstract
Single-linkage clustering is a fundamental method for data analysis. Algorithmically, one can compute a single-linkage -clustering (a partition into clusters) by computing a minimum spanning tree and dropping the most costly edges. This clustering minimizes the sum of spanning tree weights of the clusters. This motivates us to define the cost of a single-linkage -clustering as the weight of the corresponding spanning forest, denoted by . Besides, if we consider single-linkage clustering as computing a hierarchy of clusterings, the total cost of the hierarchy is defined as the sum of the individual clusterings, denoted by . In this paper, we assume that the distances between data points are given as a graph with average degree and edge weights from . Given query access to the adjacency list of , we present a sampling-based algorithm that computes a succinct representation of estimates for all . The running time is , and the estimates satisfy , for any . Thus we can approximate the cost of every -clustering upto factor \emph{on average}. In particular, our result ensures that we can estimate upto a factor of in the same running time. We also extend our results to the setting where edges represent similarities. In this case, the clusterings are defined by a maximum spanning tree, and our algorithms run in time. We futher prove nearly matching lower bounds for estimating the total clustering cost and we extend our algorithms to metric space settings.
Keywords
Cite
@article{arxiv.2510.11547,
title = {Sublinear Algorithms for Estimating Single-Linkage Clustering Costs},
author = {Pan Peng and Christian Sohler and Yi Xu},
journal= {arXiv preprint arXiv:2510.11547},
year = {2025}
}
Comments
70 pages