Let Me Finish My Sentence: Video Temporal Grounding with Holistic Text Understanding

Jongbhin Woo, Hyeonggon Ryu, Youngjoon Jang, Jae-Won Cho, Joon Son Chung · DOI

Abstract

Traditional Video Temporal Grounding (VTG) models often struggle with complex queries because they prioritize individual word tokens over the holistic meaning of a sentence. This paper introduces a novel framework centered on a Global Text Anchor, which enforces a comprehensive understanding of the query before attempting to locate moments or detect highlights. By utilizing gated cross-attention and fine-grained alignment losses, the proposed method achieves state-of-the-art performance across major benchmarks, particularly excelling in scenarios involving long, descriptive queries.

Introduction

Video Temporal Grounding (VTG) is a dual-task challenge involving Moment Retrieval (identifying the start and end timestamps of an event) and Highlight Detection (scoring the relevance of specific frames within that event). A recurring issue in current VTG research is the "token-level" bias: models often focus on isolated words within a query, leading to false positives. For instance, if a user searches for "a man wearing a helmet speaks to the camera," a model might incorrectly highlight any segment featuring a man speaking, regardless of whether he is wearing a helmet.

This research argues that a model should not begin its search until it has "finished the sentence"—effectively forming a holistic representation of the entire query to guide the visual search process.

Methodology

The core of the proposed framework is the Global Text Anchor, a single vector derived via mean pooling that represents the entire query's semantic meaning. This anchor is integrated into the architecture through three primary mechanisms:

1. Gated Cross-Attention

To filter out irrelevant visual noise, the model employs a dual-gate mechanism:

  • Local Gate: This evaluates the channel-wise similarity between the global text anchor and individual video frames, ensuring that the visual features align with the overall query intent.
  • Non-local Gate: This assesses a frame's relevance in the context of the entire video clip. By comparing a specific moment against the global video context, the model can effectively suppress background scenes that might contain query-related objects but do not represent the actual event.

2. Anchor-Query Cross-Attention

This module treats the global text anchor as a "query" that interacts directly with the video features. This ensures that the final multi-modal representation is deeply informed by the full sentence context rather than just a sequence of word-frame correlations.

3. Fine-Grained Alignment Losses

To further refine the model, the authors introduce two specific loss functions:

  • Clip-Level Consistency Loss: This minimizes the distance between the original text anchor and the visually-enriched version produced by the model, ensuring semantic stability.
  • Frame-Level Relevance Loss: This trains the model to explicitly distinguish between frames that match the holistic query and those that are merely background or partial matches.

Experimental Results

The model was evaluated on three benchmark datasets: QVHighlights, Charades-STA, and TACoS, using standard pre-trained features (SlowFast and CLIP) for a fair comparison.

Performance Metrics

The proposed method achieved state-of-the-art (SOTA) results across the board:

  • QVHighlights: The model reached 65.95% [email protected], significantly outperforming previous baselines like QD-DETR and UVCOM.
  • Highlight Detection: The model achieved a 40.27 mAP, demonstrating that holistic understanding is crucial for identifying the most salient parts of a video.
  • Query Complexity: A key finding was the model's robustness with long queries (13+ words). While traditional models often lose track of context in longer sentences, the global anchor approach maintains a stable target for the visual search.

Key Insights

Ablation studies revealed that simple mean pooling for the text anchor outperformed more complex Transformer-based encoding. This suggests that the primary bottleneck in VTG is not the complexity of the text representation itself, but how that text is aligned with the temporal visual data.

Conclusion and Future Work

By shifting the focus from sequential token matching to holistic text understanding, this framework sets a new standard for Video Temporal Grounding. The dual-gate mechanism and global anchor approach effectively reduce false positives and improve the accuracy of both moment retrieval and highlight detection.

Future research may look toward end-to-end training (moving beyond frozen encoders like CLIP) and the integration of audio modalities to provide an even more comprehensive understanding of video content. Additionally, optimizing the computational overhead of the cross-attention mechanisms will be vital for scaling the system to long-form video applications.

Summary updated

BibTeX
@inproceedings{woo2024let,
  author = {Jongbhin Woo and Hyeonggon Ryu and Youngjoon Jang and Jae-Won Cho and Joon Son Chung},
  title = {{Let Me Finish My Sentence: Video Temporal Grounding with Holistic Text Understanding}},
  booktitle = {ACM Multimedia},
  year = {2024},
  doi = {10.1145/3664647.3681514},
}
Figure