paper-with-me

Papers

Scaling Distributed Training with Adaptive Summation

2020-06-04 · Saeed Maleki, Madan Musuvathi, Todd Mytkowicz, Olli Saarikivi, Tianju Xu, Vadim Eksarevskiy, Jaliya Ekanayake, Emad Barsoum

Stochastic gradient descent (SGD) is an inherently sequential training algorithm--computing the gradient at batch $i$ depends on the model parameters learned from batch $i-1$. Prior approaches that break this dependence do not honor them (e.g., sum the gradients for each batch, which is not what sequential SGD would do) and thus potentially suffer from poor convergence. This paper introduces a novel method to combine gradients called Adasum (for adaptive sum) that converges faster than prior work. Adasum is easy to implement, almost as efficient as simply summing gradients, and is integrated into the open-source toolkit Horovod. This paper first provides a formal justification for Adasum and then empirically demonstrates Adasum is more accurate than prior gradient accumulation methods. It then introduces a series of case-studies to show Adasum works with multiple frameworks, (TensorFlow and PyTorch), scales multiple optimizers (Momentum-SGD, Adam, and LAMB) to larger batch-sizes while still giving good downstream accuracy. Finally, it proves that Adasum converges. To summarize, Adasum scales Momentum-SGD on the MLPerf Resnet50 benchmark to 64K examples before communication (no MLPerf v0.5 entry converged with more than 16K), the Adam optimizer to 64K examples before communication on BERT-LARGE (prior work showed Adam stopped scaling at 16K), and the LAMB optimizer to 128K before communication on BERT-LARGE (prior work used 64K), all while maintaining downstream accuracy metrics. Finally, if a user does not need to scale, we show LAMB with Adasum on BERT-LARGE converges in 30% fewer steps than the baseline.

📄 PDF Abstract BibTeX arXiv:2006.02924

Code (0)

등록된 구현이 없습니다.

Tasks

16k

Methods 이 논문이 사용한 방법론

LAMB LAMB is a a layerwise adaptive large batch optimization technique. It provides a strategy for adapting the learning rate in large batch settings. LAMB uses…
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…
Adam 설명 없음

Similar Papers 제목 키워드 기반

Secure Summation via Subset Sums: A New Primitive for Privacy-Preserving Distributed Machine Learning

2019-06-27 · Valentin Hartmann, Robert West

For population studies or for the training of complex machine learning models, it is often required to gather data from different actors. In these applications, summation is an important primitive: for computing means, c…

BIG-bench Machine LearningPrivacy Preserving

Convergence Analysis of Nonconvex Distributed Stochastic Zeroth-order Coordinate Method

2021-03-24 · Shengjun Zhang, Yunlong Dong, Dong Xie, Lisha Yao 외

This paper investigates the stochastic distributed nonconvex optimization problem of minimizing a global cost function formed by the summation of $n$ local cost functions. We solve such a problem by involving zeroth-orde…

Stochastic Optimization

Local Methods with Adaptivity via Scaling

2024-06-02 · Savelii Chezhegov, Sergey Skorik, Nikolas Khachaturov, Danil Shalagin 외

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 w…

Distributed OptimizationFederated Learning

Differential Secrecy for Distributed Data and Applications to Robust Differentially Secure Vector Summation

2022-02-22 · Kunal Talwar

Computing the noisy sum of real-valued vectors is an important primitive in differentially private learning and statistics. In private federated learning applications, these vectors are held by client devices, leading to…

Federated Learning

Differentially Private Summation with Multi-Message Shuffling

2019-06-20 · Borja Balle, James Bell, Adria Gascon, Kobbi Nissim

In recent work, Cheu et al. (Eurocrypt 2019) proposed a protocol for $n$-party real summation in the shuffle model of differential privacy with $O_{\epsilon, \delta}(1)$ error and $\Theta(\epsilon\sqrt{n})$ one-bit messa…