Introduction
In real-world applications, AI models rarely receive all their training data at once. Class Incremental Semantic Segmentation (CISS) addresses the challenge of teaching a segmentation model to recognize new categories over time without forgetting previously learned ones—a pervasive issue known as catastrophic forgetting.
To mitigate this, many top-performing methods employ "prototype-based replay," saving a single feature vector (a prototype) that represents the average of an old class to remind the model of past knowledge. However, this standard approach has two major flaws:
- Real-world data is multimodal: A single prototype assumes a class's features form one neat cluster. In reality, a class like "person" might have completely different features for sitting versus standing. One prototype is insufficient to capture this variance.
- Feature drift (Anisotropy): As a model learns new classes, its internal feature space shifts and warps to accommodate them. Fixed prototypes quickly become outdated and fail to accurately represent old classes in the updated model.
The CoGaMiD Approach
To address these limitations, the authors propose CoGaMiD (Continual Gaussian Mixture Distribution), a novel framework that replaces single prototypes with dynamic Gaussian Mixture Models (GMMs).
The architecture consists of three main components:
- Gaussian Mixture Distribution Modeling: Instead of saving a single prototype, CoGaMiD models the feature distribution of each learned class using a GMM with multiple components (e.g., $K=3$). This captures the complex, multimodal nature of the data. These GMMs are stored and used to generate "pseudo-features" of old classes during future training steps.
- Dynamic Adjustment (DA) Strategy: To combat feature drift, the stored GMMs are not frozen. As the model processes new data streams—which often contain old classes in the background—it extracts those old-class features and uses the Expectation-Maximization (EM) algorithm to periodically update the GMM parameters.
- Gaussian-based Representation Constraint (GRC) Loss: To prevent the model from confusing similar old and new classes (e.g., "cow" vs. "sheep"), a specialized loss function actively pushes the feature centroids of new classes away from the GMM centroids of the old classes.
Key Insights
- Multimodality is visually obvious: Visualizations of the feature space show that classes form highly irregular, fragmented clusters. Modeling them with a single Gaussian is a massive oversimplification; GMMs are a natural and necessary fit.
- Old classes need to "move": When a model learns a new class, the feature space for a similar old class is forced to shift to avoid overlap. Without dynamically updating the memory of the old class via the DA strategy, replay data will actively confuse the model.
- Precise boundaries unlock contrastive learning: Pushing new classes away from old ones (the GRC loss) only works if the model accurately knows where the old classes are. Without the precise boundaries provided by the GMMs, this constraint can actually degrade performance.
Experimental Results
The authors evaluated CoGaMiD on two standard semantic segmentation benchmarks: Pascal VOC 2012 (20 foreground classes) and ADE20K (150 classes). The experiments focused heavily on the challenging but realistic overlapped setting (where future classes might appear in current images but are labeled as "background") and long-term incremental scenarios.
CoGaMiD achieves state-of-the-art performance, particularly shining in grueling, long-term learning scenarios:
- Pascal VOC 2012: On the extreme "1-1" scenario (learning 1 new class per step for 20 steps), CoGaMiD outperformed the previous best method (STAR) by a massive 8.5 mIoU (54.2 vs 44.5) using a ResNet backbone.
- ADE20K: On the challenging "100-5" scenario (starting with 100 classes, adding 5 at a time for 11 steps), it improved upon the SOTA by 1.5 mIoU.
- High Efficiency: CoGaMiD achieves these gains with virtually zero storage overhead. Storing the GMM parameters takes only 0.12 MB of memory, compared to 10 MB for methods that save raw image exemplars, while maintaining similar computational complexity.
Limitations and Future Work
A current limitation of CoGaMiD is the reliance on a fixed number of Gaussian mixtures (e.g., $K=3$ for all experiments). Some visually simple classes may need fewer mixtures, while highly complex ones require more. Future work will focus on developing an enhanced version that adaptively determines the optimal number of mixtures for each specific class. Additionally, the authors plan to explore techniques to pre-constrain the feature space during the initial training step, intentionally leaving "blank space" for future classes to occupy.
Summary updated