Intro and Recap Detection for Movies and TV Series

Xiang Hao, Kripa Chettiar, Ben Cheung, Vernon Germano, Raffay HamidWACV 2021

TL;DR

This paper tackles the problem of automatically detecting "intro" and "recap" segments in videos, aiming to enhance user experience on streaming platforms by enabling "skip" functionality. They propose a novel end-to-end deep learning framework that leverages CNNs for feature extraction, Bi-LSTMs for temporal dependency modeling, and CRFs for joint sequence labeling, achieving superior performance compared to existing methods.

What Problem Does This Paper Address?

Modern video streaming services offer vast libraries of content, and a common user frustration is the repetitive nature of introductory sequences (intros) and recaps of previous episodes. These segments, often containing title cards or summaries, interrupt the viewing flow and require manual skipping. While some platforms have introduced "skip intro/recap" buttons, automatically identifying these segments at scale across millions of titles is a significant challenge. Manually annotating these segments is labor-intensive and doesn't scale. This paper aims to automate this process by developing a robust machine learning model.

Methods

The authors frame intro and recap detection as a supervised sequence labeling problem. Their proposed framework consists of three main components:

  1. CNN for Visual and Audio Feature Extraction: They use Convolutional Neural Networks (CNNs) to extract discriminative features from both visual and audio streams of the video. For visual features, they employ a pre-trained Inception V3 network, extracting features from frames sampled at 1 FPS. For audio, they use a 1D ConvNet on log-mel frequency spectra.
  2. Bi-directional LSTM (B-LSTM) for Temporal Dependencies: The extracted visual and audio features are then fed into a Bi-directional Long Short-Term Memory (B-LSTM) network. This component is crucial for capturing both short-term and long-term temporal dependencies within the video sequence, which is essential for understanding the context of intro and recap segments. They use a stacked B-LSTM architecture for better performance.
  3. Conditional Random Field (CRF) for Joint Label Optimization: Finally, a Conditional Random Field (CRF) is used to jointly optimize the labels for all video frames. This helps in modeling the dependencies between output labels (intro, recap, or actual content), ensuring a more coherent and accurate sequence of predictions. The CRF is trained using a maximum likelihood estimation approach.

The paper also explores both "early fusion" (concatenating visual and audio features before the B-LSTM) and "late fusion" (feeding features to separate B-LSTMs and then concatenating their outputs) strategies.

Datasets

The authors collected a custom dataset of 46,946 video titles, comprising 91.4% TV episodes and the rest movies. Each title was manually reviewed by an operator to record the start and end timestamps for intros and recaps. The data was split into training (33,717 titles), validation (8559 titles), and test (4,670 titles) sets, ensuring that titles from the same TV series remained within the same split to prevent data leakage.

Key Insights and Ideas

  • Sequence Labeling is Key: Framing the problem as sequence labeling, rather than simple regression for timestamps, allows for better modeling of transitions between content types.
  • Multi-modal Fusion is Crucial: Combining visual and audio features significantly outperforms using either modality alone, especially when using more complex architectures like B-LSTM and CRF.
  • B-LSTM and CRF are Essential: The ablation study highlights that both the Bi-LSTM for temporal context and the CRF for label smoothing are critical components for achieving high accuracy.
  • Early Fusion Works Best: For their proposed architecture, early fusion of visual and audio features before the B-LSTM yielded the best performance, indicating that the model can effectively learn interactions between modalities.
  • Tolerance Matters: The performance metrics are sensitive to the tolerance allowed for timestamp boundary detection, with a small tolerance (1-3 seconds) being a good indicator of true positives.

Key Results

The proposed Bi-LSTM + CRF model, using early fusion of visual and audio features, achieved state-of-the-art performance on their custom dataset.

  • Intro Detection: Achieved 68.56% precision, 64.90% recall, and 66.68% F1 score with a 1-second tolerance.
  • Recap Detection: Achieved 74.68% precision, 70.96% recall, and 72.77% F1 score with a 1-second tolerance.
  • Comparison: The model significantly outperformed baseline approaches like Loc-LSTM, Loc-1D CNN, and Loc-TSN, which are based on temporal action localization. For instance, the proposed model achieved an F1 score of 66.68% for intro, while Loc-TSN achieved only 8.86%.
  • Inference Speed: The early fusion model requires approximately 70 ms per video title for inference on a GPU, making it practical for real-time applications.

Limitations and Future Work

  • Data Limitations: The authors acknowledge that caption information was not incorporated due to its limited coverage, suggesting it could be explored to further enhance the model.
  • Generalizability: While the model performs well on their dataset, its performance on diverse content types or different annotation styles might vary.
  • Future Directions: The authors plan to experiment with other visual and audio feature fusion techniques. They also suggest that the framework can be extended to detect other video segments like end-credits and applied to other sequence learning tasks.

Summary updated

BibTeX
@inproceedings{hao2021intro,
  author = {Xiang Hao and Kripa Chettiar and Ben Cheung and Vernon Germano and Raffay Hamid},
  title = {{Intro and Recap Detection for Movies and TV Series}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2021},
  url = {https://openreview.net/forum?id=MhpBg2cwHe},
}
Figure