Skip to main content
QUICK REVIEW

[Paper Review] Prototype Mixture Models for Few-shot Semantic Segmentation

Boyu Yang, Chang Liu|arXiv (Cornell University)|Aug 10, 2020
Domain Adaptation and Few-Shot LearningComputer Science38 references25 citations
TL;DR

This paper proposes Prototype Mixture Models (PMMs), a novel few-shot semantic segmentation method that uses an Expectation-Maximization algorithm to learn multiple prototypes from support images, capturing diverse spatial and channel-wise semantics. By treating PMMs as both representations and classifiers in a duplex matching and convolution mechanism, the approach significantly improves segmentation accuracy, achieving up to 5.82% absolute improvement on MS-COCO 5-shot segmentation with minimal computational overhead.

ABSTRACT

Few-shot segmentation is challenging because objects within the support and query images could significantly differ in appearance and pose. Using a single prototype acquired directly from the support image to segment the query image causes semantic ambiguity. In this paper, we propose prototype mixture models (PMMs), which correlate diverse image regions with multiple prototypes to enforce the prototype-based semantic representation. Estimated by an Expectation-Maximization algorithm, PMMs incorporate rich channel-wised and spatial semantics from limited support images. Utilized as representations as well as classifiers, PMMs fully leverage the semantics to activate objects in the query image while depressing background regions in a duplex manner. Extensive experiments on Pascal VOC and MS-COCO datasets show that PMMs significantly improve upon state-of-the-arts. Particularly, PMMs improve 5-shot segmentation performance on MS-COCO by up to 5.82\% with only a moderate cost for model size and inference speed.

Motivation & Objective

  • To address semantic ambiguity in few-shot semantic segmentation caused by single-prototype models that lose spatial layout through global average pooling.
  • To improve feature representation by modeling diverse foreground regions and background semantics using multiple prototypes from limited support images.
  • To develop a plug-and-play method that enhances metric learning frameworks without requiring post-processing or architectural overhaul.
  • To achieve state-of-the-art performance on both PASCAL VOC and MS-COCO benchmarks with only a moderate increase in model size and inference cost.

Proposed method

  • PMMs estimate multiple prototypes per support image using an Expectation-Maximization (EM) algorithm, treating each masked pixel as a positive sample.
  • The EM algorithm models spatial and channel-wise feature distributions, enabling the representation of distinct object parts and background regions through a mixture of prototypes.
  • During inference, PMMs are used in a duplex manner: (1) P-Match matches query features with prototypes to activate relevant channels, and (2) P-Conv performs element-wise multiplication to generate probability maps.
  • The method integrates seamlessly into metric learning frameworks with a dual-branch architecture (support and query branches), maintaining compatibility with existing few-shot segmentation models.
  • A residual-based RPMMs variant is introduced to further enhance performance by stacking PMM modules with skip connections.
  • The approach is lightweight, with only a 19.5M parameter increase, and maintains high inference speed (26 FPS on 2080Ti).

Experimental results

Research questions

  • RQ1Can multiple prototypes learned via EM improve semantic representation in few-shot segmentation compared to a single global prototype?
  • RQ2How does modeling diverse object parts and background regions through prototype mixtures affect segmentation accuracy on few-shot benchmarks?
  • RQ3To what extent does the duplex use of PMMs—both as representations and classifiers—enhance feature activation and background suppression?
  • RQ4How does the method scale across different few-shot settings (1-shot vs. 5-shot) and datasets (PASCAL VOC vs. MS-COCO)?
  • RQ5What is the trade-off between model complexity, inference speed, and performance gain when using PMMs?

Key findings

  • On the 5-shot MS-COCO benchmark, PMMs achieve a 5.82% absolute improvement over the state-of-the-art, with RPMMs outperforming baseline methods by 7.66%.
  • In the 1-shot setting on MS-COCO, RPMMs improve performance by 4.47% over the baseline and by 9.68% over PANet, demonstrating strong generalization.
  • On PASCAL VOC, RPMMs achieve a 2.38% improvement over the state-of-the-art in 1-shot and 1.50% in 5-shot settings with a ResNet50 backbone.
  • The optimal number of prototypes is K=3, as performance plateaus or declines beyond this due to overfitting on limited support samples.
  • The VMF kernel outperforms the Gaussian kernel in prototype estimation, indicating that cosine similarity better captures angular feature relationships.
  • Despite adding 19.5M parameters, the model maintains high inference speed (26 FPS on 2080Ti), with only a minor drop when using RPMMs (20 FPS).

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.