Distributed Optimization with Quantization for Computing Wasserstein Barycenters

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

TL;DR

This paper tackles the challenge of computing Wasserstein barycenters (an "average" of probability distributions) in a distributed setting, where data is spread across many machines. They introduce a novel algorithm that significantly reduces communication overhead by quantizing gradients, making it practical for large-scale, decentralized machine learning tasks.

What Problem Does This Paper Address?

Wasserstein barycenters are powerful tools in machine learning for tasks like image morphing and data averaging, as they capture the underlying geometry of data distributions. However, computing them is computationally expensive, especially for large datasets. When these computations need to happen in a decentralized environment (e.g., across many devices or servers), communication between nodes becomes a major bottleneck. Traditional methods require sending a lot of information, making them impractical. This paper addresses this by developing a method that allows distributed computation of Wasserstein barycenters while drastically reducing the amount of data that needs to be communicated between agents.

Methods

The core of this work lies in a quantized, distributed, primal-dual accelerated gradient method (Q-DecPDSAG). Here's a breakdown of the key ideas:

  • Primal-Dual Approach: Instead of directly optimizing the barycenter (primal problem), they reformulate it into a dual problem. This dual problem has a smoother structure, making it more amenable to optimization.
  • Accelerated Gradient Method (AGM): They leverage an accelerated gradient method to speed up convergence compared to standard gradient descent.
  • Stochastic Gradients: Since data is distributed, they use stochastic gradients, which are estimates of the true gradient based on local samples.
  • Quantization: This is the key innovation. Instead of sending the full stochastic gradient (which can be large), they quantize it. This means they represent the gradient with fewer bits, often by sampling from the gradient's probability distribution itself. This significantly reduces communication load.
  • Decentralized Setting: The algorithm is designed to work on a network of agents, where each agent only has access to its local data. Agents communicate with their neighbors according to a given graph structure.
  • Semi-Discrete Barycenters: They focus on computing barycenters where the target distribution is discrete (finite support), but the input distributions can be continuous.

Datasets

Not discussed in the paper. The paper focuses on theoretical analysis and numerical experiments using synthetic data (Gaussian distributions).

Key Insights and Ideas

  • Dual Problem Structure is Key: The paper highlights that the dual problem of Wasserstein barycenters has a unique structure: its stochastic gradients lie on a probability simplex. This property is crucial for developing efficient quantization and sampling strategies.
  • Quantization for Communication Efficiency: By quantizing the stochastic gradients, the algorithm achieves significant communication savings without sacrificing convergence speed too much. This is a critical enabler for large-scale distributed optimization.
  • Flexibility in Sampling: The proposed method offers flexibility in how samples are drawn for the stochastic gradient (increasing batch size vs. constant batch size), allowing adaptation to different resource constraints.
  • Primal-Dual AGM for Decentralized Optimization: Combining primal-dual formulations with accelerated gradient methods and decentralized communication strategies provides a powerful framework for solving complex optimization problems in distributed settings.

Key Results

The paper provides theoretical guarantees for the convergence of their proposed algorithm, Q-DecPDSAG. Key results include:

  • Communication Complexity: The algorithm achieves significantly lower communication complexity compared to non-quantized methods. For example, the number of bits sent per node is reduced by orders of magnitude, especially when using expander graphs.
  • Computational Complexity: The total number of arithmetic operations is analyzed and shown to be competitive, with specific bounds provided for general graphs and expander graphs.
  • Convergence Rates: Theoretical bounds are established for the convergence of the dual function value and the primal solution, demonstrating that the algorithm can find an ε-solution.
  • Numerical Validation: Experiments on synthetic Gaussian distributions show that the quantized algorithm converges rapidly, even with limited communication, and performs comparably to non-quantized methods in terms of convergence speed, while offering substantial communication benefits.

Limitations and Future Work

  • Theoretical vs. Practical Quantization: While the paper proposes a quantization scheme, the practical implementation and its impact on numerical stability and accuracy in real-world scenarios would require further investigation.
  • Network Topology: The analysis considers general connected graphs and specifically expander graphs. The performance on other types of network topologies might differ.
  • Improving Arithmetic Complexity: The authors suggest that future work could focus on improving the total arithmetic operations, particularly for the discrete case.
  • Extension to Non-Regularized Barycenters: While the paper mentions that their approach can approximate non-regularized barycenters, further theoretical analysis and practical exploration might be beneficial.

Summary updated

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