[Paper Review] HierTrain: Fast Hierarchical Edge AI Learning with Hybrid Parallelism in Mobile-Edge-Cloud Computing
HierTrain proposes a hierarchical edge AI training framework that accelerates DNN training in mobile-edge-cloud environments using adaptive hybrid parallelism across device, edge, and cloud layers. By jointly optimizing layer- and sample-level task scheduling, it achieves up to 6.9× speedup over cloud-based and prior hierarchical approaches.
Nowadays, deep neural networks (DNNs) are the core enablers for many emerging edge AI applications. Conventional approaches to training DNNs are generally implemented at central servers or cloud centers for centralized learning, which is typically time-consuming and resource-demanding due to the transmission of a large amount of data samples from the device to the remote cloud. To overcome these disadvantages, we consider accelerating the learning process of DNNs on the Mobile-Edge-Cloud Computing (MECC) paradigm. In this paper, we propose HierTrain, a hierarchical edge AI learning framework, which efficiently deploys the DNN training task over the hierarchical MECC architecture. We develop a novel extit{hybrid parallelism} method, which is the key to HierTrain, to adaptively assign the DNN model layers and the data samples across the three levels of edge device, edge server and cloud center. We then formulate the problem of scheduling the DNN training tasks at both layer-granularity and sample-granularity. Solving this optimization problem enables us to achieve the minimum training time. We further implement a hardware prototype consisting of an edge device, an edge server and a cloud server, and conduct extensive experiments on it. Experimental results demonstrate that HierTrain can achieve up to 6.9x speedup compared to the cloud-based hierarchical training approach.
Motivation & Objective
- Address the high latency and resource overhead of cloud-based DNN training due to large-scale data transmission from edge devices.
- Overcome the limitations of fully decentralized edge training, which suffers from constrained computation on mobile and IoT devices.
- Leverage the full potential of the three-tier mobile-edge-cloud architecture—device, edge server, and cloud—by efficiently utilizing heterogeneous communication and computation resources.
- Minimize end-to-end DNN training time through joint optimization of model layer and data sample distribution across the hierarchical system.
- Develop a practical, hardware-deployable framework that outperforms existing centralized and two-tiered training schemes in real-world settings.
Proposed method
- Propose a novel hybrid parallelism method that dynamically assigns DNN model layers and data samples across the device, edge server, and cloud based on resource heterogeneity.
- Formulate a joint optimization problem for scheduling DNN training tasks at both layer-granularity (model partitioning) and sample-granularity (data sharding) to minimize total training time.
- Integrate communication latency and computation load models into the optimization framework to account for varying bandwidth and processing capabilities across the three levels.
- Design a scheduling policy that adaptively selects the optimal partitioning point for model layers and the optimal data distribution strategy across the hierarchical nodes.
- Implement a real hardware prototype using one edge device, one edge server, and one cloud server to validate the framework under realistic conditions.
- Use a mixed-integer programming approach to solve the optimization problem and derive the optimal task allocation strategy.
Experimental results
Research questions
- RQ1How can DNN training be accelerated in mobile-edge-cloud environments by effectively utilizing the hierarchical structure of device, edge, and cloud resources?
- RQ2What is the optimal way to partition DNN model layers and distribute data samples across the three levels to minimize training time?
- RQ3How does hybrid parallelism—combining model and data parallelism—improve training efficiency compared to pure model or data parallelism in edge AI?
- RQ4What is the impact of communication latency between edge and cloud on training performance, and how can it be mitigated through intelligent scheduling?
- RQ5Can a real-world hardware prototype demonstrate significant speedup over traditional cloud-based and two-tiered training approaches?
Key findings
- HierTrain achieves up to 6.9× speedup in DNN training time compared to the cloud-based hierarchical training approach.
- The framework outperforms existing methods such as JointDNN and JALAD, demonstrating superior training efficiency in real hardware deployments.
- The hybrid parallelism strategy significantly reduces training latency by balancing computation load and minimizing inter-node communication overhead.
- The joint optimization of layer-granularity and sample-granularity scheduling leads to a more efficient utilization of heterogeneous resources across the mobile-edge-cloud stack.
- The hardware prototype confirms the practical feasibility and performance gains of HierTrain in real-world edge AI workloads.
- The proposed scheduling policy effectively adapts to varying network and computational conditions, ensuring robust performance across diverse deployment scenarios.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.