Manuscript Offprint

arXiv:2610.28829

HorizonComposer: Spatiotemporally Consistent Driving Video Editing with Enriched Traffic Semantics

Mauricio Soroco, Yuqiu Liu, Zaid Tasneem, Francesco Pittaluga, Abhishek Aich, Wuyang Chen, Manmohan Chandraker, Ziyu Jiang

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Mauricio Soroco ∗^{*}

Simon Fraser University

Francesco Pittaluga

NEC Labs America

Yuqiu Liu ∗^{*}

Simon Fraser University

Abhishek Aich

NEC Labs America

Zaid Tasneem

NEC Labs America

Wuyang Chen

Simon Fraser University

wuyang@sfu.ca

Manmohan Chandraker

NEC Labs America

Ziyu Jiang

NEC Labs America

zjiang@nec-labs.com

Abstract

Instruction-guided video generative models offer a scalable solution for stress-testing autonomous driving systems by simulating diverse environmental conditions. However, driving scenes operate within a dense Operational Design Domain (ODD) governed by strict traffic semantics. When applied to global driving-condition edits, general-purpose instruction-guided video editors frequently corrupt these semantics, leading to structural hallucinations and “temporal shock.” This work distills and protects traffic semantics during video editing at three levels. First, we construct a hybrid dataset by combining temporally aligned real-world videos with synthetic edits, balancing foundational scene structure with unambiguous appearance signals. Second, during training, we adapt advantage conditioning from offline reinforcement learning to align the model using dense rewards. We extract dense, pixel-level rewards from the hybrid data to serve as a localized signal and actively steer generation toward structurally reliable pixels. Finally, our model mitigates temporal shock by introducing thinking frames, a transition mechanism that seamlessly reconciles static image conditioning with dynamic video context. Extensive experiments demonstrate that our method prevents the corruption of multi-actor dynamics, establishing state-of-the-art spatiotemporal consistency, yielding consistent user preference (39% relative improvement in content preservation and 12% in temporal consistency), and achieving a significant 5% gain in downstream road line segmentation and 7% gain in downstream multi-object detection.

1 Introduction

Autonomous driving systems must operate safely and reliably across a vast Operational Design Domain (ODD), encompassing diverse weather conditions, seasonal variations, and day-night cycles. To robustly evaluate perception and planning algorithms, we require scalable simulation environments capable of simulating diverse conditions for the exact same driving scene. However, collecting perfectly paired, real-world data across these variations is practically impossible due to the natural evolution of traffic patterns. Consequently, instruction-guided video generative models (VGMs)

∗^{*}Equal contribution.

40th Conference on Neural Information Processing Systems (NeurIPS 2026).

Figure

Figure 1: HorizonComposer maintains complex traffic semantics during global appearance editing (rows 1-3) using a careful design across data (Sec 3.2), model (Sec. 3.4), and training (Sec. 3.3). Beyond global transformations, our fidelity in traffic semantics allows HorizonComposer to seamlessly compound global and local edits for comprehensive scene simulation (row 4).

have emerged as a promising proxy [41], offering the ability to controllably transform the global appearance of existing driving logs (e.g., weather or time) to stress-test autonomous algorithms.

Unlike object-centric videos, driving operation design domains are defined by the dense co-existence of numerous critical factors in a single frame: multiple independent actors, strict lane geometries, and complex infrastructure. This spatiotemporal density forms a coupled and constrained set of traffic semantics. Because of this inherent complexity, editing driving scenes requires a delicate balance between Instruction Alignment (altering global appearance) and strictly enforcing ODD Preservation (maintaining local scene structure). In practice, global appearance editing almost always corrupts local traffic semantics, leading to severe spatiotemporal inconsistencies. Obtaining precise video-editing pairs to supervise driving scene editing is challenging, leaving the training of instruction-guided video editors hampered by three critical bottlenecks:

  1. Unpaired Supervision Leads to Semantic Corruption. Controlled real-world driving video (e.g., the same route captured in different weather) is rare and suffers from temporal unpairing due to dynamic traffic flow. Training naively on these unpaired videos misleads the model into believing that vehicle identities and locations can arbitrarily change during an appearance edit. We require a mechanism to definitively separate the desired global appearance shifts from the strict local structure that must be preserved.

  2. Misaligned Synthetic Priors. Conversely, using baseline models to generate synthetic real-world editing pairs provides strong appearance signals but may introduce structural hallucinations or "creative additions" that violate the ODD. Because the supervision quality varies drastically across pixels and frames, a robust training paradigm cannot treat all regions equally.

  3. Conditioning-induced Temporal Shock. Video generators benefit from image-conditioning signals that guide global appearance. However, in dense traffic scenes, these static reference images frequently suffer from actor misalignment and are not guaranteed to be consistent with the underlying video dynamics. Injecting these conditions directly into the generation pipeline leads to "temporal shock": unnatural transitions, structural warping, and flickering artifacts, which are much more serious than temporal inconsistency.

These bottlenecks motivate our core question:

How to distill rich and faithful traffic semantics into driving scene video editing and thus achieve spatiotemporal consistency?

To address this question, we propose HorizonComposer, a three-pronged approach to inject and protect traffic semantics throughout driving video editing:

Data - Pairing Hybrid Videos. We construct a hybrid dataset by pairing temporally aligned real-world driving videos with synthetic edits to introduce controlled appearance variations. While real-world pairs preserve the foundational scene structure despite traffic inconsistencies, synthetic pairs provide unambiguous appearance signals.

Training - Aligned Semantics via Dense Rewards. We align our editor with the spatiotemporal density of driving scenes through offline reinforcement learning, extracting dense, pixel-level rewards from the hybrid data as a localized supervision signal that steers generation toward structurally reliable pixel states.

Model - Temporally Robust Transition. To mitigate temporal shock, we introduce thinking frames, a mechanism that provides a temporal transition between the static conditioning signal and the dynamic video content. By prepending thinking frames during inference, the model can reconcile undesired artifacts to smoothly incorporate the intended edit without corrupting multi-agent dynamics.

We summarize our concrete contributions below:

  1. Comprehensive Datasets for Driving Video Editing. We construct a comprehensive editing dataset for instruction-guided driving video edits, featuring paired real and synthetic videos with corresponding editing masks and prompts. In total, we collect 86614 videos covering 172 categories of driving-scene semantics.

  2. Superior Driving Video Editing Performance. HorizonComposer outperforms recent video editing methods for safety-critical structural fidelity on unseen driving scenarios, achieving up to 20% improvements in content preservation while maintaining competitive instruction alignment and photorealism.

  3. Consistent User Preference. HorizonComposer consistently generated driving video edits preferred by real users (via voting), with a relative out-performance over the second-best method by 21 % overall.

  4. Benefits to Downstream Driving Tasks. Including driving scene videos edited by HorizonComposer further boosts downstream road line segmentation performance by 5% and boosts downstream multi-object detection by up to 7.14%.

References (59)