Asteroid: Resource-Efficient Hybrid Pipeline Parallelism for Collaborative DNN Training on Heterogeneous Edge Devices

被引:1
作者
Ye, Shengyuan [1 ]
Zeng, Liekang [1 ]
Chu, Xiaowen [2 ]
Xing, Guoliang [3 ]
Chen, Xu [1 ]
机构
[1] Sun Yat Sen Univ, Sch Comp Sci & Engn, Guangzhou, Peoples R China
[2] HKUST GZ, Data Sci & Analyt Thrust, Guangzhou, Peoples R China
[3] Chinese Univ Hong Kong, Hong Kong, Peoples R China
来源
PROCEEDINGS OF THE THIRTIETH INTERNATIONAL CONFERENCE ON MOBILE COMPUTING AND NETWORKING, ACM MOBICOM 2024 | 2024年
基金
美国国家科学基金会;
关键词
Edge intelligence; distributed machine learning; data parallelism; pipeline parallelism; hybrid parallelism; INFERENCE;
D O I
10.1145/3636534.3649363
中图分类号
TN [电子技术、通信技术];
学科分类号
0809 ;
摘要
On-device Deep Neural Network (DNN) training has been recognized as crucial for privacy-preserving machine learning at the edge. However, the intensive training workload and limited onboard computing resources pose significant challenges to the availability and efficiency of model training. While existing works address these challenges through native resource management optimization, we instead leverage our observation that edge environments usually comprise a rich set of accompanying trusted edge devices with idle resources beyond a single terminal. We propose Asteroid, a distributed edge training system that breaks the resource walls across heterogeneous edge devices for efficient model training acceleration. Asteroid adopts a hybrid pipeline parallelism to orchestrate distributed training, along with a judicious parallelism planning for maximizing throughput under certain resource constraints. Furthermore, a fault-tolerant yet lightweight pipeline replay mechanism is developed to tame the device-level dynamics for training robustness and performance stability. We implement Asteroid on heterogeneous edge devices with both vision and language models, demonstrating up to 12.2x faster training than conventional parallelism methods and 2.1x faster than state-of-the-art hybrid parallelism methods through evaluations. Furthermore, Asteroid can recover training pipeline 14x faster than baseline methods while preserving comparable throughput despite unexpected device exiting and failure.
引用
收藏
页码:312 / 326
页数:15
相关论文
共 65 条
[1]  
Bhardwaj R, 2022, PROCEEDINGS OF THE 19TH USENIX SYMPOSIUM ON NETWORKED SYSTEMS DESIGN AND IMPLEMENTATION (NSDI '22), P119
[2]  
Bhattacharya S., 2016, P 14 ACM C EMB NETW, P176
[3]  
Cai D., 2022, ARXIV
[4]   Edge Computing Gateway of the Industrial Internet of Things Using Multiple Collaborative Microcontrollers [J].
Chen, Ching-Han ;
Lin, Ming-Yi ;
Liu, Chung-Chi .
IEEE NETWORK, 2018, 32 (01) :24-32
[5]  
Chen HW, 2020, Arxiv, DOI arXiv:2004.04366
[6]  
Chen T., 2016, ARXIV
[7]   Quantization of Deep Neural Networks for Accurate Edge Computing [J].
Chen, Wentao ;
Qiu, Hailong ;
Zhuang, Jian ;
Zhang, Chutong ;
Hu, Yu ;
Lu, Qing ;
Wang, Tianchen ;
Shi, Yiyu ;
Huang, Meiping ;
Xu, Xiaowe .
ACM JOURNAL ON EMERGING TECHNOLOGIES IN COMPUTING SYSTEMS, 2021, 17 (04)
[8]  
Devlin J., 2018, ARXIV
[9]  
Gim In, 2022, MobiSys '22: Proceedings of the 20th Annual International Conference on Mobile Systems, Applications and Services, P464, DOI 10.1145/3498361.3539765
[10]  
github, 2019, Pytorch