Thinking on Shots: Consistent Multi-Shot Video Editing with Agentic Reasoning

Chenyang Wu, Fuchen Long, Binyuan Huang, Xinlong Sun, Xi Chen, Chun-Le Guo, Chongyi LiarXiv 2026

TL;DR

Current video editing models struggle with long, multi-shot videos, frequently causing visual hallucinations or losing character consistency across camera cuts. This paper introduces MMLVE-Agent, an agentic framework that leverages LLMs and VLMs to "think in shots," decoupling complex instructions and utilizing a "Global Memory Card" to maintain flawless entity consistency across transitions.

What Problem Does This Paper Address?

While generative AI has mastered editing short, single-shot video clips, real-world videos are inherently long, multi-shot, and feature sparse entity distributions (e.g., a specific character might only appear in the final 10 seconds of a minute-long video).

Existing long-video editing baselines typically resort to "blind chunking"—uniformly cutting a video into fixed-duration segments (like 15-second blocks) and applying all user instructions to every single chunk simultaneously. This naive approach introduces three severe flaws:

  1. Editing Hallucinations: Forcing an instruction like "add a hat to the dog" onto a chunk where no dog exists forces the model to hallucinate an unexpected animal.
  2. Identity Amnesia: Because chunks are edited independently without a global visual anchor, characters frequently change appearance across shot transitions.
  3. Spatiotemporal Destruction: Backgrounds warp, camera movements are corrupted, and boundaries flicker.

To address this, the authors formalize the Multi-Instruction Multi-Shot Long-Video Editing (MMLVE) task, which mandates three core constraints: Cross-Shot Editing Consistency (CSEC), Multi-Instruction Decoupling (MID), and Zero-Destruction on Spatiotemporal Structure (ZDSS).

Figure 1: Task Definition of MMLVE. The core task entails three key constraints: (1) CSEC : Cross-Shot Editing Consis- tency, preserving entity attributes across transitions; (2) MID : Multi-Instruction Decoupling, ensuring independent execu- tion of diverse commands; and (3) ZDSS : Zero-Destruction on Spatiotemporal Structure, maintaining non-edited back- grounds and temporal continuity.

Methods

Instead of slicing videos blindly by time, MMLVE-Agent shifts the paradigm to "Thinking on Shots." The framework orchestrates a multi-agent system divided into three collaborative modules:

  1. Instruction & Video Analysis: The video is first segmented into true physical shots using a shot-boundary detection library (PyDetect). Concurrently, an LLM agent parses the complex user prompt, resolves instruction conflicts, and decouples it into distinct entity descriptions and localized commands. A VLM agent extracts keyframes and analyzes the plot shot-by-shot.
  2. Global Memory Card Making: To ensure cross-shot consistency, the VLM agent aggregates the highest-confidence keyframes containing the target entity into a reference grid. A generation model synthesizes a base image, which is then iteratively refined using a novel Pos-Neg Editing Feedback (P-NEF) loop. This loop generates both a Negative Prompt (artifacts to avoid) and a Positive Prompt (features to retain) to prevent attention drift. The final output is a "Global Memory Card"—a side-by-side visual prompt showing the exact "before-and-after" state of the entity.
  3. Multi-Shot Video Editing: Edits are executed on-demand. For each shot, a VLM voting mechanism checks if the target entity is present. If it receives at least 2 out of 3 positive votes, the localized edit is triggered using the Global Memory Card as a visual anchor; otherwise, the shot is skipped and preserved in its original state. A final video-level P-NEF loop self-corrects any remaining errors before stitching the shots back together.
Figure 2: An overview of our MMLVE-Agent framework. The pipeline comprises three core modules: (1) Instruction & Video Analysis, where the input long-video is segmented into physical shots via PyDetect. Then, an LLM Agent parses and decouples complex user instructions, while a VLM Agent extracts keyframes and conducts shot-by-shot plot analysis to capture scene dynamics; (2) Global Memory Card Making, where target entities are retrieved via VLM voting, and the Global Memory Card, a global visual editing anchor, is generated. This card is iteratively refined through an image-level Pos-Neg Editing Feedback (P-NEF) to ensure Cross-Shot Editing Consistency (CSEC); and (3) Multi-Shot Video Editing, which executes retrieval-based on-demand editing. A video-level P-NEF loop self-corrects the generated shots to precisely ensure Multi-Instruction Decoupling (MID) and Zero-Destruction on Spatiotemporal Structure (ZDSS) in each segmented shot before the final video combination.

Datasets

The authors introduce MMLVE-Bench, a manually curated dataset designed specifically for this task.

  • It contains 25 high-quality, multi-shot long videos (approximately 1 minute each).
  • Each video features high-density, heterogeneous instructions (averaging 5 distinct commands per video, such as ADD, DELETE, and MODIFY).
  • The target entities are distributed randomly and sparsely across different physical shots, providing a rigorous testbed for temporal localization and instruction decoupling.

Key Insights and Ideas

  • Cinematic Shot vs. Fixed Time: Slicing videos based on physical camera cuts rather than arbitrary timestamps preserves natural spatiotemporal boundaries and eliminates boundary flickering.
  • The Necessity of Positive Anchors: Relying solely on negative feedback ("don't change the background") causes models to suffer from "catastrophic forgetting," where previously correct regions degrade during iterative editing. Introducing explicit positive prompts acts as a semantic anchor, balancing the model's attention.
  • On-Demand Triggering: Verifying entity presence via a VLM voting consensus before running the video editor completely suppresses the hallucinations typical of end-to-end models.

Key Results

The framework was evaluated against state-of-the-art closed-source models (Seedance 2.0, Kling o3, and HappyHorse 1.0) adapted via standard chunking strategies. Due to the complexity of the task, a VLM-based judge (Gemini 3.5 Flash) was used to score 15 fine-grained sub-dimensions.

  • Quantitative Superiority: MMLVE-Agent achieved the highest average score of 81.84, notably outperforming Seedance 2.0 (79.47) and Kling o3 (70.57). It demonstrated massive gains in Cross-Shot Consistency (CSEC: 84.80) and Multi-Instruction Decoupling (MID: 79.04).
  • Conservative vs. Aggressive Baselines: The evaluation revealed that while Kling o3 suffered from severe background destruction (low ZDSS), Seedance 2.0 artificially inflated its ZDSS score by adopting a conservative strategy—simply ignoring complex instructions to avoid errors, which severely penalized its consistency and decoupling scores.
  • Human User Study: In a study with 9 expert reviewers evaluating 45 cases, MMLVE-Agent was ranked 1st in 75.6% of all instances and achieved an overall pairwise win rate of 87.6%.

Limitations and Future Work

  • Base Editor Dependency: MMLVE-Agent acts as an orchestrator; the actual pixel manipulation is offloaded to an underlying video editor (e.g., HappyHorse). If the base editor inherently struggles with a specific localized generation task, the agent's overall performance is bottlenecked.
  • Inference Latency: The multi-step agentic pipeline—involving shot detection, VLM voting, and iterative P-NEF self-correction loops—adds significant computational overhead compared to direct end-to-end generation.
  • Future Directions: The authors suggest exploring tighter, more end-to-end integration of agentic reasoning directly into video diffusion architectures to reduce latency.

Summary updated

BibTeX
@misc{wu2026thinking,
  author = {Chenyang Wu and Fuchen Long and Binyuan Huang and Xinlong Sun and Xi Chen and Chun-Le Guo and Chongyi Li},
  title = {{Thinking on Shots: Consistent Multi-Shot Video Editing with Agentic Reasoning}},
  year = {2026},
  eprint = {2608.26809},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2608.26809},
}
Figure