Mauricio Soroco, Yuqiu Liu, Zaid Tasneem, Francesco Pittaluga, Abhishek Aich, Wuyang Chen, Manmohan Chandraker, Ziyu Jiang
NeurIPS 2026
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.
HorizonComposer is built on Cosmos-Transfer2.5, a video diffusion transformer with control branches. A frozen depth branch keeps the geometry of the source clip, and a visual branch is fine-tuned for driving-scene editing. Traffic semantics are protected at three levels: data, training and model.
Real pairs come from multi-season driving logs over repeated routes. Frames from two traversals are paired by camera pose, a temporal filter removes freeze-frame segments and large timestamp gaps, and a vision-language model turns the difference between the two clips into an editing instruction. Synthetic pairs are made by editing the first frame with an image editor and propagating the edit through the video with a video generative model. Real pairs keep the scene structure but their traffic does not match; synthetic pairs give a clean appearance signal but may hallucinate. The two complement each other.
Neither kind of pair is perfect, and the artifacts are spatially sparse but appear in nearly every video, so discarding whole videos does not work. Instead, each training pair gets a dense reward map that scores every pixel on three axes: content preservation (scene-change detection plus segmentation of lane lines, crosswalks and vehicles), temporal consistency (optical-flow based) and instruction alignment (CLIP similarity to the target prompt). The reward map is thresholded into a pixel-aligned indicator, and the model is trained with advantage conditioning from offline reinforcement learning (CFGRL), extended from one scalar per sample to one indicator per pixel. At inference the indicator is set to 1 everywhere, which steers generation toward structurally reliable results.
The reference image that guides the global appearance is produced by a general-purpose image editor and may misplace actors or hallucinate structure. Forcing the video to follow it directly causes a “temporal shock.” HorizonComposer prepends two thinking frames to the video, together with a time-reversed copy of the first control frames. During these frames the model reconciles the reference image with the video condition; after denoising they are cropped, so the final video keeps its original length and layout.