Skip to main content
QUICK REVIEW

[Paper Review] CoupAlign: Coupling Word-Pixel with Sentence-Mask Alignments for Referring Image Segmentation

Zicheng Zhang, Yi Zhu|arXiv (Cornell University)|Dec 4, 2022
Multimodal Machine Learning ApplicationsComputer Science16 citations
TL;DR

CoupAlign proposes a novel multi-level visual-semantic alignment framework for referring image segmentation that couples word-pixel alignment with sentence-mask alignment to enforce object mask constraints, improving localization accuracy. By integrating bidirectional cross-attention at intermediate encoder layers and using weighted mask proposals guided by sentence embeddings, CoupAlign achieves a 2% relative improvement in oIoU over SOTA methods on RefCOCO, especially excelling in distinguishing targets among multiple similar objects.

ABSTRACT

Referring image segmentation aims at localizing all pixels of the visual objects described by a natural language sentence. Previous works learn to straightforwardly align the sentence embedding and pixel-level embedding for highlighting the referred objects, but ignore the semantic consistency of pixels within the same object, leading to incomplete masks and localization errors in predictions. To tackle this problem, we propose CoupAlign, a simple yet effective multi-level visual-semantic alignment method, to couple sentence-mask alignment with word-pixel alignment to enforce object mask constraint for achieving more accurate localization and segmentation. Specifically, the Word-Pixel Alignment (WPA) module performs early fusion of linguistic and pixel-level features in intermediate layers of the vision and language encoders. Based on the word-pixel aligned embedding, a set of mask proposals are generated to hypothesize possible objects. Then in the Sentence-Mask Alignment (SMA) module, the masks are weighted by the sentence embedding to localize the referred object, and finally projected back to aggregate the pixels for the target. To further enhance the learning of the two alignment modules, an auxiliary loss is designed to contrast the foreground and background pixels. By hierarchically aligning pixels and masks with linguistic features, our CoupAlign captures the pixel coherence at both visual and semantic levels, thus generating more accurate predictions. Extensive experiments on popular datasets (e.g., RefCOCO and G-Ref) show that our method achieves consistent improvements over state-of-the-art methods, e.g., about 2% oIoU increase on the validation and testing set of RefCOCO. Especially, CoupAlign has remarkable ability in distinguishing the target from multiple objects of the same class.

Motivation & Objective

  • To address incomplete masks and localization errors in referring image segmentation caused by ignoring pixel coherence within objects.
  • To improve cross-modal alignment by explicitly enforcing object mask constraints at both fine-grained (word-pixel) and coarse-grained (sentence-mask) levels.
  • To enhance model robustness in distinguishing the target object from multiple instances of the same class, such as individuals in a crowd.
  • To develop a hierarchical alignment mechanism that captures both visual and semantic consistency across pixels of the referred object.

Proposed method

  • Introduces a Word-Pixel Alignment (WPA) module that performs bidirectional cross-attention between intermediate visual and linguistic features for early fusion.
  • Generates multiple mask proposals from the word-pixel aligned features to represent potential objects in the image.
  • Employs a Sentence-Mask Alignment (SMA) module that weights the mask proposals using the sentence embedding to localize the referred object.
  • Projects the weighted masks back to aggregate target pixels, providing a mask constraint that refines the word-pixel alignment.
  • Designs an auxiliary contrastive loss to distinguish foreground from background pixels, enhancing alignment at both word-pixel and sentence-mask levels.
  • Uses a hierarchical training strategy that alternates between WPA and SMA modules to progressively refine predictions.

Experimental results

Research questions

  • RQ1Can coupling word-pixel and sentence-mask alignments improve mask accuracy and reduce localization errors in referring image segmentation?
  • RQ2Does enforcing object mask constraints through multi-level alignment lead to better generalization in complex scenes with multiple similar objects?
  • RQ3How does early cross-modal interaction (via WPA) compare to late fusion in terms of performance and robustness?
  • RQ4To what extent does the auxiliary contrastive loss improve alignment quality and final segmentation performance?
  • RQ5Can the proposed method outperform state-of-the-art models on standard benchmarks like RefCOCO and G-Ref?

Key findings

  • CoupAlign achieves a 2% absolute increase in oIoU on the RefCOCO validation and test sets compared to prior SOTA methods.
  • The model shows a significant 4.3% drop in oIoU (from 74.70% to 70.43%) when the WPA module is removed, demonstrating its critical role.
  • Replacing bidirectional WPA with unidirectional attention reduces oIoU by 2% (74.70% to 72.70%), confirming the benefit of symmetric cross-attention.
  • The SMA module contributes substantially, with a 1.7% oIoU drop (74.70% to 73.02%) when removed, indicating its effectiveness in mask constraint learning.
  • The auxiliary contrastive loss improves oIoU by 1% (74.70% to 73.70%) when disabled, proving its value in enhancing pixel-level alignment.
  • The WPA module at the final encoder stage (stage 4) is most effective, with performance dropping by 2% when the last two WPA modules are removed.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.