Summary
This paper introduces a novel class-incremental learning (CIL) technique for semantic segmentation that allows models to learn new object classes without ever revisiting the original training data or its labels. By combining a masked knowledge distillation loss with an entropy-based pixel weighting scheme, the authors achieve performance within 2.2% of a model trained on all data simultaneously, outperforming existing baselines by 3.5% mIoU.
Introduction
In autonomous driving, semantic segmentation—assigning categories like "car," "pedestrian," or "road" to every pixel—is a foundational task. Standard deep learning models are typically static, trained on a fixed set of classes. Adding new classes, such as "electric scooters," usually requires retraining the entire model from scratch using the original dataset plus the new data. This presents three major hurdles:
- Storage: Maintaining massive datasets indefinitely is cost-prohibitive.
- Privacy: Legal restrictions (e.g., GDPR) may prevent the long-term storage or re-use of sensor data.
- Catastrophic Forgetting: Fine-tuning a model on only new classes causes it to quickly "forget" the original ones.
The authors address these challenges through a Class-Incremental Learning (CIL) framework that extends a model's vocabulary using only new data and labels, preserving performance on original tasks.
Methodology
The proposed approach utilizes a teacher-student framework. When transitioning from Stage 1 (old classes) to Stage 2 (new classes), the Stage 1 model acts as a "Teacher."
Masked Knowledge Distillation (MKD)
Unlike previous methods that might require labels for both old and new classes, this approach uses ground truth labels for new classes and soft labels (predictions) from the Teacher model for old classes. The Masked Knowledge Distillation loss applies a standard Cross-Entropy loss only to pixels labeled with new classes. For all other pixels, it uses a distillation loss to ensure the "Student" model matches the "Teacher's" outputs, effectively preserving prior knowledge.
Entropy-Based Pixel Weighting
Distillation using soft labels often produces weaker gradients than hard labels, which can negatively impact performance on small, rare classes like traffic signs. To counter this, the authors introduced a weighting factor based on entropy. If the teacher is uncertain about a pixel (high entropy), the loss weight increases, forcing the student to pay more attention to those difficult regions.
Modular Architecture
The model employs an ERFNet encoder-decoder structure. To accommodate new classes, the final layer of the decoder is extended to include new class indices, maintaining an efficient and lightweight architecture.
Experimental Setup
The researchers evaluated their method using the Cityscapes dataset, a benchmark for urban scene understanding. The training set was split into three distinct subsets ($D_1, D_2, D_3$), each containing different cities and mutually exclusive sets of labeled classes.
Evaluation was performed on the official Cityscapes validation set to measure performance across all 19 classes after the incremental steps.
Key Results and Discussion
The CIL method was compared against several baselines, including "Learning without Forgetting" (LWOF) and "Feature Extraction" (FE).
- Superiority over Baselines: After two incremental steps, the CIL method achieved a 62.2% mIoU, outperforming the best teacher-based baseline by 3.5% absolute.
- Closing the Gap: The "Upper Bound" (a model trained on all data and labels simultaneously) reaches 64.4% mIoU. The proposed CIL method is only 2.2% behind this theoretical ceiling, despite never seeing old labels or data during updates.
- Qualitative Success: Visual results demonstrate that the model successfully distinguishes between overlapping classes (e.g., a person riding a bicycle) even when those classes were learned in entirely different training stages.
Conclusion
This work demonstrates that the predictions of a teacher model are a sufficient substitute for ground truth labels of old data in incremental learning. By utilizing entropy to weight distillation loss, the model can recover performance on difficult classes that are typically lost during distillation. Future work may explore the scalability of this approach over a larger number of incremental steps and its application to modern transformer-based architectures.
Summary updated