Abstract
Traditional object detectors are ill-equipped for incremental learning, as fine-tuning a well-trained model on new data typically leads to catastrophic forgetting. While knowledge distillation is a flexible way to mitigate this, previous work in Incremental Object Detection (IOD) has primarily focused on distilling intermediate features rather than the rich information contained in model responses. In this paper, we propose a response-based incremental distillation method called Elastic Response Distillation (ERD). ERD focuses on elastically learning responses from both the classification and regression heads. Our method transfers category knowledge while enabling the student detector to retain localization information. Furthermore, we introduce the Elastic Response Selection (ERS) strategy to evaluate the quality of locations and provide valuable responses for distillation. Extensive experiments on MS COCO demonstrate that ERD achieves state-of-the-art results, substantially narrowing the performance gap toward full-batch training.
Introduction
Standard deep learning models suffer from catastrophic forgetting: when a model is trained on new data (e.g., teaching a "dog" detector to recognize "birds"), it often loses its ability to recognize the original classes. In Incremental Object Detection (IOD), this problem is compounded because the model must maintain both semantic classification and precise spatial localization for old classes while learning new ones.
Previous approaches to IOD often relied on "feature-based" distillation, which attempts to align the student's internal neural activations with those of a teacher model. However, these methods under-explore the information contained in the final responses—the actual predictions. Existing response-based methods also tend to use rigid, hand-tuned thresholds to decide which predictions to learn from, failing to adapt to the varying complexity of different images. To address these issues, we propose Elastic Response Distillation (ERD).
Methodology
1. Elastic Response Distillation (ERD)
ERD moves beyond feature alignment by having the student model "listen" to the teacher’s final predictions across two primary heads:
- Classification Head: The student learns the category distributions from the teacher, ensuring that the semantic understanding of old classes remains stable.
- Regression Head: We introduce incremental localization distillation. For detectors like GFLV1 that represent bounding boxes as probability distributions, the student uses KL-Divergence to mimic the teacher’s spatial uncertainty. This helps the model retain precise localization skills for old classes, preventing bounding box "drift" over time.
2. Elastic Response Selection (ERS)
Not all teacher predictions are equally informative; some are background noise, while others are redundant "easy" cases. ERS provides a statistical approach to identify the most valuable nodes for distillation. Instead of a fixed threshold (e.g., confidence > 0.5), ERS uses a dynamic threshold based on the mean ($\mu$) and standard deviation ($\sigma$) of confidence scores within a specific image:
$$\text{Threshold} = \mu + \alpha\sigma$$
This "elastic" thresholding ensures the model focuses on high-quality candidates regardless of the image's difficulty, maintaining fairness across diverse data samples.
Experimental Results
Performance on MS COCO
We evaluated ERD using the MS COCO 2017 dataset across several class-incremental scenarios, including one-step (40+40) and multi-step (40+10+10+10+10) increments.
- State-of-the-Art Performance: On the COCO 40+40 split, ERD achieved 36.9% AP, outperforming previous leading methods like SID (34.0%) and RILOD (29.9%).
- Closing the Gap: Compared to the "Upper Bound" (training on all 80 classes simultaneously at 40.2% AP), ERD narrows the gap to just 3.3 points. In contrast, naive fine-tuning collapses to 17.8% AP.
- Robustness: ERD remained stable in challenging multi-step scenarios where other models saw performance plummet as more increments were added.
Key Insights
- The "Reasoning" is in the Head: Analysis showed that the distance between teacher and student is significantly larger in the classification head than in the feature layers. This suggests that the head is where the most "forgetting" occurs, and thus where distillation is most effective.
- Localization Matters: Simply keeping classification stable is insufficient. Without specific localization distillation, the model’s bounding boxes for old classes become increasingly inaccurate.
- Generalizability: While primarily tested on the GFLV1 detector, we successfully applied ERD to the FCOS (anchor-free) detector, proving the method's architectural flexibility.
Conclusion
Elastic Response Distillation (ERD) and its companion selection strategy (ERS) provide a robust framework for incremental object detection. By focusing on the model's final reasoning and dynamically selecting high-quality responses, ERD significantly mitigates catastrophic forgetting. Future work will explore adapting these insights to "Open World" object detection, where models must identify and adapt to previously unseen and unnamed object categories.
Summary updated