NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Autoregressive Modeling of Film with Applications in Video Montage

Marcelo Sandoval-Castañeda, Fabian Caba Heilbron, Shiry Ginosar, Bryan C. Russell, Josef Sivic, Alexei A. Efros, Gregory Shakhnarovich

TL;DR

FilmGPT applies the next-token prediction paradigm of Large Language Models to video editing, learning the implicit "grammar" of cinema from 6,200 hours of film. Instead of generating new pixels, it uses a novel footage-constrained decoding algorithm to select, trim, and sequence raw footage into coherent cinematic montages.

What Problem Does This Paper Address?

With the ubiquity of smartphones and digital cameras, capturing raw video footage has become effortless. However, raw footage is largely "unwatchable"—it features long takes, repetitive actions, and erratic camera movements. Turning this raw material into an engaging story requires video montage (editing), a craft governed by a complex, unwritten "grammar" of film idioms (e.g., shot-reverse-shot, cutting on action, establishing sequences).

Traditional automated editing systems rely on low-level heuristics like motion or visual saliency, which often yield brittle results. Meanwhile, modern generative video models focus on synthesizing entirely new frames rather than organizing existing material. FilmGPT bridges this gap by framing video editing as a data-driven sequence modeling problem, learning how to cut and arrange existing footage directly from professional movies.

Methods

FilmGPT treats video montage as a causal next-token prediction task, heavily inspired by modern LLMs.

  1. Discrete Tokenization & The ⟨CUT⟩ Token: Video frames are converted into 32 discrete tokens using a pre-trained tokenizer (TiTok-L). Crucially, the authors introduce an explicit ⟨CUT⟩ token inserted at shot boundaries, making edit points a first-class event for the model to predict.
  2. Long-Context Architecture: Because editing requires both fine-grained local cues and long-range narrative context, the authors implement a decoder-only transformer with sliding window attention. This allows the model to maintain a context window of 128k tokens (~2.5 minutes of video).
  3. Cut-Weighted Cross-Entropy Loss: In a typical movie scene, cuts are rare compared to standard frames. To prevent the model from focusing solely on predicting intra-shot pixels, the loss function heavily upweights the ⟨CUT⟩ token and the immediate frames following it.
  4. Audio Conditioning: The model incorporates audio features (via Audio Flamingo 3) using interleaved cross-attention layers, allowing pacing and cut timing to be driven by acoustic cues.
  5. Footage-Constrained Decoding: At inference time, the model does not generate new images. Instead, it uses a modified beam search that forces the generated tokens to strictly match contiguous subsequences present in the user's raw input footage collection.

Datasets

The authors compiled a massive 6,200-hour training corpus consisting of:

  • The AVE (Anatomy of Video Editing) dataset.
  • Public domain US movies.
  • Feature-length documentaries under Creative Commons licenses.
  • Classic films from the Soviet studio Mosfilm.

Evaluation was performed on the standard AVE shot sequence ordering benchmark and via human user studies using professional-grade raw footage from EditStock.

Key Insights and Ideas

  • Editing as a Language: By treating film sequences like text, the model naturally learns complex cinematic idioms—such as establishing shots or point-of-view sequences—implicitly from data, without any hand-coded rules.
  • Cuts as First-Class Citizens: Introducing the explicit ⟨CUT⟩ token and weighting the loss function around it shifts the model's objective from video generation to video organization.
  • Zero Hallucinations: Because the decoding algorithm restricts outputs to the input footage pool, the system completely avoids the visual artifacts, warping, and factual fabrications common in generative AI video tools.

Key Results

  • State-of-the-Art Sequence Ordering: On the AVE benchmark (predicting the correct order of three shuffled clips), FilmGPT achieved an Acc@1 of 53.9%, outperforming the previous state-of-the-art model, UQNet (35.3%), by a massive 18.6 points. Remarkably, FilmGPT achieved this without using UQNet's manual labels (such as shot size or camera angle).
  • Ablation Validation: Every design choice provided a significant performance boost: adding the ⟨CUT⟩ token added +4.4%, the cut-weighted loss added +9.2%, expanding to a 128k context added +19.2%, and audio conditioning added +25.2%.
  • Human Preference: In a user study simulating documentary B-roll editing, human evaluators preferred FilmGPT's edits 83.07% of the time over Transcript2Video and 61.49% of the time over EditDuet.
User study preference results showing FilmGPT outperforming competing methods.

Limitations and Future Work

  • Context Window Constraints: While 2.5 minutes is sufficient for individual scenes, it is still too short to reason about the narrative arc of an entire film. More efficient video tokenizers are needed.
  • Superficial Matching (Failure Mode): The model occasionally executes "jarring cuts" by cutting on action between two completely unrelated scenes simply because the visual motion vectors match perfectly.
  • Audio Constraints: FilmGPT can listen to audio but cannot modify it. This prevents it from executing advanced editing techniques like L-cuts and J-cuts, where audio and video transitions are intentionally desynchronized.
  • Lack of High-Level Guidance: The current model relies purely on audio-visual patterns. Future iterations could integrate screenplays, storyboards, or explicit stylistic directions to guide the edit.

Summary updated

BibTeX
@inproceedings{sandovalcastaneda2026autoregressive,
  author = {Marcelo Sandoval-Castañeda and Fabian Caba Heilbron and Shiry Ginosar and Bryan C. Russell and Josef Sivic and Alexei A. Efros and Gregory Shakhnarovich},
  title = {{Autoregressive Modeling of Film with Applications in Video Montage}},
  booktitle = {SIGGRAPH (Conference Paper Track)},
  year = {2026},
  doi = {10.1145/3799902.3811220},
}
Figure