[Paper Review] Encoder Fusion Network with Co-Attention Embedding for Referring Image Segmentation
This paper proposes an Encoder Fusion Network with Co-Attention Embedding (CEFNet) for referring image segmentation, which performs cross-modal fusion in the encoder rather than the decoder, enabling language-guided, progressive refinement of multi-scale visual features. The method uses a co-attention mechanism to jointly update visual and linguistic features in parallel, improving semantic alignment, and includes a boundary enhancement module (BEM) that boosts performance by 2–3% in IoU, achieving state-of-the-art results on four benchmarks without post-processing.
Recently, referring image segmentation has aroused widespread interest. Previous methods perform the multi-modal fusion between language and vision at the decoding side of the network. And, linguistic feature interacts with visual feature of each scale separately, which ignores the continuous guidance of language to multi-scale visual features. In this work, we propose an encoder fusion network (EFN), which transforms the visual encoder into a multi-modal feature learning network, and uses language to refine the multi-modal features progressively. Moreover, a co-attention mechanism is embedded in the EFN to realize the parallel update of multi-modal features, which can promote the consistent of the cross-modal information representation in the semantic space. Finally, we propose a boundary enhancement module (BEM) to make the network pay more attention to the fine structure. The experiment results on four benchmark datasets demonstrate that the proposed approach achieves the state-of-the-art performance under different evaluation metrics without any post-processing.
Motivation & Objective
- To address the limitation of decoder-side fusion in referring image segmentation, which fails to provide continuous language guidance to multi-scale visual features.
- To improve cross-modal alignment by replacing sequential modality updates with parallel co-attention, enhancing semantic consistency between vision and language representations.
- To recover fine-grained structural details lost during feature extraction, especially around object boundaries.
- To achieve state-of-the-art performance without post-processing or additional computational cost.
Proposed method
- Transforms the visual encoder (e.g., ResNet) into a multi-modal feature encoder, enabling deep fusion of language and vision features in the encoder stage.
- Introduces a co-attention mechanism that simultaneously updates visual and linguistic features using a shared affinity matrix, promoting joint representation learning.
- Employs two co-attention variants: vanilla co-attention and asymmetric co-attention, with the latter improving modality-specific context understanding.
- Incorporates a boundary enhancement module (BEM) that leverages edge cues to refine segmentation masks during decoding, enhancing contour accuracy.
- Uses Feature Pyramid Network (FPN) in the decoder for multi-scale prediction, with fusion implemented via element-wise concatenation (Eq. 1) in both encoder and decoder baselines.
- Evaluates ablation studies on EFN (encoder fusion) vs. DFN (decoder fusion), demonstrating the superiority of encoder-level fusion.
Experimental results
Research questions
- RQ1Can multi-modal fusion in the encoder stage improve language-guided feature learning compared to decoder-side fusion?
- RQ2Does a parallel co-attention mechanism enhance cross-modal alignment and representation consistency better than sequential attention?
- RQ3Can explicit boundary refinement improve segmentation accuracy on fine-grained object contours?
- RQ4How does the proposed method compare to state-of-the-art approaches in terms of performance and inference efficiency?
Key findings
- The encoder fusion network (EFN) outperforms the decoder fusion baseline (DFN) significantly, demonstrating that early fusion enables better feature learning without increased computational cost.
- The vanilla co-attention module improves mean IoU by 6.8% to 8.2% across UNC-val, UNC-testA, and UNC-testB, while the asymmetric co-attention module achieves gains of 7.6% to 8.8%.
- The boundary enhancement module (BEM) boosts overall IoU by 2% to 3%, with visual results showing tighter alignment to object boundaries.
- The method achieves state-of-the-art performance on four benchmark datasets: UNC, UNC+, Google-Ref, and ReferItw, under all standard evaluation metrics.
- Failure cases are primarily due to ambiguous queries, rare words (e.g., 'cop'), or small object size, suggesting potential for improvement via zero-shot learning or input scaling.
- The asymmetric co-attention mechanism is more robust to input size variations, as shown in ablation studies (Tab. 5).
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.