Provable Acceleration of Distributed Optimization with Local Updates
Zuang Wang, Yongqiang Wang
TL;DR
This work addresses whether multiple local updates can accelerate distributed optimization when gradients are exact. It introduces a PEP-based framework to analyze the DIGing algorithm with $\tau$ local updates between communications and derives exact worst-case bounds. The key finding is that local updates can accelerate convergence, with the maximal gain at $\tau=2$ and no additional benefit for larger $\tau$; the optimal step size typically scales roughly as $\alpha^* \propto 1/\tau$ for larger $\tau$. These insights are validated through synthetic linear regression and CNN experiments, offering practical guidelines for choosing the number of local updates and step sizes in distributed settings with exact gradients.
Abstract
In conventional distributed optimization, each agent performs a single local update between two communication rounds with its neighbors to synchronize solutions. Inspired by the success of using multiple local updates in federated learning, incorporating local updates into distributed optimization has recently attracted increasing attention. However, unlike federated learning, where multiple local updates can accelerate learning by improving gradient estimation under mini-batch settings, it remains unclear whether similar benefits hold in distributed optimization when gradients are exact. Moreover, existing theoretical results typically require reducing the step size when multiple local updates are employed, which can entirely offset any potential benefit of these additional local updates and obscure their true impact on convergence. In this paper, we focus on the classic DIGing algorithm and leverage the tight performance bounds provided by Performance Estimation Problems (PEP) to show that incorporating local updates can indeed accelerate distributed optimization. To the best of our knowledge, this is the first rigorous demonstration of such acceleration for a broad class of objective functions. Our analysis further reveals that, under an appropriate step size, performing only two local updates is sufficient to achieve the maximal possible improvement, and that additional local updates provide no further gains. Because more updates increase computational cost, these findings offer practical guidance for efficient implementation. Extensive experiments on both synthetic and real-world datasets corroborate the theoretical findings.
