TL;DR
This paper introduces a novel "self-paced imbalance rectification" (SIR) scheme to address the critical challenge of catastrophic forgetting in class incremental learning (CIL). SIR dynamically balances learning new classes with retaining knowledge of old ones by employing a frequency compensation strategy and an inheritance transfer strategy, leading to more stable and significantly improved performance.
What Problem Does This Paper Address?
Class Incremental Learning (CIL) aims to enable machine learning models to learn new classes sequentially without forgetting previously learned ones. This is crucial for real-world applications where data arrives continuously. A major hurdle is "catastrophic forgetting," where models drastically degrade their performance on old classes after learning new ones. While exemplar-based methods, which store a small subset of old data, help mitigate this, they struggle with the imbalance between new and old class samples. This imbalance, especially when the number of stored exemplars fluctuates, leads to unstable optimization and biased learning towards new, high-frequency classes. Existing methods often focus on adjusting decision boundaries or fixing representations, but this paper argues for a more fundamental approach: rectifying the representation learning process itself.
Methods
The proposed Self-Paced Imbalance Rectification (SIR) scheme tackles the CIL problem through three main components:
- Frequency Compensation Strategy (FCS): This strategy addresses the bias towards new classes that arises from their higher frequency in training data. It dynamically adjusts the "logits margin" (a score used in classification) between old and new classes. By inverting the ratio of old to new samples and incorporating it into the loss function, FCS strengthens the representation of older classes.
- Inheritance Transfer Strategy (ITS): This component aims to correct the bias inherited from the previous model's parameters. It quantifies the similarity between old and new class representations in the embedding space. By leveraging this similarity, ITS augments the logits of new classes to reduce confusion with similar old classes, leading to more discriminative features.
- Chronological Attenuation Mechanism: To prevent over-optimization of very old classes across multiple incremental steps, this mechanism attenuates the final scores based on the chronological order of learning. This helps maintain the reliability of the incremental process.
Datasets
The paper evaluates its method on three standard datasets for CIL:
- CIFAR-100: A widely used dataset with 100 classes.
- ImageNet-Subset (ImageNet100): A subset of ImageNet containing 100 classes.
- ImageNet-Full (ImageNet1K): The full ImageNet dataset with 1000 classes.
The experiments are conducted following established protocols, splitting classes into initial training sets and then incrementally adding remaining classes in splits of 5 and 10 steps.
Key Insights and Ideas
- Representation learning is key: The paper strongly advocates that simply adjusting decision boundaries isn't enough for robust CIL. The core issue lies in how the model learns and represents data, and rectifying this representation learning process is crucial.
- Frequency imbalance is a major driver of forgetting: The paper highlights that the varying ratio of new to old samples directly impacts gradient contributions, leading to a bias that exacerbates forgetting.
- Inherited bias is a significant problem: Initializing a new phase with parameters from a previous one introduces a bias that can be difficult to overcome, especially when new and old classes are similar in the embedding space.
- Similarity-guided regularization: Quantifying class similarities in the embedding space and using this information to guide the learning of new classes is an effective way to reduce confusion.
- Chronological order matters for stability: As learning progresses through many incremental steps, older classes can become overly protected. Attenuating their influence based on their learning order helps maintain a balanced learning process.
Key Results
The proposed SIR method demonstrates significant improvements across various benchmarks and settings:
- Improved Accuracy: SIR achieves substantial gains in Average Memory Accuracy (AMA), with an average improvement of 8 and 5 points on CIFAR-100 and ImageNet-Subset, respectively, compared to state-of-the-art methods.
- Enhanced Stability: The method also shows improved stability, measured by Average Memory Forgetting (AMF), with average improvements of 9 and 5 points on the same datasets.
- Robustness to Exemplar Count: SIR is particularly effective when the number of exemplars is small, showing a significant boost in performance (e.g., 29.84% on CIFAR-100 and 22.27% on ImageNet-Subset when exemplars are reduced to 1).
- Generalization: The method shows good generalization to larger datasets like ImageNet-Full, achieving average improvements of 6 and 5 points on AMA and AMF metrics.
- Ablation Studies: The paper's ablation studies confirm the effectiveness of individual components: ITS improves performance by 2.01%, FCS by 5.8%, and the combined SIR by 6.64%. Chronological attenuation adds a further 0.9% improvement.
Limitations and Future Work
- Memory Constraints: While the paper addresses the variation in memory capacity, it still relies on exemplar storage. The challenge of extremely limited or no memory for exemplars is not fully explored.
- Computational Cost: The proposed strategies, particularly ITS which involves calculating class similarities, might add computational overhead. The paper mentions that the implementation is based on existing methods, suggesting a focus on efficiency, but further analysis might be needed.
- Future Work: The authors suggest that their method's effectiveness in stabilizing incremental representation learning under varying memory capacity opens avenues for further research into more robust and efficient CIL techniques. The chronological attenuation mechanism also hints at exploring more sophisticated temporal regularization strategies.
Summary updated