Manuscript Offprint

arXiv:2609.31135

Pocket-STVG: lightweight architecture for Spatio-Temporal Video Grounding

Alberto Presta, Michal Byra, Grzegorz Stefański, Karol Szurkowski, Eryk Kołodziejczyk, Krzysztof Arendt

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Spatio-Temporal Video Grounding (STVG) aims to localize the spatio-temporal tube in a video corresponding to a natural language query. While recent methods achieve strong performance in fully supervised, weakly supervised, and zero-shot settings, they typically rely on computationally expensive architectures, complex training pipelines, or multimodal large language models. We present Pocket-STVG (P-STVG), a lightweight cascade architecture that addresses STVG by combining efficient pre-trained components instead of large end-to-end models. P-STVG integrates a temporal-aware video encoder based on MobileViCLIP, a spatial encoder-decoder derived from MDETR, and a shared aligned text encoder. Temporal localization is performed through either a lightweight 1D U-Net or a simple thresholding strategy, enabling the same framework to operate in both weakly supervised and zero-shot settings. Furthermore, video representations are precomputed independently of the query, yielding an indexing-friendly pipeline for efficient inference and large-scale video collections. Despite requiring fewer than 90M parameters, P-STVG performs on par with weakly supervised methods and improves on earlier zero-shot approaches at a fraction of their memory and computational cost, establishing a favorable performance-efficiency trade-off for STVG.

1. Introduction

Spatio-Temporal Video Grounding (STVG) focuses on localizing, both spatially and temporally, the target action specified by a textual query within a given video sequence. The rapid advancement of multimodal architectures and transformer-based models [3, 40], along with its importance in key applications such as anomaly detection and robotics [6, 43, 51], has propelled STVG into the forefront of research within the deep learning community. However, it is also challenging task as it requires merging complex information originating from different modalities, discarding noise and focusing on specific important targets. While

Figure

Figure 1. Performance–efficiency comparison on HC-STVG v2. P-STVG occupies a compact operating point, retaining useful grounding accuracy with substantially fewer parameters than recent weakly supervised and zero-shot methods. Marker shapes indicate the supervision setting.

first approaches divided STVG into cascades of sub-stask [35, 46, 52], more recent methods aim to develop compact end-to-end transformer based architectures that output the spatio-temporal tube directly. These models can be categorized into three distinct approaches: fully supervised methods [8, 9, 47], which rely on costly frame-level annotations; weakly-supervised methods [7, 20, 23], which utilize only video-text pairs or partially labeled data; and zero-shot methods [2, 50], which leverage powerful pre-trained vision-language models [24, 29, 30] to eliminate the dependency on annotated data. Fully supervised methods have achieved the best results in terms of both temporal and spatial detection, but they require dense data annotations and often overfit to training dataset, lacking generalization capability. On the other hand, both weakly and zero-shot approaches rely on pre-existing knowledge coming from huge pre-trained models, achieving remarkable results, even if inferior with respect to fully-supervised methods. However, these approaches often employ highly complex iter-ative optimization strategies [2] or depend on large-scale models during inference [50], which poses challenges for their practical deployment in offline scenarios on resource-constrained edge devices. In general, existing approaches focus on optimization of the spatio-temporal performance rather than models memory footprint, jeopardizing practical scenarios of using the system on mobile devices. On the contrary, recently it has been shown that a large image-text foundation models such as CLIP [29] can be distilled into smaller architectures for efficient learning [39], with straightforward extension to videos [49].

Inspired by recent efficiency-oriented architectures, we propose Pocket-STVG (P-STVG), a lightweight architecture for Spatio-Temporal Video Grounding. The pipeline consists of two stages: indexing and inference. During indexing, spatial and temporal video embeddings are precomputed independently of the query, enabling efficient processing of long videos and large-scale collections. During inference, the query is encoded into text embeddings, after which a lightweight temporal decoder first performs temporal grounding and a spatial decoder subsequently predicts the target bounding boxes. To maximize parameter efficiency, we adopt cross-architecture synthesis by aligning the video-text encoder with the spatial decoder for character-level span prediction, while temporal localization is performed by a lightweight 1D U-Net that effectively models long-range temporal dependencies.

Despite requiring fewer than 90M parameters, P-STVG achieves competitive performance with both weakly supervised and zero-shot methods while substantially reducing memory footprint and computational cost. As illustrated in Fig. 1, P-STVG occupies a favorable performance–efficiency operating point, combining compact model size with a simple, non-iterative inference pipeline designed for resource-constrained video grounding scenarios. The contributions of this work are as follows:

