Skip to main content
QUICK REVIEW

[Paper Review] Dissecting Catastrophic Forgetting in Continual Learning by Deep Visualization

Giang Nguyen, Chen Shuan|arXiv (Cornell University)|Jan 6, 2020
Domain Adaptation and Few-Shot LearningComputer Science28 references8 citations
TL;DR

This paper introduces Auto DeepVis, a novel visualization-based method to dissect catastrophic forgetting in continual learning by identifying the most plastic (forgetting-prone) components in deep neural networks. By leveraging prediction difference analysis and IoU-based forgetting measurement, it pinpoints critical layers—particularly in ResNet-50’s block 3 and 4—that undergo significant activation shifts; the proposed critical freezing technique, which freezes only these layers, achieves superior performance on both old and new tasks, outperforming baselines.

ABSTRACT

Interpreting the behaviors of Deep Neural Networks (usually considered as a black box) is critical especially when they are now being widely adopted over diverse aspects of human life. Taking the advancements from Explainable Artificial Intelligent, this paper proposes a novel technique called Auto DeepVis to dissect catastrophic forgetting in continual learning. A new method to deal with catastrophic forgetting named critical freezing is also introduced upon investigating the dilemma by Auto DeepVis. Experiments on a captioning model meticulously present how catastrophic forgetting happens, particularly showing which components are forgetting or changing. The effectiveness of our technique is then assessed; and more precisely, critical freezing claims the best performance on both previous and coming tasks over baselines, proving the capability of the investigation. Our techniques could not only be supplementary to existing solutions for completely eradicating catastrophic forgetting for life-long learning but also explainable.

Motivation & Objective

  • To understand the internal mechanisms of catastrophic forgetting in deep neural networks during continual learning.
  • To develop a tool that visualizes and localizes forgetting at the component level (e.g., filters, blocks) rather than at the task or model level.
  • To identify the most plastic layers in a network that contribute most to forgetting during incremental learning.
  • To propose a targeted, explainable solution—critical freezing—that freezes only the most vulnerable components to reduce forgetting.
  • To validate the method on a complex vision-language task (image captioning) using Split MS-COCO, avoiding simplistic benchmarks.

Proposed method

  • Auto DeepVis uses Prediction Difference Analysis (PDA) to identify pixels that support or counteract a prediction, enabling visualization of feature changes across tasks.
  • It computes Intersection over Union (IoU) between activation maps of a model before and after learning a new task to quantify forgetting at each layer.
  • The method selects the filter with the highest IoU to the ground truth segmentation as the representative for each convolutional block, reducing computational cost while preserving interpretability.
  • For ResNet-50, it analyzes forgetting across 5 residual blocks, identifying block 3 and 4 as the most vulnerable to activation shifts.
  • Critical freezing is introduced as a targeted regularization strategy that freezes only the most plastic layers (e.g., block 3 and 4) identified via Auto DeepVis.
  • The decoder is dissected by freezing individual components (LSTM, embedding, linear layer) to assess their contribution to caption generation and forgetting.

Experimental results

Research questions

  • RQ1Which specific components (filters, layers, blocks) in a deep neural network are most responsible for catastrophic forgetting during continual learning?
  • RQ2How can we visualize and quantify forgetting at the component level rather than at the model or task level?
  • RQ3Can identifying and selectively freezing the most plastic layers lead to better performance on both previous and new tasks?
  • RQ4How do different decoder components (e.g., LSTM, linear layer) contribute to forgetting in image captioning models?
  • RQ5To what extent can explainable AI techniques like visualization improve the design of continual learning algorithms?

Key findings

  • Block 3 and block 4 of ResNet-50 exhibit the most severe forgetting, with IoU between activation maps dropping significantly compared to earlier blocks.
  • The IoU between $M_{24}$ and $M_{19}$ shows a sharp decline at block 3, indicating that this is the primary site of catastrophic forgetting.
  • Critical freezing—freezing only the most plastic layers—achieves the best performance on both past and future tasks, outperforming baseline freezing strategies.
  • The qualitative analysis shows that predictions remain nearly identical after critical freezing, with only minor misclassifications (e.g., American eagle vs. crane), both of which are birds.
  • Freezing the LSTM layer in the decoder yields the best performance (BLEU1: 46.1, CIDEr: 12.8), while freezing the linear layer leads to a significant drop in all metrics (BLEU1: 39.3, CIDEr: 4.2).
  • Knowledge distillation on plastic layers was ineffective due to accumulating discrepancy between teacher and student models over time.

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.