English

Local Search Yields a PTAS for k-Means in Doubling Metrics

Data Structures and Algorithms 2017-01-11 v2 Artificial Intelligence Computational Geometry

Abstract

The most well known and ubiquitous clustering problem encountered in nearly every branch of science is undoubtedly kk-means: given a set of data points and a parameter kk, select kk centres and partition the data points into kk 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 Rd\mathbb{R}^d for some d2d\geq 2. kk-means and the first algorithms for it were introduced in the 1950's. Since then, hundreds of papers have studied this problem and many algorithms have been proposed for it. The most commonly used algorithm is known as Lloyd-Forgy, which is also referred to as "the" kk-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 simple local search heuristic to get a polynomial-time algorithm with approximation ratio 9+ϵ9+\epsilon for any fixed ϵ>0\epsilon>0 for kk-means in Euclidean space. Finding an algorithm with a better 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 kk-means in Rd\mathbb{R}^d for any fixed dd. More precisely, for any error parameter ϵ>0\epsilon>0, the local search algorithm that considers swaps of up to ρ=dO(d)ϵO(d/ϵ)\rho=d^{O(d)}\cdot{\epsilon}^{-O(d/\epsilon)} centres at a time finds a solution using exactly kk centres whose cost is at most a (1+ϵ)(1+\epsilon)-factor greater than the optimum. Finally, we provide the first demonstration that local search yields a PTAS for the uncapacitated facility location problem and kk-median with non-uniform opening costs in doubling metrics.

Keywords

Cite

@article{arxiv.1603.08976,
  title  = {Local Search Yields a PTAS for k-Means in Doubling Metrics},
  author = {Zachary Friggstad and Mohsen Rezapour and Mohammad R. Salavatipour},
  journal= {arXiv preprint arXiv:1603.08976},
  year   = {2017}
}