Skip to main content
QUICK REVIEW

[Paper Review] Online Continual Learning for Embedded Devices

Tyler L. Hayes, Christopher Kanan|arXiv (Cornell University)|Mar 21, 2022
Domain Adaptation and Few-Shot LearningComputer Science13 citations
TL;DR

This paper establishes practical criteria for online continual learning on resource-constrained embedded devices and evaluates seven algorithms using mobile-optimized CNNs across three high-resolution image datasets. It identifies SLDA and replay with 20% buffer as top performers in accuracy, generalization, and efficiency under real-world constraints like class-ordered data streams and low-shot learning.

ABSTRACT

Real-time on-device continual learning is needed for new applications such as home robots, user personalization on smartphones, and augmented/virtual reality headsets. However, this setting poses unique challenges: embedded devices have limited memory and compute capacity and conventional machine learning models suffer from catastrophic forgetting when updated on non-stationary data streams. While several online continual learning models have been developed, their effectiveness for embedded applications has not been rigorously studied. In this paper, we first identify criteria that online continual learners must meet to effectively perform real-time, on-device learning. We then study the efficacy of several online continual learning methods when used with mobile neural networks. We measure their performance, memory usage, compute requirements, and ability to generalize to out-of-domain inputs.

Motivation & Objective

  • Address the gap in evaluating online continual learning methods for real-world embedded applications with limited memory and compute.
  • Define essential criteria for effective on-device continual learning: online inference, order-agnostic learning, no task label dependency, and sample efficiency.
  • Systematically compare seven online continual learning algorithms on mobile CNNs under diverse data ordering and distribution scenarios.
  • Provide empirical baselines for future research in AR/VR, robotics, and personalization on edge devices.
  • Assess model performance, memory usage, computational cost, and out-of-domain generalization across multiple datasets.

Proposed method

  • Evaluate seven online continual learning methods—fine-tuning, replay (2% and 20% buffer), SLDA, Naive Bayes, SOvR, NCM, and Perceptron—on five mobile-optimized CNNs.
  • Use three high-resolution image classification datasets: OpenLORIS, Places-365, and Places-Long-Tail, to test performance under different data distributions.
  • Train models on data streams ordered both randomly (iid) and by class (worst-case for forgetting), measuring accuracy and generalization across both settings.
  • Compute harmonic mean (H-Mean) of iid and class-iid performance to assess robustness to data ordering, with higher H-Mean indicating better overall performance.
  • Measure memory and compute requirements to evaluate feasibility for embedded deployment.
  • Assess out-of-domain generalization and low-shot learning performance using few labeled examples per class.

Experimental results

Research questions

  • RQ1Which online continual learning algorithms perform best under real-world embedded constraints such as limited memory, compute, and non-iid data streams?
  • RQ2How do different continual learning methods generalize to out-of-domain inputs when trained on small, non-stationary data streams?
  • RQ3What is the trade-off between model accuracy, memory usage, and computational efficiency across different continual learning algorithms on mobile CNNs?
  • RQ4How does data ordering (e.g., class-ordered vs. shuffled) affect catastrophic forgetting and model performance in online continual learning?
  • RQ5Which methods show the strongest potential for deployment in real-time embedded applications like AR/VR headsets and personal robotics?

Key findings

  • SLDA achieved the highest harmonic mean accuracy (39.3) across all datasets and data orderings, demonstrating robustness to data ordering and strong generalization.
  • Replay with 20% buffer achieved the second-highest H-Mean (37.3), showing that experience replay remains effective even with limited memory on mobile models.
  • Fine-tuning and Perceptron performed poorly, with H-Mean values below 10, indicating severe catastrophic forgetting under non-iid data streams.
  • Methods like Naive Bayes and SOvR showed consistent but low performance (H-Mean 9.6–17.8), highlighting limitations in feature representation learning for complex visual tasks.
  • All methods showed degraded performance on low-shot learning scenarios compared to full-data training, indicating a need for more robust few-shot continual learning algorithms.
  • The study provides empirical baselines, with SLDA and 20% replay emerging as top candidates for deployment in embedded systems requiring real-time, on-device continual learning.

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.