[Paper Review] Improved Schemes for Episodic Memory-based Lifelong Learning
This paper proposes MEGA-i and MEGA-ii, novel episodic memory-based lifelong learning schemes that unify and improve upon GEM and A-GEM by introducing adaptive loss-balancing and gradient rotation. The methods significantly reduce catastrophic forgetting, achieving state-of-the-art performance with up to 18% error reduction on standard benchmarks like Permuted MNIST and Split CIFAR-100.
Current deep neural networks can achieve remarkable performance on a single task. However, when the deep neural network is continually trained on a sequence of tasks, it seems to gradually forget the previous learned knowledge. This phenomenon is referred to as extit{catastrophic forgetting} and motivates the field called lifelong learning. Recently, episodic memory based approaches such as GEM \cite{lopez2017gradient} and A-GEM \cite{chaudhry2018efficient} have shown remarkable performance. In this paper, we provide the first unified view of episodic memory based approaches from an optimization's perspective. This view leads to two improved schemes for episodic memory based lifelong learning, called MEGA-I and MEGA-II. MEGA-I and MEGA-II modulate the balance between old tasks and the new task by integrating the current gradient with the gradient computed on the episodic memory. Notably, we show that GEM and A-GEM are degenerate cases of MEGA-I and MEGA-II which consistently put the same emphasis on the current task, regardless of how the loss changes over time. Our proposed schemes address this issue by using novel loss-balancing updating rules, which drastically improve the performance over GEM and A-GEM. Extensive experimental results show that the proposed schemes significantly advance the state-of-the-art on four commonly used lifelong learning benchmarks, reducing the error by up to 18\%.
Motivation & Objective
- Address catastrophic forgetting in continual learning by unifying episodic memory-based approaches under a single optimization framework.
- Overcome the limitation of existing methods like GEM and A-GEM, which apply fixed emphasis on current tasks regardless of loss dynamics.
- Develop adaptive schemes that balance learning on old and new tasks using dynamic loss balancing and gradient modulation.
- Improve performance on standard lifelong learning benchmarks, particularly under low-data regimes per task.
- Provide a theoretical and empirical foundation for improved gradient updates in continual learning via a composite optimization objective.
Proposed method
- Formulate lifelong learning as a composite optimization problem with objectives for both current and past tasks.
- Introduce Mixed Stochastic Gradient (MEGA) by combining the current task gradient with gradients from episodic memory examples.
- Propose MEGA-i, which modulates the balance between old and new task gradients using adaptive loss-based weighting.
- Propose MEGA-ii, which further improves performance by rotating the current gradient based on episodic memory gradients and loss information.
- Use a loss-balancing rule that dynamically adjusts emphasis on old tasks based on how much the model's loss changes over time.
- Implement both schemes using one-step stochastic gradient descent with the MEGA update rule, enabling efficient training on sequential tasks.
Experimental results
Research questions
- RQ1How can episodic memory-based lifelong learning methods be unified under a single optimization framework?
- RQ2Why do existing methods like GEM and A-GEM underperform in dynamic loss scenarios, and what causes their fixed emphasis on current tasks?
- RQ3Can adaptive loss balancing and gradient rotation improve generalization and reduce forgetting in continual learning?
- RQ4How do MEGA-i and MEGA-ii compare to GEM and A-GEM in terms of accuracy and robustness across different benchmarks?
- RQ5What is the impact of limited examples per task on the performance of MEGA-i and MEGA-ii, and why does MEGA-ii outperform MEGA-i in such settings?
Key findings
- MEGA-ii achieves an average accuracy of 91.21% ± 0.10 on Permuted MNIST, a 2% improvement over the previous state-of-the-art.
- On Split CIFAR-100, MEGA-ii achieves 66.12% ± 1.93, representing a 5% improvement over the prior state-of-the-art method.
- MEGA-ii outperforms MEGA-i when the number of examples per task is limited, due to its adaptive gradient rotation and loss-balancing mechanism.
- The proposed schemes reduce error by up to 18% compared to baseline methods on four standard lifelong learning benchmarks.
- MEGA-i and MEGA-ii both outperform A-GEM across all datasets, with MEGA-ii showing consistent gains even when using a reference loss threshold.
- Ablation studies confirm that both gradient rotation and adaptive loss balancing contribute significantly to performance gains.
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.