Recurrent Multimodal Interaction for Referring Image Segmentation

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

TL;DR

This paper introduces Recurrent Multimodal Interaction (RMI), a novel approach for referring image segmentation that abandons traditional late-fusion "sentence-to-image" methods. By utilizing a convolutional multimodal LSTM, the model processes language, visual, and spatial features jointly at every single word, mimicking how humans dynamically narrow down their visual focus while reading a description.

What Problem Does This Paper Address?

Referring image segmentation requires a model to generate a pixel-level mask of an object or region in an image based on a natural language description (e.g., "the man on the right wearing blue").

Traditional approaches tackle this by processing the image and the text independently: a CNN extracts visual features, an LSTM encodes the entire sentence into a single vector, and the two representations are fused at the very end. The authors argue that this "sentence-to-image" scheme is unnatural and inefficient. Human eye-tracking data shows that people continuously look back and forth between a sentence and an image to ground words dynamically. Waiting until the end of a sentence forces the text encoder to memorize all attributes simultaneously, creating a severe information bottleneck.

Methods

The authors propose the Recurrent Multimodal Interaction (RMI) model, which enforces word-to-image interaction at every step of the sequence using a two-layer recurrent architecture:

  1. Language-only LSTM (Lower Layer): Processes individual words sequentially to generate a spatial-agnostic language representation ($l_t$).
  2. Convolutional Multimodal LSTM (mLSTM, Upper Layer): Takes the language representation ($l_t$) and concatenates it with the visual and spatial coordinate features ($v_{ij}$) at every pixel location.

Crucially, the mLSTM operates as a $1 \times 1$ convolution over the feature map. This design choice allows the model to share weights across all spatial locations and time steps while preserving the spatial resolution ($H' \times W'$) necessary for accurate segmentation.

Additionally, the authors upgrade the standard visual backbone from FCN-32s to a ResNet-101 architecture utilizing atrous (dilated) convolutions. This avoids aggressive downsampling, maintaining a denser feature map that simplifies the training process and yields higher-quality masks.

Figure 3: Network architecture of the RMI model described in section 3.3. By using the convolutional multimodal LSTM, our model allows multimodal interaction between language, image, and spatial information at each word. The mLSTM is applied to all location in the image and implemented as a 1 × 1 convolution.

Datasets

The model was evaluated on four large-scale benchmark datasets:

  • Google-Ref: Features longer, more complex descriptions (averaging 8.43 words) requiring high-level reasoning.
  • UNC: Collected via an interactive two-player game; allows spatial and location words (e.g., "on left").
  • UNC+: Similar to UNC, but strictly forbids location words, forcing the model to rely purely on appearance attributes (e.g., "striped shirt").
  • ReferItGame: Contains shorter, more concise expressions and includes "stuff" categories (like sky or water) in addition to discrete objects.

Key Insights and Ideas

  • Sequential Pruning: By forcing multimodal interaction at each word, the model acts as a sequential decision-maker. For example, given the phrase "the small vase in the middle," the model first highlights all small objects, then isolates the vases, and finally prunes away those not in the middle.
  • Alleviating the Memory Bottleneck: Standard LSTMs struggle to pack a long sentence's worth of visual grounding information into a single fixed-length vector. Grounding words onto the image early and continuously allows the model to offload semantic information onto spatial regions, leading to massive relative gains on longer sentences.
  • Interpretability via Hidden States: Because the mLSTM retains spatial dimensions, its hidden states can be mean-pooled to create human-interpretable attention maps. This reveals exactly how the model's internal "belief mask" shifts and sharpens word-by-word.
Visualization of the mLSTM hidden state over time, showing how the model narrows down its focus word-by-word.

Key Results

  • State-of-the-Art Performance: RMI consistently outperforms language-only LSTM baselines across all datasets. On Google-Ref, RMI achieves an Intersection-over-Union (IoU) of 32.06% (compared to 28.60% for the baseline) using ResNet weights. Incorporating DeepLab weights and DenseCRF post-processing pushes this to 34.52%.
  • Long-Sentence Superiority: The relative performance gain of RMI over the baseline increases dramatically with sentence length. On Google-Ref sentences containing 11–20 words, RMI achieves a 14.81% relative gain over the baseline.
  • Robust Appearance Reasoning: On the challenging UNC+ dataset (where location words are banned), RMI shows a significant performance boost, proving that sequential multimodal fusion helps the model better grasp complex visual attributes like clothing patterns or facial expressions.

Limitations and Future Work

The authors note that the language encoder remains a primary bottleneck, particularly on datasets like UNC+ where spatial cues are absent and deep semantic understanding is required. For future work, they plan to introduce more explicit structural modeling into the language understanding component to better capture complex syntactic relationships.

Summary updated

BibTeX
@inproceedings{liu2017recurrent,
  author = {Chenxi Liu and Zhe Lin and Xiaohui Shen and Jimei Yang and Xin Lu and Alan 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