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

From Shots to Stories: LLM-Assisted Video Editing with Unified Language Representations

Yuzhi Li, Haojun Xu, Feng TianarXiv 2025 · DOI

Abstract

Large Language Models (LLMs) and Vision-Language Models (VLMs) have demonstrated remarkable reasoning and generalization capabilities in video understanding; however, their application in video editing remains largely underexplored. This paper presents the first systematic study of LLMs in the context of video editing. To bridge the gap between visual information and language-based reasoning, we introduce L-Storyboard, an intermediate representation that transforms discrete video shots into structured language descriptions suitable for LLM processing. We categorize video editing tasks into Convergent Tasks and Divergent Tasks, focusing on three core tasks: Shot Attributes Classification, Next Shot Selection, and Shot Sequence Ordering. To address the inherent instability of divergent task outputs, we propose the StoryFlow strategy, which converts the divergent multi-path reasoning process into a convergent selection mechanism, effectively enhancing task accuracy and logical coherence. Experimental results demonstrate that L-Storyboard facilitates a more robust mapping between visual information and language descriptions, significantly improving the interpretability and privacy protection of video editing tasks. Furthermore, StoryFlow enhances the logical consistency and output stability in Shot Sequence Ordering, underscoring the substantial potential of LLMs in intelligent video editing.

Introduction

Traditional AI-assisted video editing relies heavily on deep learning models that treat tasks—such as selecting the next shot or classifying camera angles—as isolated computer vision problems. These models often struggle to grasp high-level narrative logic, emotional rhythm, or editorial intent. Furthermore, they frequently operate as "black boxes," offering poor interpretability for human editors.

While Vision-Language Models (VLMs) offer a bridge to semantic understanding, directly applying them to complex, open-ended editing tasks often yields unstable results. Additionally, relying on cloud-based VLMs for processing personal video footage raises significant privacy concerns. This paper introduces a unified framework that bridges the gap between raw visual data and LLM reasoning capabilities to create a more intuitive, interpretable, and private video editing pipeline.

The L-Storyboard Framework

The core of our approach is L-Storyboard, an intermediate representation that maps visual information into the language domain. This transformation allows LLMs to apply their massive reasoning capabilities to video editing without needing to process raw pixels directly.

The L-Storyboard framework converts visual shots into structured text descriptions to facilitate LLM-based reasoning across various editing tasks.

L-Storyboard Generation

Videos are first segmented into discrete shots. A combination of local models (such as MiniCPM-o for visual description and Whisper for audio transcription) extracts key shot attributes including size, angle, and motion, alongside content descriptions and subtitles. This data is compiled into a lightweight Markdown table that an LLM can easily parse and reason over. This approach allows for local processing on consumer-grade GPUs, preserving user privacy and lowering hardware barriers.

Task Categorization and the StoryFlow Strategy

We categorize video editing tasks into two distinct types based on their output requirements:

  • Convergent Tasks: These tasks have a clear optimal solution, such as Shot Attributes Classification (identifying camera work) and Next Shot Selection (choosing the most logical follow-up from a set of candidates).
  • Divergent Tasks: These tasks involve multiple valid possibilities and subjective creativity, such as Shot Sequence Ordering (arranging discrete shots into a coherent narrative).
Examples of core video editing tasks: (b) Shot Attributes Classification, (c) Next Shot Selection, and (d) Shot Sequence Ordering.

To handle the inherent instability of divergent tasks, we introduce the StoryFlow strategy. This two-phase optimization technique mirrors the human editorial process. In the Divergent Phase, the LLM is prompted at various temperature settings to generate multiple plausible shot sequences. In the Convergent Phase, the LLM evaluates these generated segments against cinematic logic to select the most coherent narrative, effectively turning a divergent creative problem into a convergent analytical selection task.

Experimental Evaluation

We evaluated our framework using the AVE (Anatomy of Video Editing) dataset and ActivityNet100.

Key Results

  • Shot Attributes Classification: A fine-tuned MiniCPM-v (LoRA) achieved impressive accuracy: 80.95% for Shot Size, 87.90% for Shot Angle, and 61.59% for Shot Motion, outperforming traditional video transformers.
  • Next Shot Selection: The Qwen3:32B model achieved 51.63% accuracy on the AVE dataset using audio-visual L-Storyboards, significantly beating traditional contrastive learning baselines (approximately 41.4%).
  • Shot Sequence Ordering: The StoryFlow strategy achieved a Top-1 Accuracy of 29.82% and a Mean Kendall’s Tau Distance (KTD) of 1.205 (where lower is better), outperforming all zero-shot and few-shot LLM baselines in logical coherence.

Interestingly, we observed that scaling laws have limits in temporal reasoning; while performance generally improved with model size, massive models like DeepSeek-R1:671B showed a performance drop, suggesting potential inefficiencies in temporal reasoning at extreme scales.

Conclusion

By converting video into structured L-Storyboards, we enable LLMs to perform complex video editing tasks with high interpretability and privacy. The StoryFlow strategy further stabilizes creative tasks like shot sequencing. While information loss during text conversion remains a challenge for capturing subtle visual dynamics, this framework demonstrates the substantial potential of LLMs to serve as intelligent assistants in the video editing process.

Summary updated

BibTeX
@misc{li2025from,
  author = {Yuzhi Li and Haojun Xu and Feng Tian},
  title = {{From Shots to Stories: LLM-Assisted Video Editing with Unified Language Representations}},
  year = {2025},
  eprint = {2505.12237},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2505.12237},
  howpublished = {arXiv},
}
Figure