Asteroid: Resource-Efficient Hybrid Pipeline Parallelism for Collaborative DNN Training on Heterogeneous Edge Devices
Shengyuan Ye, Liekang Zeng, Xiaowen Chu, Guoliang Xing, Xu Chen
TL;DR
Asteroid addresses privacy-conscious on-device training by orchestrating multiple heterogeneous edge devices through Hybrid Pipeline Parallelism (HPP). It combines a dynamic-programming–driven parallelism planner with memory-aware micro-batch scheduling and a lightweight fault-tolerant pipeline replay to adapt to device dynamics. The system achieves up to 12.2× training speedups over conventional methods and 2.1× over state-of-the-art HPP approaches, while maintaining robust recovery (14× faster) under device exits and failures with comparable throughput. By partitioning models across devices and exploiting selective inter-stage communication, Asteroid reduces memory footprints and communication overhead, enabling scalable, privacy-preserving edge learning in realistic settings.
Abstract
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.
