Boosting Weakly Supervised Referring Image Segmentation via Progressive Comprehension

Zaiquan Yang, Yuhao Liu, Jiaying Lin, Gerhard Petrus Hancke, Rynson W. H. Lau

TL;DR

This paper tackles Weakly-Supervised Referring Image Segmentation (WRIS) by mimicking how humans process complex descriptions step-by-step. The authors introduce the Progressive Comprehension Network (PCNet), which uses a Large Language Model (LLM) to break down text into smaller cues and progressively refines object localization across multiple stages. This approach significantly outperforms existing state-of-the-art methods without relying on expensive pixel-level annotations.

What Problem Does This Paper Address?

Referring Image Segmentation (RIS) is the task of identifying and segmenting a specific object in an image based on a natural language description (e.g., "the player in the blue shirt catching the ball"). Traditionally, training these models requires massive datasets with expensive, pixel-perfect mask annotations.

To reduce this bottleneck, researchers have shifted toward Weakly-Supervised RIS (WRIS), which attempts to learn this task using only image-text pairs. However, existing WRIS methods typically encode the entire text description into a single, dense mathematical representation. When sentences are long or complex, these models often overlook critical nuances—like specific attributes or spatial relationships—leading to ambiguous or entirely incorrect localizations. The authors recognized that humans don't find objects this way; instead, we break complex descriptions down into a sequence of smaller, manageable clues.

Methods

To bridge this gap, the authors propose the Progressive Comprehension Network (PCNet), which operates in a multi-stage, human-like reasoning loop:

  1. LLM-Based Text Decomposition: Instead of feeding the whole sentence into the vision-language model, PCNet uses an off-the-shelf LLM (Mistral 7B) to dissect the input text into short, target-related phrases (e.g., Cue 1: "a player", Cue 2: "wearing blue", Cue 3: "catches a ball").
  2. Conditional Referring Module (CRM): These cues are fed into the CRM across multiple stages. At each stage, the model uses one specific cue to update its global understanding of the text and refine its "response map" (the heatmap of where it thinks the object is).
Progressive refinement of the response map (Step 2) focusing on the target object.
  1. Region-aware Shrinking (RaS) Loss: This is a novel loss function designed to enforce a coarse-to-fine search. It uses pre-trained mask proposals (generated by models like FreeSOLO or SAM) to separate the foreground from the background. The RaS loss penalizes the model if the response map doesn't become more compact and accurate around a specific instance at each successive stage.
  2. Instance-aware Disambiguation (IaD) Loss: In images with many salient objects, models easily get confused. The IaD loss acts as a negative constraint: if two different text descriptions are paired with the same image, this loss forces the model to ensure their respective response maps do not overlap.

Datasets

The model was trained and evaluated on three standard benchmarks built on top of MSCOCO:

  • RefCOCO & RefCOCO+: Feature shorter descriptions (averaging 3.5 words) focusing heavily on object positions and appearances.
  • RefCOCOg: A much more challenging dataset containing longer, complex sentences (averaging 8.4 words) with intricate object relationships.

Key Insights and Ideas

  • Step-by-step reasoning beats holistic embedding: By forcing the model to digest attributes and actions sequentially rather than all at once, the network achieves much finer visual-linguistic alignment. It prevents the model from being overwhelmed by complex grammar.
  • Progressive shrinking naturally filters noise: The RaS loss is a highly effective way to train a model without ground-truth masks. By assuming the target is a single instance and forcing the activation map to shrink toward a specific mask proposal over time, the model naturally learns to ignore irrelevant background clutter.
  • Contrastive logic solves instance ambiguity: The IaD loss highlights a clever workaround for weak supervision. Since the model doesn't know exactly where the target is, teaching it where the target isn't (by ensuring it doesn't overlap with the target of a different prompt) drastically reduces false positives.

Key Results

  • State-of-the-Art Performance: PCNet significantly outperforms existing WRIS methods across all three benchmarks.
Final accurate segmentation mask generated by the model, successfully isolating the target from surrounding context.
  • Massive gains on complex text: On the most challenging dataset (RefCOCOg), the baseline PCNet (using FreeSOLO for mask proposals) improved localization accuracy (PointM) by 55.2% over the SAG method and 10.3% over the TRIS method.
  • Synergy with Foundation Models: When the Segment Anything Model (SAM) is used to generate the mask proposals instead of FreeSOLO, performance jumps even higher, achieving a 58.6 PointM and 30.7 mIoU on the RefCOCOg validation set.
  • Ablation impact: The Region-aware Shrinking (RaS) loss was the most impactful single contribution, responsible for an 11.6% boost in localization accuracy on its own.

Limitations and Future Work

  • Single-Object Assumption: Because the model's architecture and loss functions are optimized to shrink down to a single instance, it fails when a text prompt refers to multiple objects (e.g., "3 teddy bears sitting on a bed"). It will typically only highlight one of them.
  • Future Directions: The authors plan to upgrade the model to handle open-world referring descriptions—such as camouflaged objects, semi-transparent items, and shadows—by incorporating more fine-grained vision priors into the architecture.

Summary updated

BibTeX
@inproceedings{yang2024boosting,
  author = {Zaiquan Yang and Yuhao LIU and Jiaying Lin and Gerhard Petrus Hancke and Rynson W. H. Lau},
  title = {{Boosting Weakly Supervised Referring Image Segmentation via Progressive Comprehension}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=MxdyGXoK9h},
}
Figure