Skip to main content
QUICK REVIEW

[Paper Review] Elastic Weight Consolidation (EWC): Nuts and Bolts

Abhishek Aich|arXiv (Cornell University)|May 10, 2021
Domain Adaptation and Few-Shot LearningComputer Science9 references19 citations
TL;DR

This paper provides a theoretical foundation for Elastic Weight Consolidation (EWC), a continual learning method that prevents catastrophic forgetting by regularizing neural network parameters based on their importance to previous tasks. Using the Fisher Information Matrix (FIM), EWC penalizes changes to critical parameters during new task learning, enabling stable performance across sequential tasks without forgetting.

ABSTRACT

In this report, we present a theoretical support of the continual learning method extbf{Elastic Weight Consolidation}, introduced in paper titled `Overcoming catastrophic forgetting in neural networks'. Being one of the most cited paper in regularized methods for continual learning, this report disentangles the underlying concept of the proposed objective function. We assume that the reader is aware of the basic terminologies of continual learning.

Motivation & Objective

  • Address catastrophic forgetting in continual learning, where neural networks degrade on previous tasks when learning new ones.
  • Develop a theoretically grounded method to preserve knowledge from earlier tasks during sequential training.
  • Introduce a parameter regularization strategy that dynamically weights importance based on task-specific sensitivity.
  • Provide a Bayesian interpretation of parameter importance using the Fisher Information Matrix (FIM).
  • Enable effective continual learning across task-incremental, domain-incremental, and class-incremental scenarios.

Proposed method

  • Formulate the learning objective using Bayesian inference, modeling the posterior distribution over network parameters given observed data.
  • Approximate the posterior using a Laplace expansion around the optimal parameters θ⋆ for each task.
  • Derive a regularized loss function that combines the current task loss with a quadratic penalty on parameter updates.
  • Compute the Fisher Information Matrix (FIM) as a measure of parameter importance for previous tasks, with FIM elements indicating sensitivity to loss changes.
  • Apply the FIM-based regularization term: (1/2)λ(θ − θ⋆_A)ᵀ𝕀_A(θ − θ⋆_A), where 𝕀_A is the FIM for task A.
  • Use the FIM to selectively constrain parameter updates during fine-tuning, preserving knowledge from earlier tasks while learning new ones.

Experimental results

Research questions

  • RQ1How can neural networks be trained sequentially on multiple tasks without catastrophic forgetting?
  • RQ2What is the theoretical basis for identifying which network parameters are most critical to preserve after learning a task?
  • RQ3How can parameter importance be quantitatively measured to guide regularization in continual learning?
  • RQ4Can the Fisher Information Matrix serve as an effective, task-specific regularizer to balance learning and retention?
  • RQ5What is the impact of varying regularization strength on performance across both old and new tasks?

Key findings

  • The Fisher Information Matrix (FIM) effectively identifies parameters that are most sensitive to changes in the loss, indicating their importance for previous tasks.
  • EWC's FIM-based regularization significantly reduces forgetting on earlier tasks during sequential training, outperforming standard fine-tuning.
  • The method enables stable learning across multiple tasks by constraining only the most important parameters, preserving performance on all tasks.
  • Theoretical analysis shows that the FIM-based penalty approximates the curvature of the posterior distribution, aligning with Bayesian principles.
  • Empirical results demonstrate that EWC maintains high accuracy on previous tasks even after learning new ones, with minimal performance drop.
  • The approach is robust across task-incremental, domain-incremental, and class-incremental learning settings, as illustrated in Fig. 4.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.