Switch-a-View: Few-Shot View Selection Learned from Edited Videos

Sagnik Majumder, Tushar Nagarajan, Ziad Al-Halah, Kristen GraumanarXiv 2024 · DOI

Abstract

Automated cinematography for instructional videos requires understanding the subtle logic behind human editing choices. We present SWITCH-A-VIEW, a multimodal system that learns to select optimal camera viewpoints by observing millions of hours of unlabeled, human-edited YouTube videos. By training on a "view-switch detection" pretext task, the model learns to integrate visual cues and demonstrator narration to transition between egocentric (close-up) and exocentric (wide-angle) shots. Our results demonstrate that SWITCH-A-VIEW generalizes effectively to professional multi-view datasets, outperforming existing retrieval-based and language-guided baselines.

Introduction

Creating high-quality instructional videos is a labor-intensive process. Editors must manually sift through multiple camera feeds—such as head-mounted cameras and stationary room views—to ensure the most relevant action is always visible. While the internet provides a vast repository of edited videos, training automated systems is challenging because the "negatives" (the footage left on the cutting room floor) are typically unavailable. Traditional approaches often rely on rigid heuristics or expensive, manually labeled datasets. SWITCH-A-VIEW addresses this by learning directly from the implicit preferences of millions of human editors in "in-the-wild" videos.

Methodology

The core of SWITCH-A-VIEW is a multimodal pretext task designed to capture the logic of video editing without explicit labels.

Overview of the SWITCH-A-VIEW framework, showing the training process on edited videos and inference on multi-view footage.

Pretext Task: View-Switch Detection

The model is trained to predict the view type (Egocentric vs. Exocentric) for an upcoming video segment. To generate training data, the authors processed the HowTo100M dataset using scene detection to identify cuts and a pre-trained classifier to label shots as "Ego" or "Exo." The model receives:

  • Past Visual Context: The preceding 8 seconds of video frames.
  • Past Narration: The preceding 32 seconds of transcribed speech.
  • Future Narration: The speech occurring during the target segment.

Architecture

The system employs a multimodal transformer that leverages DINOv2 for visual feature extraction and Llama 2 for processing textual narration. These features, along with temporal and view-type embeddings, are integrated into a feature aggregator that predicts the human-preferred view.

View Selection

Once trained, the model functions as an automated "View Selector." In a multi-view environment where multiple synchronized feeds are available, the model evaluates candidate frames against the current narration to select the most appropriate viewpoint for the final edit.

Datasets and Evaluation

The model was pre-trained on HowTo100M (3,416 hours of video) and evaluated on Ego-Exo4D, a specialized multi-view dataset featuring synchronized wearable and stationary camera feeds. To ensure rigorous evaluation, human annotators provided "gold standard" labels, achieving high inter-rater reliability (Cohen’s kappa of 0.65–0.70).

Key Insights

  • Editing as Implicit Supervision: Every cut in a public video represents a human decision. By learning to predict these cuts, the model captures the underlying logic of instructional storytelling.
  • Narration as Intent: Speech is a critical cue for viewpoint selection. Phrases like "look closely" or "now watch my hands" signal an imminent shift to an egocentric view.
  • Cross-Domain Generalization: Despite being trained on "messy" YouTube data, the model generalizes remarkably well to professional, synchronized multi-view datasets in zero-shot or few-shot settings.

Results

SWITCH-A-VIEW significantly outperforms state-of-the-art baselines, including InternVideo2 (retrieval-based) and LangView (language-guided). On the Ego-Exo4D view selection task, the model achieved a 57.3% AUC, compared to 52.6% for the best-performing baseline. Ablation studies confirmed that visual context, past narration, and future narration are all essential components for accurate prediction.

Discussion and Future Work

While SWITCH-A-VIEW marks a significant step toward automated cinematography, several challenges remain. The current model uses a binary "Ego vs. Exo" taxonomy, which may be insufficient for complex setups with many cameras. Additionally, the model operates on fixed 2-second intervals, whereas professional editing requires more fluid, variable-length transitions. Future research could explore personalized editing styles and continuous camera movement through neural view synthesis.

Summary updated

BibTeX
@misc{majumder2024switch,
  author = {Sagnik Majumder and Tushar Nagarajan and Ziad Al-Halah and Kristen Grauman},
  title = {{Switch-a-View: Few-Shot View Selection Learned from Edited Videos}},
  year = {2024},
  eprint = {2412.18386},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2412.18386},
}
Figure