paper-with-me

Papers

Local SGD with Periodic Averaging: Tighter Analysis and Adaptive Synchronization

2019-10-30 · NeurIPS 2019 12 · Farzin Haddadpour, Mohammad Mahdi Kamani, Mehrdad Mahdavi, Viveck R. Cadambe

Communication overhead is one of the key challenges that hinders the scalability of distributed optimization algorithms. In this paper, we study local distributed SGD, where data is partitioned among computation nodes, and the computation nodes perform local updates with periodically exchanging the model among the workers to perform averaging. While local SGD is empirically shown to provide promising results, a theoretical understanding of its performance remains open. We strengthen convergence analysis for local SGD, and show that local SGD can be far less expensive and applied far more generally than current theory suggests. Specifically, we show that for loss functions that satisfy the Polyak-{\L}ojasiewicz condition, $O((pT)^{1/3})$ rounds of communication suffice to achieve a linear speed up, that is, an error of $O(1/pT)$, where $T$ is the total number of model updates at each worker. This is in contrast with previous work which required higher number of communication rounds, as well as was limited to strongly convex loss functions, for a similar asymptotic performance. We also develop an adaptive synchronization scheme that provides a general condition for linear speed up. Finally, we validate the theory with experimental results, running over AWS EC2 clouds and an internal GPU cluster.

📄 PDF Abstract BibTeX arXiv:1910.13598

Code (2)

mmkamani7/LUPA-SGD 공식 구현 tf
PaddlePaddle/FleetX/blob/develop/examples/resnet/train_fleet_static_localsgd.py paddle

Tasks

Distributed OptimizationGPU

Methods 이 논문이 사용한 방법론

SPEED The monocular depth estimation (MDE) is the task of estimating depth from a single frame. This information is an essential knowledge in many computer vision tasks such as scene…
Local SGD Local SGD is a distributed training technique that runs SGD independently in parallel on different workers and averages the sequences…
SGD Stochastic Gradient Descent is an iterative optimization technique that uses minibatches of data to form an expectation of the gradient, rather than the full gradient using…

Similar Papers 제목 키워드 기반

Partial Model Averaging in Federated Learning: Performance Guarantees and Benefits

2022-01-11 · Sunwoo Lee, Anit Kumar Sahu, Chaoyang He, Salman Avestimehr

Local Stochastic Gradient Descent (SGD) with periodic model averaging (FedAvg) is a foundational algorithm in Federated Learning. The algorithm independently runs SGD on multiple workers and periodically averages the mod…

Federated Learning

Cooperative SGD: A unified Framework for the Design and Analysis of Communication-Efficient SGD Algorithms

2018-08-22 · Jianyu Wang, Gauri Joshi

Communication-efficient SGD algorithms, which allow nodes to perform local updates and periodically synchronize local models, are highly effective in improving the speed and scalability of distributed SGD. However, a rig…

Adaptive Periodic Averaging: A Practical Approach to Reducing Communication in Distributed Learning

2020-07-13 · Peng Jiang, Gagan Agrawal

Stochastic Gradient Descent (SGD) is the key learning algorithm for many machine learning tasks. Because of its computational costs, there is a growing interest in accelerating SGD on HPC resources like GPU clusters. How…

GPUimage-classificationImage ClassificationQuantization

Adaptive Communication Strategies to Achieve the Best Error-Runtime Trade-off in Local-Update SGD

2018-10-19 · Jianyu Wang, Gauri Joshi

Large-scale machine learning training, in particular distributed stochastic gradient descent, needs to be robust to inherent system variability such as node straggling and random communication delays. This work considers…

Two-Tailed Averaging: Anytime, Adaptive, Once-in-a-While Optimal Weight Averaging for Better Generalization

2022-09-26 · Gábor Melis

Tail Averaging improves on Polyak averaging's non-asymptotic behaviour by excluding a number of leading iterates of stochastic optimization from its calculations. In practice, with a finite number of optimization steps a…

Stochastic Optimization