Abstract
Referring Image Segmentation (RIS) consistently requires language and appearance semantics to understand each other deeply, especially in complex scenarios. Existing works often resort to feed-forward mechanisms that inject language semantics directly into the main RGB branch, which can lead to weakly-mined referent distributions and "semantic contamination" of non-referent features. In this paper, we propose Spatial Semantic Recurrent Mining ($S^2RM$) to achieve high-quality cross-modality fusion. $S^2RM$ follows a three-stage strategy: distributing language features, spatial semantic recurrent coparsing, and parsed-semantic balancing. By cyclically shifting row and column features, the model recurrently correlates relevant semantics across modalities, effectively modeling global relationships. Additionally, we introduce a Cross-scale Abstract Semantic Guided Decoder (CASG) to emphasize the referent foreground at a low computational cost. Extensive experiments on four challenging datasets demonstrate that our method performs favorably against state-of-the-art algorithms.
Introduction
Referring Image Segmentation (RIS) involves segmenting a specific object in an image based on a natural language prompt. This task is inherently difficult because it requires a fine-grained alignment between visual features and linguistic descriptions. Current methodologies often suffer from two primary issues:
- Semantic Contamination: Early injection of language features into the vision backbone can "pollute" visual features, making them less effective for general scene understanding.
- Weak Spatial Mining: Standard convolutional layers have a limited receptive field, struggling to capture long-range spatial relationships (e.g., "the leftmost chair") without expensive global attention mechanisms.
To address these, $S^2RM$ introduces a recurrent mining strategy that maintains visual feature purity while achieving a global receptive field through efficient feature shifting.
Proposed Methodology
The framework consists of two primary components: the $S^2RM$ fusion module and the CASG decoder.
Spatial Semantic Recurrent Mining ($S^2RM$)
Instead of simple feature concatenation, $S^2RM$ employs a "trilogy" strategy for fusion:
- Distributing Language Feature: Generates a distribution-aware language feature aligned with the spatial dimensions of visual features.
- Spatial Semantic Recurrent Coparsing: This core innovation takes slices of features (rows and columns) and cyclically shifts them. By correlating these shifted slices with the other modality, the model "mines" relationships across the entire image without the quadratic cost of standard self-attention.
- Parsed-Semantic Balancing: Uses self-distilled weights to prioritize the most relevant spatial correlations based on the text prompt.
Cross-scale Abstract Semantic Guided Decoder (CASG)
To maintain efficiency, the CASG decoder uses high-level "abstract semantics" from deep layers to guide the refinement of lower-level features. It employs both spatial and channel attention to ensure the mask generation process remains focused on the referent described in the text.
Experimental Results
The model was evaluated on four major RIS benchmarks: RefCOCO, RefCOCO+, RefCOCOg, and ReferIt. Our Swin-Base variant (SwinB-Ours) set new state-of-the-art records, achieving 76.88% mIoU on RefCOCO.
Efficiency and Precision
A key advantage of the $S^2RM$ approach is its computational efficiency. As shown in the table below, our SwinT-Ours model achieves higher precision ([email protected]) than established models like LAVT while utilizing significantly fewer FLOPs (92.9G vs. 197.4G).
Discussion and Conclusion
By decoupling the vision backbone from early language injection, $S^2RM$ preserves visual feature integrity, allowing for more robust multi-query processing. The shifting mechanism provides a global receptive field comparable to Transformers but at a fraction of the cost.
While the model performs exceptionally well, it still faces challenges in extremely cluttered scenes where positional ambiguity is high. Future work will explore integrating "target existence" detection to handle cases where the described object is missing from the image, further improving the model's reliability in real-world applications.
Summary updated