Weakly-supervised continual learning for class-incremental segmentation

Gaston Lenczner, Adrien Chan-Hon-Tong, Nicola Luminari, Bertrand Le Saux

Introduction

In Earth Observation (EO), deep learning models are frequently deployed to identify specific semantic classes, such as road networks. However, operational requirements often evolve, necessitating the addition of new classes (e.g., buildings) to an existing model. Traditional approaches require retraining the model from scratch on a comprehensive, fully-labeled dataset—a process that is often infeasible due to data privacy concerns, computational costs, and the "background shift" problem, where new classes were previously labeled as background. Furthermore, simple fine-tuning typically leads to "catastrophic forgetting," where the model abruptly loses its ability to recognize original classes.

Methodology: Weakly-Supervised Class-Incremental Learning

The proposed framework enables "on-the-fly" model expansion using sparse, weakly-supervised annotations. Instead of pixel-perfect masks, the system utilizes simple "clicks" provided by an operator to identify the new class and the background.

Workflow of the proposed class-incremental segmentation: (a) initial road prediction, (b) sparse building annotations, (c) updated prediction including buildings, and (d) ground truth.

To mitigate forgetting, the framework employs a dual-network architecture consisting of a "Memory Network" (the original model) and an "Updated Network." Key technical components include:

  1. Pseudo-Labeling: The Memory Network generates predictions for legacy classes on new imagery. These pseudo-labels guide the Updated Network to maintain its performance on previously learned tasks.
  2. Spatial Dissimilarity Constrained Recursive (SDR) Regularization: This novel technique manages the latent space representations using prototypes. It consists of three primary constraints: matching (aligns new prototypes with established ones), repulsive (maximizes distance between different classes), and attracting (minimizes distance between pixels and their corresponding class prototypes).
Example of a memory prediction used to generate pseudo-labels for old classes to prevent forgetting.

Experimental Evaluation

The method was evaluated on three high-resolution remote sensing benchmarks: ISPRS Potsdam (5cm), ISPRS Vaihingen (9cm), and SemCity Toulouse (50cm). The experimental task involved incrementing a road-segmentation model to include buildings using only 300 clicked points.

Results and Discussion

The SDR method consistently outperformed baseline regularization techniques (e.g., PodNet, DISCA, FESTA). Quantitative results showed significant improvements in Intersection over Union (IoU):

  • Potsdam: 72.0% IoU (+3.3% over baseline).
  • Vaihingen: 79.7% IoU (+3.5% over baseline).
  • Toulouse: 67.7% IoU (+4.5% over baseline).

Crucially, the performance with only 300 clicks approached that of a fully supervised control model. The SDR approach also demonstrated superior stability, showing lower standard deviation across training runs, which is vital for interactive real-world applications.

Conclusion

This research demonstrates that managing internal latent representations via SDR regularization is more effective than output-level distillation for preventing catastrophic forgetting. Future work will explore multi-class increments, sequential learning over longer periods, and cross-domain adaptation to handle imagery from diverse geographic regions and sensors.

Summary updated

BibTeX
@inproceedings{lenczner2022weakly,
  author = {Gaston Lenczner and Adrien Chan-Hon-Tong and Nicola Luminari and Bertrand Le Saux},
  title = {{Weakly-supervised continual learning for class-incremental segmentation}},
  booktitle = {IGARSS},
  year = {2022},
  doi = {10.1109/igarss46834.2022.9884547},
}
Figure