Abstract
Incremental Semantic Segmentation (ISS) presents a significant challenge in computer vision: learning new object classes sequentially without forgetting previously acquired knowledge. While Convolutional Neural Networks (CNNs) have long dominated this field, they suffer from catastrophic forgetting due to structural limitations like Batch Normalization and local receptive fields. This paper introduces TISS (Transformer based method for Incremental Semantic Segmentation), a framework that leverages the inherent stability of Vision Transformers (ViTs). By replacing the CNN backbone and introducing two novel patch-wise contrastive losses, TISS achieves state-of-the-art performance on major benchmarks, demonstrating superior resilience to forgetting and better feature map stability.
Introduction
In real-world scenarios such as autonomous driving or medical imaging, models must often adapt to new classes over time. Standard training requires access to the full dataset, which is often impractical. Incremental Semantic Segmentation (ISS) addresses this by training on new classes while preserving performance on old ones.
The primary obstacle in ISS is catastrophic forgetting. The authors identify two key reasons why traditional CNN-based architectures struggle:
- Batch Normalization (BN) Instability: BN layers rely on batch statistics that shift significantly between incremental tasks, leading to model destabilization.
- Local Receptive Fields: Convolutions focus on local textures, making it difficult to resolve ambiguities in the "background" class, which often contains future, unseen classes. Without global context, CNNs struggle to distinguish true background from unlabeled objects.
Methods
The proposed TISS framework addresses these issues by utilizing a Vision Transformer (ViT) backbone and a specialized training objective.
The Transformer Advantage
TISS employs Layer Normalization (LN) instead of BN. Because LN operates on individual samples rather than batch statistics, it is inherently more robust to the data distribution shifts found in incremental learning. Additionally, the self-attention mechanism provides a global receptive field, allowing the model to capture long-range dependencies and better differentiate between background and various object classes.
Patch-wise Contrastive Losses
To manage the transition between incremental steps, TISS introduces two novel losses:
- Patch-wise Contrastive Distillation Loss ($\mathcal{L}_{cd}$): This loss ensures that a patch representation in the current model remains similar to its counterpart in the previous model (positive pair) while being pushed away from different patches (negative pairs). This granular distillation effectively consolidates old knowledge.
- Patch-wise Contrastive Loss ($\mathcal{L}_{ct}$): To prevent the model from becoming too rigid, this loss promotes feature diversity within the current task. It encourages different patches to be distinct, enhancing the model's capacity to learn and generalize to new classes.
Experimental Evaluation
The authors evaluated TISS on three major computer vision benchmarks:
- Pascal-VOC 2012: Tested in configurations including adding 1 class (19-1) and adding 5 classes (15-5).
- ADE20K: A challenging 150-class dataset tested in large-scale steps (e.g., 100-50 and 100-10).
- Cityscapes: Used to validate performance in urban driving environments.
Key Results
TISS consistently outperformed existing CNN-based state-of-the-art methods like PLOP and MiB:
- On Pascal-VOC 19-1 (Overlapped), TISS achieved an mIoU of 79.9%, a 6.4% improvement over PLOP.
- On ADE20K 100-50, TISS reached 38.4% mIoU, significantly higher than MiB's 34.6%.
- Qualitative results indicate that TISS maintains sharper boundaries for old classes and experiences fewer "hallucinations" (misclassifying background as a known class) than CNN counterparts.
Key Insights and Discussion
A critical finding of this research is the difference in Feature Map Stability. In CNNs, feature maps often become disordered as new classes are added, leading to a loss of information about previous steps. In contrast, Transformer feature maps remain regular and continuous across incremental steps.
The paper highlights a delicate balance between imitation and diversity. While distillation (via $\mathcal{L}_{cd}$) prevents forgetting, the diversity promoted by $\mathcal{L}_{ct}$ ensures the model retains the flexibility to learn the nuances of new classes. The switch from BN to LN is also cited as a major contributor to the model's overall stability.
Conclusion
TISS demonstrates that Vision Transformers are a superior foundation for incremental learning tasks. By combining the structural advantages of ViTs with targeted contrastive losses, the framework sets a new standard for Incremental Semantic Segmentation. Future work may involve exploring larger Transformer backbones and more complex attention mechanisms to further minimize forgetting in multi-step incremental scenarios.
Summary updated