Abstract
Real-time on-device continual learning is essential for emerging applications like home robotics, personalized mobile experiences, and augmented reality. However, these settings present significant challenges due to strict resource constraints and the non-stationary nature of streaming data. This paper establishes a framework for evaluating online continual learning on embedded hardware, benchmarking seven algorithms across multiple mobile-optimized neural networks to identify the most effective strategies for real-time deployment.
1. Introduction
Most machine learning models are static, trained on massive, shuffled datasets before deployment. In contrast, real-world agents like home robots or AR headsets encounter data as a continuous, non-stationary stream. Updating standard models on such data often leads to catastrophic forgetting, where new information overwrites previous knowledge.
While many continual learning (CL) algorithms exist, they frequently rely on batch updates or task labels—assumptions that fail on embedded devices with limited memory. This work focuses on online CL, where learning occurs instance-by-instance, requiring algorithms to be order-agnostic and computationally efficient.
2. Methodology
The study evaluates seven online CL algorithms: Fine-Tune (baseline), Nearest Class Mean (NCM), Streaming One-vs-Rest (SOvR), Streaming Linear Discriminant Analysis (SLDA), Streaming Gaussian Naive Bayes, Online Perceptron, and Experience Replay (using a small buffer).
To balance accuracy with resource constraints, the authors introduce NetScore, a metric incorporating classification efficacy, parameter count, and computational time. The evaluation utilizes five mobile-friendly backbone CNNs (e.g., MobileNet-v3, EfficientNet, ResNet-18). To minimize power consumption, the backbones remain frozen while only the final classification layer is updated.
3. Experimental Setup and Datasets
Three high-resolution datasets simulate real-world challenges:
- OpenLORIS: A robotic vision dataset featuring household objects under varying environmental conditions such as lighting, occlusion, and clutter.
- Places-365: A large-scale scene classification dataset testing scalability to hundreds of classes.
- Places-Long-Tail (Places-LT): A variant designed to test robustness against imbalanced class distributions.
4. Results and Discussion
Experimental results reveal several key insights for embedded CL:
- Simplicity and Robustness: Distance-based classifiers like SLDA and NCM are remarkably robust. SLDA, along with Replay (20 examples/class), achieved the highest raw accuracy (~95-97% on OpenLORIS).
- Efficiency King: NCM provided the best NetScore, offering an optimal trade-off between speed, memory, and accuracy, particularly in "low-shot" settings where models see very few examples per object.
- Backbone Selection: Contrary to common practice in CL research, EfficientNet-B0/B1 outperformed ResNet-18, providing superior features while consuming fewer resources.
- Buffer Impact: Even minimal experience replay (2 examples/class) significantly mitigates forgetting in gradient-based models, though at a higher memory cost than distance-based methods.
5. Conclusion
This research demonstrates that for real-time on-device learning, simple distance-based methods often outperform complex deep learning approaches. While frozen backbones prevent forgetting in feature extraction, they limit adaptation to entirely new domains. Future work should explore low-overhead methods for updating backbone representations and extending online learning to tasks like object detection and segmentation.
Summary updated