Abstract
Training deep neural networks on resource-constrained IoT devices is hindered by high memory, computation, and power requirements. This paper introduces a dual-strategy framework designed to make on-device training feasible. The framework employs Self-Supervised Early Instance Filtering (EIF) to discard redundant data samples and Error Map Pruning (EMP) to skip insignificant computations during backpropagation. Evaluations across multiple datasets and architectures demonstrate up to 96% computation savings with minimal impact on accuracy, significantly extending the battery life of edge devices.
Introduction
While the deployment of pre-trained models to edge devices is now commonplace, on-device training remains a significant challenge. Training is essential for preserving privacy through local data processing, enabling personalization for specific users, and supporting lifelong learning in evolving environments. However, the massive resource requirements of standard training cycles often exceed the capabilities of battery-powered IoT devices. This research addresses these bottlenecks by optimizing both the data input and the algorithmic backpropagation process.
Methodology
The proposed framework integrates two complementary techniques to reduce the overhead of the training cycle.
Self-Supervised Early Instance Filtering (EIF)
EIF operates at the data level, identifying and filtering out "easy" samples that contribute little to the model's learning. A small, lightweight filter network predicts the loss of an incoming instance. If the predicted loss is below an adaptive threshold, the instance is dropped, saving the computational cost of both forward and backward passes. To ensure the filter adapts as the main model learns, "uncertainty sampling" is used to periodically update the filter network using self-supervision from the main network's actual loss values.
Error Map Pruning (EMP)
EMP targets the algorithmic level, specifically the backward pass, which typically accounts for two-thirds of the total training cost. By identifying and pruning "insignificant" channels in the error maps—those with values too small to meaningfully impact weight updates—EMP skips expensive convolutional operations during gradient computation. This structured pruning maintains high accuracy while drastically reducing FLOPs.
Experimental Results
The framework was evaluated using standard benchmarks (MNIST, CIFAR-10/100, ImageNet) across various architectures (LeNet, ResNet, VGG).
Key findings include:
- Computation Efficiency: For ResNet-110 on CIFAR-10, the framework achieved 68% computation savings with zero accuracy loss. When combined with quantization, savings reached 96% with less than 0.1% accuracy degradation.
- Hardware Performance: On an NVIDIA Jetson TX2, the method extended battery life by 2.5x to 3.1x. On an MSP432 microcontroller, it saved 74% of energy while slightly improving accuracy by focusing on high-value data.
- Comparison: As shown in the performance plots, EIF consistently outperforms baseline methods like SMD, SMB, and OHEM in the accuracy-computation trade-off space.
Conclusion
By addressing redundancy in training data and insignificance in error propagation, this dual-strategy framework enables efficient on-device CNN training. While the filter network introduces a small overhead, the overall gains in energy efficiency and battery life are substantial. Future work may explore finer-grained pruning and the long-term stability of these filters in continuous learning scenarios.
Summary updated