ResearchTrend.AI
  • Papers
  • Communities
  • Events
  • Blog
  • Pricing
Papers
Communities
Social Events
Terms and Conditions
Pricing
Parameter LabParameter LabTwitterGitHubLinkedInBlueskyYoutube

© 2025 ResearchTrend.AI, All rights reserved.

  1. Home
  2. Papers
  3. 2203.06798
8
4

The Role of Local Steps in Local SGD

14 March 2022
Tiancheng Qin
S. Rasoul Etesami
César A. Uribe
ArXivPDFHTML
Abstract

We consider the distributed stochastic optimization problem where nnn agents want to minimize a global function given by the sum of agents' local functions, and focus on the heterogeneous setting when agents' local functions are defined over non-i.i.d. data sets. We study the Local SGD method, where agents perform a number of local stochastic gradient steps and occasionally communicate with a central node to improve their local optimization tasks. We analyze the effect of local steps on the convergence rate and the communication complexity of Local SGD. In particular, instead of assuming a fixed number of local steps across all communication rounds, we allow the number of local steps during the iii-th communication round, HiH_iHi​, to be different and arbitrary numbers. Our main contribution is to characterize the convergence rate of Local SGD as a function of {Hi}i=1R\{H_i\}_{i=1}^R{Hi​}i=1R​ under various settings of strongly convex, convex, and nonconvex local functions, where RRR is the total number of communication rounds. Based on this characterization, we provide sufficient conditions on the sequence {Hi}i=1R\{H_i\}_{i=1}^R{Hi​}i=1R​ such that Local SGD can achieve linear speed-up with respect to the number of workers. Furthermore, we propose a new communication strategy with increasing local steps superior to existing communication strategies for strongly convex local functions. On the other hand, for convex and nonconvex local functions, we argue that fixed local steps are the best communication strategy for Local SGD and recover state-of-the-art convergence rate results. Finally, we justify our theoretical results through extensive numerical experiments.

View on arXiv
Comments on this paper