TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/Generalized Few-shot Semantic Segmentation

Generalized Few-shot Semantic Segmentation

Zhuotao Tian, Xin Lai, Li Jiang, Shu Liu, Michelle Shu, Hengshuang Zhao, Jiaya Jia

2020-10-11CVPR 2022 1SegmentationFew-Shot Semantic SegmentationSemantic Segmentation
PaperPDFCode(official)

Abstract

Training semantic segmentation models requires a large amount of finely annotated data, making it hard to quickly adapt to novel classes not satisfying this condition. Few-Shot Segmentation (FS-Seg) tackles this problem with many constraints. In this paper, we introduce a new benchmark, called Generalized Few-Shot Semantic Segmentation (GFS-Seg), to analyze the generalization ability of simultaneously segmenting the novel categories with very few examples and the base categories with sufficient examples. It is the first study showing that previous representative state-of-the-art FS-Seg methods fall short in GFS-Seg and the performance discrepancy mainly comes from the constrained setting of FS-Seg. To make GFS-Seg tractable, we set up a GFS-Seg baseline that achieves decent performance without structural change on the original model. Then, since context is essential for semantic segmentation, we propose the Context-Aware Prototype Learning (CAPL) that significantly improves performance by 1) leveraging the co-occurrence prior knowledge from support samples, and 2) dynamically enriching contextual information to the classifier, conditioned on the content of each query image. Both two contributions are experimentally shown to have substantial practical merit. Extensive experiments on Pascal-VOC and COCO manifest the effectiveness of CAPL, and CAPL generalizes well to FS-Seg by achieving competitive performance. Code is available at https://github.com/dvlab-research/GFS-Seg.

Results

TaskDatasetMetricValueModel
Few-Shot LearningPASCAL-5i (1-Shot)Mean Base and Novel42.17CAPL (ResNet-50)
Few-Shot LearningPASCAL-5i (1-Shot)Mean IoU54.38CAPL (ResNet-50)
Few-Shot LearningPASCAL-5i (5-Shot)Mean Base and Novel44.28CAPL (ResNet-50)
Few-Shot LearningPASCAL-5i (5-Shot)Mean IoU55.72CAPL (ResNet-50)
Few-Shot LearningCOCO-20i (5-shot)Mean Base and Novel28.15CAPL (ResNet-50)
Few-Shot LearningCOCO-20i (5-shot)Mean IoU36.8CAPL (ResNet-50)
Few-Shot LearningCOCO-20i (1-shot)Mean Base and Novel25.83CAPL (ResNet-50)
Few-Shot LearningCOCO-20i (1-shot)Mean IoU35.46CAPL (ResNet-50)
Few-Shot Semantic SegmentationPASCAL-5i (1-Shot)Mean Base and Novel42.17CAPL (ResNet-50)
Few-Shot Semantic SegmentationPASCAL-5i (1-Shot)Mean IoU54.38CAPL (ResNet-50)
Few-Shot Semantic SegmentationPASCAL-5i (5-Shot)Mean Base and Novel44.28CAPL (ResNet-50)
Few-Shot Semantic SegmentationPASCAL-5i (5-Shot)Mean IoU55.72CAPL (ResNet-50)
Few-Shot Semantic SegmentationCOCO-20i (5-shot)Mean Base and Novel28.15CAPL (ResNet-50)
Few-Shot Semantic SegmentationCOCO-20i (5-shot)Mean IoU36.8CAPL (ResNet-50)
Few-Shot Semantic SegmentationCOCO-20i (1-shot)Mean Base and Novel25.83CAPL (ResNet-50)
Few-Shot Semantic SegmentationCOCO-20i (1-shot)Mean IoU35.46CAPL (ResNet-50)
Meta-LearningPASCAL-5i (1-Shot)Mean Base and Novel42.17CAPL (ResNet-50)
Meta-LearningPASCAL-5i (1-Shot)Mean IoU54.38CAPL (ResNet-50)
Meta-LearningPASCAL-5i (5-Shot)Mean Base and Novel44.28CAPL (ResNet-50)
Meta-LearningPASCAL-5i (5-Shot)Mean IoU55.72CAPL (ResNet-50)
Meta-LearningCOCO-20i (5-shot)Mean Base and Novel28.15CAPL (ResNet-50)
Meta-LearningCOCO-20i (5-shot)Mean IoU36.8CAPL (ResNet-50)
Meta-LearningCOCO-20i (1-shot)Mean Base and Novel25.83CAPL (ResNet-50)
Meta-LearningCOCO-20i (1-shot)Mean IoU35.46CAPL (ResNet-50)

Related Papers

SeC: Advancing Complex Video Object Segmentation via Progressive Concept Construction2025-07-21Deep Learning-Based Fetal Lung Segmentation from Diffusion-weighted MRI Images and Lung Maturity Evaluation for Fetal Growth Restriction2025-07-17DiffOSeg: Omni Medical Image Segmentation via Multi-Expert Collaboration Diffusion Model2025-07-17From Variability To Accuracy: Conditional Bernoulli Diffusion Models with Consensus-Driven Correction for Thin Structure Segmentation2025-07-17Unleashing Vision Foundation Models for Coronary Artery Segmentation: Parallel ViT-CNN Encoding and Variational Fusion2025-07-17SCORE: Scene Context Matters in Open-Vocabulary Remote Sensing Instance Segmentation2025-07-17Unified Medical Image Segmentation with State Space Modeling Snake2025-07-17A Privacy-Preserving Semantic-Segmentation Method Using Domain-Adaptation Technique2025-07-17