Adaptive DNN Partitioning Method for Pipeline Parallel Training with Time-Varying Resources

Pipeline parallelism provides a flexible and scalable approach for training large deep neural networks (DNNs). To realize efficient pipeline parallel training, deploying model partitions that adapt to the resource configurations is crucial. However, due to the time-varying nature prevalent in real-world applications, model partitions can quickly become outdated, resulting in imbalanced workload distribution. Consequently, maintaining load-balanced model partitions under time-varying resource scenarios poses a challenge. In this paper, we propose an adaptive partitioning method that dynamically adjusts model partitions in response to variations in available resources, ensuring high training efficiency. First, we derive the execution duration model and redistribution cost model of pipeline training systems. Then, we perform a joint optimization of the two factors with the goal of minimizing the training time. Based on this, we implement a prototype system called ARPipe, in which a Fast Partitioning Decision (FPD) algorithm is proposed to quickly determine optimized model partitions. Experimental evaluations show that under real-world circumstances with time-varying hardware resources, ARPipe can reduce training time by up to 30% in comparison to the state-of-the-art method GPipe when training the ResNet50 model on the CIFAR10 dataset.

Authors

Institutions

Publication Details

Published
2024-12-13
DOI
https://doi.org/10.1109/icftic64248.2024.10912960
Primary Topic
Power Systems and Technologies
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Adaptive DNN Partitioning Method for Pipeline Parallel Training with Time-Varying Resources

Shuangwu Chen, Mingrui Zhu, Shubo Deng, Jian Yang et al.
Power Systems and Technologies
article

Adaptive DNN Partitioning Method for Pipeline Parallel Training with Time-Varying Resources

Shuangwu Chen, Mingrui Zhu, Shubo Deng, Jian Yang, Xiaofeng Jiang, Zhi Ling
article en

Abstract

Pipeline parallelism provides a flexible and scalable approach for training large deep neural networks (DNNs). To realize efficient pipeline parallel training, deploying model partitions that adapt to the resource configurations is crucial. However, due to the time-varying nature prevalent in real-world applications, model partitions can quickly become outdated, resulting in imbalanced workload distribution. Consequently, maintaining load-balanced model partitions under time-varying resource scenarios poses a challenge. In this paper, we propose an adaptive partitioning method that dynamically adjusts model partitions in response to variations in available resources, ensuring high training efficiency. First, we derive the execution duration model and redistribution cost model of pipeline training systems. Then, we perform a joint optimization of the two factors with the goal of minimizing the training time. Based on this, we implement a prototype system called ARPipe, in which a Fast Partitioning Decision (FPD) algorithm is proposed to quickly determine optimized model partitions. Experimental evaluations show that under real-world circumstances with time-varying hardware resources, ARPipe can reduce training time by up to 30% in comparison to the state-of-the-art method GPipe when training the ResNet50 model on the CIFAR10 dataset.

University of Science and Technology of China (CN)
National Natural Science Foundation of China, National Key Research and Development Program of China
Openalex Percentile: Top 74%
Power Systems and Technologies
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.