Improving the Worst-Case Bidirectional Communication Complexity for Nonconvex Distributed Optimization under Function Similarity

Kaja Gruntkowska, Alexander Tyurin, Peter Richtárik

In distributed machine learning frameworks like Federated Learning, the "communication bottleneck" between the central server and distributed workers is a primary hurdle. While researchers have successfully deployed compression techniques to reduce the data sent from workers to the server (uplink), reducing the data broadcasted from the server back to the workers (downlink) has proven stubbornly difficult.

Standard theoretical models have historically suggested a "hard limit" on the efficacy of downlink compression. Essentially, the communication cost did not appear to scale down as the number of workers ($n$) increased. Most existing methods simply broadcast the identical compressed message to every worker, failing to capitalize on the intuitive idea that a larger pool of workers should provide more collective information.

This paper identifies that this theoretical stagnation stems from overly pessimistic assumptions regarding the variance between different workers' local functions. By leveraging a novel "function similarity" assumption and introducing correlated compressors, the authors break through existing theoretical lower bounds to achieve state-of-the-art bidirectional communication efficiency.

The Core Innovation: Function Similarity and Correlated Compressors

To overcome the limitations of independent downlink compression, the authors introduce two key conceptual shifts:

  1. Similarity as a Resource: In distributed optimization, data heterogeneity is typically viewed as a nuisance to be managed. This paper introduces a Functional ($L_A, L_B$) Inequality to quantify Function Similarity—measuring how much local gradients deviate from the global average. By treating similarity as a mathematical resource, the proposed algorithms can exploit scenarios where workers have similar data (common in many real-world applications) to drastically reduce communication costs.
  2. The Power of Partitioning: The authors prove a new lower bound demonstrating that independent downlink compression cannot scale with $n$. To bypass this, they introduce correlated compression. Instead of broadcasting the same message or sending independent random subsets of coordinates to everyone, the server partitions the full update's coordinates among the $n$ workers. Collectively, the workers receive all the information, even though each individual only downloads a fraction.

Proposed Algorithms: MARINA-P and M3

Building on these insights, the researchers propose two primary algorithms:

  • MARINA-P: A novel method for downlink compression. It utilizes "permutation compressors" (PermK) to send different, correlated compressed updates to each worker. Sending $1/n$ of the coordinates to each worker via PermK is theoretically and empirically superior to standard broadcast methods.
  • M3 (MARINA-P + Momentum + MARINA): A holistic, bidirectional method that compresses both uplink and downlink communications. Because naively combining two-way compression often leads to training instability, M3 introduces a momentum step acting as a buffer to manage the injected compression noise.

Key Theoretical and Empirical Results

The theoretical breakthroughs of MARINA-P and M3 are best illustrated by their communication complexity bounds, which uniquely improve as the worker count grows.

Table comparing communication complexities of different methods. Note how MARINA-P and M3 include terms that are divided by n or n^(1/3), showing they scale with the number of workers.
  • Downlink Scaling: In regimes close to homogeneity (high function similarity), MARINA-P with PermK achieves a server-to-worker complexity that scales as $O(1/n)$. This represents a linear improvement over standard Gradient Descent (GD).
  • Bidirectional Efficiency: M3 stands as the first method to achieve a total bidirectional communication complexity of $O(d/n^{1/3})$ under function similarity, significantly outperforming the standard $O(d)$ baseline.
  • Empirical Validation: The researchers evaluated these methods on synthetic quadratic tasks (to test varying heterogeneity) and MNIST (for non-convex autoencoder training). The experiments confirm the theory: as $n$ increases from 10 to 1000, MARINA-P's performance improves dramatically, whereas traditional methods like EF21-P stagnate.

Limitations and Future Directions

While groundbreaking, these methods have boundary conditions. The most dramatic performance gains occur when local functions are highly similar ($L_A$ is small). In highly heterogeneous environments where data is extremely diverse across workers, the benefits of these specific algorithms diminish. Additionally, the current theoretical guarantees for PermK are strongest when the model dimension $d$ exceeds the number of workers $n$.

Future research will focus on developing a "universally optimal" method. While MARINA-P and M3 excel under function similarity, other algorithms (like CORE) are better suited for high-heterogeneity regimes. Bridging these approaches to create an algorithm that dynamically adapts to any level of data distribution remains an exciting open question.

Summary updated

BibTeX
@inproceedings{gruntkowska2024improving,
  author = {Kaja Gruntkowska and Alexander Tyurin and Peter Richtárik},
  title = {{Improving the Worst-Case Bidirectional Communication Complexity for Nonconvex Distributed Optimization under Function Similarity}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=gkJ5nBIOU4},
}
Figure