[Paper Review] Localizing Catastrophic Forgetting in Neural Networks
This paper proposes a parameter-level localization method to quantify individual neural network weights' contributions to catastrophic forgetting during continual learning. Using a path integral-based approach, it reveals that last-layer dense weights contribute most to forgetting, especially in incremental class learning, offering new insights into forgetting mechanisms and validating prior observations about gradient dynamics in challenging continual learning scenarios.
Artificial neural networks (ANNs) suffer from catastrophic forgetting when trained on a sequence of tasks. While this phenomenon was studied in the past, there is only very limited recent research on this phenomenon. We propose a method for determining the contribution of individual parameters in an ANN to catastrophic forgetting. The method is used to analyze an ANNs response to three different continual learning scenarios.
Motivation & Objective
- To address the lack of research on the internal mechanisms of catastrophic forgetting in artificial neural networks.
- To develop a method that quantifies the contribution of individual parameters to forgetting, moving beyond scalar metrics like accuracy or loss.
- To analyze how different continual learning scenarios—incremental task learning (ITL), incremental domain learning (IDL), and incremental class learning (ICL)—affect parameter-level forgetting.
- To provide localized insights into which network components drive catastrophic forgetting, enabling better-informed mitigation strategies.
Proposed method
- The method uses a path integral approach to compute the contribution of each parameter to the change in loss during continual learning.
- It defines a loss contribution metric per parameter by integrating the gradient of the loss with respect to that parameter along the training trajectory.
- The approach enables per-parameter attribution of forgetting by measuring how much each weight or bias contributes to the increase in loss on previously learned tasks.
- The method is applied across three continual learning scenarios: ITL, IDL, and ICL, using a standard CNN architecture on benchmark datasets.
- Results are aggregated across 10 random initializations to ensure statistical robustness and report mean values with standard deviation.
- The analysis includes both weight matrices and bias vectors, with additional per-neuron/filter averaging to identify layer-wise patterns.
Experimental results
Research questions
- RQ1Which individual parameters in a neural network contribute most to catastrophic forgetting during continual learning?
- RQ2How does the contribution of parameters to forgetting vary across different continual learning scenarios (ITL, IDL, ICL)?
- RQ3Do last-layer parameters consistently show higher forgetting contributions, and if so, why?
- RQ4Can parameter-level localization reveal patterns that explain differences in forgetting severity between scenarios?
Key findings
- The last-layer dense weights contribute most to catastrophic forgetting, especially in incremental class learning (ICL), where they show the highest absolute change in loss.
- In ICL, the contribution of neurons/filters increases from the first to the last dense layer, contrasting with the more uniform distribution seen in ITL and IDL.
- Convolutional layers contribute less to forgetting than dense layers, with the second convolutional layer even showing an average loss decrease across scenarios.
- The variance in loss contribution is highest for ICL, particularly in the last layers, indicating greater instability and sensitivity in this scenario.
- The method supports prior observations that ICL induces more forgetting than IDL due to higher gradient magnitudes in the final layers, now localized to specific parameters.
- Bias vectors contribute minimally to forgetting compared to weight matrices, suggesting that weight updates are the primary driver of catastrophic forgetting.
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.