TL;DR
This paper introduces "EpochLoss," a novel sample removal strategy for Continual Learning (CL) that leverages synthetic data. By identifying and discarding uninformative samples based on their average loss over training epochs, EpochLoss enhances model efficiency, generalization, and robustness, even outperforming no data removal in many scenarios.
What Problem Does This Paper Address?
Continual Learning (CL) aims to train models on a sequence of tasks without forgetting previously learned ones. A major challenge is "catastrophic forgetting." Simultaneously, generative AI is producing vast amounts of synthetic data, raising questions about its utility in CL: can it replace natural data, and how much is needed? Existing CL methods often struggle with efficiency and robustness, especially when dealing with potentially noisy or malformed synthetic data. This paper bridges these gaps by investigating the role of synthetic data in CL and proposing a method to effectively filter training data, both natural and synthetic, to improve CL performance.
Methods
The core contribution is the EpochLoss sample removal strategy. This method works by:
- Loss-Based Scoring: During a non-adversarial training phase on a given task, the average loss of each individual sample is computed over a set number of epochs. Samples with consistently high average loss are deemed "uninformative" or potentially detrimental.
- Sample Selection and Removal: A specified percentage (r%) of samples with the highest average loss are removed from the training set, creating a pruned dataset.
- Adversarial Training: The model is then trained adversarially on this pruned dataset.
- Subnetwork Training: The model is structured into frozen (retaining past knowledge) and free (trainable) subnetworks. The free subnetwork is trained on the current task, and then a portion is frozen for the next task.
This approach is applied sequentially across tasks. The paper also explores different knowledge transfer strategies between tasks: either passing the entire model or only the informative subset of the previous task's model.
Datasets
The experiments utilize the GenImage dataset, a benchmark specifically designed for this research. It consists of six CL tasks derived from ImageNet classes. For each task, both synthetic and natural versions of the training data are created. The synthetic data is generated using various generative models, including ADM, BigGAN, Midjourney, Glide, Stable Diffusion, and VQDM. The paper also mentions using a subset of CIFAR-100 for specific comparisons.
Key Insights and Ideas
- Synthetic Data as a Viable CL Component: The research demonstrates that synthetic data can indeed be used to train models in a CL setting, and in some cases, it can even outperform natural data.
- The Power of Data Filtering: Simply removing uninformative samples, even without adversarial training, can significantly improve CL performance. The EpochLoss strategy is shown to be more effective than random removal or even a method inspired by CAPER.
- Generative Model Choice Matters: Not all synthetic data is created equal. The choice of generative model (e.g., ADM) can have a substantial impact on how well a model generalizes to natural data in a CL setting.
- Balancing Removal and Substitution: Combining sample removal (EpochLoss) with synthetic data substitution can yield better results than either technique alone, suggesting a synergistic effect.
- The "Expert" Generator: The success of certain generators like ADM might be due to them capturing core class features more effectively, acting like an "expert" model that transfers knowledge efficiently.
Key Results
- EpochLoss Outperforms Baselines: In both normal and adversarial CL settings, the proposed EpochLoss strategy consistently outperforms other removal methods and often the baseline scenario (no data removal).
- Robustness to Data Reduction: Even when removing up to 40% of training data, EpochLoss maintains or improves baseline accuracy, showcasing its efficiency.
- Synthetic Data Can Match/Exceed Natural Data: In specific scenarios (e.g., substituting task 1 with ADM-generated data), synthetic data achieved comparable or better normal and attacked accuracies than natural data.
- Generative Model Performance Varies: ADM-generated data consistently matched or exceeded natural data performance, while Midjourney and Glide showed poorer results, explaining why early task substitution with these models might initially improve performance but then lead to degradation.
Limitations and Future Work
- Impact of Removal on Overfitting/Generalization: The paper acknowledges that removing samples (either through EpochLoss or substitution) might inadvertently remove rare or challenging features, potentially leading to overfitting or generalization issues. This warrants further investigation.
- Investigating ADM's Success: The paper highlights ADM as a particularly effective generator and poses the question of what specific characteristics enable its superior performance compared to others.
- Fine-tuning EpochLoss for Substitution: While the paper shows improvements when combining EpochLoss with synthetic substitution, it notes that it's difficult to isolate the exact contribution of the filtering role. Further work could explore how to better adjust the sample removal process to account for the impact of substitution.
- Adapting Sample Removal for Substitution: The authors suggest that future work should investigate how to better inform the sample removal process to protect potentially informative samples that might have higher loss values, especially in the context of synthetic data.
Summary updated