[Paper Review] Improving Task-free Continual Learning by Distributionally Robust Memory Evolution
This paper proposes a distributionally robust optimization (DRO) framework for task-free continual learning that dynamically evolves memory data distributions using Wasserstein gradient flow (WGF) to reduce overfitting and improve robustness. By optimizing for worst-case performance under evolving memory distributions, the method significantly reduces forgetting and enhances robustness to adversarial examples, outperforming baselines by 4–12% on PGD attacks and maintaining accuracy under strong Carlini & Wagner attacks.
Task-free continual learning (CL) aims to learn a non-stationary data stream without explicit task definitions and not forget previous knowledge. The widely adopted memory replay approach could gradually become less effective for long data streams, as the model may memorize the stored examples and overfit the memory buffer. Second, existing methods overlook the high uncertainty in the memory data distribution since there is a big gap between the memory data distribution and the distribution of all the previous data examples. To address these problems, for the first time, we propose a principled memory evolution framework to dynamically evolve the memory data distribution by making the memory buffer gradually harder to be memorized with distributionally robust optimization (DRO). We then derive a family of methods to evolve the memory buffer data in the continuous probability measure space with Wasserstein gradient flow (WGF). The proposed DRO is w.r.t the worst-case evolved memory data distribution, thus guarantees the model performance and learns significantly more robust features than existing memory-replay-based methods. Extensive experiments on existing benchmarks demonstrate the effectiveness of the proposed methods for alleviating forgetting. As a by-product of the proposed framework, our method is more robust to adversarial examples than existing task-free CL methods. Code is available on GitHub \url{https://github.com/joey-wang123/DRO-Task-free}
Motivation & Objective
- Address the problem of memory overfitting in task-free continual learning, where models memorize fixed memory buffers and lose prior knowledge.
- Reduce the distributional gap between memory data and the true distribution of all past data, which is often ignored in existing methods.
- Improve model robustness to adversarial examples by optimizing for worst-case performance under evolving memory distributions.
- Develop a principled, dynamic memory evolution framework that is general, flexible, and extendable to various memory update strategies.
- Ensure performance guarantees under high uncertainty in memory data distribution by leveraging distributionally robust optimization.
Proposed method
- Formulate a dynamic DRO objective that minimizes worst-case performance over evolved memory distributions within a neighborhood of the initial memory distribution.
- Model memory evolution as a continuous process in the probability measure space using Wasserstein gradient flow (WGF), enabling gradient-based optimization in infinite-dimensional space.
- Derive three specific memory evolution methods: Langevin Dynamics (WGF-LD), Stein Variational Gradient Descent (WGF-SVGD), and Hamiltonian flow (WGF-HMC) for practical implementation.
- Define an energy functional combining forgetting measurement and distributional distance to guide the evolution of memory data toward the stationary distribution of past data.
- Use function gradient descent in the probability measure space to solve the infinite-dimensional optimization problem via continuous dynamics.
- Integrate the evolved memory into standard experience replay (ER) or memory-incremental replay (MIR) frameworks for training.
Experimental results
Research questions
- RQ1Can dynamic memory distribution evolution via DRO significantly reduce catastrophic forgetting in task-free continual learning?
- RQ2Does optimizing for worst-case performance under evolving memory distributions improve robustness to adversarial examples?
- RQ3How does the distributional gap between memory data and full data distribution affect model generalization in continual learning?
- RQ4Can WGF-based memory evolution generate harder, more diverse memory samples that resist memorization?
- RQ5How do different WGF-based evolution strategies (e.g., LD, SVGD, HMC) compare in performance and robustness?
Key findings
- The proposed method outperforms standard experience replay (ER) by 4%–12% on PGD ℓ∞ attacks across CIFAR-10, CIFAR-100, and Mini-ImageNet.
- Under strong Carlini & Wagner attacks, ER baseline accuracy drops to 0%, while the proposed methods maintain 6.1%, 3.0%, and 3.1% accuracy on CIFAR-10, CIFAR-100, and Mini-ImageNet, respectively.
- WGF-HMC and WGF-LD show superior robustness compared to WGF-SVGD, likely due to better exploration of input space and generation of harder examples.
- Performance improves slightly with more evolution steps, with 5 steps chosen as a balance between efficiency and effectiveness.
- The method maintains consistent gains across different memory buffer sizes (e.g., 3000–10000), with WGF-LD and WGF-HMC outperforming ER and MIR baselines by 2–3% on average.
- The computational cost is 3–4 times higher than standard ER, but the framework is general and extendable for future efficiency improvements.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.