arrow
返回

Efficient DNN training based on backpropagation parallelization

delete2022-06-17
delete0
PRE
AI
D
Danyang Xiao
W
Weigang Wu *
DOI:10.1007/s00607-022-01094-1delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Pipeline parallelism is an efficient way to speed up the training of deep neural networks (DNNs) by partitioning the model and pipelining the training process across a cluster of workers in distributed systems. In this paper, we propose a new pipeline parallelization approach (Q-FB pipeline) for distributed deep learning, which can achieve both high training speed and high hardware utilization. The major novelty of Q-FB pipeline lies in a mechanism that can parallelize the backpropagation training without loss of precision. Since the parameters update of the backward phase depends on the error calculated in the forward phase, paralleling the backpropagation process naively will hurt the model's convergence behaviour. To provide convergence guarantees, Q-FB pipeline lets the forward phase and backward phase execute in parallel on different processors with the techniques of shared model memory and accumulated gradients update. To overcome the communication bottleneck, Q-FB pipeline compresses both activations and gradients before transferring them to other workers. We adopt an activation quantization scheme for reducing traffic in the forward phase and propose a gradient compression algorithm (2-Step GC algorithm) for reducing communication costs in the backward phase. Experiments at both small and large computing clusters (e.g. Tianhe-2 supercomputer system) show that Q-FB pipeline can effectively accelerate the training process without loss in convergence or precision.
Keyword:
Distributed training
Deep learning
Pipeline parallelism
Deep Neural networks
Gradient compression

期刊

C
Computing
IF:
2.8
论文数:
2.3K
被引数:
3.5K

机构

S
Sun Yat Sen University
学者数:
9.9W
论文数: 7.2W
被引数: 95
引用论文

引用论文

Long-term members’ use of fitness centers: a qualitative study
err2019-02-21
err0
errOAAI
errLiv Riseth; Torunn Hatlen Nøst; Tom I. L. Nilsen; Aslak Steinsbekk
err分享
err收藏
Induced Phase Transition in BiFeO3by High-Field Electron Spin Resonance
err2004-01-01
err0
PREAI
errD. VIEHLAND; J. F. LI; S. ZVYAGIN; A. P. PYATAKOV; A. BUSH; B. RUETTE; V. I. BELOTELOV; A. K. ZVEZDIN
err分享
err收藏
Nanolithography using optical contact exposure in the evanescent near field
err1999-05-01
err0
PREAI
errR.J. Blaikie; M.M. Alkaisi; S.J. McNab; D.R.S. Cumming; R. Cheung; D.G. Hasko
err分享
err收藏
学者 查看更多内容