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:
- 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.
- Identity Amnesia: Because chunks are edited independently without a global visual anchor, characters frequently change appearance across shot transitions.
- 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).
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:
- 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. - 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.
- 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.
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