GPT2MVS: Generative Pre-trained Transformer-2 for Multi-modal Video Summarization

Jia-Hong Huang, Luka Murn, Marta Mrak, Marcel Worring

Introduction

Video summarization aims to condense long video sequences into short, representative clips. While traditional methods produce a single "static" summary for all users, modern applications require personalization. Multi-modal video summarization addresses this by using natural language queries to guide the selection of relevant frames. However, previous approaches often relied on simplistic text representations like Bag-of-Words (BoW), which fail to capture linguistic nuances and context. This paper introduces GPT2MVS, a framework that leverages the contextual power of GPT-2 and a triple-attention mechanism to provide highly relevant, query-controllable video summaries.

The Challenge of Query-Controllable Summarization

Static summarizers typically select frames based on visual saliency alone. If a video contains multiple activities—such as a winter sports compilation—a static model might provide a generic mix. Query-based models allow users to specify interests (e.g., "show me the snowboarding highlights").

Conceptual overview of query-dependent video summarization where different text queries yield distinct visual summaries from the same source video.

The primary limitation of existing multi-modal models is their reliance on non-contextual text embeddings. BoW models ignore word order and struggle with polysemy (words with multiple meanings depending on context). GPT2MVS overcomes this by using a pre-trained GPT-2 model to generate contextualized word representations, ensuring the system understands the specific intent behind a user's query.

Methodology: The GPT2MVS Framework

The GPT2MVS architecture is designed to bridge the gap between visual content and textual intent through four key modules:

  1. Contextualized Video Summary Controller: This module utilizes a pre-trained GPT-2 model to process the input query. Unlike static embeddings, GPT-2 captures the sequential dependencies and semantic nuances of the text.
  2. Multi-modal Attention Mechanisms: The system employs dual attention paths. Textual Attention refines the GPT-2 features to focus on the most descriptive words in the query. Simultaneously, Visual Attention uses a ResNet-based CNN to extract and weight significant spatial regions within video frames.
  3. Interactive Attention Network: This component acts as the fusion center. By calculating the Hadamard product of visual and textual features followed by a 1x1 convolution, it models the implicit interaction between the two modalities. It essentially identifies which visual elements most strongly correlate with the user's textual request.
  4. Video Summary Generator: The final stage predicts relevance scores for each frame. Frames with the highest scores are compiled into the final summary.
The detailed architecture of GPT2MVS, highlighting the GPT-2 controller, visual/textual attention mechanisms, and the interactive attention network.

Experimental Setup and Results

The model was evaluated on the QueryVS benchmark, which contains 190 videos annotated with query-specific relevance levels by human workers. The dataset was split into training (60%), validation (20%), and testing (20%) sets.

GPT2MVS demonstrated significant improvements over the previous state-of-the-art (QueryVS model):

  • Accuracy: Reached 76.25%, representing a +5.88% absolute improvement.
  • F1-Score: Achieved 0.5484, a +4.06% increase.

Ablation studies confirmed that the combination of visual, textual, and interactive attention modules is necessary for peak performance. Interestingly, the "Medium" variant of GPT-2 often outperformed larger versions, likely because the relatively small training set (114 videos) led to overfitting in higher-capacity models.

Conclusion and Future Directions

GPT2MVS represents a step forward in personalized video content delivery by successfully integrating deep linguistic context into the summarization process. While the results are promising, the authors note that the model currently ignores audio and speech data, which could provide additional semantic cues. Future work will focus on scaling the dataset and exploring unified Transformer architectures that can process visual, textual, and auditory information simultaneously for a more comprehensive understanding of video content.

Summary updated

BibTeX
@inproceedings{huang2021gpt,
  author = {Jia-Hong Huang and Luka Murn and Marta Mrak and Marcel Worring},
  title = {{GPT2MVS: Generative Pre-trained Transformer-2 for Multi-modal Video Summarization}},
  booktitle = {ICMR},
  year = {2021},
  doi = {10.1145/3460426.3463662},
}
Figure