TL;DR
This paper introduces RGA3, a novel framework for object-centric video understanding that unifies referring and grounding tasks. It enables users to interact with videos using both text and arbitrary visual prompts (like scribbles or masks) and can generate segmentation masks for referred objects, leading to more precise and interactive video comprehension.
What Problem Does This Paper Address?
Existing Video Large Language Models (VideoLLMs) have made strides in understanding general video content, but they often fall short when it comes to fine-grained, object-centric reasoning. These models typically focus on high-level comprehension and provide text-only responses, limiting their ability to handle detailed spatial-temporal queries about specific objects. This makes it difficult to perform complex interactions that require pinpointing objects, understanding their relationships, and generating precise outputs like segmentation masks. The paper aims to bridge this gap by enabling VideoLLMs to perform object-referring for inputs and object-grounding for outputs, facilitating more interactive and detailed video analysis.
Methods
The core of RGA3 lies in two key innovations:
- Spatial-Temporal Overlay Module (STOM): This module allows the model to process arbitrary visual prompts (masks, bounding boxes, scribbles, etc.) provided at any single timestamp within a video. STOM then propagates these prompts to all other frames, ensuring the model can maintain focus on the object of interest throughout the video, even if the prompt only appears briefly. This is achieved by tracking points around the prompt's centroid and overlaying a visual representation of the prompt onto each frame.
- Unified Framework for Referring and Grounding: RGA3 integrates object-referring (understanding what object is being referred to) and object-grounding (generating visual outputs like segmentation masks for those objects). This is accomplished by leveraging a multimodal large language model (MLLM) and a SAM2 decoder. When a special
<SEG>token is detected in the LLM's output, the SAM2 decoder is activated to generate segmentation masks for the referred objects.
Datasets
- VideoInfer: A newly introduced, manually curated, object-centric video instruction dataset. It comprises 1,650 videos and features approximately 29K question-answer pairs designed to challenge models with questions requiring semantic understanding, temporal reasoning, and instance discrimination. Unlike existing datasets that often rely on automated pipelines and focus on perception, VideoInfer emphasizes deeper reasoning and long-term temporal understanding.
- Existing Benchmarks: RGA3 was also evaluated on 11 existing benchmarks, including referring visual question answering (VideoRefer-Bench, ViP-Bench) and referring/reasoning object segmentation (ReasonVOS, ReVOS, MeViS, Ref-YouTube-VOS, Ref-DAVIS-17).
Key Insights and Ideas
- Arbitrary Visual Prompts are Powerful: The ability to use diverse visual prompts beyond just masks (like scribbles or arrows) significantly enhances interactivity and allows for more natural user input.
- Temporal Propagation is Crucial: Simply processing a prompt at a single frame is insufficient for video understanding. Propagating the prompt across the entire video, as STOM does, is essential for robust object-centric reasoning.
- Unifying Referring and Grounding is Beneficial: Combining the ability to understand references with the ability to generate visual grounding (segmentation masks) creates a more powerful and versatile system for video analysis.
- Manual Curation Matters for Reasoning: The VideoInfer dataset highlights the need for carefully crafted, open-ended questions that require genuine inference, rather than relying on automatically generated multiple-choice questions.
Key Results
RGA3 consistently outperforms existing state-of-the-art models across various benchmarks:
- Referring Question Answering: RGA3 achieves state-of-the-art performance on the VideoInfer benchmark, outperforming concurrent work by a significant margin. It also shows strong results on VideoRefer-Bench and ViP-Bench.
- Referring & Reasoning Segmentation: RGA3 significantly surpasses existing video object segmentation models on multiple benchmarks, including ReasonVOS and ReVOS, demonstrating its superior reasoning capabilities.
- General Grounding: RGA3 also shows strong performance on image-level segmentation benchmarks.
Limitations and Future Work
- Computational Cost: The paper notes that the propagation process of SAM2 and the tracking process of CoTracker3 contribute significantly to the overall latency, though the LLM forward pass is the most time-consuming component.
- Future Work: The authors suggest that their work provides a strong foundation for future research in object-centric video comprehension, enabling more interactive and multi-round conversational reasoning on videos. The release of their dataset, code, and web demo aims to facilitate further advancements in this area.
Summary updated