A Nearly Tight Analysis of Greedy k-means++

C. Grunau, Ahmet Alper Ozudougru, Václav Rozhoň, Jakub Tvetek
{"title":"A Nearly Tight Analysis of Greedy k-means++","authors":"C. Grunau, Ahmet Alper Ozudougru, Václav Rozhoň, Jakub Tvetek","doi":"10.48550/arXiv.2207.07949","DOIUrl":null,"url":null,"abstract":"The famous $k$-means++ algorithm of Arthur and Vassilvitskii [SODA 2007] is the most popular way of solving the $k$-means problem in practice. The algorithm is very simple: it samples the first center uniformly at random and each of the following $k-1$ centers is then always sampled proportional to its squared distance to the closest center so far. Afterward, Lloyd's iterative algorithm is run. The $k$-means++ algorithm is known to return a $\\Theta(\\log k)$ approximate solution in expectation. In their seminal work, Arthur and Vassilvitskii [SODA 2007] asked about the guarantees for its following \\emph{greedy} variant: in every step, we sample $\\ell$ candidate centers instead of one and then pick the one that minimizes the new cost. This is also how $k$-means++ is implemented in e.g. the popular Scikit-learn library [Pedregosa et al.; JMLR 2011]. We present nearly matching lower and upper bounds for the greedy $k$-means++: We prove that it is an $O(\\ell^3 \\log^3 k)$-approximation algorithm. On the other hand, we prove a lower bound of $\\Omega(\\ell^3 \\log^3 k / \\log^2(\\ell\\log k))$. Previously, only an $\\Omega(\\ell \\log k)$ lower bound was known [Bhattacharya, Eube, R\\\"oglin, Schmidt; ESA 2020] and there was no known upper bound.","PeriodicalId":92709,"journal":{"name":"Proceedings of the ... Annual ACM-SIAM Symposium on Discrete Algorithms. ACM-SIAM Symposium on Discrete Algorithms","volume":"84 1","pages":"1012-1070"},"PeriodicalIF":0.0000,"publicationDate":"2022-07-16","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"3","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the ... Annual ACM-SIAM Symposium on Discrete Algorithms. ACM-SIAM Symposium on Discrete Algorithms","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.48550/arXiv.2207.07949","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 3

Abstract

The famous $k$-means++ algorithm of Arthur and Vassilvitskii [SODA 2007] is the most popular way of solving the $k$-means problem in practice. The algorithm is very simple: it samples the first center uniformly at random and each of the following $k-1$ centers is then always sampled proportional to its squared distance to the closest center so far. Afterward, Lloyd's iterative algorithm is run. The $k$-means++ algorithm is known to return a $\Theta(\log k)$ approximate solution in expectation. In their seminal work, Arthur and Vassilvitskii [SODA 2007] asked about the guarantees for its following \emph{greedy} variant: in every step, we sample $\ell$ candidate centers instead of one and then pick the one that minimizes the new cost. This is also how $k$-means++ is implemented in e.g. the popular Scikit-learn library [Pedregosa et al.; JMLR 2011]. We present nearly matching lower and upper bounds for the greedy $k$-means++: We prove that it is an $O(\ell^3 \log^3 k)$-approximation algorithm. On the other hand, we prove a lower bound of $\Omega(\ell^3 \log^3 k / \log^2(\ell\log k))$. Previously, only an $\Omega(\ell \log k)$ lower bound was known [Bhattacharya, Eube, R\"oglin, Schmidt; ESA 2020] and there was no known upper bound.
贪婪k-means++的近严密分析
Arthur和Vassilvitskii [SODA 2007]著名的$k$ -means++算法是解决$k$ -means问题在实践中最流行的方法。该算法非常简单:它随机均匀地采样第一个中心,然后每个$k-1$中心的采样始终与它到最近中心的距离的平方成比例。然后,运行Lloyd迭代算法。已知$k$ -means++算法在期望中返回一个$\Theta(\log k)$近似解。在他们的开创性工作中,Arthur和Vassilvitskii [SODA 2007]询问了以下\emph{贪心}变体的保证:在每一步中,我们抽样$\ell$候选中心,而不是一个,然后选择最小新成本的一个。这也是$k$ -means++在流行的Scikit-learn库中实现的方式[Pedregosa等人;[JMLR 2011]。给出了贪心$k$ -means++的近似匹配下界和上界,并证明了它是一个$O(\ell^3 \log^3 k)$ -逼近算法。另一方面,我们证明了$\Omega(\ell^3 \log^3 k / \log^2(\ell\log k))$的一个下界。以前,只知道$\Omega(\ell \log k)$下界[Bhattacharya, Eube, Röglin, Schmidt;ESA 2020],没有已知的上限。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
CiteScore
6.50
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书