Abstract
We consider retrieving a specific temporal segment, or moment, from a video given a natural language text description. Methods designed to retrieve whole video clips with natural language determine what occurs in a video but not when. To address this issue, we propose the Moment Context Network (MCN) which effectively localizes natural language queries in videos by integrating local and global video features over time. A key obstacle to training our MCN model is that current video datasets do not include pairs of localized video segments and referring expressions, or text descriptions which uniquely identify a corresponding moment. Therefore, we collect the Distinct Describable Moments (DiDeMo) dataset which consists of over 10,000 unedited, personal videos in diverse visual settings with pairs of localized video segments and referring expressions. We demonstrate that MCN outperforms several baseline methods and believe that our initial results together with the release of DiDeMo will inspire further research on localizing video moments with natural language.
Introduction
While computer vision has made significant progress in video retrieval—finding a whole video based on a query—the task of temporal moment localization remains a formidable challenge. This task involves identifying exactly when an event occurs within a longer video sequence.
Existing approaches often struggle because they treat video segments in isolation. However, natural language is frequently relative; a query like "the girl jumps back up after falling" requires understanding the context of the entire video to distinguish the specific moment from others. Furthermore, real-world videos are often unedited and contain long stretches of irrelevant content, making the identification of specific described events much harder than in edited datasets.
The DiDeMo Dataset
To facilitate research in this area, the authors introduced the Distinct Describable Moments (DiDeMo) dataset. It contains over 10,000 unedited personal videos from Flickr (YFCC100M) and more than 40,000 localized moments.
A key innovation of DiDeMo is the use of referring expressions. Unlike standard captions that might describe a general action (e.g., "a child playing"), referring expressions are designed to uniquely identify a specific segment (e.g., "the child falls down then starts crawling"). Annotators were tasked with creating descriptions that would allow another user to find the exact same segment. To ensure quality, every description was verified by three additional people, and only those with high agreement were retained.
Moment Context Network (MCN)
The proposed Moment Context Network (MCN) learns a shared embedding space where video features and language features are mapped. If a video segment matches a text query, their embeddings are brought close together.
The MCN's strength lies in its Visual Temporal Context Features. It integrates three distinct types of information:
- Local Features: Pooled appearance (VGG) and motion (optical flow) features from the candidate segment itself.
- Global Features: Features averaged across the entire video to provide essential context.
- Temporal Endpoint Features: Normalized start and end points of the segment, helping the model learn temporal cues like "at the beginning."
The text query is processed using an LSTM initialized with GloVe word embeddings. The model is trained with a ranking loss that prioritizes the correct moment over incorrect ones within the same video or across different videos.
Key Results and Insights
The MCN model significantly outperformed several baselines on the DiDeMo test set. It achieved a Rank@1 of 28.10%, nearly doubling the performance of simple chance (22.64%) and outperforming a "Moment Frequency Prior" baseline (19.40%).
Ablation studies highlighted that context is king. Removing global features and temporal endpoints caused the Rank@1 to drop from 27.57% to 18.71% on the validation set. This confirms that understanding a specific moment often requires seeing what happened before or after it.
Conclusion
The introduction of the DiDeMo dataset and the MCN model provides a strong foundation for temporal moment localization. By focusing on referring expressions and temporal context in unedited videos, this work moves closer to how humans naturally interact with and describe video content. Future work will likely focus on more complex temporal reasoning and improving generalization for rare events.
Summary updated