[Paper Review] Towards Robust Referring Image Segmentation
This paper introduces Robust Referring Image Segmentation (R-RIS), a new task that extends standard referring image segmentation to handle incorrect or misleading text descriptions by requiring models to output blank masks for non-existent objects. The authors propose RefSegformer, a transformer-based model with a vision-language token fusion module and blank token design for improved robustness, achieving state-of-the-art performance on both standard and robust RIS benchmarks with new metrics like rIoU and mRR.
Referring Image Segmentation (RIS) is a fundamental vision-language task that outputs object masks based on text descriptions. Many works have achieved considerable progress for RIS, including different fusion method designs. In this work, we explore an essential question, ``What if the text description is wrong or misleading?'' For example, the described objects are not in the image. We term such a sentence as a negative sentence. However, existing solutions for RIS cannot handle such a setting. To this end, we propose a new formulation of RIS, named Robust Referring Image Segmentation (R-RIS). It considers the negative sentence inputs besides the regular positive text inputs. To facilitate this new task, we create three R-RIS datasets by augmenting existing RIS datasets with negative sentences and propose new metrics to evaluate both types of inputs in a unified manner. Furthermore, we propose a new transformer-based model, called RefSegformer, with a token-based vision and language fusion module. Our design can be easily extended to our R-RIS setting by adding extra blank tokens. Our proposed RefSegformer achieves state-of-the-art results on both RIS and R-RIS datasets, establishing a solid baseline for both settings. Our project page is at \url{https://github.com/jianzongwu/robust-ref-seg}.
Motivation & Objective
- To address the lack of robustness in existing referring image segmentation (RIS) models when faced with incorrect or misleading text descriptions.
- To propose a new task formulation, Robust RIS (R-RIS), that explicitly handles negative (non-existent object) referring expressions.
- To build three new R-RIS datasets by augmenting existing RIS datasets with diverse negative sentences.
- To design and evaluate new metrics—robust IoU (rIoU) and mean Robust Recall (mRR)—to assess both accuracy and robustness.
- To develop RefSegformer, a transformer-based model with a vision-language token fusion module and blank token mechanism, as a strong baseline for R-RIS.
Proposed method
- Propose a new task formulation, R-RIS, which requires models to output blank masks for negative (non-existent object) text inputs and correct masks for positive inputs.
- Create three R-RIS benchmarks by augmenting RefCOCO, RefCOCO+, and RefCOCOg with 10 negative sentences per reference using five generation methods: random replacement, name replacement, target object change, attribute change, and relationship change.
- Introduce two evaluation metrics: robust IoU (rIoU) for pixel-level robustness and accuracy, and mean Robust Recall (mRR) for instance-level robustness on negative inputs.
- Design RefSegformer, a transformer-based model with a vision encoder, language encoder, and a vision-language token fusion (VLTF) module that uses memory tokens to dynamically select relevant language features.
- Incorporate blank tokens into the fusion mechanism that do not interact with language features, enabling the model to disentangle detection of existing objects from identification of non-existent ones.
- Use multi-head cross-attention (MHCA) to fuse vision and language features through the VLTF module, allowing the model to attend to relevant visual and linguistic representations.
Experimental results
Research questions
- RQ1How can referring image segmentation models be made robust to incorrect or misleading text descriptions where the referred object does not exist in the image?
- RQ2What are effective ways to generate diverse and realistic negative referring expressions for benchmarking robust RIS models?
- RQ3How can evaluation metrics be designed to simultaneously measure segmentation accuracy and robustness to negative inputs?
- RQ4Can a unified transformer-based architecture like RefSegformer effectively handle both standard RIS and the new R-RIS task with improved performance?
- RQ5How does the inclusion of blank tokens in the fusion mechanism improve model robustness compared to standard fusion modules?
Key findings
- RefSegformer achieves state-of-the-art performance on six datasets, including both standard RIS and newly introduced R-RIS benchmarks.
- The proposed VLTF fusion module outperforms PWAN + LP in mRR and rIoU metrics, demonstrating superior robustness to negative inputs.
- RefSegformer with VLTF achieves 46.08 rIoU and 73.73 mRR on the R-RIS benchmark, significantly outperforming baselines that fail to generalize to negative inputs.
- The failure cases show that models struggle with negative sentences describing objects with similar shapes (e.g., zebra mistaken for swan), indicating a need for better shape and context generalization.
- The new R-RIS benchmarks with 10 negative sentences per reference per instance provide a more rigorous test of model robustness than single-negative-pair benchmarks.
- The rIoU and mRR metrics effectively capture both segmentation accuracy and robustness, offering a unified evaluation framework for R-RIS models.
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.