Optimal Model Placement and Online Model Splitting for Device-Edge Co-Inference
- 15 April 2022
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Wireless Communications
- Vol. 21 (10) , 8354-8367
Abstract
Device-edge co-inference opens up new possibilities for resource-constrained wireless devices (WDs) to execute deep neural network (DNN)-based applications with heavy computation workloads. In particular, the WD executes the first few layers of the DNN and sends the intermediate features to the edge server that processes the remaining layers of the DNN. By adapting the model splitting decision, there exists a tradeoff between local computation cost and communication overhead. In practice, the DNN model is re-trained and updated periodically at the edge server. Once the DNN parameters are regenerated, part of the updated model must be placed at the WD to facilitate on-device inference. In this paper, we study the joint optimization of the model placement and online model splitting decisions to minimize the energy-and-time cost of device-edge co-inference in presence of wireless channel fading. The problem is challenging because the model placement and model splitting decisions are strongly coupled, while involving two different time scales. We first tackle online model splitting by formulating an optimal stopping problem, where the finite horizon of the problem is determined by the model placement decision. In addition to deriving the optimal model splitting rule based on backward induction, we further investigate a simple one-stage look-ahead rule, for which we are able to obtain analytical expressions of the model splitting decision. The analysis is useful for us to efficiently optimize the model placement decision in a larger time scale. In particular, we obtain a closed-form model placement solution for the fully-connected multilayer perceptron with equal neurons. Simulation results validate the superior performance of the joint optimal model placement and splitting with various DNN structures.Keywords
All Related Versions
Funding Information
- National key research and development program (2019YFB1803305)
- General Research Fund from the Research Grants Council of Hong Kong (14201920, 14202421)
- National Natural Science Foundation of China (61871271)
- Key Project of Department of Education of Guangdong Province (2020ZDZX3050)
- Shenzhen Science and Technology Program (JCYJ20210324093011030)
- Open Research Project Program of the State Key Laboratory of Internet of Things for Smart City (SKL-IoTSC(UM)-2021-2023/ORPF/A03/2022)
This publication has 21 references indexed in Scilit:
- On-Demand Deep Model Compression for Mobile Devices2018
- Event-Based Vision Meets Deep Learning on Steering Prediction for Self-Driving Cars2018
- NeurosurgeonACM SIGARCH Computer Architecture News, 2017
- Deep Residual Learning for Image Recognition2016
- Energy-efficient dynamic offloading and resource scheduling in mobile cloud computing2016
- DeepX: A Software Accelerator for Low-Power Deep Learning Inference on Mobile Devices2016
- Multi-round contention in wireless LANs with multipacket receptionIEEE Transactions on Wireless Communications, 2010
- HC-MAC: A Hardware-Constrained Cognitive MAC for Efficient Spectrum ManagementIEEE Journal on Selected Areas in Communications, 2008
- A unified architecture for natural language processing2008
- The multilayer perceptron as an approximation to a Bayes optimal discriminant functionIEEE Transactions on Neural Networks, 1990