Movies2Scenes: Using Movie Metadata to Learn Scene Representation

Shixing Chen, Chun-Hao Liu, Xiang Hao, Xiaohan Nie, Maxim Arap, Raffay Hamid

Abstract

Understanding scenes in movies is crucial for a variety of applications such as video moderation, search, and recommendation. However, labeling individual scenes is a time-consuming process. In contrast, movie level metadata (e.g., genre, synopsis, etc.) regularly gets produced as part of the film production process, and is therefore significantly more commonly available. In this work, we propose a novel contrastive learning approach that uses movie metadata to learn a general-purpose scene representation. Specifically, we use movie metadata to define a measure of movie similarity, and use it during contrastive learning to limit our search for positive scene-pairs to only the movies that are considered similar to each other. Our learned scene representation consistently outperforms existing state-of-the-art methods on a diverse set of tasks evaluated using multiple benchmark datasets. Notably, our learned representation offers an average improvement of 7.9% on the seven classification tasks and 9.7% improvement on the two regression tasks in LVU dataset. Furthermore, using a newly collected movie dataset, we present comparative results of our scene representation on a set of video moderation tasks to demonstrate its generalizability on previously less explored tasks.

Introduction

In computer vision, identifying objects in short clips has become a standard task. However, understanding a scene within a full-length movie—where meaning emerges from the interplay of multiple shots, dialogue, and thematic context—remains a significant challenge. The primary bottleneck is the staggering cost and labor required to label long-form video at the scene level.

Traditional self-supervised methods rely on geometric data augmentations (like cropping or color-shifting) to create "positive pairs" for contrastive learning. While effective for object recognition, these methods fail to capture the semantic gap. For instance, a high-speed pursuit in The Fast and the Furious is semantically similar to one in Need for Speed, despite looking different. Movies2Scenes addresses this by leveraging existing movie-level metadata—such as genres, synopses, and viewer "co-watch" patterns—to guide the training of scene-level representations without manual labeling.

Methodology

Overview of the Movies2Scenes framework, showing how movie-level similarity learning informs scene-level contrastive learning.

The Movies2Scenes pipeline consists of three hierarchical stages designed to respect the structure of film (Frames → Shots → Scenes):

  1. Shot Encoding: The model first utilizes a Vision Transformer (ViT) to extract appearance-based features from individual shots. By using 2D interpolation on positional embeddings, the model can handle variable-length sequences of shots, allowing it to process scenes of different durations seamlessly.
  2. Movie Similarity Learning: This core innovation uses movie-level metadata to define similarity. The researchers found that co-watch data (behavioral data indicating what else viewers watched) was particularly effective at capturing latent thematic connections. A "Movie Encoder" is trained to predict this similarity based on the aggregated shot features within the movies.
  3. Scene Contrastive Learning: Once movie-level similarity is established, the model identifies the most similar scene-pairs between related movies. These pairs serve as "thematic augmentations." If two movies are identified as similar action films, the model learns that their respective car chases should share a similar representation space.

Experimental Setup and Datasets

The model was pre-trained on a new dataset, MovieCL30K, containing over 30,000 movies and 33 million shots. Evaluation was conducted across several benchmarks:

  • LVU (Long-form Video Understanding): A public benchmark featuring nine tasks, including predicting release years and identifying character relationships.
  • MCD (Mature Content Dataset): A new dataset for video moderation focused on detecting sex, violence, and drug use.
  • MovieNet: Used for evaluating place tagging and scene boundary detection.

Key Results

Performance comparison on the LVU benchmark. Movies2Scenes achieves state-of-the-art results across all nine tasks.

The Movies2Scenes model demonstrated significant performance gains over existing state-of-the-art (SOTA) models, including CLIP and Video Bert. On the LVU benchmark, the model achieved an average improvement of 7.9% on classification tasks and 9.7% on regression tasks (such as predicting view counts and "likes").

In the realm of video moderation, the model significantly outperformed CLIP on the MCD dataset. For example, in detecting "violence," Movies2Scenes achieved an Average Precision (AP) of 70.2, compared to CLIP’s 62.1. Ablation studies further confirmed that metadata is the essential driver of these results; replacing metadata-guided pairs with random movie pairs led to a drastic drop in place tagging accuracy from 63.2% to 49.2%.

Conclusion

Movies2Scenes demonstrates that "free" movie-level metadata can be transformed into a sophisticated training signal for deep scene understanding. By moving beyond pixel-level augmentations to thematic, metadata-driven relationships, the model captures the semantic essence of long-form storytelling. Future work may involve incorporating audio modalities to improve performance on dialogue-heavy tasks and exploring even broader metadata sources, such as movie reviews or original source novels, to further enrich the supervision signal.

Summary updated

BibTeX
@inproceedings{chen2023movies,
  author = {Shixing Chen and Chun-Hao Liu and Xiang Hao and Xiaohan Nie and Maxim Arap and Raffay Hamid},
  title = {{Movies2Scenes: Using Movie Metadata to Learn Scene Representation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2023},
  url = {https://openreview.net/forum?id=RAjQY0v9jr},
}
Figure