Abstract
Class-incremental learning (CIL) aims to update models with new tasks without forgetting previously learned knowledge. While regularization-based methods offer a memory-free solution, they often struggle with fine-grained categories. This paper introduces Memory-Free Generative Replay (MFGR), a strategy that preserves old class characteristics by generating representative synthetic images. By incorporating a novel diversity loss to prevent sample homogenization, MFGR maintains discriminative boundaries for similar classes. Experiments across multiple benchmarks demonstrate that MFGR significantly outperforms existing memory-free methods, particularly in fine-grained scenarios.
1. Introduction: The Fine-Grained Forgetting Problem
In Class-Incremental Learning, the primary challenge is catastrophic forgetting—the tendency of a model to lose previously learned information when trained on new data. Regularization-based methods, such as Learning without Forgetting (LwF), attempt to solve this by keeping the model's outputs for old classes stable while learning new ones. However, these methods have a critical "Achilles' Heel": they fail when old classes are fine-grained (e.g., distinguishing a "boy" from a "girl").
As illustrated in Figure 1, when a new class (like "camel") is projected onto the feature space of old classes, the resulting soft labels for similar categories (boy, girl, man) are nearly identical. Because the model lacks "hard" examples of the old classes to maintain specific decision boundaries, it gradually loses the ability to distinguish between these similar categories.
2. Methodology: The MFGR Framework
To address the limitations of soft-label regularization, we propose Memory-Free Generative Replay (MFGR). Instead of storing a subset of original images (which raises privacy and storage concerns), MFGR trains a generator to "dream up" diverse, representative images of old classes.
The framework operates in two distinct stages:
- Knowledge Recording: A Generator Network is trained to synthesize images that "excite" the old, frozen model. We utilize Batch Normalization (BN) statistics stored within the old model to ensure the synthetic images match the original data distribution. To solve the common problem of "homogenization" (where a generator produces the same image repeatedly), we introduce a Diversity Loss that maximizes the Kullback–Leibler (KL) divergence between generated samples.
- Knowledge Inheritance: The new model is trained using a balanced mix of real images from the new task and the synthetic "hallucinated" images of the old tasks. This generative replay reinforces the boundaries between similar old classes, acting as a privacy-preserving proxy for original data.
3. Experimental Results and Insights
The researchers evaluated MFGR on four standard benchmarks: CUB-200-2011 (fine-grained birds), Caltech-101, CIFAR-100, and Tiny ImageNet.
Key findings include:
- Superiority in Fine-Grained Tasks: On the CUB-200 bird dataset, MFGR improved the accuracy of old classes by 5.99% compared to the LwF baseline.
- State-of-the-Art Performance: Across CIFAR-100 and Tiny ImageNet, MFGR consistently outperformed other memory-free competitors like MAS, LwM, and MUC.
- The Importance of Diversity: Without the diversity loss, the generator collapses into producing repetitive samples, providing a poor training signal. By forcing the generator to be "creative," the model receives a much richer signal, allowing it to outperform previous data-free distillation methods.
4. Conclusion
MFGR provides a robust path forward for incremental learning in privacy-sensitive applications. By generating images from model weights rather than storing them, it preserves the subtle nuances of fine-grained categories that traditional memory-free methods often lose. While a performance gap still exists compared to "Oracle" models with full data access, MFGR represents a significant step toward efficient, memory-free AI that remembers the fine details.
Summary updated