Skip to main content
QUICK REVIEW

[Paper Review] The Benefit of the Doubt: Uncertainty Aware Sensing for Edge Computing Platforms

Lorena Qendro, Jagmohan Chauhan|arXiv (Cornell University)|Feb 11, 2021
Adversarial Robustness in Machine LearningComputer Science52 references4 citations
TL;DR

This paper proposes a computationally efficient framework for uncertainty-aware inference in deep neural networks on edge devices, leveraging a layerwise distribution approximation to estimate predictive uncertainty with a single forward pass—eliminating the need for retraining or multiple inference runs. It achieves up to 28× lower energy consumption and 16% higher accuracy than state-of-the-art methods while maintaining minimal memory overhead.

ABSTRACT

Neural networks (NNs) lack measures of "reliability" estimation that would enable reasoning over their predictions. Despite the vital importance, especially in areas of human well-being and health, state-of-the-art uncertainty estimation techniques are computationally expensive when applied to resource-constrained devices. We propose an efficient framework for predictive uncertainty estimation in NNs deployed on embedded edge systems with no need for fine-tuning or re-training strategies. To meet the energy and latency requirements of these embedded platforms the framework is built from the ground up to provide predictive uncertainty based only on one forward pass and a negligible amount of additional matrix multiplications with theoretically proven correctness. Our aim is to enable already trained deep learning models to generate uncertainty estimates on resource-limited devices at inference time focusing on classification tasks. This framework is founded on theoretical developments casting dropout training as approximate inference in Bayesian NNs. Our layerwise distribution approximation to the convolution layer cascades through the network, providing uncertainty estimates in one single run which ensures minimal overhead, especially compared with uncertainty techniques that require multiple forwards passes and an equal linear rise in energy and latency requirements making them unsuitable in practice. We demonstrate that it yields better performance and flexibility over previous work based on multilayer perceptrons to obtain uncertainty estimates. Our evaluation with mobile applications datasets shows that our approach not only obtains robust and accurate uncertainty estimations but also outperforms state-of-the-art methods in terms of systems performance, reducing energy consumption (up to 28x), keeping the memory overhead at a minimum while still improving accuracy (up to 16%).

Motivation & Objective

  • To enable reliable uncertainty estimation in deep learning models deployed on resource-constrained edge devices.
  • To address the high computational cost of existing uncertainty estimation techniques like Monte Carlo Dropout and deep ensembles in embedded systems.
  • To provide uncertainty estimates without retraining or fine-tuning, using only already-trained models.
  • To support classification tasks in mobile and embedded applications where interpretability and reliability are critical.
  • To reduce energy, latency, and memory overhead compared to existing uncertainty-aware inference methods.

Proposed method

  • The framework leverages the theoretical equivalence between dropout training and approximate Bayesian inference in Bayesian neural networks.
  • It introduces a layerwise distribution approximation that transforms deterministic convolutional layers into stochastic layers using Gaussian approximations of feature maps.
  • Uncertainty is propagated through the network in a cascaded, single-forward-pass manner, avoiding multiple inference runs.
  • The method applies only a negligible number of additional matrix multiplications per layer, ensuring low computational overhead.
  • The approach is compatible with any pre-trained CNN that used dropout during training, requiring no retraining.
  • It models the predictive distribution at each layer using mean and variance, enabling uncertainty quantification at inference time.

Experimental results

Research questions

  • RQ1Can predictive uncertainty be estimated efficiently in pre-trained deep neural networks on edge devices without retraining?
  • RQ2How can uncertainty estimation be made practical for real-time, low-power embedded systems?
  • RQ3What is the trade-off between uncertainty estimation accuracy and system efficiency (energy, latency, memory) in edge AI?
  • RQ4Can a single-forward-pass method outperform multi-pass techniques like Monte Carlo Dropout in both accuracy and efficiency?
  • RQ5How does the proposed method scale across different embedded platforms, including those without GPUs?

Key findings

  • The proposed method reduces energy consumption by up to 28-fold compared to Monte Carlo Dropout and up to 8-fold compared to deep ensembles on edge devices.
  • It achieves up to 16% higher accuracy than state-of-the-art methods while maintaining minimal memory overhead (max 5% increase).
  • The framework enables uncertainty estimation with only a negligible runtime overhead, making it suitable for devices with limited computational resources.
  • On the NVIDIA Jetson Nano, the method runs efficiently even on CPU-only configurations, demonstrating viability on low-end edge hardware.
  • The approach outperforms ApDeepSense and other baselines in both latency and energy efficiency, with a 20% speed advantage over one of the most recent methods.
  • The method maintains robust uncertainty estimates across multiple mobile and embedded datasets, demonstrating generalization and reliability.

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.