Cross-Search With Improved Multi-Dimensional Dichotomy-Based Joint Optimization for Distributed Parallel Training of DNN
istributedistributedD parallel training of large-scale deep neural networks (DNN) has attracted the attentions of both artificial intelligence and high-performance distributed computing. One of efficient approaches is the micro-batch-based pipeline parallelism (MBPP), e.g., GPipe and Terapipe. Based on the MBPP, we establish a time-cost model with the basic time function of layers, which considers computing time and communication time simultaneously as well as considers they are nonlinear with the amount of input data. Focusing on the jointly optimal solutions of network division and data partition, we propose a Cross-Search algorithm with Improved Multi-dimensional Dichotomy (CSIMD). Through theoretical derivation, we prove improved multi-dimensional dichotomy (IMD) has appreciable theoretical optimality and linear computational complexity significantly faster than the state-of-the-art methods including dynamic programming and recursive algorithm. Extensive experiments on both CNN-based and transformer-based neural networks demonstrate our proposed CSIMD can obtain optimal network division and data partition schemes under MBPP. On average, the training speeds of CSIMD in CNN- and transformer-based DNNs are respectively (2.0, 2.5)× and (2.66, 5.48)× of (MBPP-R, MBPP-E).
Authors
- Wenhong Tian (ORCID: https://orcid.org/0000-0002-5551-9796)
- Yiqin Fu
- Rajkumar Buyya (ORCID: https://orcid.org/0000-0001-9754-6496)
- Jiahong Qian (ORCID: https://orcid.org/0000-0002-6441-2579)
- Guangyao Zhou (ORCID: https://orcid.org/0000-0003-0809-5799)
- Yuanlun Xie (ORCID: https://orcid.org/0000-0001-9682-2065)
- Teng Su (ORCID: https://orcid.org/0009-0005-9517-2845)
- Haocheng Lan
Institutions
- University of Electronic Science and Technology of China (CN)
- The University of Melbourne (AU)
- Huawei Technologies (China) (CN)
- China National Chemical Corporation (China) (CN)
- Southwest Jiaotong University (CN)
- China National Petroleum Corporation (China) (CN)
Publication Details
- Journal
- IEEE Transactions on Parallel and Distributed Systems
- Published
- 2025-06-16
- DOI
- https://doi.org/10.1109/tpds.2025.3580098
- Primary Topic
- Robotics and Automated Systems
- Type
- article
- Field-Weighted Citation Impact
- 0.00