Introduction: The Challenge of Reflection Invariance
Few-shot semantic segmentation (FSS) aims to segment novel object categories using only a handful of annotated examples. A significant hurdle in FSS is the model's inability to generalize across mirror symmetries. For instance, if a support image depicts a sheep facing left, a standard model may fail to recognize a sheep facing right in the query image. This lack of reflection invariance limits the learning space and introduces bias when encountering unseen classes.
Methodology: Explicit Reflection Invariance
The proposed framework moves beyond simple data augmentation by embedding horizontal reflection into the core architecture. The system processes both original and reflected versions of the support and query images through a shared backbone (e.g., ResNet50 or VGG16).
1. Reflection Invariance Prototype Creation
To represent a category holistically, the model extracts features from both the original support image and its reflection. Using "Mask Average Pooling," it generates two prototypes which are then fused using learnable parameters. This creates a single, "reflection-invariant" prototype that captures the object's essence regardless of orientation.
2. Reflection Invariance Prior Mask Generation (RIPMG)
The RIPMG module generates initial spatial guidance (prior masks) for both the original and reflected query images. By integrating information from both perspectives, the model provides more robust localization for the final segmentation stage.
3. Reflection Invariance Semantic Prediction (RISP)
Instead of a single output, the model generates predictions for both views. These are complementarily merged in the RISP module to produce the final, high-precision segmentation mask. An "adjustment factor" is also incorporated to account for scene differences between the support and query images.
Evaluation and Results
The framework was evaluated on the PASCAL-$5^i$ and COCO-$20^i$ benchmarks, which are standard for few-shot segmentation tasks.
- Performance: On PASCAL-$5^i$, the model achieved a mean Intersection over Union (mIoU) of 68.78% (1-shot) and 72.14% (5-shot), surpassing previous leaders by roughly 1%. On the more complex COCO-$20^i$ dataset, it outperformed previous state-of-the-art methods by 2.29% in the 1-shot setting.
- Ablation Studies: Comparisons with other transformations (rotation, scaling, exposure) revealed that horizontal reflection is the most critical factor for performance gains in natural images. While random scaling provided a minor boost, rotation actually degraded performance, suggesting horizontal symmetry is a uniquely fundamental property for natural object recognition.
- Qualitative Analysis: Visual results demonstrate that the model is significantly better at capturing complete object boundaries, such as airplane wings or animal limbs, which single-view models often truncate.
Conclusion and Future Work
By treating symmetry as a strong inductive bias, this research demonstrates that explicit architectural support for reflection invariance can significantly mitigate the data scarcity problem in few-shot learning. While the current focus is on horizontal reflection—the most common symmetry in natural scenes—future work may extend these principles to other geometric invariances, such as vertical symmetry or rotational properties relevant to domains like medical imaging or satellite photography.
Summary updated