Abstract
In continual learning (CL), the goal is to design models that can learn a sequence of tasks without catastrophic forgetting. While there is a rich set of techniques for CL, relatively little understanding exists on how representations built by previous tasks benefit new tasks. This work establishes theoretical guarantees for Continual Representation Learning (CRL), showing that initial tasks with large sample sizes and high "representation diversity" significantly boost performance. We also propose Efficient Sparse PackNet (ESPN), which employs joint channel and weight pruning to ensure inference efficiency while retaining representation learning benefits.
Introduction
The primary challenge in continual learning is catastrophic forgetting, where learning a new task overwrites weights essential for previous ones. Architecture-based methods, such as PackNet, mitigate this by isolating tasks into specific subnetworks. However, two critical gaps remain: a theoretical understanding of how frozen features from old tasks assist new ones, and the computational bloat often associated with these "supernetworks." This work bridges these gaps by providing a rigorous theoretical framework for CRL and introducing a compute-efficient algorithm, ESPN.
Theoretical Insights: The Power of Diversity
A core contribution of this research is the formalization of how previously learned representations benefit future tasks. By modeling new tasks as a combination of a frozen feature map ($\phi_{frz}$) and a small set of new trainable weights ($\phi_{new}$), the authors proved that the "statistical cost" of learning is shared across tasks.
As shown in the figure above, the order of tasks is crucial. Learning a highly diverse task with a large sample size (like ImageNet-1k) early in the sequence builds a "rich" feature set. This universal toolbox minimizes "representational mismatch" for subsequent tasks, allowing them to be learned with significantly fewer samples. This "Curriculum Flip" suggests that starting with the most representative and diverse tasks—rather than the easiest ones—provides the strongest foundation for continual learning.
The ESPN Algorithm
To translate these theoretical findings into a practical, high-performance system, the authors developed Efficient Sparse PackNet (ESPN). ESPN improves upon standard parameter isolation methods through several key innovations:
- Joint Channel & Weight Pruning: Standard pruning often targets individual weights, which doesn't necessarily translate to hardware speedups. ESPN prunes entire channels (neurons), directly reducing the number of Floating Point Operations (FLOPs) required for inference.
- FLOP-aware Pruning: A novel regularization technique penalizes channels based on their actual computational cost, which varies depending on the layer's position in the network.
- Task-specific BatchNorm: By maintaining separate Batch Normalization layers for each task, the model can more effectively re-purpose frozen weights for new objectives.
Experimental Results
The researchers evaluated ESPN across various benchmarks, including SplitCIFAR100 and a sequence of diverse image tasks (CUBS, Stanford Cars, Flowers, WikiArt, and Sketch).
- Efficiency and Accuracy: ESPN-0.2, which utilizes only 20% of the original model's compute, achieved 89.1% accuracy on SplitCIFAR100. This outperformed standard PackNet and other baselines like CPG and RMN while being significantly faster.
- Compute Reduction: The method successfully slashed inference FLOPs by up to 80% with negligible impact on accuracy.
- Representation Transfer: On the RotatedMNIST benchmark, where tasks are semantically related, ESPN maintained high accuracy across 36 tasks, demonstrating successful leverage of learned representations. Conversely, on PermutedMNIST (where tasks are unrelated), accuracy dropped, proving the algorithm successfully exploits semantic structures.
Conclusion
This work provides a significant step toward data- and compute-efficient continual learning. By proving the importance of task diversity and sample size in building robust representations, it offers a theoretical basis for task ordering. Furthermore, the ESPN algorithm demonstrates that "zero-forgetting" can be achieved without sacrificing inference speed. Future research will explore adaptive schemes for task ordering and extending these joint pruning strategies to Transformer architectures.
Summary updated