Boundary-aware Self-supervised Learning for Video Scene Segmentation

Jonghwan Mun, Minchul Shin, Gunsoo Han, Sangho Lee, Seongsu Ha, Joonseok Lee, Eun-Sol Kim

Abstract

Self-supervised learning has drawn attention through its effectiveness in learning in-domain representations with no ground-truth annotations; in particular, it is shown that properly designed pretext tasks (e.g., contrastive prediction task) bring significant performance gains for downstream tasks (e.g., classification task). Inspired from this, we tackle video scene segmentation, which is a task of temporally localizing scene boundaries in a video, with a self-supervised learning framework where we mainly focus on designing effective pretext tasks. In our framework, we discover a pseudo-boundary from a sequence of shots by splitting it into two continuous, non-overlapping sub-sequences and leverage the pseudo-boundary to facilitate the pre-training. Based on this, we introduce three novel boundary-aware pretext tasks: 1) Shot-Scene Matching (SSM), 2) Contextual Group Matching (CGM) and 3) Pseudo-boundary Prediction (PP); SSM and CGM guide the model to maximize intra-scene similarity and inter-scene discrimination while PP encourages the model to identify transitional moments. Through comprehensive analysis, we empirically show that pre-training and transferring contextual representation are both critical to improving the video scene segmentation performance. Lastly, we achieve the new state-of-the-art on the MovieNet-SSeg benchmark. The code is available at https://github.com/kakaobrain/bassl.

Introduction

Video scene segmentation is the task of temporally localizing scene boundaries in a video. While humans intuitively group shots into semantically cohesive scenes based on narrative flow, AI models struggle with the complex relationships between visual content and temporal context. Researchers from Kakao Brain, Seoul National University, and Hanyang University have introduced BaSSL (Boundary-aware Self-Supervised Learning), a framework that teaches AI to understand the "rhythm" of movies by discovering "pseudo-boundaries" in unlabeled video.

The Challenge of Scene Segmentation

Identifying scene boundaries is difficult for two primary reasons:

  1. Intra-scene Dissimilarity: A single scene, such as a phone conversation, may jump between characters in entirely different visual environments. Visually, these shots look nothing alike, but they belong to the same scene.
  2. Inter-scene Similarity: Different scenes may occur in the same location (e.g., a recurring kitchen setting), sharing visual cues but representing distinct narrative segments.
Visual dissimilarity within a scene: A character on the phone in one location.

Existing methods often rely on expensive hand-labeled data or focus solely on shot-level features, failing to capture the broader contextual relationships necessary for accurate segmentation.

Methodology: BaSSL

The core innovation of BaSSL is the use of self-supervised learning to learn from unlabeled movies through pseudo-boundary discovery.

Pseudo-boundary Discovery

Without ground-truth labels, the model creates its own training signals. It processes a sequence of shots and employs Dynamic Time Warping (DTW) to identify the point of maximum visual or semantic transition. This "pseudo-boundary" serves as a proxy for real scene changes during pre-training.

Boundary-aware Pretext Tasks

The model is trained on three novel tasks designed to exploit these pseudo-boundaries:

  • Shot-Scene Matching (SSM): Encourages the model to recognize intra-scene similarity by matching a shot to its corresponding pseudo-scene.
  • Contextual Group Matching (CGM): Requires the model to identify which shots in a triplet belong together and which is an "intruder" from across a boundary.
  • Pseudo-boundary Prediction (PP): Directly trains the model to predict the location of the transition point.

These tasks facilitate the training of a Contextual Relation Network (CRN), which learns the semantic relationships between neighboring shots.

Experimental Results

The framework was evaluated primarily on the MovieNet-SSeg benchmark, which contains 1,100 movies. BaSSL achieved a new state-of-the-art Average Precision (AP) of 57.40%, a 4.00% improvement over the previous best self-supervised method, ShotCoL.

The model also demonstrated strong transferability when tested on the BBC and OVSD datasets (documentaries and mini-films) without additional fine-tuning. This suggests that BaSSL learns a generalized "movie logic" rather than just dataset-specific patterns.

Conclusion and Future Work

BaSSL demonstrates that pre-training the relationship between shots is as critical as the shot encoder itself. By combining shot-level contrastive learning with boundary-aware contextual learning, the model achieves superior performance. However, challenges remain, such as over-segmentation (predicting more boundaries than exist) and potential overfitting to noise in pseudo-boundaries during extended training. Future research will focus on refining these boundaries to improve real-world utility in automated video editing and summarization.

Summary updated

BibTeX
@inproceedings{mun2022boundary,
  author = {Jonghwan Mun and Minchul Shin and Gunsoo Han and Sangho Lee and Seongsu Ha and Joonseok Lee and Eun-Sol Kim},
  title = {{Boundary-aware Self-supervised Learning for Video Scene Segmentation}},
  booktitle = {ACCV},
  year = {2022},
  url = {https://openreview.net/forum?id=U2ksx1N4hjU},
}
Figure