Skip to main content
QUICK REVIEW

[Paper Review] Distributed Deep Neural Networks over the Cloud, the Edge and End Devices

Surat Teerapittayanon, Bradley McDanel|arXiv (Cornell University)|Sep 6, 2017
Advanced Neural Network ApplicationsComputer Science16 references73 citations
TL;DR

DDNNs distribute a single DNN across end devices, edge/fog, and cloud to enable local fast inference, sensor fusion, and reduced cloud communication, with joint end-to-end training.

ABSTRACT

We propose distributed deep neural networks (DDNNs) over distributed computing hierarchies, consisting of the cloud, the edge (fog) and end devices. While being able to accommodate inference of a deep neural network (DNN) in the cloud, a DDNN also allows fast and localized inference using shallow portions of the neural network at the edge and end devices. When supported by a scalable distributed computing hierarchy, a DDNN can scale up in neural network size and scale out in geographical span. Due to its distributed nature, DDNNs enhance sensor fusion, system fault tolerance and data privacy for DNN applications. In implementing a DDNN, we map sections of a DNN onto a distributed computing hierarchy. By jointly training these sections, we minimize communication and resource usage for devices and maximize usefulness of extracted features which are utilized in the cloud. The resulting system has built-in support for automatic sensor fusion and fault tolerance. As a proof of concept, we show a DDNN can exploit geographical diversity of sensors to improve object recognition accuracy and reduce communication cost. In our experiment, compared with the traditional method of offloading raw sensor data to be processed in the cloud, DDNN locally processes most sensor data on end devices while achieving high accuracy and is able to reduce the communication cost by a factor of over 20x.

Motivation & Objective

  • Motivate the use of a hierarchical distributed computing setup (end devices, edge, cloud) for DNN inference.
  • Develop a framework to partition and jointly train a single DNN across the hierarchy.
  • Enable automatic sensor fusion and fault tolerance while minimizing inter-layer communication.
  • Demonstrate that distributed inference can reduce data transmission costs while maintaining or improving accuracy.

Proposed method

  • Map sections of a single DNN onto a distributed computing hierarchy (end devices, edge, cloud).
  • Jointly train the divided DNN so lower layers on devices and higher layers in cloud maximize accuracy and minimize communication.
  • Introduce multiple exit points (early exits) with entropy-based confidence thresholds to allow local/edge/cloud exits.
  • Propose aggregation schemes (max pooling, average pooling, concatenation) for combining outputs from multiple end devices.
  • Analyze communication costs and accuracy under different exit thresholds and aggregation schemes.
  • Implement binary/embedded BN blocks to fit end-device memory constraints and enable end-to-end training across hierarchy.

Experimental results

Research questions

  • RQ1How can a single DNN be partitioned and trained across end devices, edge, and cloud to enable local inference and cloud-based refinement?
  • RQ2What aggregation strategies best fuse outputs from multiple end devices to maximize classification accuracy and fault tolerance?
  • RQ3How does the entropy-based exit mechanism balance local latency, communication cost, and overall accuracy in a distributed DNN?
  • RQ4What is the impact of scaling DDNN across multiple end devices and introducing edge layers on accuracy and communication cost?
  • RQ5Can DDNNs reduce data transmission while preserving or improving accuracy compared to raw data offloading to the cloud?

Key findings

  • A distributed DNN can be trained end-to-end and partitioned across end devices, edge, and cloud to enable local exits and cloud-based refinement.
  • Using a max-pooling local aggregator and max-pooling cloud aggregator (MP-CC) achieved the best local and cloud accuracies (98% each) on their multi-device dataset.
  • An entropy threshold around 0.8 at the local exit achieves high overall accuracy (97%) while reducing local communication to about 62 bytes per sample in their setup.
  • Aggregation method MP-CC consistently outperformed other schemes across local and cloud exits in their experiments.
  • The approach reduces communication costs by more than 20x compared to offloading raw sensor data to the cloud, with maintained high accuracy.
  • The framework supports automatic sensor fusion and fault tolerance, showing degraded performance only when multiple end devices are lost.

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.