Recurrent Multimodal Interaction for Referring Image Segmentation

Chenxi Liu, Zhe Lin, Xiaohui Shen, Jimei Yang, Xin Lu, Alan L. Yuille

Introduction

Referring image segmentation is the task of generating a pixel-level mask for an object described by a natural language expression. Traditional approaches to this problem typically follow a "global encoding" paradigm: the entire sentence is compressed into a single vector, which is then fused with visual features extracted from a convolutional neural network (CNN). However, this approach forces the model to capture all semantic attributes—such as object class, color, spatial relationships, and location—into a fixed-length representation before any interaction with the image occurs.

In contrast, humans process referring expressions sequentially, narrowing their visual focus as they read each word. This paper introduces Recurrent Multimodal Interaction (RMI), a framework that mimics this behavior by allowing visual and linguistic features to interact at every step of the language sequence.

Methodology: The RMI Architecture

The core of the RMI model is a two-layer recurrent architecture designed to "ground" language into the image progressively. The model utilizes a powerful backbone, such as ResNet-101 or DeepLab-101, equipped with atrous (dilated) convolutions. This technical choice is vital as it allows the model to extract high-level semantic features while maintaining a relatively high spatial resolution ($40 \times 40$ pixels), providing the necessary detail for accurate segmentation.

The RMI architecture uses a convolutional multimodal LSTM (mLSTM) to integrate visual features, spatial coordinates, and word embeddings at each time step.

The Multimodal LSTM (mLSTM)

Unlike standard LSTMs that operate on 1D vectors, the proposed multimodal LSTM (mLSTM) is convolutional. At each time step $t$, corresponding to a word in the sentence, the mLSTM receives:

  1. The current word embedding.
  2. The hidden state from a lower-level language-only LSTM.
  3. The 2D visual feature map from the CNN backbone.
  4. A set of spatial coordinates to assist with positional terms (e.g., "left", "bottom").

Because the mLSTM uses $1 \times 1$ convolutions, it preserves the spatial grid of the image. As the model processes the sentence word-by-word, the hidden state—which acts as a spatial memory—is updated to reflect the evolving "belief" about which pixels belong to the target object.

Sequential Interaction and Progressive Grounding

A key advantage of the RMI approach is its ability to refine the segmentation mask as the linguistic description becomes more specific. Visualizing the internal states of the mLSTM reveals that the model effectively "searches" the image. For instance, given the phrase "man in the blue vest," the model might initially highlight all people in the scene after the word "man," and then suppress those not wearing blue as the sequence continues.

Qualitative visualization of progressive grounding: the model refines its segmentation mask step-by-step as it processes the words "standing", "someone", and "bat".

This sequential interaction makes the model particularly robust to long, complex descriptions. The authors observed that the relative performance gain of RMI over baseline models increased significantly as the length of the referring expression grew.

Experimental Results

The model was evaluated on four major benchmarks: Google-Ref, UNC, UNC+, and ReferItGame. These datasets vary in complexity, with Google-Ref containing long, descriptive sentences (averaging 8.4 words) and UNC+ forbidding the use of location words, forcing a reliance on purely visual attributes.

RMI achieved state-of-the-art results across all datasets. On Google-Ref, the model improved the Intersection over Union (IoU) from a baseline of 28.14% to 34.52%. On the challenging UNC+ dataset, the model demonstrated a 16.85% relative gain for the longest sentences compared to standard global-encoding methods.

Conclusion

Recurrent Multimodal Interaction represents a significant shift in referring image segmentation by moving from global fusion to word-level interaction. By maintaining a spatial memory through a convolutional mLSTM, the model can progressively refine its segmentation masks, leading to superior performance on complex, natural language queries. Future work may involve incorporating hierarchical linguistic structures, such as dependency trees, to better handle relational queries that go beyond linear sequences.

Summary updated

BibTeX
@inproceedings{liu2017recurrent,
  author = {Chenxi Liu and Zhe Lin and Xiaohui Shen and Jimei Yang and Xin Lu and Alan L. Yuille},
  title = {{Recurrent Multimodal Interaction for Referring Image Segmentation}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2017},
  doi = {10.1109/iccv.2017.143},
}
Figure