TL;DR
The Agentic Spatio-Temporal Grounder (ASTG) is a training-free framework that tackles Spatio-Temporal Video Grounding (STVG) by decoupling spatial and temporal reasoning into two collaborative, MLLM-based agents. By utilizing a propose-and-evaluate paradigm alongside tracking tools and visual memory, ASTG achieves state-of-the-art zero-shot performance that is highly competitive with fully supervised models—all without requiring dense, expensive video annotations.
What Problem Does This Paper Address?
Spatio-Temporal Video Grounding (STVG) requires a system to locate a target entity in a video both spatially (bounding boxes) and temporally (start and end frames) based on a text query. This is highly valuable for video surveillance, human-robot interaction, and video editing.
However, existing approaches face a major dilemma:
- Spatial-first approaches analyze frames individually, ignoring crucial temporal context.
- Temporal-first approaches look at the video holistically but fail to provide dense, accurate spatial coordinates.
- Joint-reasoning systems repeat spatial reasoning on every single frame, leading to massive computational redundancy since objects move continuously between adjacent frames.
Furthermore, fully supervised methods require massive amounts of densely annotated data, limiting their ability to generalize to open-world, unseen scenarios. Existing zero-shot methods use Multimodal Large Language Models (MLLMs) passively as simple feature extractors rather than adaptive reasoners.
Methods
ASTG introduces an autonomous, training-free framework driven by two specialized MLLM agents that work together via a propose-and-evaluate paradigm:
- Controller: The orchestrator. It parses the text query into static visual cues (noun phrases) and dynamic action cues (context). It also manages the execution flow and handles data processing.
- Spatial Reasoning Agent (SRA): Focuses purely on spatial localization. Instead of scanning every frame, it proposes a target bounding box on a single frame.
- Tracking Tools (SAM 2): The Controller takes the SRA's initial bounding box and uses Segment Anything 2 (SAM 2) to efficiently track the object across the video, generating a spatio-temporal "tube" candidate.
- Temporal Reasoning Agent (TRA): Acts as the validator and localizer. It reviews the generated tube (highlighted with visual markers) to verify if the object's actions match the text query. If verified, it performs temporal localization to trim the start and end frames.
- Visual Memory & Dialogue Context: A shared memory module tracks previously evaluated tubes to prevent duplicate proposals, while a continuous dialogue history allows the TRA to give feedback to the SRA to adjust its next proposal if a candidate is rejected.
Datasets
The authors evaluated ASTG on three widely recognized video grounding benchmarks:
- VidSTG: A large-scale dataset containing 99,943 sentence-video pairs based on relation triplets, split into declarative and interrogative sentences.
- HC-STVG v1: Focuses on human subjects performing complex sequences of actions (averaging 2.5 actions per query) in 20-second video clips.
- HC-STVG v2: An expanded version of HC-STVG with 16,685 video-query pairs.
Key Insights and Ideas
- Decoupling is Efficiency: Because spatial positions are highly contiguous across adjacent frames, running spatial detection frame-by-frame is wasteful. Proposing a candidate once and using a dedicated tracker (like SAM 2) drastically cuts down MLLM workload.
- Visual Prompting Mitigates Hallucination: MLLMs frequently struggle with sequence tracking and frame-index confusion. By overlaying explicit spatial outlines (masks) and temporal markers (visible frame numbers) directly onto the video frames, the TRA can maintain strict focus and avoid hallucinations.
- The Power of "Thinking Mode": Activating test-time compute/reasoning ("thinking mode") in modern MLLMs allows the agents to iteratively self-correct, yielding massive accuracy gains in temporal localization at the cost of higher latency.
Key Results
ASTG consistently outperformed all existing weakly-supervised and zero-shot methods across the board:
- Zero-Shot Superiority: On the HC-STVG v1 dataset, ASTG achieved a [email protected] of 54.4%, outperforming the previous best zero-shot method, RealVG (40.0%), by a massive 14.4% margin.
- Supervised Competitiveness: ASTG's zero-shot performance is highly competitive with fully supervised models. For instance, its [email protected] of 31.4% on HC-STVG v2 actually outperforms the fully supervised baseline TubeDETR (30.6%).
- Ablation Impact: Enabling the TRA's "thinking mode" provided a substantial boost, raising the
m_tIoUon HC-STVG v1 from 36.6% to 43.8%.
Limitations and Future Work
The primary bottleneck of ASTG is inference latency and token consumption. When the MLLM agents operate in "thinking mode" to ensure high accuracy, the average latency increases significantly (up to 94.8 seconds per video in full configuration). Furthermore, despite visual prompting, MLLMs still occasionally hallucinate frame indices when processing long sequences.
Future work will likely focus on optimizing agent communication efficiency and developing more lightweight, sequence-aware foundation models to reduce computational overhead.
Summary updated