The most well known and ubiquitous clustering problem encountered in nearly every branch of science is undoubtedly k-MEANS: given a set of data points and a parameter k, select k centres and partition the data points into k clusters around these centres so that the sum of squares of distances of the points to their cluster centre is minimized. Typically these data points lie in Euclidean space R d for some d ≥ 2. k-MEANS and the first algorithms for it were introduced in the 1950's. Over the last six decades, hundreds of papers have studied this problem and different algorithms have been proposed for it. The most commonly used algorithm in practice is known as Lloyd-Forgy, which is also referred to as "the" k-MEANS algorithm, and various extensions of it often work very well in practice. However, they may produce solutions whose cost is arbitrarily large compared to the optimum solution. Kanungo et al. [2004] analyzed a very simple local search heuristic to get a polynomial-time algorithm with approximation ratio 9+ for any fixed > 0 for k-MEANS in Euclidean space. Finding an algorithm with a better worstcase approximation guarantee has remained one of the biggest open questions in this area, in particular whether one can get a true PTAS for fixed dimension Euclidean space. We settle this problem by showing that a simple local search algorithm provides a PTAS for k-MEANS for R d for any fixed d. More precisely, for any error parameter > 0, the local search algorithm that considers swaps of up to ρ = d O(d) · −O(d/ ) centres at a time will produce a solution using exactly k centres whose cost is at most a (1+ )-factor greater than the optimum solution. Our analysis extends very easily to the more general settings where we want to minimize the sum of q'th powers of the distances between data points and their cluster centres (instead of sum of squares of distances as in k-MEANS) for any fixed q ≥ 1 and where the metric may not be Euclidean but still has fixed doubling dimension.
In independent work, Friggstad et al. REF showed that local search is a polynomial-time approximation scheme for k-means in the case of a d-dimensional Euclidean space for a local-search parameter setting of s " d Opdq ´Opd{ q .
Local Search Yields a PTAS for k-Means in Doubling Metrics
2016 IEEE 57th Annual Symposium on Foundations of Computer Science (FOCS)
2016 IEEE 57th Annual Symposium on Foundations of Computer Science (FOCS)
Mathematics Computer Science