Table of Contents
Fetching ...

Local Methods with Adaptivity via Scaling

Savelii Chezhegov, Sergey Skorik, Nikolas Khachaturov, Danil Shalagin, Aram Avetisyan, Martin Takáč, Yaroslav Kholodov, Aleksandr Beznosikov

TL;DR

The paper tackles distributed optimization under communication constraints by merging Local SGD with adaptive scaling through a diagonal preconditioner $\hat{D}^{t_p}$ that can represent schemes such as $Adam$, $RMSProp$, and $OASIS$. It proposes the SAVIC framework, provides a unified convergence analysis under generalized preconditioning for both identical and heterogeneous data, and validates the approach with neural network experiments showing faster convergence with scaling. The key contributions include embedding preconditioning into local updates, a broad theoretical analysis that does not rely on gradient boundedness or similarity, and empirical evidence of practical speedups in federated/distributed settings. This work demonstrates that integrating adaptive scaling into local methods can maintain convergence guarantees while reducing communication, with implications for scalable training in distributed and federated systems.

Abstract

The rapid development of machine learning and deep learning has introduced increasingly complex optimization challenges that must be addressed. Indeed, training modern, advanced models has become difficult to implement without leveraging multiple computing nodes in a distributed environment. Distributed optimization is also fundamental to emerging fields such as federated learning. Specifically, there is a need to organize the training process to minimize the time lost due to communication. A widely used and extensively researched technique to mitigate the communication bottleneck involves performing local training before communication. This approach is the focus of our paper. Concurrently, adaptive methods that incorporate scaling, notably led by Adam, have gained significant popularity in recent years. Therefore, this paper aims to merge the local training technique with the adaptive approach to develop efficient distributed learning methods. We consider the classical Local SGD method and enhance it with a scaling feature. A crucial aspect is that the scaling is described generically, allowing us to analyze various approaches, including Adam, RMSProp, and OASIS, in a unified manner. In addition to theoretical analysis, we validate the performance of our methods in practice by training a neural network.

Local Methods with Adaptivity via Scaling

TL;DR

The paper tackles distributed optimization under communication constraints by merging Local SGD with adaptive scaling through a diagonal preconditioner that can represent schemes such as , , and . It proposes the SAVIC framework, provides a unified convergence analysis under generalized preconditioning for both identical and heterogeneous data, and validates the approach with neural network experiments showing faster convergence with scaling. The key contributions include embedding preconditioning into local updates, a broad theoretical analysis that does not rely on gradient boundedness or similarity, and empirical evidence of practical speedups in federated/distributed settings. This work demonstrates that integrating adaptive scaling into local methods can maintain convergence guarantees while reducing communication, with implications for scalable training in distributed and federated systems.

Abstract

The rapid development of machine learning and deep learning has introduced increasingly complex optimization challenges that must be addressed. Indeed, training modern, advanced models has become difficult to implement without leveraging multiple computing nodes in a distributed environment. Distributed optimization is also fundamental to emerging fields such as federated learning. Specifically, there is a need to organize the training process to minimize the time lost due to communication. A widely used and extensively researched technique to mitigate the communication bottleneck involves performing local training before communication. This approach is the focus of our paper. Concurrently, adaptive methods that incorporate scaling, notably led by Adam, have gained significant popularity in recent years. Therefore, this paper aims to merge the local training technique with the adaptive approach to develop efficient distributed learning methods. We consider the classical Local SGD method and enhance it with a scaling feature. A crucial aspect is that the scaling is described generically, allowing us to analyze various approaches, including Adam, RMSProp, and OASIS, in a unified manner. In addition to theoretical analysis, we validate the performance of our methods in practice by training a neural network.
Paper Structure (30 sections, 14 theorems, 123 equations, 1 figure, 1 table, 1 algorithm)

This paper contains 30 sections, 14 theorems, 123 equations, 1 figure, 1 table, 1 algorithm.

Key Result

Lemma 1

Let us assume that $D^0$, and for all $t$ the $H^t$ is diagonal matrices with elements not greater than $\Gamma$ in absolute value. Then for matrices $\hat{D}^t$ obtained by rules eq:square-update -- eq:positive-definite, the following holds:

Figures (1)

  • Figure 1: Comparison of different federated optimization methods: without scaling (SGD), Adam (local Adam local and global Adam global scalings) and OASIS (local OASIS local and global OASIS global scalings). We consider the behaviour of the accuracy (left) and loss function (right) on the ResNet 18 learning problem on CIFAR-10 with different degrees of heterogeneity: 30% (top), 50% (middle), 70% (bottom) of the main class. The horizontal axis defers the synchronization/communication round number.

Theorems & Definitions (25)

  • Lemma 1: Lemma 1, Beznosikov et al., beznosikov2022scaled
  • Corollary 1
  • Theorem 1
  • Corollary 2
  • Theorem 2
  • Corollary 3
  • Theorem 3
  • proof
  • Lemma 2
  • proof
  • ...and 15 more