[Paper Review] Language as Queries for Referring Video Object Segmentation
This paper proposes ReferFormer, a unified Transformer-based framework that treats language descriptions as dynamic queries to directly attend to and segment the referred object in video frames. By conditioning object queries on language input, it enables end-to-end segmentation and tracking with state-of-the-art performance, achieving 64.2 J&F on Ref-Youtube-VOS using a Swin-Large backbone.
Referring video object segmentation (R-VOS) is an emerging cross-modal task that aims to segment the target object referred by a language expression in all video frames. In this work, we propose a simple and unified framework built upon Transformer, termed ReferFormer. It views the language as queries and directly attends to the most relevant regions in the video frames. Concretely, we introduce a small set of object queries conditioned on the language as the input to the Transformer. In this manner, all the queries are obligated to find the referred objects only. They are eventually transformed into dynamic kernels which capture the crucial object-level information, and play the role of convolution filters to generate the segmentation masks from feature maps. The object tracking is achieved naturally by linking the corresponding queries across frames. This mechanism greatly simplifies the pipeline and the end-to-end framework is significantly different from the previous methods. Extensive experiments on Ref-Youtube-VOS, Ref-DAVIS17, A2D-Sentences and JHMDB-Sentences show the effectiveness of ReferFormer. On Ref-Youtube-VOS, Refer-Former achieves 55.6J&F with a ResNet-50 backbone without bells and whistles, which exceeds the previous state-of-the-art performance by 8.4 points. In addition, with the strong Swin-Large backbone, ReferFormer achieves the best J&F of 64.2 among all existing methods. Moreover, we show the impressive results of 55.0 mAP and 43.7 mAP on A2D-Sentences andJHMDB-Sentences respectively, which significantly outperforms the previous methods by a large margin. Code is publicly available at https://github.com/wjn922/ReferFormer.
Motivation & Objective
- Address the limitations of existing two-stream pipelines in referring video object segmentation (R-VOS), including complex multi-stage designs and suboptimal cross-modal reasoning.
- Overcome the lack of explicit instance-level supervision and poor generalization under scene variations in bottom-up methods.
- Eliminate the need for post-processing tracking by naturally linking queries across frames through conditional attention.
- Develop a unified, end-to-end framework that jointly detects, segments, and tracks referred objects using only video and language input.
Proposed method
- Introduce a small set of learnable object queries conditioned on the input language expression, restricting them to attend only to the referred object.
- Use these conditional queries as dynamic kernels to filter feature maps and generate segmentation masks via a novel dynamic kernel mechanism.
- Design a cross-modal feature pyramid network (CM-FPN) that enables fine-grained visual-linguistic feature interaction at multiple scales.
- Employ a query-based label assignment strategy using classification, bounding box, and mask matching costs to optimize object grounding.
- Link corresponding queries across frames via instance matching to achieve end-to-end video object tracking without post-processing.
- Utilize a Transformer-based decoder to generate segmentation masks, detection boxes, and classification scores in a single forward pass.
Experimental results
Research questions
- RQ1Can language be directly used as queries to guide attention toward the referred object in video frames, simplifying the R-VOS pipeline?
- RQ2Does a unified, end-to-end framework based on conditional queries outperform existing two-stage or bottom-up approaches in accuracy and efficiency?
- RQ3How does the number of conditional queries affect performance and robustness in complex scenes with similar objects?
- RQ4To what extent does cross-modal feature fusion improve segmentation under challenging visual conditions like occlusion or lighting changes?
- RQ5Can object tracking be naturally achieved through query linking across frames without additional post-processing?
Key findings
- ReferFormer achieves 55.6 J&F on Ref-Youtube-VOS using a ResNet-50 backbone, surpassing the previous SOTA by 8.4 points.
- With a Swin-Large backbone, ReferFormer reaches 64.2 J&F on Ref-Youtube-VOS, setting a new state-of-the-art performance.
- On A2D-Sentences, ReferFormer achieves 55.0 mAP, significantly outperforming prior methods.
- On JHMDB-Sentences, it achieves 43.7 mAP, demonstrating strong generalization to action-centric referring expressions.
- Ablation studies show that using 5 conditional queries yields optimal performance, with degradation beyond this number due to label assignment imbalance.
- Increasing the number of training clip frames from 1 to 5 improves J&F by 5.0 points, highlighting the importance of temporal modeling.
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.