Abstract
Referring Image Segmentation (RIS) is a comprehensive task to segment an object referred by a textual query from an image. In nature, the level of difficulty in this task is affected by the existence of similar objects and the complexity of the referring expression. Recent RIS models still show a significant performance gap between easy and hard scenarios. We pose that the bottleneck exists in the data, and propose a simple but powerful data augmentation method, Negative-mined Mosaic Augmentation (NeMo). This method augments a training image into a mosaic with three other negative images carefully curated by a pretrained multimodal alignment model, e.g., CLIP, to make the sample more challenging. We discover that it is critical to properly adjust the difficulty level, neither too ambiguous nor too trivial. The augmented training data encourages the RIS model to recognize subtle differences and relationships between similar visual entities and to concretely understand the whole expression to locate the right target better. Our approach shows consistent improvements on various datasets and models, verified by extensive experiments.
Introduction
Referring Image Segmentation (RIS) requires a model to generate a pixel-level mask for an object described by a natural language expression. While current state-of-the-art models perform well on simple scenes with isolated objects, they often struggle in "hard" scenarios characterized by visual ambiguity—where multiple similar objects exist—or complex linguistic descriptions involving spatial relationships and subtle attributes.
The researchers behind NeMo argue that the primary bottleneck is not the model architecture, but the lack of challenging training data. Standard datasets often lack the density of similar distractors needed to force models to learn fine-grained discrimination.
Methodology: Negative-Mined Mosaic Augmentation (NeMo)
To address this, the authors introduce NeMo, a data augmentation strategy that intelligently constructs training samples. Unlike standard mosaic augmentation which randomly tiles four images, NeMo uses a strategic mining process to create "hard" training examples.
The Mining Process
- Negative Mining: NeMo utilizes a pretrained CLIP model to identify "hard negatives"—images that are semantically or visually related to the text query but do not contain the actual target.
- Difficulty Calibration: The method balances difficulty using a "Goldilocks" approach. If negatives are too distinct, the task remains trivial. If they are too similar (potential false negatives), the model becomes confused. This is controlled via a similarity threshold ($\tau$) and a candidate pool size ($K$).
- Mosaic Construction: The original "positive" image is placed in one quadrant of a 2x2 grid, while the other three quadrants are filled with mined negatives. Only the positive quadrant contains ground-truth labels.
Experimental Results
NeMo was evaluated across major RIS benchmarks, including RefCOCO, RefCOCO+, G-Ref, and the Generalized RIS (GRES) dataset.
The results demonstrate universal improvements:
- Broad Compatibility: NeMo improved performance across five different state-of-the-art architectures (LAVT, CRIS, ReLA, CGFormer, and VPD).
- Significant Gains on Hard Data: The most substantial improvements were seen on the GRES dataset, with an average gain of +3.11% oIoU.
- Linguistic Robustness: Models trained with NeMo showed increased accuracy on long, complex queries, suggesting a deeper understanding of the full textual context rather than reliance on simple keywords.
Discussion and Conclusion
The success of NeMo highlights that data quality and the "intelligence" of the training signal are critical for advancing RIS. By shrinking images into a mosaic, NeMo also provides implicit multi-scale training, helping models segment smaller or more distant objects.
While NeMo is highly effective, it currently relies on image-level retrieval. Future work may explore object-level parsing to create even more precise and challenging visual distractors. Overall, NeMo provides a simple, "labor-free" way to significantly boost the performance of referring image segmentation models.
Summary updated