Introduction
Few-shot semantic segmentation aims to segment novel object categories in a "query" image using only a limited number of labeled "support" images. A persistent challenge in this field is semantic ambiguity. Traditional methods typically rely on Global Average Pooling (GAP) to condense support features into a single "prototype" vector. However, a single average vector often fails to capture the diverse appearances and spatial variations of object parts—for instance, a prototype derived from a bird's wing may fail to recognize a bird's head in a query image.
To address this, the authors propose Prototype Mixture Models (PMMs). By leveraging an Expectation-Maximization (EM) algorithm, PMMs learn a set of diverse prototypes that represent different semantic regions of an object, effectively modeling the "parts" rather than just the "whole."
Methodology
The PMM framework introduces a two-branch architecture that processes support and query images through a shared feature extractor. The core innovation lies in the PMM module, which operates as follows:
1. Multiple Prototypes via EM
Instead of a single vector, the model estimates $K$ foreground prototypes and $K$ background prototypes. This is achieved through an EM algorithm that clusters feature pixels into distinct representatives. By explicitly modeling the background, the system can better suppress non-target regions and reduce false positives.
2. von Mises-Fisher (vMF) Distribution
While many clustering methods use Gaussian distributions, PMMs utilize the von Mises-Fisher (vMF) distribution. Because vMF relies on cosine similarity rather than Euclidean distance, it is better suited for high-dimensional deep learning features where the orientation of the vector is more discriminative than its magnitude.
3. Duplex Activation Strategy
The learned prototypes are applied to the query features in two complementary ways:
- P-Match (Representation): Prototypes are matched against query features to activate relevant feature channels.
- P-Conv (Classifier): Each prototype serves as a $1 \times 1$ convolutional kernel to generate spatial probability maps, which are then aggregated to form the final prediction.
Experimental Evaluation
The model was evaluated on two benchmark datasets: Pascal-5i and the more complex COCO-20i.
- State-of-the-Art Results: On the MS-COCO dataset, PMMs achieved a significant performance boost, improving 5-shot segmentation accuracy by up to 5.82% over previous leading methods.
- Ablation Studies: Increasing the number of prototypes from $K=1$ (equivalent to GAP) to $K=3$ resulted in a clear jump in mean Intersection over Union (mIoU), confirming that multiple prototypes provide a richer semantic representation.
- Efficiency: Despite the iterative nature of the EM algorithm, the model is highly efficient, running at approximately 26 FPS on a single GPU.
Conclusion
Prototype Mixture Models provide a robust solution to the semantic ambiguity inherent in few-shot segmentation. By shifting the focus from global averages to a mixture of part-based prototypes, the model achieves superior generalization on challenging datasets. Future work may explore extending this mixture-based approach to zero-shot scenarios or further refining the iterative residual structures for even more precise mask generation.
Summary updated