[Paper Review] SparCL: Sparse Continual Learning on the Edge
SparCL proposes a novel framework for efficient continual learning on edge devices by integrating weight sparsity, data efficiency, and gradient sparsity through three core components: task-aware dynamic masking (TDM), dynamic data removal (DDR), and dynamic gradient masking (DGM). It achieves up to 23× less training FLOPs and improves state-of-the-art accuracy by up to 1.7%, while also demonstrating real-world viability on a mobile phone with 3.1× training acceleration and 51% memory reduction at 0.95 sparsity.
Existing work in continual learning (CL) focuses on mitigating catastrophic forgetting, i.e., model performance deterioration on past tasks when learning a new task. However, the training efficiency of a CL system is under-investigated, which limits the real-world application of CL systems under resource-limited scenarios. In this work, we propose a novel framework called Sparse Continual Learning(SparCL), which is the first study that leverages sparsity to enable cost-effective continual learning on edge devices. SparCL achieves both training acceleration and accuracy preservation through the synergy of three aspects: weight sparsity, data efficiency, and gradient sparsity. Specifically, we propose task-aware dynamic masking (TDM) to learn a sparse network throughout the entire CL process, dynamic data removal (DDR) to remove less informative training data, and dynamic gradient masking (DGM) to sparsify the gradient updates. Each of them not only improves efficiency, but also further mitigates catastrophic forgetting. SparCL consistently improves the training efficiency of existing state-of-the-art (SOTA) CL methods by at most 23X less training FLOPs, and, surprisingly, further improves the SOTA accuracy by at most 1.7%. SparCL also outperforms competitive baselines obtained from adapting SOTA sparse training methods to the CL setting in both efficiency and accuracy. We also evaluate the effectiveness of SparCL on a real mobile phone, further indicating the practical potential of our method.
Motivation & Objective
- To address the lack of training efficiency in continual learning (CL) systems, especially on resource-limited edge devices.
- To mitigate catastrophic forgetting while significantly improving training speed and reducing memory footprint in CL.
- To integrate sparsity into CL through a unified framework that enhances both efficiency and accuracy.
- To evaluate the framework on real mobile hardware to demonstrate practical deployability.
- To outperform existing CL methods and CL-adapted sparse training baselines in both efficiency and accuracy.
Proposed method
- Task-aware dynamic masking (TDM) dynamically maintains a sparse network by preserving only important weights for current and past tasks, with special handling during task transitions.
- Dynamic data removal (DDR) progressively eliminates 'easy-to-learn' examples from training, balancing current and buffered data and retaining only informative samples.
- Dynamic gradient masking (DGM) sparsifies gradient updates by selecting only a subset of weights for optimization, reducing computation and memory usage.
- The three components—TDM, DDR, and DGM—work synergistically to enable weight sparsity, data efficiency, and gradient sparsity simultaneously.
- The framework is compatible with existing rehearsal-based CL methods and can be applied to standard benchmarks like Split CIFAR10 and Split Tiny-ImageNet.
- On-device evaluation uses a Samsung Galaxy S20 with CPU-based training and CSR storage for compressed model deployment.
Experimental results
Research questions
- RQ1Can sparsity in weights, data, and gradients be jointly leveraged to accelerate continual learning without sacrificing accuracy?
- RQ2How does dynamic data removal affect model performance and training efficiency in continual learning?
- RQ3To what extent can dynamic gradient masking improve training speed and memory efficiency while preserving knowledge from previous tasks?
- RQ4Can a sparse continual learning framework outperform both standard SOTA CL methods and CL-adapted sparse training baselines in real-world edge deployment?
- RQ5What is the optimal balance of data removal proportion and cutoff timing for maximizing accuracy and efficiency?
Key findings
- SparCL reduces training FLOPs by up to 23× compared to DER++, a state-of-the-art CL method, across various sparsity ratios.
- The framework improves SOTA accuracy by up to 1.7% on Split Tiny-ImageNet, demonstrating that sparsity can enhance generalization.
- On a Samsung Galaxy S20 smartphone, SparCL achieves approximately 3.1× training acceleration at 0.95 sparsity and reduces memory footprint by 51%.
- DDR outperforms one-shot data removal by consistently maintaining higher accuracy, especially when removing up to 30% of data gradually.
- DGM improves both training efficiency and model accuracy across different sparsity levels, with optimal performance when the gradient sparsity proportion q is within a suitable range.
- Abllation studies confirm that all three components—TDM, DDR, and DGM—contribute independently and synergistically to both efficiency and accuracy gains.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.