Abstract
Data-Free Class Incremental Learning (DFCIL) presents a significant challenge in deep learning: learning new tasks sequentially without access to original training data for previous classes. Existing methods often struggle with the "domain gap" between real new data and synthetic old data generated via model inversion. We present R-DFCIL (Relation-Guided DFCIL), a framework that decouples representation learning from classification. By leveraging Relational Knowledge Distillation (RKD), R-DFCIL preserves the structural relationships between data points in the feature space rather than just individual sample outputs. Experimental results on CIFAR100, Tiny-ImageNet200, and ImageNet100 demonstrate that R-DFCIL achieves new state-of-the-art performance, with accuracy improvements of up to 9.8% over previous methods.
Introduction
Deep learning models are notoriously prone to catastrophic forgetting, where learning new information causes the erasure of previously acquired knowledge. While Class-Incremental Learning (CIL) addresses this by maintaining a small memory buffer of old data, privacy and storage constraints often make this impossible. Data-Free CIL (DFCIL) is a more restrictive setting where no original data is preserved.
Current DFCIL approaches typically rely on model inversion to synthesize images of old classes. However, these synthetic images often exhibit a significant domain gap compared to real images. This discrepancy leads the model to learn features that distinguish "real" from "synthetic" rather than semantic features, ultimately degrading performance. R-DFCIL addresses this by focusing on the relationships between data points, bridging the domain gap through structural consistency.
Methodology
The R-DFCIL framework decomposes the incremental learning process into three distinct stages designed to balance stability (retaining old knowledge) and plasticity (learning new tasks).
1. Image Synthesis
To compensate for the lack of original data, the previous model version is used to synthesize images for old classes via model inversion. These synthetic samples serve as a proxy for the forgotten data.
2. Relation-Guided Representation Learning (RRL)
This stage is the core of the R-DFCIL approach. Instead of standard distillation which matches individual outputs, R-DFCIL employs Relational Knowledge Distillation (RKD). RKD transfers the structural relations—specifically distances and angles between data points in the feature space—from the old (frozen) model to the current model.
- Hard Knowledge Distillation (HKD): Applied to synthetic data to maintain stability.
- Local Classification Loss (LCE): Applied only to new classes. This prevents the domain gap of synthetic data from "polluting" the feature extractor, as the model is not forced to directly compare real and synthetic samples during feature learning.
3. Classification Head Refinement (CHR)
After the feature extractor is trained, it is frozen. The final classification layer is then fine-tuned using a global, class-balanced loss. This step refines the decision boundaries between old and new classes, specifically addressing the data imbalance between real new samples and synthetic old samples.
Experimental Evaluation
The authors evaluated R-DFCIL on three standard computer vision benchmarks: CIFAR100, Tiny-ImageNet200, and ImageNet100, using various incremental task protocols (5, 10, 20, or 26 tasks).
Key Results
R-DFCIL consistently outperformed the previous state-of-the-art method (ABD) across all benchmarks:
- CIFAR100: Accuracy gain of 8.46% in the 20-task scenario.
- Tiny-ImageNet200: Accuracy gain of 9.23%.
- ImageNet100: Accuracy gain of 9.88%.
Ablation studies confirmed that RKD is critical; removing the relational component led to a significant drop in final incremental accuracy (from ~30% to ~21% on CIFAR100).
Conclusion
R-DFCIL demonstrates that preserving the structural relationships between data points is more effective for DFCIL than focusing on individual sample outputs. By decoupling representation learning and using local losses, the framework successfully mitigates the domain gap between real and synthetic data. While the computational overhead of image synthesis remains a challenge, R-DFCIL sets a new benchmark for data-free incremental learning.
Summary updated