GEM: Memory-Augmented Learning's Gradient Guard

Gradient Episodic Memory (GEM) is a continual learning algorithm that addresses catastrophic forgetting by utilizing an episodic memory buffer to store a subset of past task examples. It employs a constrained optimization routine to project gradient updates for new tasks, ensuring that the loss on previous tasks does not increase. This method supports both knowledge retention and positive transfer across sequential tasks. [1, 4, 5, 8, 23]

The top 3

  1. Catastrophic Forgetting: The Core Problem GEM Addresses: Gradient Episodic Memory (GEM) was developed to combat catastrophic forgetting, a phenomenon where neural networks lose previously acquired knowledge when sequentially trained on new tasks. This leads to severe performance degradation on older tasks, a critical challenge in continual learning.
  2. GEM's Gradient Projection: How it Guards Against Forgetting: GEM prevents forgetting by combining episodic memory buffers with a constrained optimization routine. It projects gradient updates for new tasks to ensure they do not increase the loss on examples from prior tasks stored in memory, thus preserving old knowledge while learning new information.
  3. GEM vs. A-GEM: Efficiency vs. Rigor in Forgetting Prevention: While GEM provides strong guarantees against catastrophic forgetting, its variant, Averaged GEM (A-GEM), offers a more computationally efficient approach. A-GEM simplifies GEM's per-task gradient constraints to a single averaged constraint, significantly reducing memory and computational cost with comparable performance.

Sources

Open the full topic