arrow
Return

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
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

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.
Keywords:
Distributed training
Deep learning
Pipeline parallelism
Deep Neural networks
Gradient compression

Journal

C
Computing
IF:
2.8
Papers:
2.3K
Citations:
3.5K

Organization

S
Sun Yat Sen University
Scholars:
9.9W
Papers: 7.2W
Citations: 95
Cited Papers

Cited Papers

errShare
errSave
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
errShare
errSave
Structural study of lanthanides(III) in aqueous nitrate and chloride solutions by EXAFS
err1999-02-01
err0
PREAI
errT. Yaita; H. Narita; Sh. Suzuki; Sh. Tachimori; H. Motohashi; H. Shiwaku
errShare
errSave
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
errShare
errSave
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
errShare
errSave
researcher View more