An Efficient Massively Parallel Constant-Factor Approximation Algorithm for the $k$-Means Problem

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Cohen-Addad, Vincent, Kuhn, Fabian, Parsaeian, Zahra
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866909694949326848
author Cohen-Addad, Vincent
Kuhn, Fabian
Parsaeian, Zahra
author_facet Cohen-Addad, Vincent
Kuhn, Fabian
Parsaeian, Zahra
contents In this paper, we present an efficient massively parallel approximation algorithm for the $k$-means problem. Specifically, we provide an MPC algorithm that computes a constant-factor approximation to an arbitrary $k$-means instance in $O(\log\log n \cdot \log\log\log n)$ rounds. The algorithm uses $O(n^σ)$ bits of memory per machine, where $σ> 0$ is a constant that can be made arbitrarily small. The global memory usage is $O(n^{1+\varepsilon})$ bits for an arbitrarily small constant $\varepsilon > 0$, and is thus only slightly superlinear. Recently, Czumaj, Gao, Jiang, Krauthgamer, and Veselý showed that a constant-factor bicriteria approximation can be computed in $O(1)$ rounds in the MPC model. However, our algorithm is the first constant-factor approximation for the general $k$-means problem that runs in $o(\log n)$ rounds in the MPC model. Our approach builds upon the foundational framework of Jain and Vazirani. The core component of our algorithm is a constant-factor approximation for the related facility location problem. While such an approximation was already achieved in constant time in the work of Czumaj et al.\ mentioned above, our version additionally satisfies the so-called Lagrangian Multiplier Preserving (LMP) property. This property enables the transformation of a facility location approximation into a comparably good $k$-means approximation.
format Preprint
id arxiv_https___arxiv_org_abs_2507_14089
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle An Efficient Massively Parallel Constant-Factor Approximation Algorithm for the $k$-Means Problem
Cohen-Addad, Vincent
Kuhn, Fabian
Parsaeian, Zahra
Data Structures and Algorithms
In this paper, we present an efficient massively parallel approximation algorithm for the $k$-means problem. Specifically, we provide an MPC algorithm that computes a constant-factor approximation to an arbitrary $k$-means instance in $O(\log\log n \cdot \log\log\log n)$ rounds. The algorithm uses $O(n^σ)$ bits of memory per machine, where $σ> 0$ is a constant that can be made arbitrarily small. The global memory usage is $O(n^{1+\varepsilon})$ bits for an arbitrarily small constant $\varepsilon > 0$, and is thus only slightly superlinear. Recently, Czumaj, Gao, Jiang, Krauthgamer, and Veselý showed that a constant-factor bicriteria approximation can be computed in $O(1)$ rounds in the MPC model. However, our algorithm is the first constant-factor approximation for the general $k$-means problem that runs in $o(\log n)$ rounds in the MPC model. Our approach builds upon the foundational framework of Jain and Vazirani. The core component of our algorithm is a constant-factor approximation for the related facility location problem. While such an approximation was already achieved in constant time in the work of Czumaj et al.\ mentioned above, our version additionally satisfies the so-called Lagrangian Multiplier Preserving (LMP) property. This property enables the transformation of a facility location approximation into a comparably good $k$-means approximation.
title An Efficient Massively Parallel Constant-Factor Approximation Algorithm for the $k$-Means Problem
topic Data Structures and Algorithms
url https://arxiv.org/abs/2507.14089