SD-VSum: A Method and Dataset for Script-Driven Video Summarization

Manolis Mylonas, Evlampios Apostolidis, Vasileios MezarisarXiv 2025

TL;DR

Script-driven video summarization moves beyond simple keyword queries to generate tailored video highlights based on detailed, multi-sentence narrative "scripts." This paper introduces S-VideoXum, a large-scale dataset mapping videos to descriptive scripts, and SD-VSum, a Transformer-based architecture that uses fine-grained cross-modal attention to outperform current state-of-the-art query-driven methods.

What Problem Does This Paper Address?

Traditional video summarization typically falls into two camps: generic, which aims for a broad overview of a video's content, and query-driven, which uses keywords (e.g., "cooking") or short sentences to find specific moments.

However, professional editors and content creators often need something in between: a summary that follows a specific narrative or "script." Existing query-driven methods struggle with long, complex descriptions because they often compress the entire text query into a single vector, losing the nuances of a multi-step story. Furthermore, research in this area has been hampered by a lack of large-scale datasets that pair videos with detailed, human-aligned narrative summaries.

Figure 1: A video blog (vlog) with the daily activities of the vlogger, and the produced summaries by: generic (top row), query- driven (middle row), and script-driven video summarization (bottom row). The generic video summary aims to provide a complete overview of the video. The query-driven video summary concentrates solely on parts of the video that match with a short user query. The script-driven video summary offers a more tailored synopsis of the video, containing parts that relate to the different activities outlined in the user script and avoiding parts that are less interesting for the user, and thus redundant.

Methods

The authors propose SD-VSum, a network designed to handle the complexity of multi-sentence scripts. The core innovation lies in how it fuses visual and textual information:

  1. Sentence-Level Embedding: Instead of condensing a whole script into one vector, SD-VSum treats each sentence as a distinct entity.
  2. Detailed Cross-Modal Attention: The model employs a multi-head cross-modal attention mechanism. Unlike previous models (like CLIP-It) that use a condensed $N \times 1$ attention matrix (where $N$ is the number of video frames), SD-VSum builds an $N \times M$ matrix (where $M$ is the number of sentences). This allows the model to align specific video frames with specific parts of the narrative script more effectively.
  3. Transformer-Based Scoring: The fused features are passed through a Transformer-based scoring module that predicts the importance of each frame relative to the script.
  4. Selection: Finally, a selection component picks the top-scoring frames to form a summary within a specific time budget (typically 15% of the original video length).
Figure 3: Overview of SD-VSum. Given an input video and a user script outlining the content of the desired summary, SD-VSum generates a summary conditioned on the script. Visual and text embeddings are obtained using a pretrained multimodal embedding model, and fused using a trainable cross-modal attention mechanism, as shown in the upper part. The cross-modal embeddings in the output of this mechanism are forwarded to a trainable Transformer-based frame scoring mechanism, which computes frame-level importance scores. These scores are finally used by a frame/fragment selection component that forms the video summary based on a predefined temporal fragmentation of the video and a time-budget about the summary duration.

Datasets

The authors introduced S-VideoXum, an extension of the existing VideoXum dataset.

  • Scale: It contains 11,908 open-domain videos.
  • Scripts: To create the "scripts," the authors used a state-of-the-art Large Multimodal Model (LLaVA-NeXT-Video-7B) to generate natural language descriptions for each of the 10 human-annotated summaries available per video.
  • Diversity: This results in a dataset where a single video can have multiple different ground-truth summaries, each paired with a unique script describing its specific focus.

They also tested on a smaller, proprietary news dataset called S-NewsVSum to verify the model's performance on professional broadcast content.

Key Insights and Ideas

  • Granularity Matters: The "aha moment" of the architecture is that coarse-grained text representations are a bottleneck. By maintaining sentence-level detail during the attention phase, the model can better capture unrelated actions or abstract narrative cues within a single script.
  • Beyond Keywords: Script-driven summarization allows for "narrative elements" and "abstract cues" that keywords miss. For example, a script might describe a woman getting ready, then eating, then walking the dog—a sequence that a single keyword like "breakfast" would partially ignore.
  • Personalization: Because the model is trained on multiple different summaries for the same video, it learns that "importance" is subjective and depends entirely on the provided script.

Key Results

  • Performance: SD-VSum achieved an F-Score of 24.8% on the S-VideoXum dataset, significantly outperforming the previous SOTA, CLIP-It (22.8%).
  • Ablation Studies: The authors proved that using multiple sentence vectors instead of a single condensed vector was the primary driver of their 2% performance gain.
  • Adaptability: Qualitative analysis using heatmaps (Figure 4/5) showed that SD-VSum's outputs are highly sensitive to the specific script provided, whereas generic multimodal models tend to produce the same "average" summary regardless of user intent.
Figure 4: The overlap (expressed in F-Score (%)) between the multiple available ground-truth summaries for 50 videos of the extended S-VideoXum dataset, and the produced video summaries by SD-VSum when it is used for script-driven (left side) and multimodal video summarization (right side).

Limitations and Future Work

  • Encoder Dependency: The model relies on frozen CLIP encoders. While effective, it is limited by the semantic space already learned by CLIP.
  • Automated Ground Truth: The scripts in S-VideoXum were generated by an AI (LLaVA) based on human-selected frames. While the authors validated these scripts, they are still "synthetic" descriptions of human summaries rather than scripts written by humans before the summary was made.
  • Future Directions: The authors suggest exploring even more complex narrative structures and potentially integrating audio/transcript data more deeply to further refine the alignment between story and video.

Summary updated

BibTeX
@misc{mylonas2025sd,
  author = {Manolis Mylonas and Evlampios Apostolidis and Vasileios Mezaris},
  title = {{SD-VSum: A Method and Dataset for Script-Driven Video Summarization}},
  year = {2025},
  eprint = {2505.03319},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2505.03319},
}
Figure