[Paper Review] Prototype-based Incremental Few-Shot Semantic Segmentation
This paper introduces Incremental Few-Shot Semantic Segmentation (iFSS), a new task that extends pretrained segmentation models with new classes using only a few annotated images and without access to old data. The proposed PIFS method combines prototype learning for classifier initialization, knowledge distillation to prevent forgetting and overfitting, and batch-renorm to handle non-i.i.d. few-shot data, achieving state-of-the-art performance across multiple benchmarks.
Semantic segmentation models have two fundamental weaknesses: i) they require large training sets with costly pixel-level annotations, and ii) they have a static output space, constrained to the classes of the training set. Toward addressing both problems, we introduce a new task, Incremental Few-Shot Segmentation (iFSS). The goal of iFSS is to extend a pretrained segmentation model with new classes from few annotated images and without access to old training data. To overcome the limitations of existing models iniFSS, we propose Prototype-based Incremental Few-Shot Segmentation (PIFS) that couples prototype learning and knowledge distillation. PIFS exploits prototypes to initialize the classifiers of new classes, fine-tuning the network to refine its features representation. We design a prototype-based distillation loss on the scores of both old and new class prototypes to avoid overfitting and forgetting, and batch-renormalization to cope with non-i.i.d.few-shot data. We create an extensive benchmark for iFSS showing that PIFS outperforms several few-shot and incremental learning methods in all scenarios.
Motivation & Objective
- To address the limitations of existing semantic segmentation models that require large annotated datasets and cannot adapt to new classes without retraining.
- To define a new practical learning scenario—Incremental Few-Shot Segmentation (iFSS)—where models learn new classes from few images without access to past data.
- To develop a method that avoids catastrophic forgetting while effectively adapting to new classes with minimal supervision.
- To design a comprehensive benchmark for iFSS to evaluate and compare existing and proposed methods under realistic conditions.
Proposed method
- PIFS uses prototypes of new class features to initialize the classifier weights, enabling effective end-to-end fine-tuning during few-shot learning.
- It introduces a prototype-based distillation loss that regularizes both old and new class scores, reducing forgetting and overfitting simultaneously.
- The method employs batch-renormalization instead of standard batch normalization to stabilize training on non-i.i.d. few-shot data distributions.
- Prototypes are computed from support images and used as class-specific embeddings to guide feature learning and classification.
- Knowledge distillation is applied between the student network (fine-tuned on new classes) and a teacher network (pretrained on base classes), using prototypes as soft targets.
- The framework supports incremental learning by sequentially adding new classes while preserving performance on previously learned classes.
Experimental results
Research questions
- RQ1Can a segmentation model be effectively extended to new classes using only a few annotated images and without access to prior training data?
- RQ2How can catastrophic forgetting be mitigated in few-shot semantic segmentation when old classes are not available during training?
- RQ3What training techniques are most effective for non-i.i.d. few-shot data distributions in semantic segmentation?
- RQ4Can prototype-based initialization combined with knowledge distillation improve few-shot generalization and incremental learning performance?
- RQ5How does background shift—where old class pixels are labeled as background—affect model performance, and how can it be addressed?
Key findings
- PIFS achieves the highest mean Intersection over Union (mIoU) across all iFSS settings on both VOC and COCO benchmarks, outperforming existing incremental and few-shot learning methods.
- On the single-step setting with background shift, PIFS* (with revised cross-entropy loss) outperforms the best IL method by 2.7% on VOC and 4% on COCO in harmonic mean (HM) mIoU.
- PIFS* improves mIoU-B (background class) by 1.7% on VOC and 4.7% on COCO over PIFS, demonstrating the benefit of modeling background shift.
- The use of batch-renorm significantly improves performance compared to standard batch normalization, which hurts performance on non-i.i.d. few-shot data.
- Methods relying solely on new-class prototypes (e.g., DWI) are outperformed by PIFS by 5.7% on average in HM on VOC and 2.5% on COCO, showing the advantage of joint distillation.
- SPN fails to handle background shift, achieving poor mIoU-B scores, while PIFS* outperforms it by 6% on VOC and 2.7% on COCO, confirming the importance of proper background modeling.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.