Abstract
Referring Image Segmentation (RIS) is an advanced vision-language task that involves identifying and segmenting objects within an image as described by free-form text descriptions. While previous studies focused on aligning visual and language features, exploring training techniques, such as data augmentation, remains underexplored. In this work, we explore effective data augmentation for RIS and propose a novel training framework called Masked Referring Image Segmentation (MaskRIS). We observe that the conventional image augmentations fall short of RIS, leading to performance degradation, while simple random masking significantly enhances the performance of RIS. MaskRIS uses both image and text masking, followed by Distortion-aware Contextual Learning (DCL) to fully exploit the benefits of the masking strategy. This approach can improve the model's robustness to occlusions, incomplete information, and various linguistic complexities, resulting in a significant performance improvement. Experiments demonstrate that MaskRIS can easily be applied to various RIS models, outperforming existing methods in both fully supervised and weakly supervised settings. Finally, MaskRIS achieves new state-of-the-art performance on RefCOCO, RefCOCO+, and RefCOCOg datasets.
Introduction: The Augmentation Dilemma
Referring Image Segmentation (RIS) requires a model to identify a specific object based on a natural language query (e.g., "the lady under the red umbrella on the left"). In standard computer vision tasks, data augmentation (DA) like horizontal flipping or random cropping is essential to prevent overfitting. However, in RIS, these techniques are often "semantically destructive."
As illustrated in the figure below, if a description specifies an object is "on the left" and the image is flipped, the description becomes factually incorrect. Similarly, color jittering can turn a "red umbrella" orange, rendering the text query invalid. This "augmentation dilemma" has historically forced researchers to avoid complex augmentations, leading to models that struggle with real-world occlusions or incomplete descriptions.
Methodology: The MaskRIS Framework
To overcome the limitations of traditional DA, the authors propose MaskRIS, a training framework built on two key components:
1. Holistic Context Masking
Instead of geometric or color transformations, MaskRIS employs random masking of both image patches and text tokens.
- Image Masking: High-ratio patch masking forces the model to rely on global context to identify the target, improving robustness to occlusions.
- Text Masking: Randomly hiding words in the description prevents the model from over-relying on specific keywords (like "red"), forcing a deeper understanding of sentence structure.
2. Distortion-aware Contextual Learning (DCL)
To maintain training stability, MaskRIS uses a dual-path architecture. A Primary Path processes the original clean data, while a Secondary Path processes the masked versions. The model is trained using a Distillation Loss, which encourages the masked path's predictions to match the clean path's output. This self-distillation acts as a powerful regularizer, teaching the model to be robust to missing information without introducing semantic contradictions.
Experimental Results
MaskRIS was evaluated on the three major benchmarks: RefCOCO, RefCOCO+, and RefCOCOg. The results demonstrate that MaskRIS is a highly effective "plug-and-play" strategy:
- State-of-the-Art (SOTA): MaskRIS outperformed all previous methods across all three datasets.
- Quantitative Gains: When applied to the CARIS baseline, MaskRIS improved the overall Intersection-over-Union (oIoU) by 1.82%p on RefCOCO and up to 2.76%p on RefCOCO+.
- Versatility: The method showed significant improvements in both fully supervised and weakly supervised settings, as well as for Referring Expression Comprehension (REC) tasks.
Conclusion
MaskRIS addresses the fundamental conflict between traditional data augmentation and the semantic requirements of vision-language tasks. By replacing destructive augmentations with holistic masking and distortion-aware learning, the framework significantly enhances model robustness and performance. Notably, MaskRIS introduces zero computational overhead during inference, making it a practical solution for real-world RIS applications.
Summary updated