Abstract
Continual Learning methods are designed to learn new tasks without erasing previous knowledge. However, Continual Learning often requires massive computational power and storage capacity for satisfactory performance. In this paper, we propose a resource-efficient continual learning method called the Elastic Expansion Network (E2Net). Leveraging core subnet distillation and precise replay sample selection, E2Net achieves superior average accuracy and diminished forgetting within the same computational and storage constraints, all while minimizing processing time. In E2Net, we propose Representative Network Distillation to identify the representative core subnet by assessing parameter quantity and output similarity with the working network, distilling analogous subnets within the working network to mitigate reliance on rehearsal buffers and facilitating knowledge transfer across previous tasks. To enhance storage resource utilization, we then propose Subnet Constraint Experience Replay to optimize rehearsal efficiency through a sample storage strategy based on the structures of representative networks. Extensive experiments conducted predominantly on cloud environments with diverse datasets and also spanning the edge environment demonstrate that E2Net consistently outperforms state-of-the-art methods. In addition, our method outperforms competitors in terms of both storage and computational requirements.
Introduction
Deep Neural Networks often suffer from Catastrophic Forgetting when learning tasks sequentially. Existing Continual Learning (CL) approaches generally fall into two categories: high-accuracy methods like Experience Replay (ER) and Knowledge Distillation (KD) that demand significant memory and compute, or low-cost methods that sacrifice performance. As AI moves toward edge deployment—on robots, drones, and mobile devices—there is a critical need for training efficiency without compromising accuracy.
E2Net addresses this by drawing inspiration from the human brain’s "contextual gating" mechanism. It filters irrelevant information to focus on task-relevant parameters, thereby reducing redundancy in the student model, teacher model, and rehearsal buffer.
Methodology
E2Net optimizes resource usage across three primary dimensions:
1. Student Model Compression
Rather than updating the entire network for every task, E2Net employs a cosine annealing algorithm to incrementally allocate learnable parameters (filter groups). Initially, only a small portion of the model is active. As new tasks are introduced, additional parameters are unlocked. This strategy maintains low FLOPs for forward and backward propagation during the early stages of the learning lifecycle.
2. Teacher Model Pruning (Representative Network Distillation)
Standard distillation uses the full model from the previous task as a teacher. E2Net identifies a "Teacher Subnet" through evolutionary search, pruning redundant components. Distillation is then restricted to this compact subnet and its corresponding structure in the student model. This significantly reduces the number of parameters involved in the distillation loss calculation.
3. Teacher-aware Reservoir Sampling (TRS)
To manage the rehearsal buffer efficiently, E2Net introduces Teacher-aware Reservoir Sampling (TRS), also known as Subnet Constraint Experience Replay. This strategy selects samples based on the "knowledge retention capability" of the teacher subnet. By using a probabilistic approach to retain the most informative samples, E2Net optimizes storage utilization and rehearsal efficiency.
Experimental Evaluation
The framework was evaluated on standard CL benchmarks: Split CIFAR-10, Split CIFAR-100, and Split Tiny ImageNet. To validate its utility for edge intelligence, benchmarks were also conducted on the NVIDIA Jetson TX2.
Key Results
- Accuracy: On Split CIFAR-10 (Class-IL), E2Net achieved 75.68% accuracy, outperforming SCoMMER by 0.7% and DER++ by nearly 3%.
- Computational Efficiency: E2Net reduced training FLOPs by 12% compared to standard ER. On Split CIFAR-100, it required only 4.6 x 10¹⁵ FLOPs, compared to 11.1 x 10¹⁵ for ER and 13.9 x 10¹⁵ for DER++.
- Hardware Performance: On the Jetson TX2, E2Net maintained superior accuracy across various buffer sizes, demonstrating its suitability for power-constrained hardware.
Conclusion
E2Net demonstrates that high-performance continual learning does not necessitate massive computational overhead. By pruning teacher models into essential subnets and dynamically expanding the student model, E2Net achieves state-of-the-art results with significantly reduced FLOPs and memory requirements. Future work will explore extending these principles to Transformer architectures and reinforcement learning scenarios.
Summary updated