Introduction
Searching for specific moments within long-form video content remains a significant challenge. Traditional video search often fails to provide precise timestamps, leaving users to manually scrub through footage. Researchers from UNC Chapel Hill address this in their paper, "QVHIGHLIGHTS: Detecting Moments and Highlights in Videos via Natural Language Queries." They introduce a unified framework for video moment retrieval and highlight detection, supported by a large-scale dataset and a novel Transformer-based model, Moment-DETR.
Problem Definition: Beyond Simple Retrieval
Video understanding typically involves two distinct tasks:
- Moment Retrieval (MR): Identifying specific temporal segments based on a natural language query (e.g., "man in a hoodie unpacks groceries").
- Highlight Detection (HD): Identifying the most salient or "exciting" parts of a video.
Existing datasets often suffer from temporal bias, where relevant moments are disproportionately located at the start of videos. Furthermore, they frequently assume a single relevant segment per query and treat highlight detection as query-agnostic. The QVHIGHLIGHTS framework addresses these limitations by requiring models to find multiple disjoint moments and provide query-dependent saliency scores.
Methods: The Moment-DETR Architecture
The authors propose Moment-DETR, a model that treats video moments as objects to be detected within a temporal sequence. This approach is inspired by the DEtection TRansformer (DETR) used in 2D object detection.
Architecture Overview
Moment-DETR avoids the complexities of sliding windows or hand-crafted proposals. Instead, it processes video and text features through a Transformer encoder-decoder architecture:
- Input: Video features (extracted via SlowFast and CLIP) are concatenated with text features from the user query.
- Transformer Encoder: Models global dependencies between video clips and the query.
- Transformer Decoder: Uses a set of trainable "moment queries" (embeddings) to interact with the encoded features and directly predict moment spans (center and width).
- Direct Set Prediction: By predicting spans directly, the model eliminates the need for Non-Maximum Suppression (NMS) post-processing, a common but clunky step in older models.
Weakly-Supervised Pretraining
To enhance performance, the model undergoes pretraining using "noisy" Automatic Speech Recognition (ASR) captions from YouTube. This allows the model to learn robust video-text alignments on a massive scale before fine-tuning on human-annotated data.
The QVHIGHLIGHTS Dataset
The researchers introduced the QVHIGHLIGHTS dataset to provide a more realistic benchmark:
- Scale: 10,310 queries across 10,148 YouTube videos (vlogs and news).
- Annotation: Includes multiple disjoint moments per query and a 5-point saliency scale for every relevant clip.
- Diversity: Curated to cover a wide range of activities and events while specifically mitigating temporal bias.
Results and Key Insights
Moment-DETR achieves state-of-the-art (SOTA) performance across several benchmarks:
- QVHIGHLIGHTS: Achieved 60.51% [email protected] for moment retrieval, a significant improvement over previous baselines like XML+ (47.89%).
- CharadesSTA: Set a new record with 55.65% [email protected].
- Highlight Detection: Demonstrated effective query-dependent saliency scoring (37.43 mAP).
Key findings include:
- Joint Learning: Training for highlight detection improves moment retrieval accuracy, as saliency scores provide a fine-grained training signal.
- Scale over Purity: Pretraining on noisy ASR data significantly boosts performance, highlighting the value of large-scale, weakly-supervised data.
- Slot Specialization: Analysis of the decoder's moment queries reveals that different "slots" specialize in detecting moments at different temporal locations (beginning, middle, or end).
Conclusion
QVHighlights and Moment-DETR represent a significant advancement in natural language video navigation. By unifying moment retrieval and highlight detection into a single end-to-end framework, this work paves the way for more intuitive and precise video search experiences. Future work may involve end-to-end training of the visual backbones and addressing potential social biases inherent in web-scale video data.
Summary updated