DynPipe: Toward Dynamic End-to-End Pipeline Parallelism for Interference-Aware DNN Training
Pipeline parallelism has emerged as an indispensable technique for training large deep neural networks. While existing asynchronous pipeline systems address the time bubbles inherent in synchronous architectures, they continue to suffer from <italic xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">inefficiency</i> and <italic xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">susceptibility</i> to <italic xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">volatile</i> hardware environment due to their suboptimal and <italic xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">static</i> configurations. In this paper, we propose DynPipe, an <italic xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">interference-aware</i> asynchronous pipeline framework to optimize the <italic xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">end-to-end</i> training performance in highly <italic xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">dynamic</i> computing environments. By characterizing the <italic xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">non-overlapped</i> communication overheads and <italic xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">convergence</i> rate conditioned on stage-wise staleness, DynPipe carefully crafts an optimized pipeline partition that harmonizes the hardware speed with statistical convergence. Moreover, DynPipe deploys a <italic xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">non-intrusive</i> random forest model that utilizes runtime stage statistics to evaluate the impact of environmental changes, such as task interference and network jitter, on the training efficiency. Following the evaluation guidance, DynPipe adaptively <italic xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">adjusts</i> partition plan to restore both intra and inter-stage load balancing, thereby facilitating seamless pipeline reconfiguration in dynamic environments. Extensive experiments show that DynPipe outperforms state-of-the-art systems, accelerating the time-to-accuracy by <italic xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">1.5-3.4×</i>.
Authors
- Xiaofei Liao (ORCID: https://orcid.org/0000-0001-6302-813X)
- Zhiwen Yuan (ORCID: https://orcid.org/0000-0002-5604-0015)
- Yufei Tao (ORCID: https://orcid.org/0000-0003-3883-5452)
- Hai Jin (ORCID: https://orcid.org/0009-0003-8055-3587)
- Zhiyuan Shao (ORCID: https://orcid.org/0000-0003-2139-6465)
- Yufeng Nie (ORCID: https://orcid.org/0000-0001-7881-5806)
- Bo Li (ORCID: https://orcid.org/0000-0003-2083-9105)
- Yuqing Li
- Xiong Wang
Institutions
- Hong Kong University of Science and Technology (HK)
- Wuhan University (CN)
- Huazhong University of Science and Technology (CN)
Publication Details
- Journal
- IEEE Transactions on Parallel and Distributed Systems
- Published
- 2025-09-03
- DOI
- https://doi.org/10.1109/tpds.2025.3605491
- Primary Topic
- Context-Aware Activity Recognition Systems
- Type
- article
- Field-Weighted Citation Impact
- 0.00