Query-based Video Summarization with Pseudo Label Supervision

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

TL;DR

This paper introduces a novel self-supervised framework for query-based video summarization to overcome the chronic shortage of large-scale labeled datasets. By generating segment-level pseudo labels from existing frame-level annotations and introducing a transformer-based "semantics booster" alongside a mutual attention mechanism, the proposed model achieves state-of-the-art performance across major benchmarks.

What Problem Does This Paper Address?

Video summarization aims to condense long videos into short, digestible snippets. In query-based video summarization, this summary must also be tailored to a user's specific textual prompt (e.g., finding "swimming" vs. "running" clips within the same multi-sport video).

Fig. 1: Query-based video summarization. A video is sum- marized based on textual queries. The summarization algo- rithm runs independently for each query.

While deep learning has advanced this field, fully-supervised models are bottlenecked by data scarcity: manually labeling videos frame-by-frame is incredibly tedious and expensive, leaving existing datasets quite small.

Self-supervised learning (SSL) normally solves data scarcity by pre-training a model on an artificial "pretext" task before fine-tuning it on the actual "target" task. However, standard SSL methods assume the pretext and target tasks are independent. The authors point out that for video, this assumption is flawed: video segments are inherently composed of frames, meaning an implicit relationship exists between segment-level pseudo labels and human-defined frame labels. Ignoring this relationship limits model performance. Furthermore, existing models often struggle to effectively embed text queries and fuse them with visual features.

Methods

The authors propose an end-to-end self-supervised architecture consisting of three core components:

  1. Semantics Booster: To better capture the nuances of textual queries, the authors discard traditional Bag-of-Words (BoW) or static embeddings in favor of a transformer-based architecture. This block generates context-aware query representations, which are further refined by a textual attention mechanism.
  2. Visual Attention (2D & 3D ConvNets): The model processes video at two granularities. A pre-trained 2D ResNet-34 extracts frame-level spatial features, while a 3D ResNet-34 extracts segment-level spatio-temporal features. Both streams are enhanced by a visual attention mechanism to distill the most relevant visual information.
  3. Mutual Attention Mechanism: To ensure the text query and the video actually talk to each other, a mutual attention block fuses the textual and visual features using an element-wise Hadamard product followed by a $1 \times 1$ convolution.
Flowchart of the proposed self-supervision method

The Pretext Task: To pre-train the network, the authors generate segment-level pseudo labels. They take existing human-annotated frame scores and apply a simple Mean function every two seconds. This mean-based smoothing acts as a regularizer, reducing annotation noise and providing the model with vital temporal supervision during the pre-training phase.

Datasets

The model was evaluated on three widely recognized benchmarks:

  • TVSum: Contains 50 videos. Since it lacks explicit queries, the authors followed standard practice by using video metadata (like titles) as text queries.
  • QueryVS: A dedicated query-based video summarization dataset containing 190 videos, where every video is paired with specific text queries.
  • SumMe: Contains 25 videos. It does not include query inputs and was used primarily to test the model's traditional video summarization capabilities and generalization.

Additionally, the authors created three new segment-level datasets derived from these benchmarks specifically to facilitate their self-supervised pre-training task.

Key Insights and Ideas

  • The Frame-Segment Link Matters: Bridging the gap between frame-level (target) and segment-level (pretext) labels via mean-based pseudo labels provides a powerful initialization state for the model, proving that pretext tasks shouldn't be designed in a vacuum.
  • Context is King for Queries: Moving away from static word embeddings to a transformer-based semantics booster prevented the model from misinterpreting polysemous words in user queries.
  • Multimodal Alignment via Mutual Attention: Simply concatenating text and video features often leads to the model ignoring the text query. The element-wise Hadamard product forces tight, interactive alignment between the visual and textual modalities.

Key Results

The proposed method achieved state-of-the-art (SOTA) performance, measured by $F_1$-score, on both query-based datasets:

  • TVSum: Achieved an $F_1$-score of 68.4, outperforming the previous best query-based model (DQSN at 58.6) and fully-supervised models (SMN at 64.5).
  • QueryVS: Achieved an $F_1$-score of 55.3, beating the previous SOTA (GPT2MVS at 54.8).
  • SumMe: Delivered a highly competitive $F_1$-score of 52.4, despite the dataset lacking query inputs.
Ablation study table

Ablation studies (shown above) highlight the compounding value of the authors' contributions. Removing the pseudo-label pre-training dropped the TVSum score drastically from 68.4 to 58.9, proving the immense value of their self-supervised pretext task.

Fig. 3: Randomly selected qualitative results of the pro- posed method. Selected frames from the ground truth frame- based score annotations for the input video are highlighted in gray, with red representing the frames not selected. Frames selected for the query-dependent video summary are high- lighted in green. 217 denotes the video length before video preprocessing and 647 denotes the video length after the video preprocessing.

Limitations and Future Work

While effective, the authors note that the correctness of the generated segment-level pseudo labels is not guaranteed by human experts, meaning they can still introduce noise or bias into the pre-training phase. Furthermore, the efficiency of multi-modal feature fusion remains a potential bottleneck; future work could explore even tighter integration strategies between text and video streams to push performance boundaries further.

Summary updated

BibTeX
@inproceedings{huang2023query,
  author = {Jia-Hong Huang and Luka Murn and Marta Mrak and Marcel Worring},
  title = {{Query-based Video Summarization with Pseudo Label Supervision}},
  booktitle = {ICIP},
  year = {2023},
  doi = {10.1109/icip49359.2023.10222138},
}
Figure