Hierarchical Memory Pool Based Edge Semi-Supervised Continual Learning Method

Xiangwei Wang, Rui Han, Chi Harold LiuarXiv 2023 · DOI

Introduction

Deep learning models deployed on edge devices, such as autonomous drones or IoT sensors, face the dual challenge of catastrophic forgetting and extreme resource constraints. While Continual Learning (CL) aims to preserve knowledge across sequential tasks, existing methods often rely on large labeled datasets or computationally expensive generative models. On the edge, data is predominantly unlabeled, and hardware limitations in RAM and power make traditional semi-supervised CL approaches impractical.

Researchers from the Beijing Institute of Technology have introduced EdgeHML (Edge Hierarchical Memory Learner), a framework specifically optimized for semi-supervised continual learning on resource-constrained hardware. EdgeHML enables devices to learn continuously from a stream of mostly unlabeled data, achieving up to a 16% accuracy boost over traditional methods while significantly reducing training time.

Methodology: EdgeHML Framework

EdgeHML introduces two core innovations to manage data and computation efficiently: the Hierarchical Memory Pool and a Progressive Learning Strategy.

The EdgeHML system architecture manages data across sequential tasks using a hierarchical memory structure.

Hierarchical Memory Pool (HMP)

To overcome the limitations of small RAM buffers, EdgeHML utilizes a two-tier storage architecture. A large, cost-effective Disk-Level Pool (e.g., flash memory) stores a vast number of high-confidence unlabeled samples along with their pseudo-labels. A smaller, high-speed Memory-Level Pool (RAM) holds the most critical samples for active training. Between tasks, the system performs an offline shuffle, evaluating the "influence" of samples in the disk pool and migrating the most valuable ones to the RAM. This strategy ensures the model replays the most informative historical data without exceeding RAM limits.

Progressive Learning Strategy

Training on unlabeled data is computationally intensive and can be noisy if the model is unstable. EdgeHML employs a Cosine-based weighting function to regulate the unsupervised learning component. Initially, the model focuses on the few available labeled samples to establish a stable baseline. As training progresses, the weight of unlabeled data gradually increases. By skipping unsupervised calculations during the initial "warm-up" phase, EdgeHML reduces total compute cycles and improves pseudo-label quality.

Experimental Results

The framework was evaluated on three benchmarks: Split Semi CIFAR-10, CIFAR-100, and TinyImageNet, each configured with only 5 labeled samples per class.

Comparison of EdgeHML against baseline methods across three semi-supervised continual learning benchmarks.

Accuracy and Performance

EdgeHML demonstrates superior performance across all datasets. Notably, on the Split Semi CIFAR-100-5 benchmark, it achieved an accuracy of 52.59%, outperforming established methods like DER (36.24%) and PNN (33.71%) by a wide margin. This represents a significant leap in the ability of edge devices to retain knowledge with minimal supervision.

Efficiency on Edge Hardware

Validation on an NVIDIA Jetson AGX Orin confirmed the framework's efficiency. Compared to other semi-supervised baselines like DER+UDA, EdgeHML reduced training iterations by over 50%. This efficiency allows sophisticated AI to run on low-power hardware without sacrificing performance or battery life.

Conclusion

EdgeHML addresses the critical gap in edge AI by enabling continuous learning from unlabeled data streams. By leveraging hierarchical storage and a progressive training schedule, it achieves state-of-the-art accuracy while maintaining a low computational footprint. Future work will focus on extending the framework to domain-incremental scenarios and optimizing memory structures for diverse data modalities like video and audio.

Summary updated

BibTeX
@misc{wang2023hierarchical,
  author = {Xiangwei Wang and Rui Han and Chi Harold Liu},
  title = {{Hierarchical Memory Pool Based Edge Semi-Supervised Continual Learning Method}},
  year = {2023},
  eprint = {2303.11952},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2303.11952},
}
Figure