Abstract
Video moment localization aims to identify specific segments within a video based on natural language queries. While current models perform well on simple action descriptions, they often fail when queries involve complex temporal relationships such as "before," "after," or "then." This paper introduces Moment Localization with Latent Context (MLLC), a novel framework that treats context as a latent variable to better ground temporal language. To evaluate this capability, the authors present TEMPO, a large-scale dataset specifically designed for temporal reasoning in video. Experimental results demonstrate that MLLC significantly outperforms existing state-of-the-art models by effectively attending to query-dependent context.
Introduction
The task of video moment localization has seen significant progress, yet a major gap remains in handling temporal dependencies. Most existing approaches focus on identifying a single action ("a person jumping") but struggle with queries like "a person jumping after they run." The fundamental challenge lies in the need for query-dependent context. To understand an "after" relationship, a model must not only identify the target moment but also find and relate it to a preceding event elsewhere in the video.
Previous models typically relied on "query-independent" context, such as global video features or fixed neighboring clips. However, global features can often blur the specific temporal order required for precise localization. This work argues that the model must learn to dynamically select relevant context based on the specific linguistic structure of the query.
The TEMPO Dataset
To address the lack of temporal language in existing benchmarks like DiDeMo or Charades, the authors introduced the TEMPO (TEMPOral reasoning in video and language) dataset. It consists of two primary components:
- TEMPO-TL (Template Language): A large-scale set created by combining existing localized sentences from DiDeMo using logical templates (e.g., "X before Y"). This provides a controlled environment for training models on temporal logic.
- TEMPO-HL (Human Language): A more complex set featuring natural, human-written descriptions. This subset includes challenging linguistic phenomena such as coreference (e.g., using "she" to refer to a previously mentioned subject), requiring deeper semantic understanding.
Methodology: Moment Localization with Latent Context (MLLC)
The proposed MLLC model moves beyond fixed context by treating the supporting context as a latent variable. Instead of a static window, the model searches for the most relevant "context moment" to support the "base moment" (the candidate target clip).
The architecture consists of several key components:
- Base and Context Moments: The model evaluates a candidate base moment alongside various proposed context moments from the video.
- Scoring Function: A similarity score is calculated between the language embedding ($f_L$) and the combined visual features of the base and context moments ($f_V$). By maximizing this score over all possible context moments, the model effectively "attends" to the most relevant temporal evidence.
- Temporal Endpoint Features (conTEF): To help the model learn the semantics of temporal ordering (e.g., "first" vs. "last"), the start and end times of both moments are explicitly encoded.
- Normalized Hadamard Product: The model utilizes element-wise multiplication of video and text vectors, which was found to be more effective than standard distance-based metrics for this task.
Key Insights and Results
The evaluation of MLLC reveals several critical findings:
- Superiority of Latent Context: MLLC outperformed previous state-of-the-art models like MCN and TALL across all benchmarks. On TEMPO-TL, MLLC achieved a Rank 1 accuracy (R@1) of 29.74%, compared to 27.07% for MCN.
- Global Context Limitations: While global features are common in video tasks, they were found to degrade performance on "before" and "after" queries by obscuring the precise temporal sequence.
- The Impact of Supervision: Performance improved significantly when the model was "strongly supervised" during training—meaning it was told exactly which context moment to look at. This highlights the importance of accurate context grounding for temporal reasoning.
- Linguistic Complexity: There remains a significant performance gap on the TEMPO-HL subset. Human language involves complex coreference and varied phrasing that simple keyword-matching models cannot yet fully capture.
Conclusion
MLLC represents a significant step toward more sophisticated video understanding by enabling query-dependent context reasoning. While the model shows strong performance on template-based temporal logic, the challenges posed by natural human language in the TEMPO-HL dataset suggest that future work should focus on better visual grounding, improved coreference resolution, and more nuanced temporal logic.
Summary updated