Introduction
The proliferation of Internet of Things (IoT) devices has created a massive demand for Deep Neural Network (DNN) deployment at the edge. However, edge devices face severe constraints in energy, computation, and memory. While cloud-based processing offers high accuracy, it introduces latency, privacy risks, and high communication costs. Conversely, local edge inference often lacks the adaptability to handle diverse real-world data distributions. This paper presents MEANet, a distributed AI architecture designed to balance these trade-offs through complexity-aware adaptive training and inference.
Architecture: The MEANet Framework
The proposed MEANet architecture consists of three primary components deployed on the edge, working in conjunction with a powerful cloud-based model.
- Main Block: A standard CNN pre-trained in the cloud and frozen upon deployment to the edge. It handles initial feature extraction and classification.
- Extension Block: A secondary, deeper exit point for the edge model. It is activated only when the main block encounters difficult inputs, providing a more refined classification.
- Adaptive Block: A lightweight pathway that feeds raw input directly into the extension block. By bypassing the frozen features of the main block, it allows the system to learn corrective boundaries for local data without inheriting the main block's biases.
Complexity-Aware Methodology
The core innovation of MEANet lies in its ability to categorize data into three levels of complexity: "easy," "hard," and "complex." This categorization governs both training and inference workflows.
Adaptive Training
To minimize resource consumption, MEANet employs a blockwise optimization strategy. The pre-trained main block remains frozen. Training at the edge is restricted to the adaptive and extension blocks, using only data from "hard" classes—those where the main block historically exhibits low precision. This targeted approach significantly reduces the volume of training data and the computational overhead of backpropagation.
Intelligent Inference
During inference, the system dynamically routes data based on the main block's initial assessment:
- Easy Instances: If the main block predicts a class with high confidence, inference terminates early, saving energy.
- Hard Instances: If the predicted class is flagged as "hard," the extension block is activated to perform a more thorough analysis.
- Complex Instances: If the main block's prediction shows high entropy (low confidence), the raw data is offloaded to the cloud for processing by a high-capacity model.
Experimental Results
The MEANet framework was evaluated using CIFAR-100 and ImageNet datasets with ResNet and MobileNetV2 backbones.
- Accuracy Improvements: Local training of the extension and adaptive blocks improved accuracy on hard classes by 4–9% for CIFAR-100 and 4–5% for ImageNet. Overall ImageNet accuracy saw a ~2% gain.
- Resource Efficiency: The blockwise training algorithm reduced GPU memory usage by 60% for ResNets and 30% for MobileNets compared to standard joint optimization. Furthermore, it halved the required training data.
- Energy Savings: By offloading only the most complex instances (e.g., sending 28% of ImageNet data to the cloud), the system achieved cloud-level accuracy while consuming only 60% of the energy required for a cloud-only approach.
Conclusion and Future Work
MEANet demonstrates that a tripartite, complexity-aware architecture can effectively bridge the gap between edge constraints and cloud capabilities. By focusing edge training on problematic classes and using conditional offloading, the system achieves high accuracy with significantly lower resource requirements.
Future research will address the challenge of "routing errors," where hard instances are misidentified as easy, and explore strategies to mitigate catastrophic forgetting during continuous local adaptation. Additionally, further testing on actual IoT hardware is necessary to validate the simulated energy and latency benefits in real-world environments.
Summary updated