Abstract
Deep Neural Networks (DNNs) are increasingly deployed on edge devices for real-time sensing, yet they often suffer from overconfidence, assigning high probabilities to incorrect or out-of-distribution predictions. This paper introduces a framework for estimating "predictive uncertainty" with high efficiency. By replacing computationally intensive Monte Carlo sampling with a novel layerwise distribution approximation, the authors enable robust uncertainty estimation in a single forward pass. This approach reduces energy consumption by up to 28x compared to state-of-the-art Bayesian methods while improving classification accuracy on mobile sensing tasks.
Introduction: The Challenge of Overconfidence at the Edge
In critical domains such as mobile health monitoring and autonomous sensing, the reliability of a model's prediction is as crucial as the prediction itself. Standard DNNs, however, are notoriously overconfident; they frequently assign high confidence scores even when presented with random noise or data far from their training distribution.
Existing solutions for "uncertainty awareness," such as Bayesian Neural Networks (BNNs) using Monte Carlo (MC) dropout or model ensembles, are often too resource-intensive for edge platforms like smartwatches or IoT sensors. These methods require multiple inference passes or significant memory overhead, leading to high latency and rapid battery depletion.
Methodology: Single-Pass Uncertainty Estimation
The proposed framework achieves uncertainty awareness without the need for multiple forward passes or model retraining. It is built upon three core technical pillars:
- Dropout as Inference: The method leverages the theoretical connection between dropout and Bayesian inference. Models trained with standard dropout already contain the necessary information to estimate uncertainty.
- Layerwise Distribution Approximation: Instead of the traditional approach of running a model dozens of times with different dropout masks, this framework treats inputs and weights as probability distributions (Gaussians). The authors derived closed-form mathematical solutions to propagate the mean and variance of these distributions through the network layers.
- Stochastic Convolution: Deterministic convolution layers are transformed into "stochastic" counterparts. By tracking the variance (uncertainty) as data propagates through these layers, the final output provides both a class prediction and a measure of predictive uncertainty.
Experimental Setup and Datasets
The framework was evaluated across three diverse mobile sensing datasets to ensure robustness:
- HHAR (Heterogeneous Human Activity Recognition): Accelerometer and gyroscope data for activities like biking and walking.
- Opportunity: A benchmark for detecting locomotion (standing, walking, etc.) using body-worn sensors.
- Speech Commands: Spoken word recognition (e.g., "yes", "no") to test audio sensing capabilities.
Key Insights and Results
The primary advantage of this approach is the "one-pass" capability, allowing uncertainty calculation alongside standard prediction without the overhead of sampling.
Efficiency and Accuracy
Compared to standard MC Dropout, the proposed method reduced energy consumption by 8x to 28x and significantly lowered latency. On an Nvidia Jetson Nano, the framework added less than 5% memory overhead. Furthermore, it improved classification accuracy by up to 16% over previous uncertainty frameworks like ApDeepSense, primarily due to its successful extension to Convolutional Neural Networks (CNNs).
Reliability and Out-of-Distribution Detection
A key finding is the model's ability to handle random or unfamiliar data. While a "vanilla" network might assign high confidence to noise, this uncertainty-aware model correctly identifies such inputs as having high entropy.
Conclusion and Future Work
This research provides a "plug-and-play" solution for existing edge deployments, requiring no retraining for models already using dropout. While currently optimized for CNNs and MLPs, future work aims to extend the mathematical foundations to Recurrent Neural Networks (RNNs) and Transformers. Additionally, the authors suggest using this framework for "early exit" architectures, where processing can be terminated early if uncertainty is low, further optimizing power consumption for edge sensing.
Summary updated