Text-Driven Reasoning Video Editing via Reinforcement Learning on Digital Twin Representations
Yiqing Shen, Chenjia Li, Mathias Unberath
TL;DR
This paper tackles the challenge of text-driven video editing when user queries are implicit and require multi-hop reasoning to identify editing targets. It introduces RIVER, a framework that decouples reasoning from generation by constructing a digital twin representation of video content, enabling an LLM to reason over semantic, spatial, and temporal relationships before instructing a diffusion-based editor. The approach is trained with reinforcement learning (GRPO) using rewards that enforce correct reasoning and high-quality edits, and it is evaluated on RVEBenchmark as well as VegGIE and FiVE, where it achieves state-of-the-art results. The work demonstrates the utility of digital twin representations as an intermediate reasoning layer bridging perception and pixel-level video synthesis, offering robust handling of implicit queries and precise edits with potential impact on content creation workflows.
Abstract
Text-driven video editing enables users to modify video content only using text queries. While existing methods can modify video content if explicit descriptions of editing targets with precise spatial locations and temporal boundaries are provided, these requirements become impractical when users attempt to conceptualize edits through implicit queries referencing semantic properties or object relationships. We introduce reasoning video editing, a task where video editing models must interpret implicit queries through multi-hop reasoning to infer editing targets before executing modifications, and a first model attempting to solve this complex task, RIVER (Reasoning-based Implicit Video Editor). RIVER decouples reasoning from generation through digital twin representations of video content that preserve spatial relationships, temporal trajectories, and semantic attributes. A large language model then processes this representation jointly with the implicit query, performing multi-hop reasoning to determine modifications, then outputs structured instructions that guide a diffusion-based editor to execute pixel-level changes. RIVER training uses reinforcement learning with rewards that evaluate reasoning accuracy and generation quality. Finally, we introduce RVEBenchmark, a benchmark of 100 videos with 519 implicit queries spanning three levels and categories of reasoning complexity specifically for reasoning video editing. RIVER demonstrates best performance on the proposed RVEBenchmark and also achieves state-of-the-art performance on two additional video editing benchmarks (VegGIE and FiVE), where it surpasses six baseline methods.
