Distributed Algorithms for Euclidean Clustering

Vincent Cohen-Addad, Liudeng Wang, David Woodruff, Samson Zhou

As datasets scale to billions of points, they are increasingly distributed across multiple servers or sites. Clustering this data—specifically Euclidean $(k, z)$-clustering, which generalizes popular methods like $k$-means and $k$-median—requires finding $k$ centers that minimize the total distance to all points. The primary bottleneck in these distributed settings is communication cost: moving large amounts of high-dimensional data between servers is prohibitively expensive.

This paper introduces communication-optimal distributed algorithms that resolve the longstanding "precision-cost" trade-off. By combining a "lazy" version of adaptive sampling with a novel compact encoding scheme, the authors achieve high-precision $(1+\varepsilon)$-approximation guarantees while matching theoretical lower bounds for communication complexity.

The Precision-Cost Trade-off

The goal in distributed clustering is to compute a highly accurate summary of the data (a coreset) while minimizing the bits transmitted across the network. Previous distributed algorithms struggled to balance precision and cost. To achieve a high-precision $(1+\varepsilon)$-approximation, existing methods typically required communicating the full, high-dimensional coordinates of many points. Consequently, communication costs scaled poorly with the number of sites ($s$) and the dimensionality ($d$).

The central question addressed by this work is: Can we achieve the best possible approximation guarantee with the absolute minimum amount of communication?

Methodology: Optimizing Distributed Coordination

The authors focus on two standard communication models: the Coordinator model (where all sites communicate with a central hub) and the Blackboard model (where all sites broadcast to a shared, publicly visible space). Their optimal protocols rely on three primary innovations:

  1. Lazy Adaptive Sampling: Standard adaptive sampling (such as $k$-means++) requires sites to report their total clustering cost after every new center is selected, which is highly communication-intensive. The authors demonstrate that sampling is robust to slightly "outdated" information. In their "lazy" approach, sites only update the blackboard when their local costs change by a significant constant factor. This drastically reduces the number of required messages.
  2. Efficient Communication Subroutine: In the coordinator model, broadcasting full $d$-dimensional points is avoided. Instead, the coordinator and a site perform a distributed binary search on the site’s sorted coordinates. This allows them to find an approximate match using very few bits, effectively decoupling the communication cost from the dimension $d$ in several terms of the complexity bound.
  3. Compact Encoding: Once points are sampled for a coreset, they are not transmitted as raw floating-point numbers. Instead, they are encoded as offsets from a nearby "coarse" center. By quantizing these offsets to a power of $(1+\varepsilon)$, a high-dimensional point can be represented using a minimal number of bits without sacrificing the $(1+\varepsilon)$ theoretical guarantee.

Key Results and Theoretical Bounds

The paper provides a significant improvement over the previous state-of-the-art, notably Chen et al. (2016). The new algorithms not only upgrade the results from constant-factor approximations to $(1+\varepsilon)$-approximations but also reduce the overall bit complexity by eliminating extraneous logarithmic factors.

Comparison of communication costs for distributed clustering algorithms.

As detailed in the theoretical bounds, the communication complexity now matches the best-known offline coreset sizes—the number of points required if all data were centralized—plus the unavoidable overhead for distributed coordination.

Empirically, the authors evaluated their algorithms on both synthetic Gaussian mixtures and the real-world DIGITS dataset ($k=10$, $d=64$). In tests on the DIGITS dataset, their Efficient Adaptive Sampling (EAS) algorithm achieved nearly identical clustering costs to standard adaptive sampling while utilizing 9x less communication.

Limitations and Future Directions

While the theoretical and empirical results are strong, the authors note a few limitations and areas for future work:

  • Finite Precision Assumption: The theoretical proofs assume that input points lie on a grid of size $\Delta$. While $\Delta$ can be polynomially large relative to the number of points $n$, this remains a standard theoretical constraint that may require adjustment for purely continuous, unbounded data.
  • General Topologies: The paper extends its results to general network graphs, but the communication cost increases linearly with the number of edges ($m$) in the graph. Optimizing these protocols for specific network topologies, such as rings or hypercubes, remains an open challenge.
  • Broader Applications: The core technique of "quantization for communication" is highly versatile. The authors suggest it could be successfully applied to other distributed machine learning problems, including linear regression and low-rank approximation.

Summary updated

BibTeX
@inproceedings{cohenaddad2026distributed,
  author = {Vincent Cohen-Addad and Liudeng Wang and David Woodruff and Samson Zhou},
  title = {{Distributed Algorithms for Euclidean Clustering}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=17h5Sl2EaK},
}
Figure