TL;DR
This paper introduces AMP, a novel method for few-shot semantic segmentation that efficiently learns new object classes from very few examples. AMP constructs segmentation model weights directly from these few examples using "adaptive masked proxies" and a multi-resolution imprinting scheme, outperforming prior state-of-the-art methods without requiring additional complex network branches.
What Problem Does This Paper Address?
Deep learning models for image segmentation typically require vast amounts of labeled data to achieve high performance. This is a significant bottleneck in applications like robotics, where collecting extensive datasets for every possible object and scenario is impractical. Few-shot learning aims to address this by enabling models to learn new classes from just a handful of examples. However, existing few-shot segmentation methods often rely on complex architectures with additional branches to guide the learning process, increasing computational burden and limiting flexibility. Furthermore, adapting these models to continuously learn new classes over time (continual learning) without forgetting previous knowledge is a challenging problem.
Methods
The core of AMP lies in its "adaptive masked proxies" and a "multi-resolution imprinting" scheme.
- Normalized Masked Average Pooling (NMAP): This layer takes the feature embeddings from a pre-trained backbone network and masks them using the pixel-wise labels from the few support images of a new class. The masked features are then average-pooled to create a "proxy" that represents the signature of that new class. This proxy is then used to directly imprint the weights of the final segmentation layer (specifically, 1x1 convolutional filters).
- Multi-resolution Imprinting: Instead of using features from a single resolution, AMP leverages features from multiple resolutions of the backbone network. Proxies are generated at each resolution, and their corresponding probability maps are fused. This allows the model to capture both coarse, global structures and fine, detailed information for more accurate segmentation.
- Adaptive Proxies: For continual learning scenarios, AMP incorporates an adaptation mechanism. When presented with new support sets, it updates the weights of previously learned classes (including the background) using the new proxies. This prevents catastrophic forgetting and allows the model to adapt to evolving environments or new class distributions. This adaptation is inspired by classical correlation filter methods.
Crucially, AMP avoids the need for a separate guidance branch, making it more parameter-efficient and easier to integrate with existing segmentation architectures, including 2-stream networks for video.
Datasets
- PASCAL-5²: This dataset is used for evaluating few-shot semantic segmentation. It's divided into four folds, with each fold containing 5 classes. The training phase uses 15 classes, and the evaluation phase uses the remaining 5 unseen classes.
- DAVIS-2016: Used for evaluating video object segmentation.
- FBMS: Another dataset used for video object segmentation.
- iPASCAL (Incremental PASCAL): A new benchmark proposed by the authors to evaluate continual semantic segmentation. It's based on PASCAL VOC and simulates a scenario where new classes are introduced incrementally over time.
Key Insights and Ideas
- Direct Weight Imprinting is Powerful: The paper demonstrates that directly using learned class proxies to imprint the final segmentation layer weights is a highly effective and sample-efficient approach for few-shot segmentation, bypassing the need for complex auxiliary branches.
- Multi-resolution Fusion is Key for Segmentation: Unlike classification, segmentation benefits significantly from combining information across different feature resolutions. This allows for both global context and fine-grained detail.
- Adapting Old Classes is Crucial for Continual Learning: Simply imprinting weights for new classes is insufficient. Adapting the weights of previously learned classes (especially the background) to new contexts is essential for robust continual learning and preventing performance degradation.
- Flexibility and Simplicity: AMP's design allows it to be seamlessly integrated with various pre-trained backbone networks without requiring architectural modifications, making it highly versatile.
Key Results
- PASCAL-5²: AMP achieves state-of-the-art results on PASCAL-5² for few-shot segmentation. In the 1-shot setting, it outperforms previous methods by a significant margin (e.g., 10.8% mIoU improvement over baseline fine-tuning). In the 5-shot setting, it also shows strong performance, outperforming methods like OSLSM and co-FCN.
- Video Object Segmentation: AMP demonstrates competitive performance on DAVIS'16 and FBMS datasets, particularly in unsupervised settings, often outperforming or matching state-of-the-art methods.
- iPASCAL: The proposed iPASCAL benchmark shows that AMP significantly outperforms naive fine-tuning in a continual learning scenario, highlighting its ability to learn new classes without forgetting previous ones.
Limitations and Future Work
- Instance Segmentation: The paper notes that AMP's proxy-based approach, aiming to generalize across classes, might face difficulties segmenting specific instances, especially when multiple objects could be salient.
- High Dilation Rates: The reliance on masked proxies can lead to interference issues when dealing with high dilation rates in certain network architectures.
- Future Work: The authors suggest exploring further improvements in continual learning and instance segmentation. The flexibility of AMP also opens doors for its application in other domains requiring sample-efficient learning.
Summary updated