VideoLights: Feature Refinement and Cross-Task Alignment Transformer for Joint Video Highlight Detection and Moment Retrieval

Dhiman Paul, Md. Rizwan Parvez, Nabeel Mohammed, Shafin RahmanarXiv 2024 · DOI

Abstract

VideoLights is a novel transformer-based framework designed for the simultaneous execution of Video Highlight Detection (HD) and Moment Retrieval (MR). By integrating a Feature Refinement and Alignment (FRA) module, Bidirectional Cross-Modal Fusion (Bi-CMF), and a joint-task feedback mechanism, VideoLights overcomes common pitfalls in multi-modal video analysis such as semantic misalignment and unidirectional attention. The model achieves state-of-the-art results on major benchmarks, including QVHighlights and Charades-STA, demonstrating the efficacy of using highlight saliency to guide temporal localization.

1. Introduction

As digital video content continues to grow exponentially, the ability to efficiently search and summarize video data has become paramount. Two critical tasks in this domain are Moment Retrieval (MR)—identifying specific start and end times for a text query—and Highlight Detection (HD)—ranking segments based on their relative importance or "saliency." Despite their inherent relationship, existing models often struggle with semantic misalignment between brief queries and long videos, unidirectional attention mechanisms that ignore visual context for text understanding, and a lack of synergy between the two tasks.

2. Methodology

VideoLights addresses these challenges through a multi-stage transformer architecture designed for joint task optimization.

The overall architecture of VideoLights, illustrating the flow from feature extraction to joint prediction heads.

The framework introduces several key innovations:

  • Feature Refinement and Alignment (FRA) Module: Instead of traditional linear projections, VideoLights utilizes 1D Convolutional Neural Networks (FFCNN) to capture local temporal patterns. An explicit alignment loss is applied to ensure video and text features are mathematically congruent before entering the transformer.
  • Bidirectional Cross-Modal Fusion (Bi-CMF): This module employs a three-stage attention mechanism (text-to-video, video-to-text, and fusion) to create a deeply integrated "query-injected" video representation.
  • Unidirectional Joint-Task Feedback (Uni-JFM): This module uses saliency scores from the HD task as a supervisory signal to refine the MR task, positing that high-saliency regions are more likely to contain the target moment.
  • Synthetic Captioning: To improve pre-training quality, the authors used BLIP-2 to generate descriptive captions for video segments, providing cleaner supervision than noisy ASR transcripts.

3. Key Insights: The Role of Convolutions

A major finding of the study is the superiority of convolutional projections over linear ones for initial feature alignment. By considering local temporal context, the FRA module significantly reduces noise and improves the semantic match between modalities.

Comparison of feature alignment heatmaps across Linear, Convolutional, and Feature Refinement layers.

As shown in the heatmaps, the Feature Refinement Layer produces a much cleaner alignment between the query words and the relevant video clips compared to standard linear projections. This refinement is crucial for accurately localizing moments in long, complex videos.

4. Experimental Results

VideoLights established new state-of-the-art performance across multiple benchmarks:

  • QVHighlights: Achieved a mean Average Precision (mAP) of 47.94%, significantly outperforming the previous best of 42.62%.
  • Charades-STA: Reached a [email protected] of 73.33%, a 2.5% improvement over existing SOTA models.
  • TVSum: Demonstrated strong generalization by matching or exceeding SOTA in 5 out of 10 domains.

Ablation studies confirmed that each component—FRA, Bi-CMF, and Uni-JFM—contributes significantly to the overall performance, validating the synergistic design.

5. Conclusion

VideoLights demonstrates that joint modeling of Highlight Detection and Moment Retrieval, supported by robust feature refinement and bidirectional fusion, leads to superior video understanding. While the model introduces some computational complexity due to its multi-encoder setup, its performance gains and cross-domain generalization capabilities mark a significant step forward in video analysis. Future work will focus on optimizing the architecture for efficiency and exploring more diverse synthetic data sources.

Summary updated

BibTeX
@misc{paul2024videolights,
  author = {Dhiman Paul and Md. Rizwan Parvez and Nabeel Mohammed and Shafin Rahman},
  title = {{VideoLights: Feature Refinement and Cross-Task Alignment Transformer for Joint Video Highlight Detection and Moment Retrieval}},
  year = {2024},
  eprint = {2412.01558},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2412.01558},
}
Figure