Introduction
Few-shot object segmentation aims to segment novel objects in a query image using only a handful of support examples. Traditionally, this task relies on support images provided with dense, pixel-level masks. However, the high cost of manual annotation for these masks limits the scalability of such systems. This paper proposes a paradigm shift toward weakly supervised few-shot segmentation, utilizing only image-level labels (e.g., the presence of a "boat") to guide the segmentation of novel classes.
The Challenge of Ambiguity
The primary hurdle in using image-level labels for few-shot learning is visual ambiguity. If a support image contains multiple objects (e.g., a person and a dog) but only carries the label "dog," a purely visual model may struggle to identify which pixels correspond to the target class. To address this, the authors introduce a multi-modal approach that leverages semantic word embeddings to disambiguate the scene.
Proposed Methodology
The core of the proposed architecture is a Multi-Modal Interaction Module that bridges visual features with linguistic priors. The framework consists of several key innovations:
1. Multi-Modal Embeddings
The model extracts visual features from a ResNet-50 backbone. These features are then fused with semantic anchors—neural word embeddings (Word2Vec) representing the class label. By tiling the word embedding across the spatial dimensions of the visual feature map, the model provides a constant "semantic reference" that helps the attention mechanism focus on the correct object category.
2. Stacked Gated Co-Attention
Rather than a single interaction, the model employs a stacked architecture ($Nx$) to iteratively refine the relationship between the query and support sets. It computes a bidirectional affinity matrix to find commonalities between the images.
3. Gating and Iterative Refinement
To suppress noise from irrelevant background pixels, a gating mechanism (using sigmoid activations) filters the attention summaries. Finally, an Iterative Optimization Module (IOM) in the decoder progressively refines the predicted probability map, ensuring sharper boundaries for the final segmentation mask.
Experimental Evaluation
The model was evaluated on standard benchmarks and a new video-based task:
- PASCAL-$5^i$ & MS-COCO: Standard benchmarks for few-shot segmentation.
- TOSFL (Temporal Object Segmentation for Few-shot Learning): A new task using the YouTube-VOS dataset to test category-level and instance-level segmentation across video frames.
Key Results
- State-of-the-Art Performance: On PASCAL-$5^i$, the model achieved a 53.5% mIoU in the 1-shot setting, representing a 4.8% absolute improvement over previous image-level supervised methods.
- Efficiency of Weak Supervision: Remarkably, the model outperformed several existing methods that utilized bounding box supervision, proving that semantic embeddings can effectively compensate for the lack of spatial ground truth.
- Ablation Insights: Comparisons between "Visual-only" (V) and "Visual + Semantic" (V+S) variants confirmed that word embeddings are critical for resolving scene ambiguity, particularly when support images are cluttered.
Conclusion
By integrating visual co-attention with semantic word embeddings, this work demonstrates that high-quality few-shot segmentation is possible without expensive pixel-level masks. The stacked co-attention mechanism allows the model to iteratively "clean" its internal representations, narrowing the gap between weakly supervised and fully supervised performance. Future work may explore temporal consistency to further enhance performance in video-based few-shot tasks.
Summary updated