Abstract
This paper addresses the challenge of catastrophic forgetting in deep learning-based object detection. We propose an incremental learning framework that allows a model to learn new object categories sequentially without access to the original training data. By employing a dual-network architecture and a specialized distillation loss, the model preserves its performance on previously learned classes while effectively acquiring new ones. Experimental results on PASCAL VOC and MS COCO demonstrate that our approach significantly outperforms standard fine-tuning and closely approaches the performance of joint training on all data.
Introduction: The Challenge of Catastrophic Forgetting
Deep neural networks typically suffer from "catastrophic forgetting" when trained on new tasks sequentially. In the context of object detection, if a model trained to detect "people" is fine-tuned on a new dataset containing only "horses," its ability to detect people typically plummets. This occurs because the network weights are optimized solely for the new objective, and the absence of "person" labels in the new data often leads the model to treat those instances as background.
In many practical applications, retraining from scratch is unfeasible due to data privacy concerns, storage limitations, or computational costs. Therefore, a method to incrementally update detectors is essential.
Methodology: Dual-Network Distillation
The proposed solution utilizes a dual-network framework based on the Fast R-CNN architecture. The system consists of two main components:
- The Teacher (Network A): A frozen copy of the original detector previously trained on the initial set of classes ($C_A$).
- The Student (Network B): An updated version of the network with an expanded output layer to accommodate the new classes ($C_B$).
Distillation Loss
To prevent the student network from forgetting the knowledge captured by the teacher, a specialized Distillation Loss is introduced. During training on new data, each image is processed by both networks. The student is optimized using a multi-task objective:
- Standard Detection Loss: Classification and bounding box regression for the new classes ($C_B$), supervised by ground-truth labels.
- Distillation Loss: The student is constrained to produce classification logits and bounding box offsets for the old classes ($C_A$) that match the outputs of the frozen teacher network.
Technically, the authors employ an $L_2$ loss on unnormalized logits for classification distillation. Furthermore, they demonstrate that distilling bounding box regression values is crucial for maintaining localization accuracy for old classes.
Biased Sampling Strategy
A key insight of this work is the importance of the sampling strategy. Randomly sampling regions for distillation is often ineffective because most regions are background. The authors propose a biased sampling strategy that selects proposals the teacher network identifies with high confidence (low background scores), providing a stronger and more relevant learning signal for the old classes.
Experimental Evaluation
The approach was evaluated on two major benchmarks: PASCAL VOC 2007 (including 19+1 and 10+10 class additions) and MS COCO (splitting 80 classes into two sets of 40).
Key Results
- Mitigating Performance Drops: In the 10+10 class split on PASCAL VOC, standard fine-tuning resulted in a drop to 12.8% mAP on the original classes. The proposed distillation method maintained 63.2% mAP, nearing the joint-training baseline of 68.4%.
- Sequential Learning: The method proved robust even when adding classes one by one. After 10 sequential steps, the final mAP remained at 49.0%.
- Large-Scale Performance: On MS COCO, the incremental model achieved 37.4% mAP, trailing the joint-training baseline (38.1%) by less than 1%.
Conclusion and Future Work
This research demonstrates that the responses of an old network can serve as an effective proxy for original training data. While the gap between incremental and joint training is significantly narrowed, some performance decay persists over many incremental steps. Future work includes adapting this framework to detectors with internal proposal generation (like Faster R-CNN) and further reducing the performance gap in long-term sequential learning scenarios.
Summary updated