{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,9,26]],"date-time":"2026-09-26T10:27:49Z","timestamp":1790418469773,"version":"4.1.0"},"reference-count":49,"publisher":"Society for Industrial & Applied Mathematics (SIAM)","issue":"2","funder":[{"DOI":"10.13039\/501100001804","name":"Canada Research Chairs","doi-asserted-by":"publisher","id":[{"id":"10.13039\/501100001804","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/501100000038","name":"Natural Sciences and Engineering Research Council of Canada","doi-asserted-by":"publisher","id":[{"id":"10.13039\/501100000038","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["SIAM J. Comput."],"published-print":{"date-parts":[[2019,1]]},"abstract":"<jats:p>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$ centers and partition the data points into $k$ clusters around these centers so that the sum of squares of distances of the points to their cluster center is minimized. Typically these data points lie in Euclidean space $\\mathbb{R}^d$ for some $d\\geq 2$. $k$-means and the first algorithms for it were introduced in the 1950s. 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 \u201cthe\u201d $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. [ Comput. Geom., 28 (2004), pp. 89--112] analyzed a very simple local search heuristic to get a polynomial-time algorithm with approximation ratio $9+\\epsilon$ for any fixed $\\epsilon&gt;0$ for $k$-means in Euclidean space. Finding an algorithm with a better worst-case approximation guarantee has remained one of the biggest open questions in this area, in particular, whether one can get a true polynomial-time approximation scheme (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 $\\mathbb{R}^d$ for any fixed $d$. More precisely, for any error parameter $\\epsilon&gt;0$, the local search algorithm that considers swaps of up to $\\rho=d^{O(d)}\\cdot{\\epsilon}^{-O(d\/\\epsilon)}$ centers at a time will produce a solution using exactly $k$ centers whose cost is at most a $(1+\\epsilon)$-factor greater than the optimum solution. Although the algorithm is not practical due to the large polynomial running time, it settles the approximability of this important problem. 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 centers (instead of sum of squares of distances as in $k$-means) for any fixed $q\\geq 1$ and where the metric may not be Euclidean but still has fixed doubling dimension. Finally, our techniques also extend to other classic clustering problems. We provide the first demonstration that local search yields a PTAS for uncapacitated facility location and the generalization of $k$-median to the setting with nonuniform opening costs in doubling metrics.<\/jats:p>","DOI":"10.1137\/17m1127181","type":"journal-article","created":{"date-parts":[[2019,4,30]],"date-time":"2019-04-30T12:31:59Z","timestamp":1556627519000},"page":"452-480","source":"Crossref","is-referenced-by-count":42,"title":["Local Search Yields a PTAS for $k$-Means in Doubling Metrics"],"prefix":"10.1137","volume":"48","author":[{"given":"Zachary","family":"Friggstad","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Mohsen","family":"Rezapour","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Mohammad R.","family":"Salavatipour","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"351","published-online":{"date-parts":[[2019,4,30]]},"reference":[{"key":"atypb1","doi-asserted-by":"publisher","DOI":"10.1007\/s10994-009-5103-0"},{"key":"atypb2","doi-asserted-by":"publisher","DOI":"10.1145\/290179.290180"},{"key":"atypb3","first-page":"106","author":"Arora S.","year":"1998","journal-title":"New York"},{"key":"atypb4","doi-asserted-by":"publisher","DOI":"10.1145\/2027216.2027217"},{"key":"atypb5","first-page":"144","author":"Arthur D.","year":"2006","journal-title":"New York"},{"key":"atypb6","first-page":"1027","author":"Arthur D.","year":"2007","journal-title":"Philadelphia"},{"key":"atypb7","first-page":"21","author":"Arya V.","year":"2001","journal-title":"New York"},{"key":"atypb8","doi-asserted-by":"publisher","DOI":"10.1137\/S0097539702416402"},{"key":"atypb9","doi-asserted-by":"crossref","unstructured":"P. Awasthi, A. Blum, and O. Sheffet,\n                      Stability yields a PTAS for K-median and K-means clustering\n                      , in Proceedings of the 2010 IEEE 51st Annual Symposium on Foundations of Computer Science (FOCS '10), IEEE Computer Society, Los Alamitos, CA, 2010, pp. 309-318.","DOI":"10.1109\/FOCS.2010.36"},{"key":"atypb10","first-page":"754","author":"Awasthi P.","year":"2015","journal-title":"LIPIcs Leibniz Int. Proc. Inform."},{"key":"atypb11","first-page":"250","author":"B\u0101doiu M.","year":"2002","journal-title":"New York"},{"key":"atypb12","unstructured":"S. Bandyapadhyay and K. Varadarajan,\n                      On variants of K-means clustering\n                      , in Proceedings of the 32nd International Symposium on Computational Geometry (SoCG '16), LIPIcs Leibniz Int. Proc. Inform., Schloss Dagstuhl-Leibniz-Zentron f\u00fcr Informatik, Dagstuhl, Germany, 2016."},{"key":"atypb14","doi-asserted-by":"publisher","DOI":"10.1145\/2981561"},{"key":"atypb15","first-page":"194","author":"Charikar M.","year":"2012","journal-title":"Berlin"},{"key":"atypb16","doi-asserted-by":"publisher","DOI":"10.1137\/070699007"},{"key":"atypb17","first-page":"353","author":"Cohen-Addad V.","year":"2016","journal-title":"NJ"},{"key":"atypb18","unstructured":"V. Cohen-Addad, P. N. Klein, and C. Mathieu,\n                      The power of local search for clustering\n                      , preprint, CoRR, abs\/1603.09535, 2016."},{"key":"atypb19","first-page":"329","author":"Cohen-Addad V.","year":"2015","journal-title":"Germany"},{"key":"atypb20","first-page":"735","author":"Dasgupta S.","year":"2003","journal-title":"Berlin"},{"key":"atypb21","first-page":"50","author":"de la Vega W. Fernandez","year":"2003","journal-title":"New York"},{"key":"atypb22","doi-asserted-by":"publisher","DOI":"10.1038\/nbt1205-1499"},{"key":"atypb23","doi-asserted-by":"publisher","DOI":"10.1023\/B:MACH.0000033113.59016.96"},{"key":"atypb24","first-page":"448","author":"Fakcharoenphol J.","year":"2003","journal-title":"New York"},{"key":"atypb25","first-page":"11","author":"Feldman D.","year":"2007","journal-title":"New York"},{"key":"atypb26","first-page":"1434","author":"Feldman D.","year":"2013","journal-title":"Philadelphia"},{"key":"atypb27","doi-asserted-by":"crossref","unstructured":"Z. Friggstad, M. Rezapour, and M. R. Salavatipour,\n                      Local search yields a PTAS for k-means in doubling metrics\n                      , in IEEE 57th Annual Symposium on Foundations of Computer Science, FOCS 2016, 2016, New Brunswick, NJ, IEEE, Piscataway, NJ, 2016, pp. 365-374.","DOI":"10.1109\/FOCS.2016.47"},{"key":"atypb28","doi-asserted-by":"crossref","unstructured":"Z. Friggstad, M. Rezapour, and M. R. Salavatipour,\n                      Local search yields a PTAS for k-means in doubling metrics\n                      , CoRR, abs\/1603.08976, 2016.","DOI":"10.1109\/FOCS.2016.47"},{"key":"atypb29","unstructured":"A. Gupta and T. Tangwongsan,\n                      Simpler analyses of local search algorithms for facility location\n                      , preprint, arXiv:0809.2554, 2008."},{"key":"atypb30","first-page":"126","author":"Har-Peled S.","year":"2005","journal-title":"New York"},{"key":"atypb31","first-page":"291","author":"Har-Peled S.","year":"2004","journal-title":"New York"},{"key":"atypb32","doi-asserted-by":"publisher","DOI":"10.1007\/s00453-004-1127-9"},{"key":"atypb33","doi-asserted-by":"publisher","DOI":"10.1038\/nmeth.2651"},{"key":"atypb34","first-page":"332","author":"Inaba M.","year":"1994","journal-title":"New York"},{"key":"atypb35","doi-asserted-by":"publisher","DOI":"10.1016\/j.patrec.2009.09.011"},{"key":"atypb36","doi-asserted-by":"publisher","DOI":"10.1016\/j.comgeo.2004.03.003"},{"key":"atypb37","first-page":"378","author":"Kolliopoulos S. G.","year":"1999","journal-title":"Berlin"},{"key":"atypb38","doi-asserted-by":"crossref","unstructured":"A. Kumar and R. Kannan,\n                      Clustering with spectral norm and the K-means algorithm\n                      , in Proceedings of the 2010 IEEE 51st Annual Symposium on Foundations of Computer Science (FOCS '10), IEEE Computer Society, Los Alamitos, CA, 2010, pp. 299-308.","DOI":"10.1109\/FOCS.2010.35"},{"key":"atypb39","doi-asserted-by":"crossref","unstructured":"A. Kumar, Y. Sabharwal, and S. Sen,\n                      A simple linear time $(1+ \\epsilon)$-approximation algorithm for K-means clustering in any dimensions\n                      , in Proceedings of the 45th Annual IEEE Symposium on Foundations of Computer Science (FOCS '04), IEEE Computer Society, Los Alamitos, CA, 2004, pp. 454-462.","DOI":"10.1109\/FOCS.2004.7"},{"key":"atypb40","doi-asserted-by":"publisher","DOI":"10.1145\/1667053.1667054"},{"key":"atypb41","first-page":"598","author":"Langberg M.","year":"2010","journal-title":"Philadelphia"},{"key":"atypb42","first-page":"45","author":"Li S.","year":"2011","journal-title":"New York"},{"key":"atypb43","first-page":"901","author":"Li S.","year":"2013","journal-title":"New York"},{"key":"atypb44","doi-asserted-by":"publisher","DOI":"10.1109\/TIT.1982.1056489"},{"key":"atypb45","first-page":"274","author":"Mahajan M.","year":"2009","journal-title":"Berlin"},{"key":"atypb46","doi-asserted-by":"publisher","DOI":"10.1007\/s004540010019"},{"key":"atypb47","doi-asserted-by":"publisher","DOI":"10.1145\/506147.506149"},{"key":"atypb48","first-page":"28","volume":"59","author":"Ostrovsky R.","year":"2013","journal-title":"J. ACM"},{"key":"atypb49","first-page":"281","author":"Talwar K.","year":"2004","journal-title":"New York"},{"key":"atypb51","doi-asserted-by":"publisher","DOI":"10.1007\/s00454-011-9340-1"}],"container-title":["SIAM Journal on Computing"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/epubs.siam.org\/doi\/pdf\/10.1137\/17M1127181","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,8,21]],"date-time":"2026-08-21T19:16:41Z","timestamp":1787339801000},"score":1,"resource":{"primary":{"URL":"https:\/\/epubs.siam.org\/doi\/10.1137\/17M1127181"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2019,1]]},"references-count":49,"journal-issue":{"issue":"2","published-print":{"date-parts":[[2019,1]]}},"alternative-id":["10.1137\/17M1127181"],"URL":"https:\/\/doi.org\/10.1137\/17m1127181","relation":{},"ISSN":["0097-5397","1095-7111"],"issn-type":[{"value":"0097-5397","type":"print"},{"value":"1095-7111","type":"electronic"}],"subject":[],"published":{"date-parts":[[2019,1]]}}}