Towards Real-time Cooperative Deep Inference over the Cloud and Edge End Devices
Shigeng Zhang, Yinggang Li, Xuan Liu, Song Guo, Weiping Wang, Jianxin Wang, Bo Ding, Di Wu
Abstract
Deep neural networks (DNNs) have been widely used in many intelligent applications such as object recognition and automatic driving due to their superior performance in conducting inference tasks. However, DNN models are usually heavyweight in computation, hindering their utilization on the resource-constraint Internet of Things (IoT) end devices. To this end, cooperative deep inference is proposed, in which a DNN model is adaptively partitioned into two parts and different parts are executed on different devices (cloud or edge end devices) to minimize the total inference latency. One important issue is thus to find the optimal partition of the deep model subject to network dynamics in a real-time manner. In this paper, we formulate the optimal DNN partition as a min-cut problem in a directed acyclic graph (DAG) specially derived from the DNN and propose a novel two-stage approach named quick deep model partition (QDMP) to solve it. QDMP exploits the fact that the optimal partition of a DNN model must be between two adjacent cut vertices in the corresponding DAG. It first identifies the two cut vertices and considers only the subgraph in between when calculating the min-cut. QDMP can find the optimal model partition with response time less than 300ms even for large DNN models containing hundreds of layers (up to 66.3x faster than the state-of-the-art solution), and thus enables real-time cooperative deep inference over the cloud and edge end devices. Moreover, we observe one important fact that is ignored in all previous works: As many deep learning frameworks optimize the execution of DNN models, the execution latency of a series of layers in a DNN does not equal to the summation of each layer's independent execution latency. This results in inaccurate inference latency estimation in existing works. We propose a new execution latency measurement method, with which the inference latency can be accurately estimated in practice. We implement QDMP on real hardware and use a real-world self-driving car video dataset to evaluate its performance. Experimental results show that QDMP outperforms the state-of-the-art solution, reducing inference latency by up to 1.69x and increasing throughput by up to 3.81x.
Ask about this paper
Ask your agent about it.
Lune has read the top-tier papers around this one, so every answer names the papers it rests on.
Your agent calls
Lunesearch_papers
Free to start. No credit card required.
Terminal
Install the CLIlune papers get 2e23d200-2950-473c-8cb3-86dba31d8898Cited by top-tier papers5
- AoDNN: An Auto-Offloading Approach to Optimize Deep Inference for Fostering Mobile WebYakun Huang, Xiuquan Qiao, Schahram Dustdar, Yan LiINFOCOM 2022 · 17 citations
- Enabling Real-Time Inference in Online Continual Learning via Device-Cloud CollaborationHaibo Liu, Chen Gong, Zhenzhe Zheng, Shengzhong Liu et al.WWW 2025 · 10 citations
- Moby: Empowering 2D Models for Efficient Point Cloud Analytics on the EdgeJingzong Li, Yik Hong Cai, Libin Liu, Yu Mao et al.ACM MM 2023 · 4 citations
- Efficient Distributed Inference of Deep Neural Networks via Restructuring and PruningAfshin Abdi, Saeed Rashidi, Faramarz Fekri, Tushar KrishnaAAAI 2023 · 3 citations
- AppetiteCheck: Feasibility of Momentary Vagus Nerve Stimulation as an Implicit Intervention for Eating BehaviorTan Gemicioglu, Jas Brooks, Pedro Lopes, Tanzeem ChoudhuryUbiComp 2026
Related papers
- Distributed Inference Acceleration with Adaptive DNN Partitioning and OffloadingThaha Mohammed, Carlee Joe-Wong, Rohit Babbar, Mario Di FrancescoINFOCOM 2020 · 213 citations
- Context-aware Adaptive Surgery: A Fast and Effective Framework for Adaptative Model PartitionHongli Wang, Bin Guo, Jiaqi Liu, Sicong Liu et al.UbiComp 2021 · 25 citations
- Autodidactic Neurosurgeon: Collaborative Deep Inference for Mobile Edge Intelligence via Online LearningLetian Zhang, Lixing Chen, Jie XuWWW 2021 · 75 citations
- Distributed Inference with Deep Learning Models across Heterogeneous Edge DevicesChenghao Hu, Baochun LiINFOCOM 2022 · 81 citations
- Resource-aware Deployment of Dynamic DNNs over Multi-tiered Interconnected SystemsChetna Singhal, Yashuo Wu, Francesco Malandrino, Marco Levorato et al.INFOCOM 2024 · 15 citations
