Skip to main content
QUICK REVIEW

[Paper Review] Musical Chair: Efficient Real-Time Recognition Using Collaborative IoT Devices

Ramyad Hadidi, Jiashen Cao|arXiv (Cornell University)|Feb 5, 2018
Human Pose and Action RecognitionComputer Science31 references29 citations
TL;DR

Musical Chair proposes a collaborative, privacy-preserving, real-time deep neural network (DNN) inference system using resource-constrained IoT devices like Raspberry Pis. By dynamically combining data and model parallelism across devices, it achieves performance comparable to a Tegra TX2 with half the energy consumption, enabling efficient on-device recognition without cloud dependency.

ABSTRACT

The prevalence of Internet of things (IoT) devices and abundance of sensor data has created an increase in real-time data processing such as recognition of speech, image, and video. While currently such processes are offloaded to the computationally powerful cloud system, a localized and distributed approach is desirable because (i) it preserves the privacy of users and (ii) it omits the dependency on cloud services. However, IoT networks are usually composed of resource-constrained devices, and a single device is not powerful enough to process real-time data. To overcome this challenge, we examine data and model parallelism for such devices in the context of deep neural networks. We propose Musical Chair to enable efficient, localized, and dynamic real-time recognition by harvesting the aggregated computational power from the resource-constrained devices in the same IoT network as input sensors. Musical chair adapts to the availability of computing devices at runtime and adjusts to the inherit dynamics of IoT networks. To demonstrate Musical Chair, on a network of Raspberry PIs (up to 12) each connected to a camera, we implement a state-of-the-art action recognition model for videos and two recognition models for images. Compared to the Tegra TX2, an embedded low-power platform with a six-core CPU and a GPU, our distributed action recognition system achieves not only similar energy consumption but also twice the performance of the TX2. Furthermore, in image recognition, Musical Chair achieves similar performance and saves dynamic energy.

Motivation & Objective

  • To address the challenge of real-time DNN inference on resource-constrained IoT devices that lack sufficient computational power individually.
  • To eliminate dependency on cloud services for DNN processing, thereby enhancing user privacy and reducing network load.
  • To design a dynamic, adaptive system that leverages the aggregated computational power of multiple low-power IoT devices in real time.
  • To evaluate the feasibility and efficiency of collaborative DNN inference using data and model parallelism across heterogeneous IoT devices.
  • To demonstrate that a distributed system of low-cost IoT devices can match or exceed the performance of high-end embedded platforms like the Tegra TX2.

Proposed method

  • Musical Chair uses dynamic load balancing to distribute DNN inference tasks across multiple IoT devices based on real-time availability and computational capacity.
  • It employs data parallelism for convolutional layers, where independent input batches are processed in parallel across devices.
  • It applies model parallelism for fully connected layers, splitting computation of a single layer across multiple devices to manage memory constraints.
  • The system automatically selects between data and model parallelism based on device memory and computational limits, optimizing for latency and energy efficiency.
  • It integrates with optimized inference libraries (e.g., TensorFlow Lite) to reduce per-device computational and memory overhead.
  • The framework supports runtime adaptation to device churn and network dynamics, ensuring robustness in real-world IoT environments.

Experimental results

Research questions

  • RQ1Can a network of low-cost, resource-constrained IoT devices collaboratively perform real-time DNN inference without relying on the cloud?
  • RQ2How can data and model parallelism be dynamically combined to optimize performance and energy efficiency in heterogeneous IoT devices?
  • RQ3What is the performance and energy efficiency of a distributed DNN system compared to a high-end embedded platform like the Tegra TX2?
  • RQ4How does the system adapt to dynamic changes in device availability and network conditions during real-time inference?
  • RQ5Can such a system achieve high-accuracy recognition (e.g., action and image recognition) while minimizing computational load per device?

Key findings

  • Musical Chair achieved twice the performance of the Tegra TX2 on a distributed action recognition task while consuming similar energy.
  • In image recognition, Musical Chair matched the performance of the Tegra TX2 while saving dynamic energy, demonstrating energy efficiency.
  • The system successfully scaled to up to 12 Raspberry Pi devices, showing strong horizontal scalability in real-time inference.
  • By combining data and model parallelism, Musical Chair effectively managed memory and computational bottlenecks in resource-constrained devices.
  • The framework dynamically adapted to device availability and network conditions, maintaining stable performance under runtime changes.
  • The solution preserved user privacy by eliminating data transmission to external servers, enabling fully local DNN inference.

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.