Training-Free Video Temporal Grounding Using Large-Scale Pre-trained Models

Minghang Zheng, Xinhao Cai, Qingchao Chen, Yuxin Peng, Yang Liu · DOI

Abstract

Video Temporal Grounding (VTG) aims to localize specific events within untrimmed videos based on natural language queries. Traditional supervised approaches suffer from high annotation costs, poor generalization to out-of-distribution scenarios, and a "static bias" where models favor clear visual frames over dynamic transitions. This paper introduces TFVTG, a training-free framework that leverages the reasoning capabilities of Large Language Models (LLMs) and the visual alignment of Vision-Language Models (VLMs). By decomposing queries into sub-events and employing a novel dynamic-static scoring mechanism, TFVTG achieves state-of-the-art zero-shot performance and demonstrates superior robustness across diverse datasets.

Introduction

Video Temporal Grounding (VTG) is a critical task in video understanding, requiring a model to identify the precise start and end timestamps of an activity described in a text query. While supervised models have made significant strides, they are limited by three primary challenges. First, they are data-hungry, requiring extensive manually labeled video-query pairs. Second, they exhibit a significant generalization gap, often failing when applied to new datasets or out-of-distribution (OOD) scenarios. Third, most VLMs suffer from static bias; because they are often trained on static images or short clips, they tend to focus on the most visually distinct middle portion of an action rather than the dynamic transitions that define the actual beginning and end of an event.

To address these issues, researchers from Peking University developed TFVTG (Training-Free Video Temporal Grounding). This framework eliminates the need for expensive training data by utilizing the inherent knowledge within pre-trained LLMs and VLMs.

Methodology

The TFVTG framework operates through a modular three-stage pipeline designed to bridge the gap between high-level linguistic reasoning and low-level visual perception.

1. LLM-Based Query Decomposition

Complex queries (e.g., "The person puts the picture on the wall after picking it up") often contain multiple sequential or simultaneous actions. TFVTG utilizes an LLM (GPT-4 Turbo) to decompose these into simpler sub-events. The LLM acts as a "temporal architect," identifying the chronological order and logical relationships between these components, which provides a structured roadmap for the visual search.

2. VLM Localization with Dynamic-Static Scoring

To locate these sub-events within the video, the framework employs BLIP-2. To overcome the "action blindness" of standard VLMs, the authors introduce a dual-scoring mechanism:

  • Dynamic Scoring: This measures the rate of change in similarity between the video frames and the query. By identifying where the similarity score is increasing most rapidly, the model can pinpoint the "transition phase" where an action begins.
  • Static Scoring: This evaluates how much more relevant the video content is inside a proposed segment compared to the content outside of it.

The final localization score for any given proposal is calculated as the maximum sum of these two components across all possible split points, ensuring the model captures both the essence and the boundaries of the action.

3. Logical Filtering and Integration

In the final stage, the system generates the top-k proposals for each sub-event. It then applies the logical constraints derived by the LLM in the first stage to filter out impossible temporal combinations (e.g., an event ending before its prerequisite begins). The valid segments are then merged into a final prediction.

Experimental Evaluation

Datasets and Benchmarks

The framework was rigorously evaluated on two primary benchmarks: Charades-STA (3,720 test pairs) and ActivityNet Captions (20,000 videos). To test robustness, the researchers utilized OOD benchmarks including Charades-CD (novel locations) and Charades-CG (novel text compositions), as well as custom setups designed to test for location bias.

Key Results

TFVTG established a new state-of-the-art for zero-shot video temporal grounding:

  • Zero-Shot Performance: On Charades-STA, TFVTG achieved 49.97% [email protected], outperforming the previous best training-free method (VTG-GPT) by a margin of 6.29%.
  • Cross-Dataset Robustness: The model demonstrated remarkable stability. When tested on Charades-STA using logic derived from ActivityNet, TFVTG maintained its high performance (49.97% [email protected]), whereas supervised models like SCDM saw their accuracy drop to as low as 15.91%.
  • Ablation Insights: Removing the LLM-based decomposition led to a measurable drop in mIoU on ActivityNet (from 34.10 to 33.61), confirming that high-level reasoning is essential for handling complex temporal queries.

Discussion and Insights

A primary insight of this work is that standard VLMs are biased toward discriminative visual cues—preferring the frame where a person is already seated rather than the act of sitting down. By explicitly modeling the increase in similarity scores as a dynamic transition, TFVTG effectively mitigates this bias. Furthermore, the study highlights that in OOD settings, training-free methods can actually outperform supervised models because they do not overfit to the specific biases or shortcuts present in a single training dataset.

Limitations and Future Work

Despite its success, TFVTG faces challenges regarding LLM reliability, as errors in the initial query decomposition can lead to cascading failures in localization. Additionally, the computational cost of calling high-end LLM APIs and performing VLM inference on every frame remains high, making real-time application difficult. Future research will focus on validating LLM outputs and optimizing inference efficiency to make the framework more robust and scalable.

Conclusion

TFVTG represents a significant shift in Video Temporal Grounding by demonstrating that large-scale pre-trained models can be orchestrated to solve complex temporal tasks without any task-specific training. By combining logical reasoning with a novel approach to visual transitions, TFVTG sets a new benchmark for zero-shot performance and generalization in the field.

Summary updated

BibTeX
@inproceedings{zheng2024training,
  author = {Minghang Zheng and Xinhao Cai and Qingchao Chen and Yuxin Peng and Yang Liu},
  title = {{Training-Free Video Temporal Grounding Using Large-Scale Pre-trained Models}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-73007-8\_2},
}
Figure