TL;DR
CG-STVG is a novel framework for spatio-temporal video grounding that mines discriminative visual context directly from the video itself to guide object localization. By supplementing ambiguous text queries with self-derived visual cues through specialized generation and refinement modules, it achieves state-of-the-art performance across major benchmarks, particularly in complex scenes with heavy distractors.
What Problem Does This Paper Address?
Spatio-Temporal Video Grounding (STVG) is the task of localizing a specific object in a video both in time (when it appears) and space (a sequence of bounding boxes) based on a natural language query.
Current state-of-the-art methods rely exclusively on the text query to find the target object. However, text descriptions are often too sparse or ambiguous to distinguish a target from similar-looking distractors or to handle severe changes in the object's appearance (due to lighting, angles, or occlusion). While one could theoretically write longer, more detailed text queries to fix this, doing so is labor-intensive, computationally expensive, and still struggles to capture fine-grained visual nuances.
To solve this, the authors ask a simple question: Why not look at the video itself to glean extra visual clues? They propose using the video's internal visual context as a secondary, self-generated guide to help the model better understand "what" it is looking for.
Methods
CG-STVG adopts a DETR-like transformer encoder-decoder architecture, augmented with a progressive visual guidance mechanism.
1. Multimodal Encoder
The encoder extracts and fuses three distinct streams of information:
- Appearance Features: Extracted using a 2D ResNet-101 network.
- Motion Features: Extracted using a 3D VidSwin network to capture temporal dynamics.
- Textual Features: Extracted using RoBERTa.
2. Context-Guided Decoder
The decoder consists of cascaded stages, where each stage contains a Spatial-Decoding Block (SDB) and a Temporal-Decoding Block (TDB). The core innovation lies in two modules deployed at each stage:
- Instance Context Generation (ICG): This module uses the spatial query features from the current stage to estimate the object's foreground regions across frames via a multi-layer perceptron (MLP). It then uses RoIAlign to extract localized appearance and motion context from these regions.
- Instance Context Refinement (ICR): Because early-stage bounding box estimates can be noisy, the raw context features often contain irrelevant background information. ICR applies a two-level joint temporal-spatial high-pass filter. It uses temporal query features to calculate frame-level confidence scores (dropping irrelevant frames) and spatial features to calculate spatial confidence scores (suppressing background noise).
The refined visual context from one stage is fed into the next decoding stage as an explicit guidance signal, progressively sharpening the model's spatial awareness.
Datasets
The authors evaluated their framework on three standard STVG benchmarks:
- HCSTVG-v1: Contains 5,660 video-sentence pairs focused entirely on localizing humans.
- HCSTVG-v2: An expanded version of v1, containing 16,544 video-sentence pairs.
- VidSTG: A larger, more diverse dataset based on video relation data, featuring 99,943 distinct sentences across 5,436 videos, split into declarative and interrogative queries.
Key Insights and Ideas
- Bootstrapping Visual Guidance: Instead of relying on external visual templates or longer text, the model progressively refines its own visual understanding of the target across decoder layers.
- Spatial vs. Temporal Separation: An interesting finding was that visual context guidance helps significantly in the spatial domain (SDB) but actually hurts slightly when applied to the temporal domain (TDB). The authors note that temporal grounding relies heavily on finding event boundaries, and directly injecting spatial context can cause boundary blur.
- The Necessity of Refinement: Simply extracting region features (ICG) isn't enough. The two-level filtering mechanism (ICR) is crucial to eliminate the noise generated by imperfect bounding box predictions in the early layers of the decoder.
Key Results
CG-STVG achieved new state-of-the-art (SOTA) results across all three datasets, measured by mean temporal IoU ($m\_tIoU$) and mean video IoU ($m\_vIoU$):
- HCSTVG-v1: Achieved 52.8% $m\_tIoU$ (+2.4% over baseline) and 38.4% $m\_vIoU$ (+1.9% over baseline).
- HCSTVG-v2: Reached 60.0% $m\_tIoU$ and 39.5% $m\_vIoU$, outperforming the previous challenge winner (CSDVL).
- VidSTG: Set new SOTAs for both declarative queries (34.0% $m\_vIoU$) and interrogative queries (29.0% $m\_vIoU$).
Qualitative attention maps demonstrated that the inclusion of instance context allows the spatial queries to focus tightly on the target object across highly variable frames, whereas baseline models easily get distracted by visually similar entities.
Limitations and Future Work
The primary limitation acknowledged in the paper is the "temporal branch gap." Because the instance context is optimized for spatial localization, directly applying it to the Temporal-Decoding Block (TDB) causes a slight performance drop due to boundary blurring.
Future work will likely focus on designing a more sophisticated temporal filtering mechanism that can leverage visual context to determine event boundaries precisely without sacrificing temporal accuracy.
Summary updated