Collaborative Position Reasoning Network for Referring Image Segmentation

Jianjian Cao, Beiya Dai, Yulin Li, Xiameng Qin, Jingdong WangarXiv 2024 · DOI

Introduction

Referring Image Segmentation (RIS) is a challenging multi-modal task that requires generating a pixel-level mask for an object described in natural language. While humans naturally use linguistic cues to narrow down a search area, many existing AI models struggle with "collapsed positioning." These models often attempt to fuse vision and language features globally and predict masks directly in pixel space, which frequently fails when the target is small, non-salient, or described through complex relationships. To address this, the Collaborative Position Reasoning Network (CPRN) explicitly models "where" an object is located before refining its appearance.

The Challenge of Position Reasoning

The core difficulty in RIS lies in reliably locating a specific entity within a cluttered scene based on a free-form text query. Traditional global attention mechanisms often overlook small targets that blend into the background. CPRN addresses this by moving away from purely holistic feature fusion, instead employing a "divide and conquer" strategy to pinpoint targets along independent spatial axes.

Methodology

The CPRN architecture is built around two novel, parallel modules that work collaboratively to localize and segment targets:

1. Row-and-Column Interactive (RoCo) Module

Instead of treating the image as a single 2D block, the RoCo module aggregates visual features into 1D row-wise and column-wise vectors. It then matches linguistic features against these two decoupled axes. This allows the model to reason about the target's horizontal and vertical coordinates independently, making it significantly easier to localize small or non-salient objects.

2. Guided Holistic Interactive (Holi) Module

While the RoCo module identifies the general "neighborhood" of the target, the Holi module maintains a 2D holistic view to capture fine-grained details. Crucially, the Holi module is guided by the positioning information from RoCo, which acts as a spatial prior to suppress irrelevant background noise and salient but non-target objects.

The outputs of these modules are merged via a Feed Forward Network (FFN) and processed through a Multi-Scale Decoder to produce the final segmentation mask. The system utilizes a Swin Transformer as the visual backbone and BERT for language encoding.

Experimental Results

CPRN was evaluated on three standard benchmarks: RefCOCO, RefCOCO+, and Gref (Google RefEXP). The model consistently outperformed previous state-of-the-art (SOTA) methods:

  • RefCOCO: Achieved an Overall IoU of 73.42%, surpassing the previous SOTA (LAVT) by nearly 0.7%.
  • Gref: Achieved 62.81% IoU, demonstrating superior performance on long, complex natural language descriptions.
  • Small Object Performance: In targeted ablation studies, CPRN outperformed LAVT by 3.11% IoU on small-scale objects, validating the efficacy of explicit position reasoning.
Qualitative comparison of CPRN against baseline models on RefCOCO and Gref datasets.

Key Insights

  • Decoupling for Robustness: Reasoning about X and Y coordinates separately via RoCo is more robust than searching a 2D space directly. Identifying which "stripes" of the image contain the object creates a highly effective search area.
  • Global Guidance: Using RoCo's output to guide the Holi module ensures that the high-resolution branch remains focused on the target, even in the presence of distracting salient objects.
  • Handling Linguistic Complexity: CPRN's ability to anchor reasoning to specific spatial axes allows it to handle long, multi-clause descriptions better than models relying on simple global attention.

Conclusion

The Collaborative Position Reasoning Network significantly advances referring image segmentation by prioritizing explicit spatial localization. By decomposing the reasoning process into row and column interactions, the model achieves superior accuracy on complex and small-scale targets. Future work may involve integrating this position-aware logic into larger multi-modal foundation models to enhance their spatial grounding capabilities in diverse environments.

Summary updated

BibTeX
@misc{cao2024collaborative,
  author = {Jianjian Cao and Beiya Dai and Yulin Li and Xiameng Qin and Jingdong Wang},
  title = {{Collaborative Position Reasoning Network for Referring Image Segmentation}},
  year = {2024},
  eprint = {2401.11775},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2401.11775},
}
Figure