A Faster $k$-means++ Algorithm

Jiehao Liang,Somdeb Sarkhel,Zhao Song,Chenbo Yin,Junze Yin,Danyang Zhuo
2024-02-14
Abstract:$k$-means++ is an important algorithm for choosing initial cluster centers for the $k$-means clustering algorithm. In this work, we present a new algorithm that can solve the $k$-means++ problem with nearly optimal running time. Given $n$ data points in $\mathbb{R}^d$, the current state-of-the-art algorithm runs in $\widetilde{O}(k )$ iterations, and each iteration takes $\widetilde{O}(nd k)$ time. The overall running time is thus $\widetilde{O}(n d k^2)$. We propose a new algorithm \textsc{FastKmeans++} that only takes in $\widetilde{O}(nd + nk^2)$ time, in total.
Data Structures and Algorithms,Machine Learning
What problem does this paper attempt to address?