Skip to main content
QUICK REVIEW

[Paper Review] Improving Device-Edge Cooperative Inference of Deep Learning via 2-Step Pruning

Wenqi Shi, Yunzhong Hou|arXiv (Cornell University)|Mar 8, 2019
IoT and Edge/Fog ComputingComputer Science13 references13 citations
TL;DR

This paper proposes a 2-step pruning framework that jointly optimizes model compression and device-edge computation partitioning to reduce end-to-end latency in mobile DNN inference. By iteratively pruning unimportant filters in two stages—first for computation reduction, then for transmission reduction—followed by optional lossless PNG coding, the framework achieves up to 25.6× less transmission workload, 6.01× faster total computation, and 4.81× lower end-to-end latency compared to non-pruned partitioning, especially under WiFi conditions.

ABSTRACT

Deep neural networks (DNNs) are state-of-the-art solutions for many machine learning applications, and have been widely used on mobile devices. Running DNNs on resource-constrained mobile devices often requires the help from edge servers via computation offloading. However, offloading through a bandwidth-limited wireless link is non-trivial due to the tight interplay between the computation resources on mobile devices and wireless resources. Existing studies have focused on cooperative inference where DNN models are partitioned at different neural network layers, and the two parts are executed at the mobile device and the edge server, respectively. Since the output data size of a DNN layer can be larger than that of the raw data, offloading intermediate data between layers can suffer from high transmission latency under limited wireless bandwidth. In this paper, we propose an efficient and flexible 2-step pruning framework for DNN partition between mobile devices and edge servers. In our framework, the DNN model only needs to be pruned once in the training phase where unimportant convolutional filters are removed iteratively. By limiting the pruning region, our framework can greatly reduce either the wireless transmission workload of the device or the total computation workload. A series of pruned models are generated in the training phase, from which the framework can automatically select to satisfy varying latency and accuracy requirements. Furthermore, coding for the intermediate data is added to provide extra transmission workload reduction. Our experiments show that the proposed framework can achieve up to 25.6$ imes$ reduction on transmission workload, 6.01$ imes$ acceleration on total computation and 4.81$ imes$ reduction on end-to-end latency as compared to partitioning the original DNN model without pruning.

Motivation & Objective

  • To address the high transmission latency and computation imbalance in device-edge cooperative DNN inference, especially when intermediate feature maps exceed raw data size.
  • To reduce the end-to-end latency and energy consumption of mobile DNN inference under bandwidth and latency constraints.
  • To enable flexible, automatic selection of pruning ratio and partition point based on system conditions (e.g., channel quality, latency, accuracy requirements).
  • To improve upon existing methods like feature coding and early exit by combining pruning with compression for better accuracy-latency tradeoffs.
  • To provide a framework compatible with lossless coding (e.g., PNG) to further reduce transmission overhead without accuracy loss.

Proposed method

  • The framework performs two-stage iterative channel pruning: Step 1 prunes filters to reduce total computation workload; Step 2 further prunes to minimize intermediate feature map size for transmission.
  • Pruning is applied selectively within each layer, focusing on reducing redundant channels to minimize data volume without significant accuracy loss.
  • A series of pruned models with varying compression ratios are generated during training, enabling runtime selection based on system constraints.
  • The framework supports automatic selection of the optimal partition point among max pooling layers, which are ideal due to their 4× spatial downsampling and low computational cost.
  • Lossless PNG coding is applied to intermediate features at the partition point to further compress data, with diminishing returns as pruning increases redundancy.
  • The approach is evaluated on VGG models, comparing with baseline non-pruned partitioning and prior feature coding (e.g., JPEG-based) methods.

Experimental results

Research questions

  • RQ1Can a two-stage pruning strategy effectively reduce both computation and transmission workloads in device-edge DNN inference?
  • RQ2How does the combination of pruning and lossless coding (e.g., PNG) improve transmission efficiency while preserving accuracy?
  • RQ3What is the optimal partition point for minimizing end-to-end latency under varying wireless conditions?
  • RQ4How does the 2-step pruning framework compare to existing feature coding techniques in terms of accuracy and latency?
  • RQ5To what extent can the framework adapt to different system constraints (e.g., 3G, 4G, WiFi) and maintain high accuracy?

Key findings

  • The 2-step pruning framework achieves up to 25.6× reduction in transmission workload compared to non-pruned DNN partitioning.
  • Total computation workload is accelerated by 6.01× due to effective filter pruning in both stages.
  • End-to-end latency is reduced by up to 4.81× under WiFi conditions, with 3.69× and 2.61× improvements on 4G and 3G networks, respectively.
  • The framework maintains less than 4% accuracy loss even at high compression ratios, outperforming lossy coding methods like JPEG-based feature coding.
  • PNG coding provides an additional 2× compression on intermediate features without accuracy loss, especially effective when pruning is moderate.
  • The back-end max pooling layers (e.g., Max Pool 3–5) are the most favorable partition points due to lower sensitivity to pruning and high compression potential.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.