[Paper Review] Edge AI: On-Demand Accelerating Deep Neural Network Inference via Edge Computing
Edgent proposes joint DNN partitioning and right-sizing to enable on-demand, low-latency edge inference by adapting to static or dynamic network conditions. A Raspberry Pi–based prototype demonstrates improved responsiveness over device- or cloud-only approaches.
As a key technology of enabling Artificial Intelligence (AI) applications in 5G era, Deep Neural Networks (DNNs) have quickly attracted widespread attention. However, it is challenging to run computation-intensive DNN-based tasks on mobile devices due to the limited computation resources. What's worse, traditional cloud-assisted DNN inference is heavily hindered by the significant wide-area network latency, leading to poor real-time performance as well as low quality of user experience. To address these challenges, in this paper, we propose Edgent, a framework that leverages edge computing for DNN collaborative inference through device-edge synergy. Edgent exploits two design knobs: (1) DNN partitioning that adaptively partitions computation between device and edge for purpose of coordinating the powerful cloud resource and the proximal edge resource for real-time DNN inference; (2) DNN right-sizing that further reduces computing latency via early exiting inference at an appropriate intermediate DNN layer. In addition, considering the potential network fluctuation in real-world deployment, Edgentis properly design to specialize for both static and dynamic network environment. Specifically, in a static environment where the bandwidth changes slowly, Edgent derives the best configurations with the assist of regression-based prediction models, while in a dynamic environment where the bandwidth varies dramatically, Edgent generates the best execution plan through the online change point detection algorithm that maps the current bandwidth state to the optimal configuration. We implement Edgent prototype based on the Raspberry Pi and the desktop PC and the extensive experimental evaluations demonstrate Edgent's effectiveness in enabling on-demand low-latency edge intelligence.
Motivation & Objective
- Motivate the need for low-latency DNN inference in mobile/edge contexts due to limited device compute and WAN latency to cloud datacenters.
- Propose Edgent, a framework that jointly optimizes DNN partitioning and DNN right-sizing via early exiting to meet latency constraints.
- Address both static and dynamic network environments with specialized configurator and runtime optimization strategies.
- Provide a prototype implementation and empirical evaluation showing effectiveness in reducing inference latency.
Proposed method
- Introduce DNN partitioning to split computation between device and edge server based on available bandwidth.
- Introduce DNN right-sizing via early-exit branches to reduce total latency while trading off accuracy.
- Develop a two-stage configurator: offline configuration (regression-based latency prediction and branchy DNN training) and online tuning (search for optimal partition/exit points).
- For static networks, train layer-wise latency predictors and use exhaustive search over partition/exit points to maximize accuracy under latency.
- For dynamic networks, construct a configuration map from bandwidth states using a reward-based search and apply change-point detection to adapt in real time.
Experimental results
Research questions
- RQ1How to maximize DNN inference accuracy while satisfying predefined latency using device-edge collaboration?
- RQ2How to tailor DNN partitioning and right-sizing for static versus dynamic network environments?
- RQ3Can offline profiling and online optimization achieve on-demand, low-latency edge intelligence with variability in bandwidth?
- RQ4What is the impact of bandwidth on optimal partitioning and exiting decisions in edge-based DNN inference?
Key findings
- Edge-only and device-only approaches are insufficient for real-time DNN inference under varying bandwidths.
- With Edgent, optimal exit and partition points shift toward more on-edge computation as bandwidth improves.
- Static bandwidth experiments show latency predictions from regression models closely track measured latency.
- Dynamic bandwidth experiments build a configuration map across 428 bandwidth states for rapid online adaptation using change-point detection.
- Branchy AlexNet tuned for exit points achieves higher accuracy when bandwidth allows deeper execution, compared to earlier exits under tighter latency.
- Edgent enables on-demand low-latency edge intelligence with Raspberry Pi and desktop PC prototype.
- The edge-based DNN latency remains sensitive to bandwidth drops, motivating the need for edge collaboration and right-sizing.
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.