TL;DR
This paper introduces Feature-oriented Continual Learning (FoCL), a novel framework for generative models that tackles catastrophic forgetting by regularizing in the feature space rather than the traditional parameter or image spaces. FoCL demonstrates faster adaptation and state-of-the-art performance in task incremental learning, while also proposing a new "forgetfulness score" for more nuanced evaluation.
What Problem Does This Paper Address?
Generative models, like GANs and VAEs, excel at creating realistic data but struggle in continual learning scenarios. In these scenarios, models must learn new tasks sequentially without forgetting previously acquired knowledge. This phenomenon, known as catastrophic forgetting, severely degrades performance on older tasks. Existing methods primarily address this by regularizing either the model's parameters (preventing them from changing too much) or the generated images themselves (replaying past data). However, parameter regularization can limit learning new information, and image-space regularization might capture irrelevant details. This paper aims to bridge this gap by proposing a more effective regularization strategy in the feature space.
Methods
The core innovation is Feature-oriented Continual Learning (FoCL). Instead of regularizing in the parameter or image space, FoCL imposes regularization on the feature representations learned by the model. This is achieved by introducing an encoder that maps images into a lower-dimensional feature space. The model is then trained to match these features across tasks.
FoCL offers three ways to construct this feature space:
- Adversarially learned encoder: An encoder is trained to produce features that are indistinguishable from features of previous tasks, using a minmax game with a discriminator.
- Distilled knowledge: Features are derived from an intermediate layer of the image discriminator.
- Prior knowledge: Features are extracted from a pre-trained model (e.g., VGG) on task-irrelevant data.
The paper also introduces a forgetfulness score to better evaluate how much a model forgets. This metric measures the difference in performance on a previous task before and after learning new tasks, offering a more direct assessment of forgetting than traditional metrics.
Datasets
The experiments were conducted on four benchmark datasets:
- MNIST: 28x28 grayscale images of handwritten digits.
- SVHN: 32x32 color images of house number digits.
- Fashion MNIST: 28x28 grayscale images of clothing items.
- CIFAR10: 32x32 color images across 10 object categories.
For each dataset, individual classes were treated as separate tasks.
Key Insights and Ideas
- Feature space regularization is effective: Regularizing in the feature space, rather than parameter or image space, leads to faster adaptation and better performance in continual learning for generative models.
- Feature space offers a more meaningful representation: Features capture more representative information than raw pixels, allowing the model to focus on essential task-specific and shared knowledge.
- Prior knowledge can boost performance: Using features from a pre-trained model can significantly improve performance, especially for certain datasets and tasks.
- Forgetfulness score provides a new perspective: The proposed forgetfulness score offers a more direct and nuanced evaluation of catastrophic forgetting, complementing existing metrics.
- FoCL shows promise for future learning: The learned features for the last task were found to be task-discriminative even without direct exposure, suggesting potential for zero-shot learning.
Key Results
- State-of-the-art performance: FoCL achieved state-of-the-art results in task incremental learning on several benchmark datasets, particularly for 10 sequential tasks (A10).
- Fashion MNIST Improvement: On Fashion MNIST, FoCL improved accuracy from 80.46% to 90.26% for A10.
- Faster Adaptation: FoCL demonstrated faster adaptation to distributional changes compared to image-space regularization.
- Forgetfulness Score: The forgetfulness score indicated that FoCL suffers less from forgetting as tasks progress, showing a more stable learning curve than previous methods. For example, on MNIST, FoCL had significantly better forgetfulness scores than average classification accuracy suggested.
- Combined Regularization (α-FoCL): Augmenting FoCL with image-space regularization (α-FoCL) further boosted performance, especially on datasets with high background variability like CIFAR10.
Limitations and Future Work
- Dataset Dependency: The effectiveness of using prior knowledge as a feature source was not generalizable across all datasets (e.g., not for MNIST) and not always scalable to more tasks.
- FID vs. Task Discriminativeness: While FoCL's features were more task-discriminative, this didn't always translate to better FID scores, suggesting a trade-off between fine-grained detail preservation and task representation.
- Future Work: The authors suggest exploring the use of learned task-descriptive features for zero-shot learning scenarios. They also highlight the importance of considering both classification accuracy and forgetfulness scores for a comprehensive evaluation of continual learning methods.
Summary updated