Edge-Host Partitioning of Deep Neural Networks with Feature Space Encoding for Resource-Constrained Internet-of-Things Platforms

Jong Hwan Ko, Taesik Na, Mohammad Faisal Amir, Saibal Mukhopadhyay

Introduction

Deep Neural Networks (DNNs) are increasingly deployed on Internet-of-Things (IoT) devices, yet they face a fundamental trade-off between local processing and cloud offloading. Cloud-only approaches suffer from high bandwidth consumption and energy costs for raw data transmission. Conversely, edge-only processing often exceeds the limited battery and computational budgets of small sensors. This paper proposes a hybrid partitioning approach that splits the DNN between the edge and a host platform, leveraging feature space encoding to optimize resource usage.

Methodology: Layer-wise Partitioning and Encoding

The core of the proposed system is the strategic partitioning of the neural network. By treating the DNN as an information encoding pipeline, the authors identify optimal "cut" points—typically after convolutional layers—to balance the load between the edge device and the host server.

Comparison of inference strategies: Host-only, Edge-only, and the proposed Partitioned approach with feature encoding.

The process involves three main techniques:

  1. Layer-wise Partitioning: Analyzing the network to find the "sweet spot" where feature maps are compact and sparse. For many architectures, the last convolutional layer is ideal because it precedes memory-heavy fully-connected layers.
  2. Feature Space Encoding: Applying lossy (JPEG-based) or lossless (Run-Length Encoding + Huffman) compression to intermediate activations before transmission. Because these features are often sparse, they are highly compressible.
  3. Split Re-training: Fine-tuning only the host-side layers to handle compression artifacts. By training these layers on compressed data, the model learns to be robust to noise, recovering accuracy that would otherwise be lost.

Key Insights: The Sparsity Advantage

As data progresses through a DNN, feature maps become increasingly sparse and entropy decreases. Convolutional layers are computationally intensive but produce relatively small, sparse outputs compared to the raw input. In contrast, fully-connected layers require massive weight files, making them unsuitable for edge storage. The research highlights that the deeper layers are much more efficient to compress than raw input images, allowing for significant bandwidth savings without sacrificing the model's predictive power.

Results and Performance

The proposed approach was evaluated using AlexNet, VGG-16, and ResNet-50. Using a custom 28nm ASIC hardware model, the partitioned approach achieved a 15.3x improvement in energy efficiency and a 16.5x increase in throughput compared to host-only inference. Compared to running everything on the edge, the system was 2.3x more energy-efficient and 2.5x faster.

Accuracy loss vs. compression ratio, demonstrating how fine-tuning recovers accuracy lost to high compression.

A critical finding is the effectiveness of fine-tuning. As shown in the figure above, fine-tuning the host-side layers allows for significantly higher compression ratios (e.g., lower Quality Factors in JPEG) while staying within a 1% accuracy loss threshold. For AlexNet, JPEG-based lossy encoding on the fifth convolutional layer reduced data size by 28x with minimal accuracy impact. This makes the system resilient even under tight bandwidth constraints (e.g., 1 Mbps).

Conclusion

By combining strategic network partitioning with feature space encoding and targeted fine-tuning, this research demonstrates a viable path for high-performance AI on resource-constrained IoT devices. While the current study focuses on static partitioning, future work will explore dynamic controllers that shift the partition point based on real-time wireless channel conditions and hardware specifics.

Summary updated

BibTeX
@inproceedings{ko2018edge,
  author = {Jong Hwan Ko and Taesik Na and Mohammad Faisal Amir and Saibal Mukhopadhyay},
  title = {{Edge-Host Partitioning of Deep Neural Networks with Feature Space Encoding for Resource-Constrained Internet-of-Things Platforms}},
  booktitle = {AVSS},
  year = {2018},
  doi = {10.1109/avss.2018.8639121},
}
Figure