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 k-clustering (a partition into k clusters) by computing a minimum spanning tree and dropping the k-1 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 k-clustering as the weight of the corresponding spanning forest, denoted by costk. 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 cost(G) = Σk=1n costk. In this paper, we assume that the distances between data points are given as a graph G with average degree d and edge weights from \1,…, W\. Given query access to the adjacency list of G, we present a sampling-based algorithm that computes a succinct representation of estimates costk for all k. The running time is O(dW/3), and the estimates satisfy Σk=1n |costk - costk| · cost(G), for any 0< <1. Thus we can approximate the cost of every k-clustering upto (1+) factor on average. In particular, our result ensures that we can estimate (G) upto a factor of 1 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 O(dW/3) time. We futher prove nearly matching lower bounds for estimating the total clustering cost and we extend our algorithms to metric space settings.
Turn this paper into a full lesson
ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.