Introduction
Continual Learning (CL) represents a significant challenge in deep learning, where models must learn a sequence of tasks without suffering from "catastrophic forgetting"—the tendency to overwrite weights critical for previous tasks. Existing strategies typically fall into three categories: regularization-based methods, which constrain weight updates; replay-based methods, which store old data; and architectural methods, which expand the network. However, architectural methods often suffer from parameter explosion or inefficient iterative growth processes.
This paper introduces Robust Continual Learning through a Comprehensively Progressive Bayesian Neural Network (RCL-CPB). RCL-CPB utilizes a Bayesian framework to dynamically evolve its architecture, balancing resource recycling through pruning with a non-iterative neuron-addition strategy.
Methodology
The RCL-CPB framework is built upon a Bayesian Neural Network (BNN), where weights are represented as probability distributions. This allows for a principled measure of uncertainty and weight significance.
1. Weight Pruning via Signal-to-Noise Ratio (SNR)
Following the completion of a task, the model evaluates the SNR of its weights. Weights with low SNR are considered redundant and are pruned (re-initialized), freeing up capacity for subsequent tasks.
2. Dynamic Architecture Growth
When transitioning to a new task $t$, the model estimates the required number of additional neurons before training begins. This estimation is based on:
- Shared Representations: Evaluating how existing neurons respond to new data via pair-wise activations.
- Resource Fairness: Ensuring that tasks with similar complexity receive comparable network resources.
3. Hybrid Regularization and Replay
To further mitigate forgetting, RCL-CPB employs KL-divergence regularization to stabilize weight distributions and a small coreset for replay-based fine-tuning.
Experimental Evaluation
The authors benchmarked RCL-CPB against several standard datasets:
- Permuted MNIST and Split MNIST: Testing domain and class-incremental learning.
- Split CIFAR100: A 20-task sequence consisting of 5 classes each.
- Heterogeneous Sequence: A complex transition from MNIST to SVHN to CIFAR10.
Results and Discussion
RCL-CPB demonstrates a superior balance between accuracy and model compactness. On Task-Agnostic Split MNIST, it achieved 83.8% accuracy, a significant improvement over the 60.6% baseline. In the CIFAR100 multi-head setting, it reached 72.4% accuracy, outperforming VCL (67.6%) and PNN (59.2%).
A key advantage is efficiency. While Progressive Neural Networks (PNN) grow linearly, RCL-CPB adds neurons only as needed. For Permuted MNIST, PNN required [2560, 2560] neurons, whereas RCL-CPB achieved similar performance with only [126, 139] neurons. The SNR-based pruning effectively identifies weights that can be repurposed without losing prior knowledge, as evidenced by the stability of high-SNR weights across tasks.
Conclusion
RCL-CPB provides a robust framework for continual learning by combining the strengths of BNNs with a "comprehensively progressive" architectural strategy. By pruning redundancies and intelligently estimating growth, it avoids the parameter explosion typical of previous methods while maintaining state-of-the-art performance. Future work will explore extending these strategies to convolutional and recurrent architectures.
Summary updated