MLLGMay 23, 2025

LocalKMeans: Convergence of Lloyd's Algorithm with Distributed Local Iterations

arXiv:2505.18420v11 citationsh-index: 4
Originality Incremental advance
AI Analysis

This work addresses the challenge of scaling unsupervised learning in distributed environments, but it is incremental as it extends existing theoretical analysis to a specific algorithm.

The paper tackles the problem of distributed K-means clustering by analyzing Lloyd's algorithm with local iterations across multiple machines, showing that local steps require a higher signal-to-noise ratio compared to non-distributed settings.

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.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes