Introduction
Few-shot segmentation (FSS) aims to segment novel object classes in a query image using only a few annotated support examples. While traditional methods often rely on feature averaging (prototypes), these approaches frequently fail to capture the complex, multi-modal distributions of object appearances and scale poorly with additional support data.
DGPNet addresses these challenges by employing Dense Gaussian Processes (GPs). By treating every pixel in the support set as a data point, DGPNet leverages the non-parametric nature of GPs to provide principled uncertainty estimates and superior scalability.
The Limitations of Prototype-Based Methods
Most existing FSS frameworks condense support information into a single "prototype" vector. This simplification leads to several critical issues:
- Loss of Detail: Averaging ignores the diversity in appearance, pose, and lighting within an object class.
- Poor Scalability: Performance often plateaus quickly, as averaging five images doesn't necessarily provide five times the information of one.
- Uncertainty Blindness: These models lack a mechanism to signal when a query pixel is significantly different from the support distribution.
Proposed Method: DGPNet
DGPNet replaces the standard prototype matching with a dense Gaussian Process learner that maps local image features to segmentation masks.
Dense GP Regression
Instead of a global prototype, DGPNet treats the support set as a collection of feature-mask pairs $(x, y)$. For a query image, the GP provides a predictive posterior distribution, yielding both a mean (the "best guess") and a covariance (the "uncertainty").
Key Components
- Squared Exponential Kernel: Measures similarity between query and support features to capture non-linear relationships.
- Mask Encoding: A small CNN projects support masks into a high-dimensional space before GP regression. This allows the GP to learn more nuanced structural information than binary masks provide.
- Uncertainty-Aware Decoding: The final segmentation is produced by a CNN decoder that integrates the GP's predictive mean, its predictive covariance, and shallow high-resolution features from the query image to refine boundaries.
Experimental Results
The model was evaluated on the standard PASCAL-5$^i$ and COCO-20$^i$ benchmarks.
Scalability and Performance
DGPNet achieved state-of-the-art results across all settings, with particularly notable gains in the 5-shot scenario. On the challenging COCO-20$^i$ benchmark, it outperformed previous methods by +8.4 mIoU. Unlike competitors that often plateau after 2-3 support images, DGPNet’s performance scales steadily up to 10 shots, demonstrating the power of its non-parametric approach.
Robustness
In cross-dataset transfer experiments (training on COCO and testing on PASCAL), DGPNet outperformed the previous best method (RePRI) by 11.3 mIoU in the 5-shot setting, highlighting its strong generalization capabilities.
Discussion and Limitations
While DGPNet offers significant performance gains, the $O(N^3)$ complexity of standard GP inference necessitates downsampling support features to maintain tractability. Future work may involve exploring efficient GP approximations or alternative kernels to further enhance resolution and inference speed.
Summary updated