Abstract
Deep neural networks have achieved remarkable success in instance segmentation but remain ill-equipped for incremental learning. When required to learn new tasks, they suffer from "catastrophic forgetting"—the abrupt degradation of performance on old classes—and "negative transfer," which prevents the model from updating its knowledge while preserving the past. We propose a novel incremental instance segmentation method utilizing a multi-teacher framework: a Former Teacher Network (FTN) to preserve old knowledge, a Current Teacher Network (CTN) to supervise new class adaptation, and a Current Student Network (CSN) that learns from both. This supervision is achieved through a multi-level distillation loss covering instances, bounding boxes, and classes. Extensive experiments on PASCAL 2012 SBD and COCO datasets demonstrate the effectiveness of our approach.
The Challenge of Incremental Learning
Deep learning models are typically trained on fixed categories. Adding a new category (e.g., teaching a "car and bicycle" detector to recognize "persons") usually requires retraining on all data. However, original training data is often inaccessible due to privacy or storage constraints.
Simple fine-tuning on new data leads to catastrophic forgetting, where the model learns the new class but loses the ability to detect old ones. Conversely, trying to protect old knowledge too rigidly can lead to negative transfer, making the model too inflexible to learn new tasks. Instance segmentation, which requires pixel-perfect masks, adds significant complexity to this balancing act.
Methodology: Multi-Teacher Networks
Our framework addresses these issues by employing three distinct networks during the training phase:
- Former Teacher Network (FTN): A frozen version of the model trained on previous classes. It acts as a memory of what the old classes looked like.
- Current Teacher Network (CTN): Also known as the "Expert Network," this is trained exclusively on the new classes. It provides high-quality supervision and a "gentle learning curve" for the new task.
- Current Student Network (CSN): The model being updated. It learns by simultaneously satisfying the constraints of both teachers.
Multi-Faceted Distillation
The core of the learning process is Knowledge Distillation (KD). The student mimics the teachers' internal responses across three levels:
- Instance level: Distilling prototype masks and mask coefficients (the building blocks of segmentation).
- Bounding box level: Ensuring object localization remains consistent.
- Classification level: Maintaining correct category logits.
We utilize YOLACT as the base architecture because its one-stage, anchor-agnostic nature is highly flexible for incremental updates. To balance the "tug-of-war" between the two teachers, we use a weighting hyperparameter ($\beta$), finding that a 10:1 ratio favoring the preservation of old knowledge provides the best stability.
Experimental Results
Evaluation on PASCAL 2012 SBD and Microsoft COCO benchmarks shows a massive improvement over standard fine-tuning.
- Accuracy Retention: On PASCAL 2012, when adding a new class, our multi-teacher method achieved 39.73% mAP, whereas standard fine-tuning plummeted to 11.82% mAP due to forgetting.
- Sequential Stability: In multi-stage learning (e.g., adding classes in a 10+5+5 sequence), the model retained roughly 98% of its performance on old classes at each step.
- Qualitative Success: Visualizations confirm that while fine-tuning loses masks or produces low-confidence detections for old objects, the multi-teacher approach maintains crisp, accurate segmentations for both old and new categories.
Conclusion and Future Work
The multi-teacher framework effectively mitigates catastrophic forgetting by providing specialized guidance for both old and new knowledge. While currently optimized for the YOLACT architecture, future work will explore adapting these strategies for two-stage methods like Mask R-CNN and investigating performance in scenarios with high class overlap.
Summary updated