SpaceVLLM: Endowing Multimodal Large Language Model with Spatio-Temporal Video Grounding Capability

Jiankang Wang, Zhihan Zhang, Zhihang Liu, Yang Li, Jiannan Ge, Hongtao Xie, Yongdong Zhang

Abstract

Multimodal large language models (MLLMs) have made remarkable progress in either temporal or spatial localization. However, they struggle to perform spatio-temporal video grounding (STVG). This limitation stems from difficulties in extracting accurate spatio-temporal information per frame and mapping visual tokens to spatial coordinates. We introduce SpaceVLLM, an MLLM designed for STVG. It utilizes interleaved Spatio-Temporal Aware Queries and a Query-Guided Space Decoder to establish connections between queries and coordinates. We also contribute the Unified Spatio-Temporal Grounding (Uni-STG) dataset, containing 480K instances. SpaceVLLM achieves state-of-the-art performance across 11 benchmarks.

Introduction: The Challenge of Spatio-Temporal Grounding

While current MLLMs excel at identifying what is in a video or where an object is in a static image, they often fail at the combined task: locating a specific object across a specific span of time. This task, known as Spatio-Temporal Video Grounding (STVG), requires the model to understand both the "flow" of time and precise spatial coordinates simultaneously.

Examples of grounding tasks handled by SpaceVLLM, including VTG, REC, and STVG.

The authors identify two core hurdles:

  1. Information Extraction: Standard LLMs struggle to maintain precise per-frame spatial details while processing long sequences of visual tokens.
  2. Coordinate Mapping: Predicting numerical coordinates as text tokens often leads to hallucinations or misalignment between visual content and predicted boxes.

Methods: The SpaceVLLM Architecture

SpaceVLLM addresses these challenges through a specialized architecture that decouples reasoning from coordinate regression.

The SpaceVLLM architecture featuring interleaved Spatio-Temporal Aware Queries and a Query-Guided Space Decoder.

Spatio-Temporal Aware Queries

Instead of feeding raw video tokens directly into the LLM, the model interleaves learnable "query tokens" between the visual features of adjacent frames. These queries act as anchors that capture temporal perception and dynamic spatial information as the object moves through the scene. The paper shows that placing queries between frames is much more effective than concatenating them at the end.

Query-Guided Space Decoder

Rather than forcing the LLM to output coordinates as text, SpaceVLLM passes the LLM’s internal hidden states (the embeddings of the queries) into a specialized decoder. This decoder uses a dual-attention mechanism to align visual features with the textual description, ensuring the model focuses on the correct object referred to in the prompt.

Lightweight Space Head

A simple Multi-Layer Perceptron (MLP) converts the refined features from the decoder into precise $[c_x, c_y, w, h]$ coordinates. This approach leverages the LLM for high-level reasoning while using a dedicated head for geometric precision.

The Uni-STG Dataset

To train SpaceVLLM, the authors constructed the Unified Spatio-Temporal Grounding (Uni-STG) dataset. It comprises 480,000 instances across three tasks:

  • Video Temporal Grounding (VTG): Locating time segments in videos (e.g., using DiDeMo, Charades-STA).
  • Referring Expression Comprehension (REC): Finding objects in images (e.g., RefCOCO).
  • Spatio-Temporal Video Grounding (STVG): Tracking objects over time using 110K synthesized instances.

The dataset was created using a pipeline with Qwen2.5-72B and Grounding-DINO to synthesize high-quality STVG data from existing video sources, ensuring stable and accurate "tubes" (sequences of bounding boxes).

Experimental Results

SpaceVLLM achieved state-of-the-art (SOTA) performance across 11 benchmarks:

  • HCSTVG-v1: Achieved a 39.3% m_vIoU, significantly outperforming Qwen2.5-VL-7B by 20.2%.
  • VidSTG: Outperformed previous models in temporal localization for both declarative and interrogative queries.
  • Charades-STA: Reached 63.6% R@1 (IoU=0.5) for video temporal grounding.
  • General Video QA: The model maintained high performance on benchmarks like MVBench and VideoMME, suggesting that spatial awareness enhances general video understanding.

Conclusion

SpaceVLLM demonstrates that interleaving spatio-temporal queries and using a dedicated coordinate decoder allows MLLMs to overcome the limitations of text-based coordinate prediction. By decoupling reasoning from regression and training on the large-scale Uni-STG dataset, SpaceVLLM sets a new standard for precise object tracking and localization in video.

Summary updated

BibTeX
@inproceedings{wang2026spacevllm,
  author = {Jiankang Wang and Zhihan Zhang and Zhihang Liu and Yang Li and Jiannan Ge and Hongtao Xie and Yongdong Zhang},
  title = {{SpaceVLLM: Endowing Multimodal Large Language Model with Spatio-Temporal Video Grounding Capability}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2026},
  doi = {10.1609/aaai.v40i12.37956},
}
Figure