[Paper Review] Overcoming catastrophic forgetting problem by weight consolidation and long-term memory
This paper proposes a novel approach to mitigate catastrophic forgetting in continual learning by combining adversarial memory units with Elastic Weight Consolidation (EWC). By storing the intersection of adversarial subspaces—representing abstract, high-level features of prior tasks—into memory units, the model preserves old knowledge while learning new tasks, achieving 94.53% accuracy on task 1 after sequential learning of MNIST digits, significantly outperforming EWC and plain gradient descent.
Sequential learning of multiple tasks in artificial neural networks using gradient descent leads to catastrophic forgetting, whereby previously learned knowledge is erased during learning of new, disjoint knowledge. Here, we propose a new approach to sequential learning which leverages the recent discovery of adversarial examples. We use adversarial subspaces from previous tasks to enable learning of new tasks with less interference. We apply our method to sequentially learning to classify digits 0, 1, 2 (task 1), 4, 5, 6, (task 2), and 7, 8, 9 (task 3) in MNIST (disjoint MNIST task). We compare and combine our Adversarial Direction (AD) method with the recently proposed Elastic Weight Consolidation (EWC) method for sequential learning. We train each task for 20 epochs, which yields good initial performance (99.24% correct task 1 performance). After training task 2, and then task 3, both plain gradient descent (PGD) and EWC largely forget task 1 (task 1 accuracy 32.95% for PGD and 41.02% for EWC), while our combined approach (AD+EWC) still achieves 94.53% correct on task 1. We obtain similar results with a much more difficult disjoint CIFAR10 task, which to our knowledge had not been attempted before (70.10% initial task 1 performance, 67.73% after learning tasks 2 and 3 for AD+EWC, while PGD and EWC both fall to chance level). Our results suggest that AD+EWC can provide better sequential learning performance than either PGD or EWC.
Motivation & Objective
- To address catastrophic forgetting in sequential learning of disjoint tasks using deep neural networks.
- To overcome the limitation of EWC, which restricts learning to a local region around previous task optima and may miss better joint minima.
- To leverage adversarial subspaces as a high-level, abstract representation of old task knowledge for long-term memory storage.
- To enable effective continual learning without replaying old data or freezing network parameters.
- To demonstrate scalability and robustness on both MNIST and CIFAR10 disjoint task benchmarks.
Proposed method
- Introduce memory units in each neuron to store adversarial gradients, representing the intersection of adversarial subspaces across all classes of a task.
- Use the fast gradient sign method to compute adversarial directions and embed them into memory units as a compact, high-level representation of old task knowledge.
- Combine memory unit activations with standard network weights and EWC regularization to form new parameter spaces ($\beta$ and $\gamma$) that support better joint optimization.
- Apply EWC to regularize parameters based on their importance to previous tasks, while using adversarial memory to stabilize learning on old tasks.
- Use sigmoid cross-entropy loss to allow task-specific gradient flow and reduce interference between disjoint tasks.
- Train each task for 20 epochs and evaluate performance on all previous tasks to measure forgetting.
Experimental results
Research questions
- RQ1Can adversarial subspaces be used as a stable, high-level representation of old task knowledge to prevent catastrophic forgetting?
- RQ2Does combining adversarial memory with EWC improve continual learning performance compared to EWC or plain SGD?
- RQ3Can the method generalize to difficult, disjoint task benchmarks like CIFAR10 without data replay?
- RQ4How does the use of sigmoid cross-entropy loss affect performance in disjoint task settings?
- RQ5Can memory units enable effective retrieval of old task knowledge without parameter freezing or data replay?
Key findings
- The AD+EWC method achieved 94.53% accuracy on task 1 (digits 0–2) after training on tasks 2 (4–6) and 3 (7–9) in disjoint MNIST, significantly outperforming PGD (32.95%) and EWC (41.02%).
- On the more challenging disjoint CIFAR10 task, AD+EWC maintained 67.73% accuracy on task 1 after sequential training, while PGD and EWC both dropped to chance level.
- AD alone achieved 100% accuracy on task 1 due to frozen weights but failed on later tasks, showing that memory alone is insufficient without adaptive learning.
- The method worked effectively in both shared and individual output settings, unlike EWC and PGD, which failed under individual outputs due to label confusion.
- Using sigmoid cross-entropy loss improved performance by enabling task-specific gradient flow, though convergence was slower without convolutional structures.
- The intersection of adversarial subspaces forms a scalable, abstract long-term memory representation that enables effective continual learning without data replay.
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.