[Paper Review] Learning without Forgetting
This paper proposes Learning without Forgetting (LwF), a method that enables fine-tuning of a pre-trained CNN for new tasks without access to old task data, by preserving the network's output responses on old task examples. LwF achieves performance comparable to joint training and surpasses standard fine-tuning and feature extraction on both new and old tasks, effectively mitigating catastrophic forgetting while improving new task accuracy.
When building a unified vision system or gradually adding new capabilities to a system, the usual assumption is that training data for all tasks is always available. However, as the number of tasks grows, storing and retraining on such data becomes infeasible. A new problem arises where we add new capabilities to a Convolutional Neural Network (CNN), but the training data for its existing capabilities are unavailable. We propose our Learning without Forgetting method, which uses only new task data to train the network while preserving the original capabilities. Our method performs favorably compared to commonly used feature extraction and fine-tuning adaption techniques and performs similarly to multitask learning that uses original task data we assume unavailable. A more surprising observation is that Learning without Forgetting may be able to replace fine-tuning with similar old and new task datasets for improved new task performance.
Motivation & Objective
- To address catastrophic forgetting in deep learning when adding new tasks without access to previous training data.
- To develop a method that maintains high performance on previously learned tasks while learning new ones.
- To outperform standard fine-tuning and feature extraction in both new task accuracy and old task retention.
- To enable efficient, scalable continual learning in vision systems without storing or retraining on legacy data.
Proposed method
- The method uses knowledge distillation to preserve the output responses of the original network on old task examples during training on new tasks.
- A soft label loss is applied to match the original network’s output logits on old task data, using temperature-scaled cross-entropy.
- Shared convolutional layers are fine-tuned with a lower learning rate, while task-specific heads are trained from scratch.
- The approach combines fine-tuning for new task discrimination with distillation for old task preservation, avoiding full retraining.
- It avoids parameter regularization by directly constraining output behavior rather than weight changes.
- The method is applied during end-to-end training using only new task data, with no requirement for old task data.
Experimental results
Research questions
- RQ1Can a CNN learn new visual tasks while preserving performance on old tasks without access to old training data?
- RQ2Does preserving output responses on old task examples outperform standard fine-tuning in both new and old task performance?
- RQ3Can knowledge distillation with soft labels effectively prevent catastrophic forgetting in a continual learning setting?
- RQ4How does LwF compare to joint training and feature extraction in terms of accuracy and efficiency?
- RQ5Can LwF be used as a replacement for standard fine-tuning to improve new task performance?
Key findings
- LwF outperforms feature extraction and standard fine-tuning on new task performance, even when fine-tuning uses a low learning rate.
- LwF maintains significantly better performance on old tasks than standard fine-tuning, which suffers from catastrophic forgetting.
- The method achieves performance close to joint training (which requires all task data) while training only on new task data.
- Knowledge distillation with temperature scaling (T=2) slightly outperforms L1, L2, and cross-entropy losses for response preservation.
- Lowering the learning rate of shared layers alone fails to prevent performance degradation on old tasks, showing the necessity of output-based regularization.
- LwF improves new task accuracy even when replacing standard fine-tuning, suggesting it can serve as a superior alternative to current practice.
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.