Extendable Multi-Device Collaborative Pipeline Parallel Inference in the Edge-Cloud Scenario
Resource-limited devices encounter challenges when executing complex neural networks in the edge computing scenario. The time taken to complete the task is unacceptable. Most existing methods sacrifice the prediction accuracy or are greatly affected by the network state. Therefore, we propose a multi-device collaborative pipeline parallel inference method to diminish model inference time in the edge-cloud scenario. This method consists of model splitting, partial knowledge distillation, and model distributed deployment. The model splitting splits the model into two parts, one for the server and the other for edge devices. The utilization of partial knowledge aims to strike a balance between inference time and prediction accuracy. The model distributed deployment further splits the student model according to the number and performance of edge devices, along with the network conditions between edge devices, thereby achieving pipeline parallelization of model inference. After model splitting, we add plugin bottleneck layers between different partial models to compress the communication data and improve communication efficiency. Experimental results show that while ensuring prediction accuracy close to that of the original model, our proposed method can decrease the complexity of the deep learning models, reduce inference time, and enhance the utilization of idle edge devices.
Authors
- Baiping Chen (ORCID: https://orcid.org/0000-0001-9730-3398)
- Huifeng Wu (ORCID: https://orcid.org/0000-0002-7189-1205)
- Jia Xin Wu (ORCID: https://orcid.org/0000-0002-1371-5801)
- Jin Fan (ORCID: https://orcid.org/0000-0002-6681-9209)
- Junwei Dong (ORCID: https://orcid.org/0000-0001-6597-0874)
- Junjie Hu (ORCID: https://orcid.org/0000-0002-2056-903X)
- Danfeng Sun (ORCID: https://orcid.org/0000-0002-7332-1169)
Institutions
- Hangzhou Dianzi University (CN)
- Macquarie University (AU)
Publication Details
- Journal
- IEEE Transactions on Consumer Electronics
- Published
- 2024-10-18
- DOI
- https://doi.org/10.1109/tce.2024.3481156
- Primary Topic
- IoT and Edge/Fog Computing
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Natural Science Foundation of China
- Natural Science Foundation of Zhejiang Province