Skip to main content
QUICK REVIEW

[Paper Review] Decentralized Low-Latency Collaborative Inference via Ensembles on the Edge

May Malka, Erez Farhan|arXiv (Cornell University)|Jun 7, 2022
Advanced Neural Network ApplicationsComputer Science6 citations
TL;DR

This paper proposes edge ensembles, a decentralized, low-latency collaborative inference framework that enables multiple edge devices to form a deep ensemble using compact DNNs and shared quantized features. By aggregating predictions from diverse local models via a unified inference rule, the method achieves significant accuracy gains—surpassing even larger centralized DNNs—while incurring only a minor latency overhead under realistic network conditions.

ABSTRACT

The success of deep neural networks (DNNs) is heavily dependent on computational resources. While DNNs are often employed on cloud servers, there is a growing need to operate DNNs on edge devices. Edge devices are typically limited in their computational resources, yet, often multiple edge devices are deployed in the same environment and can reliably communicate with each other. In this work we propose to facilitate the application of DNNs on the edge by allowing multiple users to collaborate during inference to improve their accuracy. Our mechanism, coined {\em edge ensembles}, is based on having diverse predictors at each device, which form an ensemble of models during inference. To mitigate the communication overhead, the users share quantized features, and we propose a method for aggregating multiple decisions into a single inference rule. We analyze the latency induced by edge ensembles, showing that its performance improvement comes at the cost of a minor additional delay under common assumptions on the communication network. Our experiments demonstrate that collaborative inference via edge ensembles equipped with compact DNNs substantially improves the accuracy over having each user infer locally, and can outperform using a single centralized DNN larger than all the networks in the ensemble together.

Motivation & Objective

  • To address the challenge of deploying accurate deep neural networks (DNNs) on resource-constrained edge devices with limited computational power.
  • To enable edge devices to collaboratively improve inference accuracy without relying on centralized servers or fixed communication topologies.
  • To design a decentralized, low-latency inference framework that supports both local inference and dynamic collaboration among neighboring devices.
  • To quantify and minimize the latency overhead introduced by collaborative inference in practical edge networks.
  • To demonstrate that compact, diverse models on multiple edge devices can collectively surpass the performance of a single large centralized DNN.

Proposed method

  • The framework uses a decentralized edge ensemble mechanism where each device runs a distinct, compact DNN, forming a diverse ensemble during inference.
  • Devices communicate only quantized features to reduce bandwidth, with a shared inference rule that aggregates predictions from all available collaborators.
  • The system models communication latency using random variables for link reliability and channel capacity, incorporating probabilistic assumptions on connectivity.
  • A theoretical analysis derives the cumulative distribution function of end-to-end inference delay, accounting for variable device availability and network conditions.
  • The method employs a probabilistic model where link availability is governed by a Bernoulli process with probability p, and channel capacity is modeled as a random variable with cumulative distribution function F_C.
  • The inference delay is bounded by the maximum of individual device processing and communication delays, with a closed-form expression derived for the probability that delay remains under a threshold.
Figure 1 : DNN -based edge inference illustration.
Figure 1 : DNN -based edge inference illustration.

Experimental results

Research questions

  • RQ1Can decentralized collaboration among edge devices improve inference accuracy without relying on a centralized server?
  • RQ2What is the minimal latency overhead introduced by collaborative inference in a dynamic, device-to-device communication environment?
  • RQ3How does the performance of a decentralized ensemble of compact DNNs compare to a single large centralized DNN?
  • RQ4What is the impact of variable device availability and communication reliability on the end-to-end inference delay?
  • RQ5Can a unified inference rule effectively aggregate predictions from diverse, independently trained models on edge devices?

Key findings

  • Edge ensembles significantly improve inference accuracy over local inference using only compact DNNs, even when each model is smaller than a single large centralized DNN.
  • The collaborative inference framework achieves performance comparable to or better than a centralized DNN that is larger than the sum of all models in the edge ensemble.
  • The theoretical analysis shows that the probability of exceeding a given delay threshold decays to zero as the number of collaborating devices increases, under realistic network assumptions.
  • The latency overhead introduced by collaboration is minimal under typical network conditions, with the delay distribution bounded by the maximum of processing and communication delays.
  • The framework remains robust under dynamic connectivity, supporting both local inference and on-demand collaboration without requiring persistent communication links.
  • The probability of low-latency inference increases with the number of available collaborators, especially when link reliability and channel capacity are favorable.
Figure 2 : Vector quantization layer of VQ-VAE.
Figure 2 : Vector quantization layer of VQ-VAE.

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.