Skip to main content
QUICK REVIEW

[Paper Review] Conditionally Deep Hybrid Neural Networks Across Edge and Cloud

Yinghan Long, Indranil Chakraborty|arXiv (Cornell University)|May 21, 2020
Advanced Neural Network ApplicationsComputer Science27 references6 citations
TL;DR

This paper proposes conditionally deep hybrid neural networks that distribute inference across edge and cloud systems using quantized layers at the edge and full-precision layers in the cloud. By employing early exits with high-confidence predictions, the model reduces energy consumption by up to 5.5× on CIFAR-10 and 4.8× on CIFAR-100 with minimal accuracy loss, achieving 65% and 52% of inferences processed at the edge, respectively.

ABSTRACT

The pervasiveness of "Internet-of-Things" in our daily life has led to a recent surge in fog computing, encompassing a collaboration of cloud computing and edge intelligence. To that effect, deep learning has been a major driving force towards enabling such intelligent systems. However, growing model sizes in deep learning pose a significant challenge towards deployment in resource-constrained edge devices. Moreover, in a distributed intelligence environment, efficient workload distribution is necessary between edge and cloud systems. To address these challenges, we propose a conditionally deep hybrid neural network for enabling AI-based fog computing. The proposed network can be deployed in a distributed manner, consisting of quantized layers and early exits at the edge and full-precision layers on the cloud. During inference, if an early exit has high confidence in the classification results, it would allow samples to exit at the edge, and the deeper layers on the cloud are activated conditionally, which can lead to improved energy efficiency and inference latency. We perform an extensive design space exploration with the goal of minimizing energy consumption at the edge while achieving state-of-the-art classification accuracies on image classification tasks. We show that with binarized layers at the edge, the proposed conditional hybrid network can process 65% of inferences at the edge, leading to 5.5x computational energy reduction with minimal accuracy degradation on CIFAR-10 dataset. For the more complex dataset CIFAR-100, we observe that the proposed network with 4-bit quantization at the edge achieves 52% early classification at the edge with 4.8x energy reduction. The analysis gives us insights on designing efficient hybrid networks which achieve significantly higher energy efficiency than full-precision networks for edge-cloud based distributed intelligence systems.

Motivation & Objective

  • To address the challenge of deploying large deep learning models on energy-constrained edge devices.
  • To enable efficient workload distribution between edge and cloud in fog computing environments.
  • To minimize energy consumption at the edge while maintaining state-of-the-art classification accuracy.
  • To explore optimal configurations of quantization bit-depth and layer distribution for hybrid networks.

Proposed method

  • Deploy quantized (1-bit, 2-bit, 4-bit) layers on the edge and full-precision layers on the cloud.
  • Introduce early exits after quantized layers to allow confident samples to exit at the edge.
  • Use conditional deep learning to activate deeper cloud-based layers only when necessary.
  • Perform design space exploration across bit-depth, number of quantized layers, and early exit placement.
  • Optimize for energy efficiency and accuracy trade-offs using extensive experiments on CIFAR-10 and CIFAR-100.
  • Train hybrid networks with joint optimization to improve robustness of early exit decisions.

Experimental results

Research questions

  • RQ1What is the optimal balance between quantization bit-depth and number of quantized layers at the edge to minimize energy use?
  • RQ2How does early exit placement affect inference accuracy and energy efficiency in hybrid edge-cloud networks?
  • RQ3To what extent can early exits reduce computational energy consumption without degrading model accuracy?
  • RQ4How does network complexity (e.g., CIFAR-100 vs. CIFAR-10) influence the effectiveness of early exits and quantization?

Key findings

  • On CIFAR-10, the proposed network with 1-bit quantization enables 65% of inferences to exit at the edge, achieving 5.5× energy reduction with minimal accuracy degradation.
  • For CIFAR-100, 4-bit quantization at the edge allows 52% of samples to exit early, resulting in 4.8× energy reduction.
  • Using 16 binary layers and 14 full-precision layers on ResNet-32 achieves the best performance-vs-energy trade-off on CIFAR-10.
  • Adding multiple early exits (e.g., two) does not significantly reduce cloud energy and can degrade performance due to training complexity.
  • The number of parameters in the early exit layer affects robustness; larger exit layers (e.g., after 24 binary layers) can reduce early exit rates due to insufficient capacity.
  • Energy savings are dominated by cloud-side reductions, as full-precision layers consume significantly more energy than binarized ones.

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.