Improving scalability of parallel CNN training by adaptively adjusting parameter update frequency

  • Lee, Sunwoo; 
  • Kang, Qiao; 
  • Al-Bahrani, Reda; 
  • Agrawal, Ankit; 
  • Choudhary, Alok; 
  • 외 1명
Citations

WEB OF SCIENCE

4
Citations

SCOPUS

6

초록

Synchronous SGD with data parallelism, the most popular parallelization strategy for CNN training, suffers from the expensive communication cost of averaging gradients among all workers. The iterative parameter updates of SGD cause frequent communications and it becomes the performance bottleneck. In this paper, we propose a lazy parameter update algorithm that adaptively adjusts the parameter update frequency to address the expensive communication cost issue. Our algorithm accumulates the gradients if the difference of the accumulated gradients and the latest gradients is sufficiently small. The less frequent parameter updates reduce the per-iteration communication cost while maintaining the model accuracy. Our experimental results demonstrate that the lazy update method remarkably improves the scalability while maintaining the model accuracy. For ResNet50 training on ImageNet, the proposed algorithm achieves a significantly higher speedup (739.6 on 2048 Cori KNL nodes) as compared to the vanilla synchronous SGD (276.6) while the model accuracy is almost not affected (<0.2% difference). (C) 2021 Elsevier Inc. All rights reserved.

키워드

Deep learning; Data parallelism; Communication cost; Parameter update frequency
제목
Improving scalability of parallel CNN training by adaptively adjusting parameter update frequency
저자
Lee, Sunwoo; Kang, Qiao; Al-Bahrani, Reda; Agrawal, Ankit; Choudhary, Alok; Liao, Wei-Keng
DOI
10.1016/j.jpdc.2021.09.005
발행일
2022-01
유형
Article
저널명
Journal of Parallel and Distributed Computing
권
159
페이지
10 ~ 23