Introduction
Class Incremental Learning (CIL) presents a fundamental challenge in deep learning: how to teach a model new classes sequentially without causing it to forget previously learned ones. This phenomenon, known as catastrophic forgetting, typically occurs because the parameter updates required for new tasks overwrite the weights essential for old ones. While existing solutions often rely on complex knowledge distillation losses or architectural expansion, this paper introduces Merge-and-Bound (M&B), a "plug-and-play" strategy that mitigates forgetting by directly managing model weights in the parameter space.
Methodology
The M&B framework is built on three core pillars designed to balance stability (preserving old knowledge) and plasticity (learning new information) by keeping model updates within a shared functional region, or "loss basin."
1. Inter-task Weight Merging
To consolidate knowledge across the entire learning sequence, M&B maintains a "base model" that represents a moving average of weights from all previous tasks. After completing a new task $k$, the current model's weights are averaged with this base model. This ensures that the starting point for the next task $k+1$ is informed by the cumulative history of the model.
2. Intra-task Weight Merging
Within the training phase of a single task, M&B employs a technique similar to Stochastic Weight Averaging. By averaging multiple checkpoints along the training trajectory, the model is encouraged to find "flat minima." These regions of the loss landscape typically offer better generalization and are more robust to the distribution shifts inherent in incremental learning.
3. Bounded Model Updates
Weight averaging is most effective when the models being merged reside in the same loss basin. To enforce this, M&B introduces a hard constraint on weight displacement. During training, the total update from the base model is monitored; if the displacement exceeds a predefined radius $B$, the weights are projected back onto the boundary of this "B-ball." This prevents the model from drifting too far into regions where previous knowledge would be irrecoverably lost.
Experiments and Results
The researchers evaluated M&B by applying it to established CIL baselines like PODNet and AFC across standard benchmarks including CIFAR-100, ImageNet-100, and the full ImageNet-1000 dataset.
- Consistent Accuracy Boosts: M&B improved performance across all tested scenarios. For example, adding M&B to PODNet on CIFAR-100 (50 tasks) increased average incremental accuracy from 58.37% to 63.29%.
- Large-Scale Performance: On the challenging ImageNet-1000 benchmark, M&B boosted the AFC baseline from 66.39% to 69.51%.
- Resilience in Low-Memory Regimes: The method proved exceptionally effective when memory for exemplars was limited. In tests with only one example per class, M&B outperformed standard baselines by margins of 6% to 11%.
- Efficiency: The computational overhead is minimal, as weight merging operations are extremely fast and only require a single post-training pass to update Batch Normalization statistics.
Conclusion
Merge-and-Bound demonstrates that direct weight manipulation is a highly effective and efficient way to combat catastrophic forgetting. By ensuring that sequential updates remain within a mathematically compatible region of the parameter space, M&B allows models to accumulate knowledge without the need for complex architectural changes or heavy computational costs. Future work may explore dynamic bounding strategies to further refine the balance between stability and plasticity.
Summary updated