Skip to main content
QUICK REVIEW

[Paper Review] ProxSkip: Yes! Local Gradient Steps Provably Lead to Communication Acceleration! Finally!

Konstantin Mishchenko, Grigory Malinovsky|arXiv (Cornell University)|Feb 18, 2022
Stochastic Gradient Optimization TechniquesComputer Science10 citations
TL;DR

ProxSkip is a novel optimization method that provably accelerates communication in distributed learning by skipping expensive proximal operator evaluations in most iterations. It achieves an optimal $ϵ$-accurate solution in $ϵ(κ\log(1/\u03f5))$ iterations with only $ϵ(\sqrt{\u03ba}\log(1/\u03f5))$ prox evaluations, significantly reducing communication cost in federated and decentralized settings without heterogeneity assumptions.

ABSTRACT

We introduce ProxSkip -- a surprisingly simple and provably efficient method for minimizing the sum of a smooth ($f$) and an expensive nonsmooth proximable ($ψ$) function. The canonical approach to solving such problems is via the proximal gradient descent (ProxGD) algorithm, which is based on the evaluation of the gradient of $f$ and the prox operator of $ψ$ in each iteration. In this work we are specifically interested in the regime in which the evaluation of prox is costly relative to the evaluation of the gradient, which is the case in many applications. ProxSkip allows for the expensive prox operator to be skipped in most iterations: while its iteration complexity is $\mathcal{O}\left(κ\log \frac{1}{\varepsilon} ight)$, where $κ$ is the condition number of $f$, the number of prox evaluations is $\mathcal{O}\left(\sqrtκ \log \frac{1}{\varepsilon} ight)$ only. Our main motivation comes from federated learning, where evaluation of the gradient operator corresponds to taking a local GD step independently on all devices, and evaluation of prox corresponds to (expensive) communication in the form of gradient averaging. In this context, ProxSkip offers an effective acceleration of communication complexity. Unlike other local gradient-type methods, such as FedAvg, SCAFFOLD, S-Local-GD and FedLin, whose theoretical communication complexity is worse than, or at best matching, that of vanilla GD in the heterogeneous data regime, we obtain a provable and large improvement without any heterogeneity-bounding assumptions.

Motivation & Objective

  • To address the high communication cost of proximal operators in distributed optimization, especially in federated learning where averaging gradients is expensive.
  • To develop a method that maintains convergence guarantees while drastically reducing the number of proximal operator evaluations.
  • To achieve provable communication complexity improvement over existing local gradient methods like FedAvg and SCAFFOLD, particularly in heterogeneous data regimes.
  • To provide a theoretically sound framework for skipping proximal steps without sacrificing convergence rate or accuracy.

Proposed method

  • Introduces ProxSkip, a variant of proximal gradient descent that allows skipping the proximal operator evaluation in most iterations.
  • Uses a randomized mechanism where the proximal step is applied with probability $p$, and otherwise skipped, with a correction term to maintain convergence.
  • Employs a stochastic approximation framework where the update direction is corrected using a control variate based on previous iterates.
  • Derives a convergence rate of $\mathcal{O}(\kappa \log(1/\varepsilon))$ for the iter iterates, while keeping prox evaluations at $\mathcal{O}(\sqrt{\kappa} \log(1/\varepsilon))$.
  • Applies the method to consensus-based distributed problems, reformulating the problem as minimizing $f(x) + \psi(\mathbf{L}x)$ with $\psi$ as an indicator function for consensus.
  • Derives a decentralized variant using mixing matrices $\mathbf{W}$, where communication corresponds to matrix-vector multiplication $\mathbf{L}x$, and proves convergence with rate $\tilde{\mathcal{O}}(\kappa + 1/(p^2\delta))$.

Experimental results

Research questions

  • RQ1Can local gradient steps be used to reduce communication cost in distributed optimization without sacrificing convergence guarantees?
  • RQ2Is it possible to provably reduce the number of expensive proximal operator evaluations while maintaining the same convergence rate?
  • RQ3Does ProxSkip achieve better communication complexity than FedAvg and SCAFFOLD in heterogeneous data settings?
  • RQ4What is the optimal trade-off between local steps and communication frequency in terms of convergence speed?
  • RQ5Can the method be extended to decentralized settings with general mixing matrices and still achieve optimal convergence?

Key findings

  • ProxSkip achieves an iteration complexity of $\mathcal{O}(\kappa \log(1/\varepsilon))$ with only $\mathcal{O}(\sqrt{\kappa} \log(1/\varepsilon))$ proximal operator evaluations, enabling significant communication savings.
  • The method provably improves communication complexity over vanilla ProxGD and other local methods like FedAvg and SCAFFOLD, especially in heterogeneous data regimes.
  • In decentralized settings, the convergence rate is $\tilde{\mathcal{O}}(\kappa + 1/(p^2\delta))$, and the optimal $p = 1/\sqrt{\delta\kappa}$ balances local steps and communication.
  • When the network is poorly connected ($\delta \leq 1/\kappa$), setting $p=1$ (communicate every iteration) is optimal, matching known lower bounds.
  • Experiments on logistic regression with the w8a dataset confirm that Scaffnew (ProxSkip variant) outperforms other methods, especially with theoretical hyperparameters and optimal $p \approx 1/\sqrt{\kappa}$.
  • The method achieves linear speedup with increasing number of clients in stochastic settings, exceeding theoretical expectations.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.