The Min-Max Complexity of Distributed Stochastic Convex Optimization with Intermittent Communication

Blake E. Woodworth, Brian Bullins, Ohad Shamir, Nathan Srebro

Abstract

We resolve the min-max complexity of distributed stochastic convex optimization (up to a log factor) in the intermittent communication setting, where $M$ machines work in parallel over the course of $R$ communication rounds, each performing $K$ local updates. We show that for general smooth convex functions, the optimal error rate is achieved by either a large-batch accelerated method or a single-machine sequential method, revealing a fundamental "dichotomy" in distributed optimization.

Introduction

In modern machine learning, training models often requires distributing the workload across multiple processors, from GPU clusters to decentralized mobile devices in Federated Learning. A critical bottleneck in these systems is communication. This paper addresses the intermittent communication model: $M$ machines collaborate over $R$ rounds, with each machine performing $K$ local gradient steps between synchronizations.

While sequential stochastic optimization is well-understood, the distributed case has remained partially unresolved. Specifically, researchers have long debated whether "Local SGD"—where machines perform multiple local steps—offers a fundamental advantage over simple large-batch methods. This paper provides a definitive answer by establishing the min-max complexity of this setting.

Theoretical Framework and Methodology

To analyze the limits of distributed optimization, the authors employ a graph-oracle framework. This formalizes how information is shared between machines and restricts algorithms to those that only communicate at the end of each round of $K$ local steps.

The Challenge of Lower Bounds

A significant contribution of this work is the development of a new lower bound. Traditional lower bounds in optimization often rely on quadratic functions (e.g., least squares). However, the authors demonstrate that quadratics are "too easy" for intermittent communication; on a quadratic objective, a single round of communication can be optimal.

A smooth convex function. The authors show that while simple quadratics (like the one shown) are common in analysis, they fail to capture the true difficulty of distributed optimization, necessitating the construction of complex non-quadratic "chain" functions for their lower bound.

To find the true complexity, they construct a sophisticated non-quadratic hard instance. This "chain function" ensures that progress is strictly bottlenecked by the number of communication rounds $R$, preventing machines from "getting ahead" too far through local computation alone.

The "Dichotomy" of Optimal Strategies

The paper's most striking result is a "dichotomy" for general smooth convex functions. The optimal error rate is essentially the minimum of two extreme strategies:

  1. Minibatch Accelerated SGD: Use all $M$ machines to compute a massive gradient batch of size $MK$ once per round. This exploits maximum parallelism but ignores the potential for local sequential progress.
  2. Single-Machine Accelerated SGD: Ignore $M-1$ machines and run a standard sequential accelerated algorithm for $KR$ steps on just one machine. This exploits maximum sequential progress but ignores parallelism.

The authors prove that for any algorithm, the worst-case error is at least: $$\text{Error} \approx \min \left\{ \underbrace{\frac{HB^2}{R^2} + \frac{\sigma B}{\sqrt{MKR}}}_{\text{Minibatch Rate}}, \underbrace{\frac{HB^2}{K^2R^2} + \frac{\sigma B}{\sqrt{KR}}}_{\text{Single-Machine Rate}} \right\}$$ (where $H$ is smoothness, $B$ is the distance to the optimum, and $\sigma$ is the gradient noise).

This result implies that for arbitrary smooth functions, there is no "middle ground" where Local SGD-style algorithms provide a better worst-case guarantee than the better of these two simple extremes. This effectively "closes" the problem for the standard smooth convex setting up to a small logarithmic factor ($O(\log^2 M)$).

Beyond the Worst Case

While the dichotomy holds for the class of all smooth convex functions, the authors identify specific scenarios where more sophisticated local-step algorithms can excel:

  • Bounded Third Derivatives: If the objective function is "closer" to a quadratic (specifically, having a bounded third derivative), the dichotomy can be broken. In these cases, local-step methods can indeed outperform both minibatch and single-machine strategies.
  • Heterogeneity: While the bounds apply to heterogeneous settings (where machines have different data), the study primarily focuses on the homogeneous case. Exploring how data diversity between workers changes these fundamental limits remains a fertile ground for research.

Conclusion

By resolving the min-max complexity of distributed stochastic convex optimization, this work provides a clear theoretical foundation for understanding the trade-offs between communication and computation. It highlights that while simple strategies are often optimal in the worst case, the search for more efficient distributed algorithms should focus on exploiting specific structural properties of objective functions, such as those found in near-quadratic landscapes.

Summary updated

Abstract

We resolve the min-max complexity of distributed stochastic convex optimization (up to a log factor) in the intermittent communication setting, where $M$ machines work in parallel over the course o...
BibTeX
@inproceedings{woodworth2022min,
  author = {Blake E. Woodworth and Brian Bullins and Ohad Shamir and Nathan Srebro},
  title = {{The Min-Max Complexity of Distributed Stochastic Convex Optimization with Intermittent Communication}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2022},
  doi = {10.24963/ijcai.2022/751},
}
Figure