Abstract
Continual Semantic Segmentation (CSS) faces the challenge of "catastrophic forgetting," where learning new classes leads to a sharp decline in performance on previously learned ones. This paper introduces AAKR, a framework that utilizes adversarial attacks to generate virtual training samples. By perturbing new images to "trick" the model into predicting old classes, AAKR effectively retains knowledge without the storage overhead of image replay or the complexity of generative models. Experimental results on Pascal VOC 2012 and ADE20k demonstrate that AAKR achieves state-of-the-art performance with high computational efficiency.
Introduction
Semantic segmentation is a fundamental computer vision task involving pixel-wise classification. In real-world scenarios, models often need to learn new categories incrementally. However, standard training leads to catastrophic forgetting as network weights are overwritten for new tasks. Current solutions generally fall into two categories: knowledge distillation, which is efficient but often insufficient for complex retention over many steps, and replay-based methods, which are effective but demand significant storage for old images or training time for generative models like GANs.
AAKR addresses this gap by repurposing adversarial attacks—typically seen as security threats—into a mechanism for knowledge retention. This "virtual replay" strategy allows the model to remember old classes using only the current task's data.
Methodology
The AAKR framework consists of three integrated components designed to induce "memory" in the model during the training of new tasks.
Adversarial Attack for Knowledge Retention
When presented with new images, AAKR applies small, calculated perturbations. These perturbations are optimized to make the previous model version ($M^{t-1}$) predict "forgettable" old classes in regions that would otherwise be ignored. This process effectively creates synthetic training signals for old classes within the context of new data.
Attack Probability Module (APM)
Not all classes are forgotten equally. The APM monitors the "degree of forgetfulness" by comparing predictions between the old and current model versions. It assigns a higher "attack probability" to classes experiencing faster decay, ensuring the adversarial generation process prioritizes the most vulnerable knowledge.
Targeted Goal Labels ($Y^{goal}$)
Based on feedback from the APM, the system generates goal labels. These labels guide the adversarial attack to "resurrect" specific old classes within the new images, creating a balanced training set that includes both new ground truth and virtual old-class representations.
Experimental Results
The authors evaluated AAKR on the Pascal VOC 2012 and ADE20k benchmarks across various incremental settings (e.g., 15-5, 15-1s, 100-50).
Quantitative Performance
On Pascal VOC (15-1s setting), AAKR achieved a mean Intersection over Union (mIoU) of 66.37%, significantly outperforming distillation-based methods like PLOP (54.68%) and even surpassing the replay-based RECALL (62.70%). In the challenging ADE20k 100-10s setting, AAKR improved performance on new classes by +7.45% over the baseline.
Qualitative Analysis
Visual comparisons highlight AAKR's ability to maintain clear boundaries and correctly identify old classes that other methods tend to misclassify or forget entirely.
Efficiency
Unlike GAN-based replay methods that can increase training time by up to 8x, AAKR introduces only a negligible overhead. It generates "memory" on the fly during the training pass, making it highly suitable for resource-constrained environments.
Conclusion
AAKR demonstrates that adversarial perturbations can serve as an effective and efficient form of data augmentation for continual learning. By transforming new data into "virtual" examples of old classes, it avoids the storage and complexity pitfalls of traditional replay methods. Future work will focus on reducing the computational cost of multi-step attacks and exploring hybrid approaches with parameter isolation techniques.
Summary updated