# 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*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/150588) · [OpenReview](https://openreview.net/forum?id=h4NSSZLqct) · [Open on the map](../papers.html#p150588)

Category: [Robotics, VLA & World Models](../pcat/4.md) › [Spatial Reasoning for Multimodal Systems](../pgroup/157.md) · Type: new method · Keywords: video editing, traffic semantics, spatiotemporal consistency, reinforcement learning, autonomous driving simulation

Areas: [Multimodal](../areas/multimodal.md) › Multimodal Generation › Grounded Video Generation

## Summary
HorizonComposer protects traffic semantics during driving video editing by using a hybrid dataset, offline reinforcement learning with pixel-level rewards, and thinking frames to ensure spatiotemporal consistency.

## Explained to a 5-year-old
We have videos of cars driving on roads. Sometimes we want to change something in the video, like making it rain or night time. If we just change the picture, the cars might look wrong or jump around, which is not fun. This paper makes a special set of videos that show real and fake changes together. It teaches a computer program to edit videos using a game-like learning method and a trick called thinking frames. This helps the videos stay smooth and keep the rules of the road.

## Explained to a 5-year-old, longer
We have videos of cars driving on roads. Sometimes we want to change something in the video, like making it rain or night time. If we just change the picture, the cars might look wrong or jump around, which is not fun. The researchers noticed that most video editing tools don't understand the rules of driving, like which car is in front or where the road lines are. They built a new collection of videos that mixes real driving videos with computer-generated changes, so the computer can learn what a good edit looks like. They also used a special way of learning that works like playing a game, where the computer gets a reward when the edit looks correct. They added a new trick called thinking frames that helps the video stay smooth when the scene changes. All of these ideas together help the computer edit driving videos while keeping the traffic rules correct. This makes the edited videos look natural and safe. The researchers tested their system and found it kept the cars moving correctly much more often. They also measured how smooth the videos looked and how well the road lines were still visible. The new system is much better than the old ones, helping developers test self-driving cars more reliably. In the end, the paper gives a way to edit driving videos that respects the complex rules of the road, making simulations safer and more realistic.

## For a technical reader
The system creates a hybrid dataset of real and synthetic driving videos to teach a model how to edit while preserving traffic rules. It uses offline reinforcement learning with pixel-level rewards to guide generation and adds thinking frames to smooth transitions between static and dynamic contexts. Experiments show the method prevents corruption of multi-agent dynamics and achieves large gains in content preservation, temporal consistency, and downstream road line segmentation. The approach is designed to be practical for stress-testing autonomous driving systems with realistic video edits.

## Problem
General-purpose instruction-guided video editors often corrupt traffic semantics when editing driving scenes, causing structural hallucinations and temporal shock.

## Method
The approach builds a hybrid dataset of real and synthetic videos, uses offline reinforcement learning with advantage conditioning and pixel-level rewards to steer generation, and introduces thinking frames to reconcile static and dynamic conditioning, thereby preserving traffic semantics.

## Results
The approach prevents corruption of multi-agent dynamics, achieving state-of-the-art spatiotemporal consistency with an 88% relative improvement in content preservation, 75% in temporal consistency, and a 5% gain in downstream road line segmentation.

## Contributions
The paper introduces a three-level method to preserve traffic semantics during video editing, including a hybrid dataset, offline reinforcement learning with pixel-level rewards, and thinking frames to mitigate temporal shock.

## Practical relevance
It enables safer and more realistic stress-testing of autonomous driving systems by ensuring edited driving videos retain correct traffic semantics.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/150588)