• We propose P-STVG, a lightweight and indexing-friendly architecture for STVG with fewer than 90M parameters, designed to balance grounding accuracy and computational efficiency in resource-constrained settings.

• We introduce a query-independent video indexing stage that precomputes spatial and temporal representations, enabling efficient repeated inference over long videos and large-scale video collections.

• We achieve competitive spatio-temporal grounding performance with weakly supervised and zero-shot methods while substantially reducing model size, memory footprint, and computational complexity.

• We introduce a lightweight temporal decoder based on a 1D U-Net, together with a parameter-free thresholding alternative, enabling the same framework to operate under both weakly supervised and zero-shot temporal grounding settings.

References (53)

  • Simbase: A simple baseline for temporal video grounding (opens arXiv in a new tab)
  • E3m: zero-shot spatio-temporal video grounding with expectation-maximization multimodal modulation
  • End-to-end object detection with transformers
  • Weakly-supervised temporal article grounding
  • Improving video understanding and generation with better captions
  • Stead: Spatio-temporal efficient anomaly detection for time and compute sensitive applications
  • Stpro: Spatial and temporal progressive learning for weakly supervised spatio-temporal grounding
  • Context-guided spatio-temporal video grounding
  • Knowing your target: Target-aware transformer makes better spatio-temporal video grounding
  • Towards long-form spatio-temporal video grounding (opens arXiv in a new tab)
  • Contrastive learning for weakly supervised phrase grounding
  • Weakly-supervised spatio-temporal video grounding with variational cross-modal alignment
  • A one-stage approach for spatio-temporal video grounding
  • Mdetrmodulated detection for end-to-end multi-modal understanding
  • Adam: A method for stochastic optimization
  • Connecting language and vision using crowdsourced dense image annotations
  • Contextual self-paced learning for weakly supervised spatio-temporal video grounding
  • LLaVA-OneVision: Easy Visual Task Transfer
  • Tubermc: Tube-conditioned reconstruction with mutual constraints for weakly-supervised spatio-temporal video grounding
  • Winner: Weakly-supervised hierarchical decomposition and alignment for spatio-temporal video grounding
  • Microsoft coco: Common objects in context
  • Collaborative static and dynamic vision-language streams for spatio-temporal video grounding
  • Single-frame supervision for spatio-temporal video grounding
  • Marrying dino with grounded pre-training for open-set object detection
  • RoBERTa: A Robustly Optimized BERT Pretraining Approach
  • Relation-aware instance refinement for weakly supervised visual grounding
  • Video swin transformer
  • Flickr30k entities: Collecting region-to-phrase correspondences for richer image-to-sentence models
  • SAM 2: Segment Anything in Images and Videos
  • What does clip know about a red circle? visual prompt engineering for vlms
  • Stvgbert: A visual-linguistic transformer based framework for spatio-temporal video grounding
  • Reclip: A strong zero-shot baseline for referring expression comprehension
  • Efficientnet: Rethinking model scaling for convolutional neural networks
  • Human-centric spatio-temporal video grounding with visual transformers
  • Bridging time and space: Decoupled spatio-temporal alignment for video grounding (opens arXiv in a new tab)
  • Fastvit: A fast hybrid vision transformer using structural reparameterization
  • Mobileone: An improved one millisecond mobile backbone
  • Mobileclip: Fast image-text models through multi-modal reinforced training
  • Attention is all you need
  • Qwen2-VL: Enhancing Vision-Language Model's Perception of the World at Any Resolution
  • Maf: Multimodal alignment framework for weakly-supervised phrase grounding
  • Facialpulse: An efficient rnn-based depression detection via temporal facial landmarks
  • Videogrounding-dino: Towards open-vocabulary spatio-temporal video grounding
  • Realvg: Unleashing mllms for training-free spatio-temporal video grounding in the wild
  • Spatio-temporal person retrieval via natural language queries
  • Tubedetr: Spatio-temporal video ground-ing with transformers
  • Clip-kd: An empirical study of clip model distillation
  • Mobileviclip: An efficient video-text model for mobile devices
  • Unleashing the potential of multimodal llms for zero-shot spatio-temporal video grounding
  • Futuresightdrive: Thinking visually with spatio-temporal cot for autonomous driving (opens arXiv in a new tab)
  • Where does it exist: Spatio-temporal video grounding for multi-form sentences
  • Agentic spatio-temporal grounding via collaborative reasoning
  • Weakly supervised video moment localization with contrastive negative sample mining