arrow
Return

Optimal distributed parallel algorithms for deep learning framework Tensorflow

delete2021-07-14
delete12
PRE
AI
Y
Yuanlun Xie
M
Majun He
T
Tingsong Ma
W
Wenhong Tian *
DOI:10.1007/s10489-021-02588-9delete
deleteOriginal
deleteShare
deleteSave
Abstract

Abstract

En 中文
Since its release, the Tensorflow framework has been widely used in various fields due to its advantages in deep learning. However, it is still at its early state. Its native distributed implementation has difficulty in expanding for large models because it has issues of low utilization of multiple GPUs and slow distribution compared with running on single machine. It is of great significance to reduce the training time through parallel models. In view of this, we firstly provided an in-depth analysis of the implementation principle of Tensorflow and identify the bottlenecks of its native distributed parallel models to improve. Then, two optimal algorithms are designed and implemented based on data parallelism and model parallelism modes of Tensorflow. For data parallelism, the proposed algorithm is implemented to replace the native linear execution mode with pipeline execution mode. As for model parallelism, the native random partitioning mode is replaced by our proposed novel greedy algorithm. Finally, we built a homogeneous distributed cluster and a heterogeneous distributed cluster respectively to verify the effectiveness of the proposed algorithms. Through a number of comparative experiments, we showed that the proposed optimal parallel algorithms can effectively reduce model training time by an average of 26.5%(or average 1.5x speedup than native distributed algorithms) and improve the utilization of the cluster while keeping the same accuracy level of native Tensorflow.
Keywords:
Deep learning
Tensorflow
Data parallelism
Model parallelism
Optimal distributed parallel algorithms
errShare
errSave
A Hybrid Parallelization Approach for Distributed and Scalable Deep Learning
err2022-01-01
err2
errOAAI
errAkintoye, Samson B.; Han, Liangxiu; Zhang, Xin; Chen, Haoming; Zhang, Daoqiang
errShare
errSave
Towards an optimized distributed deep learning framework for a heterogeneous multi-GPU cluster
err2020-07-11
err18
PREAI
errKim, Youngrang; Choi, Hyeonseong; Lee, Jaehwan; Kim, Jik-Soo; Jei, Hyunseung; Roh, Hongchan
errShare
errSave
NetPlacer+: Model Parallelism Based on Load Balance in Distributed Deep Learning
err2025-01-01
err0
PREAI
errYunqi Gao; Zechao Zhang; Bing Hu; Mahdi Boloursaz Mashhadi; A-Long Jin; Pei Xiao
errShare
errSave
ZipLine: an optimized algorithm for the elastic bulk synchronous parallel model
err2021-10-19
err2
errOAAI
errZhao, Xing; Papagelis, Manos; An, Aijun; Chen, Bao Xin; Liu, Junfeng; Hu, Yonggang
errShare
errSave
errShare
errSave

Journal

Applied Intelligence cover
Applied Intelligence
IF:
3.5
Papers:
7.7K
Citations:
2.2W

Organization

No organization information available
Cited Papers

Cited Papers

err
IF0
err
err0
PREAI
err
errShare
errSave
err
IF0
err
err0
errOAAI
err
errShare
errSave
Herpes simplex virus type 2 meningitis and symptomatic migraine
err2010-10-19
err0
PREAI
errTobias M. Freilinger; Martin Lieb; Christoph Schankin; Soheyl Noachtar
errShare
errSave
The Antioxidant Response as a Drug Target in Diabetic Neuropathy
err2008-01-01
err0
PREAI
errAndrea Vincent; James Edwards; Mahdieh Sadidi; Eva Feldman
errShare
errSave
researcher View more