Learning to cut by watching movies

Alejandro Pardo, Fabian David Caba Heilbron, Juan C Leon Alcazar, Ali Thabet, Bernard Ghanem

TL;DR

This paper introduces "Learning to Cut," a novel approach to automatically rank the plausibility of video cuts by learning from professionally edited movies. By leveraging contrastive learning on a large dataset of over 260,000 cuts, their model learns fine-grained audiovisual patterns that signal good transitions, outperforming baselines and showing promise in real-world editing scenarios.

What Problem Does This Paper Address?

Creating engaging video content is a significant challenge, largely due to the complex and time-consuming nature of video editing. A critical task within editing is deciding when and how to join different video shots (cuts) to maintain narrative flow and viewer engagement. While tasks like shot boundary detection and video summarization have seen progress, the specific problem of automatically ranking the plausibility of potential cuts has been largely overlooked, partly due to the scarcity of readily available, expertly edited raw footage. This paper aims to bridge this gap by developing a learning-based method to predict how "good" a cut would be.

Methods

The core of the proposed method, "Learning to Cut," is a two-stage approach that leverages contrastive learning.

  1. Feature Extraction: The model first extracts audio-visual features from candidate video snippets. It uses pre-trained backbones (ResNeXt-101-3D for visual, ResNet-18 for audio) and concatenates their outputs to create a rich representation.
  2. Contrastive Learning Module (CLM): This module learns to discriminate between "good" cuts (actual cuts from edited movies) and "artificial" cuts (random pairings of snippets). It uses a Noise-Contrastive-Estimation (NCE) loss to maximize the similarity between snippets that form a plausible cut and minimize similarity with other random pairings.
  3. Auxiliary Task Module (ATM): This module predicts a "cut probability" for individual snippets, essentially acting as a pre-filter. It helps identify potentially good cut points before the CLM refines the ranking.

The final ranking is achieved through a two-stage inference process: first, the ATM identifies promising snippets, and then the CLM ranks the pairs formed by these snippets. This mimics the human editing process of identifying potential cut points and then selecting the best transition.

Datasets

The primary dataset used in this work is a newly curated collection of over 10,000 movie scenes, from which more than 260,000 cuts were extracted. This dataset was derived from professionally edited movies (specifically, MovieClips) and includes visual, audio, and transcript information for each shot. The authors also used raw, unedited footage from Editstock.com for human studies.

Key Insights and Ideas

  • Leveraging Edited Content as a Proxy: The authors cleverly sidestep the difficulty of obtaining raw footage with expert annotations by using already edited movies. This allows them to learn the patterns of "good" cuts indirectly.
  • The Importance of Audio-Visual Cues: The research highlights that effective video editing relies on a combination of visual and auditory information. Simply using one modality is insufficient for accurate cut ranking.
  • Two-Stage Inference Mimics Human Editing: The proposed two-stage approach (identifying potential cut points with ATM, then ranking pairs with CLM) effectively mirrors how human editors might work, leading to significantly improved performance.
  • "Good" Cuts Create Spikes in Similarity: Qualitative analysis shows that their learned model can make cross-shot similarity spike sharply around the correct cut points, unlike raw features which show sparse similarity.

Key Results

  • Outperforming Baselines: The "Learning to Cut (Full)" model significantly outperforms random and raw audio-visual baselines across various metrics (Recall at ηK with different distance thresholds). For instance, in the strict R@1K setting with d=1, their model achieves 8.18% recall, compared to 0.60% for random and 1.17% for raw audio-visual features.
  • Two-Stage Inference Boost: The two-stage inference process (combining CLM and ATM) dramatically improves performance, often by two to three times compared to using CLM alone (single-stage).
  • Human Study Validation: In a user study with professional video editors, cuts generated by their method were preferred more often than those from baselines. However, editors could still distinguish professionally curated cuts, indicating room for improvement.

Limitations and Future Work

  • Not Yet Professional Quality: While the model shows significant improvement, human editors could still identify professionally curated cuts as superior. The goal of generating cuts with professional quality is still a long-term objective.
  • Future Directions: The authors suggest exploring more fine-grained features to capture subtler editing patterns. Additionally, incorporating other modalities like speech and natural language could further enhance cut ranking capabilities.

Summary updated

BibTeX
@inproceedings{pardo2021learning,
  author = {Alejandro Pardo and FABIAN DAVID CABA HEILBRON and Juan C Leon Alcazar and Ali Thabet and Bernard Ghanem},
  title = {{Learning to cut by watching movies}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2021},
  doi = {10.1109/iccv48922.2021.00678},
}
Figure