Distributed Optimization with Quantization for Computing Wasserstein\n Barycenters

Roman Krawtschenko, César A. Uribe, Alexander Gasnikov, Pavel Dvurechensky · DOI

Abstract

We study the problem of the decentralized computation of entropy-regularized semi-discrete Wasserstein barycenters over a network. Building upon recent primal-dual approaches, we propose a sampling gradient quantization scheme that allows efficient communication and computation of approximate barycenters where the factor distributions are stored distributedly on arbitrary networks. The communication and algorithmic complexity of the proposed algorithm are shown, with explicit dependency on the size of the support, the number of distributions, and the desired accuracy. Numerical results validate our algorithmic analysis.

Introduction

Computing a Wasserstein Barycenter (WB) involves finding a distribution that represents the geometric "average" of a collection of other distributions. While powerful for applications ranging from image processing to fair machine learning, WBs are computationally demanding. In large-scale decentralized settings, two primary challenges emerge: the massive dimensionality of the optimization problem and the communication bottleneck created by agents exchanging dense vectors across a network.

This paper introduces Q-DecPDSAG (Quantized Decentralized Primal-Dual Stochastic Accelerated Gradient), an algorithm designed to mitigate these issues. By treating gradients as probability distributions and employing a "double sampling" quantization scheme, the authors significantly reduce the communication overhead required for agents to reach a consensus on the optimal barycenter.

Methodology: Q-DecPDSAG

The core innovation of Q-DecPDSAG lies in its handling of the semi-discrete setup, where source distributions are continuous but the target barycenter is discrete.

Dual Reformulation and Double Sampling

The problem is transformed into a dual optimization where gradients naturally reside on a probability simplex. This property allows for a novel quantization method called Double Sampling:

  1. Local Sampling: An agent samples from its local continuous distribution to estimate the gradient.
  2. Quantization Sampling: The estimated gradient is treated as a discrete distribution and sampled again to create a sparse histogram.

Sparse Communication

Instead of transmitting $n$ high-precision floating-point numbers, agents only send the indices of their samples. This effectively "quantizes" the communication into sparse integer vectors, drastically reducing the total bits sent per iteration.

Accelerated Stochastic Gradient

The algorithm adapts the Accelerated Gradient Method (AGM) to handle these noisy, quantized gradients. The framework supports flexible batching strategies, such as "Increasing Batch" or "Constant Batch," allowing for trade-offs between local computation and convergence speed.

Theoretical Complexity

The authors provide a rigorous convergence analysis, establishing explicit complexity bounds for communication rounds, arithmetic operations, and total bits sent.

Table 1: Complexity comparison between the baseline DecPDSAG and the proposed Q-DecPDSAG variants.

As shown in Table 1, for expander graphs, the total number of bits sent per node scales with $O(mn/\epsilon^2)$, where $n$ is the dimension and $m$ is the number of distributions. This demonstrates the efficiency of the quantization scheme in high-dimensional settings.

Experimental Results

The algorithm was validated using synthetic Gaussian distributions (30 distributions with random means/variances) across various network topologies, including Path, Cycle, Star, Erdős-Rényi, and Complete graphs.

Figure 2: Convergence of the consensus gap and dual function value on Erdős-Rényi graphs for different sampling batch sizes ($M_1, M_2$).

Numerical results (Figure 2) confirm that Q-DecPDSAG effectively reaches consensus and minimizes the dual function. Notably, the algorithm converges even with very small sample sizes (e.g., $M_1=1, M_2=10$), proving that high-precision gradients are not strictly necessary for convergence. This confirms the "quantization gain"—the ability to achieve convergence with significantly less communication overhead than non-quantized baselines.

Discussion and Future Work

The "aha moment" of this research is the realization that dual gradients in the Wasserstein barycenter problem are themselves probability distributions, making sampling a statistically principled method for compression. This isn't just arbitrary rounding; it's a principled approach to sparse communication.

While communication is optimized, the total arithmetic complexity remains $O(nm^2/\epsilon^2)$. Future work could explore whether this can be further improved for the semi-discrete case, similar to advancements in purely discrete settings. Additionally, testing on real-world high-dimensional data, such as climate models or medical imaging, would further validate the practical impact of this quantization scheme.

Summary updated

BibTeX
@inproceedings{krawtschenko2025distributed,
  author = {Roman Krawtschenko and César A. Uribe and Alexander Gasnikov and Pavel Dvurechensky},
  title = {{Distributed Optimization with Quantization for Computing Wasserstein\textbackslash\{\}n Barycenters}},
  booktitle = {CDC},
  year = {2025},
  doi = {10.1109/cdc57313.2025.11312762},
}
Figure