Abstract
Automatically identifying the most "interesting" moments in a video—highlight detection—is a fundamental challenge in video processing. Traditional methods rely heavily on expensive manual annotations or massive weakly-labeled datasets. We propose a novel unsupervised framework that identifies highlights by treating them as the most informative segments for distinguishing a video's identity. Using a contrastive learning objective combined with dropout-based augmentation and an attention-based selection mechanism, our model learns to score clips based on their representativeness. Our approach outperforms state-of-the-art weakly-supervised methods on standard benchmarks like YouTube Highlights and TVSum, demonstrating that "interestingness" can be learned directly from raw data.
Introduction
The explosion of video content on platforms like YouTube and Instagram has made automated highlight detection essential for efficient browsing and editing. However, the field has been bottlenecked by data requirements. Full supervision requires tedious frame-level labeling, while weak supervision often necessitates millions of videos with noisy metadata.
This work addresses the unsupervised challenge: learning to detect highlights using only the target video data. We hypothesize that the segments humans find most interesting are also those that are most informative for a machine to distinguish one video from another.
Methodology: Contrastive Highlight Selection
Our framework centers on a Highlight Selector that processes a video as a sequence of clips. The core innovation lies in how we define the learning task without external labels.
The Contrastive Framework
We employ contrastive learning, where the model learns to associate different "views" of the same video while distancing them from other videos in a batch. Unlike image-based contrastive learning that uses geometric transformations, we use dropout noise as our primary augmentation.
As shown in the figure above, a video is passed through the network twice with different random dropout masks. This creates two distinct internal representations (a positive pair). The model is trained to maximize the similarity between these two representations while minimizing similarity with "negative" videos from the same batch.
Attention-Based Selection
To compute a video-level embedding, the model uses an Attention Mechanism. It assigns a weight (score) to each clip, representing its contribution to the final video representation. To succeed at the contrastive task, the model must focus on the most unique and stable parts of the video—those that survive the dropout noise and clearly identify the content. These high-scoring clips are naturally the video's highlights.
Experimental Evaluation
We evaluated our model on three diverse datasets:
- YouTube Highlights: Six categories of sports and activities.
- TVSum: 50 videos across ten categories, focusing on summarization.
- Video Titles in the Wild (VTW): 2,000 unedited mobile videos, representing a more challenging "in-the-wild" scenario.
Our unsupervised model achieved a 4% mAP improvement over previous weakly-supervised methods on YouTube Highlights and a 6.5% improvement on TVSum. Remarkably, it performs within 5% of fully supervised models, despite never seeing a human-provided label.
Why Highlights are Informative
A key contribution of this research is the empirical validation of the relationship between "interestingness" and "information density."
As illustrated in the t-SNE visualization above, highlight clips tend to form much tighter and more separable clusters in the embedding space compared to non-highlight clips. This suggests that highlights contain more consistent and discriminative visual information, making them the ideal "anchors" for the model to learn video identity. By training the model to find these anchors via contrastive learning, we effectively teach it to find the highlights.
Discussion and Limitations
While the model demonstrates a strong correlation between informativeness and highlights, they are not perfectly synonymous. A unique but visually static background might be highly informative for identifying a specific video but would not be considered a highlight by a human viewer. Future work could involve "hard negative mining"—selecting very similar videos as negatives—to force the model to learn even more subtle distinctions between interesting and mundane content.
Conclusion
This work proves that unsupervised contrastive learning is a powerful tool for video highlight detection. By leveraging the inherent information density of highlights and using simple dropout-based augmentation, we can build effective models that require zero human intervention for training, paving the way for more scalable and generalizable video analysis tools.
Summary updated