Multi-Modal Mutual Attention and Iterative Interaction for Referring Image Segmentation

Chang Liu, Henghui Ding, Yulun Zhang, Xudong Jiang · DOI

Abstract

Referring Image Segmentation (RIS) requires a precise understanding of both visual content and natural language queries. Current Transformer-based models often treat language as a secondary input to weight visual features, leading to "vision-dominated" representations where linguistic nuances are lost in deeper layers. We present a new framework that addresses this via Multi-Modal Mutual Attention ($M^3Att$) and Iterative Multi-modal Interaction (IMI). By treating vision and language symmetrically and iteratively fusing them, our model maintains strong linguistic grounding throughout the decoding process. Our approach sets new state-of-the-art benchmarks on RefCOCO, RefCOCO+, and RefCOCOg.

Introduction

The goal of Referring Image Segmentation is to produce a binary mask for an object described by a natural language expression, such as "the white bull on the left." While Transformers have significantly advanced this field, they typically employ a cross-attention mechanism where language features act as the 'Query' or 'Key' to modulate visual 'Values'. This unidirectional flow creates vision-dominated features, causing the specific details of the language query to "fade away" as the signal moves through the network. This is particularly problematic for complex or ambiguous queries where every word is vital for correct localization.

Proposed Methodology

To overcome the limitations of vision-dominated fusion, we propose a three-part architectural improvement:

1. Multi-Modal Mutual Attention ($M^3Att$)

Standard attention mechanisms usually output "language-attended vision" (LAV) features. In contrast, $M^3Att$ is designed to be symmetric. It generates both LAV and vision-attended language (VAL) features. By aggregating word-level features for every pixel based on their mutual relevance, the model creates a spatial-dynamic language map. These two paths are then fused, ensuring that pixels are informed by words and vice-versa.

Comparison between generic attention and the proposed Multi-Modal Mutual Attention ($M^3Att$).

2. Iterative Multi-modal Interaction (IMI) and Reconstruction

To prevent the loss of linguistic information in deep layers, we introduce IMI blocks between decoder layers. These blocks continuously re-inject and transform language features at every stage of the decoding process. This iterative refinement allows the language representation to adapt to the increasingly precise visual features generated by the decoder.

Furthermore, we introduce an auxiliary supervision task called Language Feature Reconstruction (LFR). At the end of the decoder, the model must reconstruct the original language features from the final multi-modal output. This forces the network to preserve the integrity of the linguistic information throughout the entire pipeline, acting as a regularizer against visual biases.

The Multi-Modal Mutual Decoder ($M^3Dec$) architecture, featuring Iterative Multi-modal Interaction (IMI) and Language Feature Reconstruction (LFR).

Experimental Evaluation

The model was rigorously tested on three major RIS benchmarks: RefCOCO (short, locational), RefCOCO+ (appearance-based), and RefCOCOg (long, complex).

The proposed method achieved state-of-the-art results across all datasets. Notably, on the complex RefCOCOg dataset, the model showed a consistent improvement of 1.5% to 2% in Intersection over Union (IoU) compared to previous leaders. When utilizing a Swin-Transformer backbone, the model reached an impressive 73.60% IoU on RefCOCO and 64.92% on RefCOCOg (UMD split).

Discussion and Insights

A key finding is the importance of Vision-attended Language (VAL) features. By treating language as a spatially-varying feature map rather than a global vector, the model gains a much stronger guide for the mask decoder. Furthermore, the LFR module proved essential in combating data bias, ensuring the model relies on the specific language cues provided rather than just identifying the most salient object in a scene.

Despite these gains, challenges remain. The model occasionally struggles with highly unusual spatial queries (e.g., segmenting the "gap" between objects) or extreme referential ambiguity in crowded scenes. Future work will focus on deeper reasoning capabilities to resolve such complex scenarios.

Summary updated

BibTeX
@article{liu2023multi,
  author = {Chang Liu and Henghui Ding and Yulun Zhang and Xudong Jiang},
  title = {{Multi-Modal Mutual Attention and Iterative Interaction for Referring Image Segmentation}},
  journal = {IEEE Trans. Image Process.},
  year = {2023},
  doi = {10.1109/tip.2023.3277791},
}
Figure