arXiv · 2505.18420
LocalKMeans: Convergence of Lloyd's Algorithm with Distributed Local Iterations
Abstract
In this paper, we analyze the classical $K$-means alternating-minimization algorithm, also known as Lloyd's algorithm (Lloyd, 1956), for a mixture of Gaussians in a data-distributed setting that incorporates local iteration steps. Assuming unlabeled data distributed across multiple machines, we propose an algorithm, LocalKMeans, that performs Lloyd's algorithm in parallel in the machines by running its iterations on local data, synchronizing only every $L$ of such local steps. We characterize the cost of these local iterations against the non-distributed setting, and show that the price paid for the local steps is a higher required signal-to-noise ratio. While local iterations were theoretically studied in the past for gradient-based learning methods, the analysis of unsupervised learning methods is more involved owing to the presence of latent variables, e.g. cluster identities, than that of an iterative gradient-based algorithm. To obtain our results, we adapt a virtual iterate method to work with a non-convex, non-smooth objective function, in conjunction with a tight statistical analysis of Lloyd steps.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Harsh Vardhan, Heng Zhu, Avishek Ghosh, Arya Mazumdar. 2025-05-23. LocalKMeans: Convergence of Lloyd's Algorithm with Distributed Local Iterations. https://arxiv.org/abs/2505.18420
Cite the original work for its findings. Save a collection to share your selection of sources.