A Computation and Communication Efficient Method for Distributed Nonconvex Problems in the Partial Participation Setting

Alexander Tyurin, Peter Richtárik

Overview

Training large-scale machine learning models often requires distributing the workload across many devices, such as mobile phones or remote servers. This "distributed" or "federated" learning faces massive practical challenges, particularly when devices have limited bandwidth and intermittent connectivity.

DASHA-PP is a newly introduced distributed optimization method that simultaneously achieves optimal gradient calculation efficiency and state-of-the-art communication speed while supporting partial participation. It solves a major hurdle in federated learning by allowing models to train effectively even when most devices are offline and bandwidth is severely limited.

The Challenge of Distributed Optimization

Real-world federated learning must overcome three primary bottlenecks:

  1. Computational Bottleneck: Calculating full gradients on massive local datasets is too slow. Algorithms need "variance reduction" (VR) to make stochastic (randomly sampled) gradients as accurate as full ones.
  2. Communication Bottleneck: Sending large model updates over the network is expensive, necessitating data "compression" (CC).
  3. Partial Participation (PP): In practice, not every device is online at the same time. Most existing efficient algorithms break down or stall if they cannot communicate with every single node in every round.

Previous methods usually sacrificed at least one of these pillars. For instance, some required all nodes to sync up occasionally (causing "straggler" delays), while others failed to use advanced variance reduction techniques, leading to slower convergence.

Comparison of distributed optimization methods showing DASHA-PP uniquely combining VR, PP, and CC without major limitations.

The Solution: DASHA-PP

The authors introduce DASHA-PP, a family of algorithms designed for nonconvex problems—the type most common in deep learning. It successfully integrates three key technical components:

  • Momentum-based Variance Reduction: It uses a sophisticated method of tracking gradient changes over time to reduce the "noise" inherent in picking random data samples.
  • Unbiased Compression: It supports various compression techniques (like RandK, which only sends the most important parts of a vector) to minimize the bits sent to the server.
  • Decoupled Updates: The core innovation lies in how the algorithm handles "missing" nodes. The authors redesigned the mathematical update rules so that a node's internal state remains consistent even when it skips several rounds of training.

The researchers provide flexible versions of DASHA-PP for three scenarios: standard gradients, finite-sum (fixed local datasets), and fully stochastic (streaming data).

Key Insights and Theoretical Breakthroughs

  • Breaking the "Dissimilarity" Crutch: Many federated learning papers assume that the data on different devices isn't "too different" (known as the bounded dissimilarity assumption). DASHA-PP does not require this assumption, making it significantly more robust for real-world applications where user data is highly heterogeneous.
  • The $1/p_a$ Slowdown Rule: The paper mathematically proves that if only a fraction ($p_a$) of nodes participate in each round, the algorithm slows down by exactly a factor of $1/p_a$. Proving this while maintaining optimal efficiency is a major theoretical achievement.
  • The Batch Size Paradox: In standard distributed learning, using larger data "batches" usually accelerates training. However, the authors discovered a side effect of partial participation: if the batch size gets too large relative to the participation rate, the benefits disappear. The bottleneck shifts from "how much data per node" to "how many nodes are online."

Experimental Results

The researchers validated their theory using well-known machine learning benchmarks, including the real-sim dataset (for large-scale binary classification) and MNIST (for image-based data).

  • Oracle Complexity: DASHA-PP achieves the mathematically optimal number of gradient calculations required to reach a solution: $\mathcal{O}(\sigma^2/\epsilon + \sigma/\epsilon^{3/2})$.
  • Communication Efficiency: It matches the current theoretical state-of-the-art for the minimum number of bits needed to reach a specific accuracy level.
  • Empirical Proof: In tests on the real-sim dataset, when only 1% of nodes participated ($p_a = 0.01$), the algorithm was exactly 100x slower than the full-participation version, perfectly confirming the theory. It consistently outperformed previous baselines like MARINA and FRECON in both speed and final accuracy.

Limitations and Future Work

While DASHA-PP represents a significant step forward, the authors note a few areas for future exploration. First, the "batch size ceiling" means there is a point where increasing local batch size no longer helps; future work could look for ways to break through this limit. Second, the current proofs assume that the random compression used by one node is independent of the others; exploring "correlated" compressors might yield even faster communication. Finally, the paper assumes a relatively simple probability model for nodes being online, whereas real-world patterns (e.g., phones only updating at night while charging) are more complex and warrant future modeling.

Summary updated

BibTeX
@inproceedings{tyurin2023computation,
  author = {Alexander Tyurin and Peter Richtárik},
  title = {{A Computation and Communication Efficient Method for Distributed Nonconvex Problems in the Partial Participation Setting}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=loxinzXlCx},
}
Figure