Fisher Information: EWC's Key to Selective Forgetting Defense
EWC combats catastrophic forgetting by adding a quadratic penalty to the loss function, weighted by the Fisher Information Matrix (FIM). The FIM quantifies each neural network weight's importance for previously learned tasks, allowing EWC to selectively slow down changes to crucial parameters.
The top 3
- EWC's Core Formula for Selective Forgetting Defense: Elastic Weight Consolidation (EWC) integrates Fisher Information (F_i) into its loss function as a quadratic penalty: λ/2 * F_i * (θ_i - θ*_A,i)^2. This term selectively penalizes changes to network parameters (θ_i) that were crucial for previous tasks (θ*_A,i), with F_i quantifying each parameter's importance [1, 7, 8].
- Fisher Information: The Computational Challenge: While the true Fisher Information Matrix (FIM) provides a theoretically robust measure of parameter importance, its exact computation is often prohibitively expensive. EWC commonly employs a diagonal approximation of the FIM, estimated by averaging squared gradients across mini-batches, which is more computationally feasible but can reduce regularization accuracy [1, 3, 4, 14].
- Bayesian Roots: Fisher Information as Parameter Prior: EWC's foundation lies in Bayesian principles, treating knowledge from previously learned tasks as a prior distribution for the network's parameters. The Fisher Information Matrix serves to approximate the covariance of this Gaussian posterior distribution for the optimal weights, effectively guiding new learning by preserving the 'memory' of past tasks [2, 3, 12].
Sources
Open the full topic