[Paper Review] Referring Transformer: A One-step Approach to Multi-task Visual Grounding
Introduces a one-stage transformer framework that jointly performs referring expression comprehension (REC) and segmentation (RES) by learning contextualized phrase queries and decoding them into bounding boxes and masks; achieves state-of-the-art results with simple pretraining.
As an important step towards visual reasoning, visual grounding (e.g., phrase localization, referring expression comprehension/segmentation) has been widely explored Previous approaches to referring expression comprehension (REC) or segmentation (RES) either suffer from limited performance, due to a two-stage setup, or require the designing of complex task-specific one-stage architectures. In this paper, we propose a simple one-stage multi-task framework for visual grounding tasks. Specifically, we leverage a transformer architecture, where two modalities are fused in a visual-lingual encoder. In the decoder, the model learns to generate contextualized lingual queries which are then decoded and used to directly regress the bounding box and produce a segmentation mask for the corresponding referred regions. With this simple but highly contextualized model, we outperform state-of-the-arts methods by a large margin on both REC and RES tasks. We also show that a simple pre-training schedule (on an external dataset) further improves the performance. Extensive experiments and ablations illustrate that our model benefits greatly from contextualized information and multi-task training.
Motivation & Objective
- Motivate a simple, end-to-end approach for visual grounding that unifies REC and RES in a single model.
- Eliminate the need for dense proposal stages and task-specific architectures by leveraging a visual-lingual transformer.
- Explore how contextualized phrase queries and multi-task training improve grounding performance.
- Show that pretraining on external data further boosts REC and RES performance.
Proposed method
- Use a visual-lingual encoder to fuse image features with text context.
- Generate phrase-specific queries from phrase embeddings and contextual cues via an MLP with a learnable bias.
- Decode to both bounding boxes (REC) and segmentation masks (RES) using a multi-task transformer decoder with cross-modal attention.
- Train jointly on REC and RES with a combination of L1 and IoU loss for detection and focal/Dice losses for segmentation.
- Optionally pretrain the transformer on a region-description dataset to improve downstream performance.
Experimental results
Research questions
- RQ1Can a single one-stage transformer model jointly handle REC and RES without dense anchors or Hungarian matching?
- RQ2Does contextualized cross-modal querying improve grounding accuracy for multiple referring expressions within an image?
- RQ3What is the impact of multi-task training and pretraining on REC and RES performance?
- RQ4How does the model perform across standard REC/RES benchmarks compared to prior state-of-the-art methods?
Key findings
- The proposed Referring Transformer outperforms state-of-the-art methods on REC and RES across multiple datasets (e.g., RefCOCO, RefCOCO+, RefCOCOg) by large margins.
- Joint multi-task training improves both REC and RES and reduces inconsistency between tasks.
- A simple pretraining schedule on Visual Genome further enhances performance, with notable gains on several splits.
- The model enables parallel decoding of multiple referring expressions, achieving real-time inference.
- Ablations show contextualized phrase queries and the query encoder/decoder design are critical for performance.
- Results include up to 8.5% ABSOLUTE gains on REC and 19.4% on RES reported in the paper.
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.