VideoCoS: When Do Executable World States Help Video Reasoning and Generation?
Shoubin Yu, Daeun Lee, Zun Wang, Han Lin, Yue Zhang, Mohit Bansal
UNC Chapel Hill
Published November 26, 2026 · on the feed November 30, 2026 · ▲ 8 · arXiv 2611.35375
The abstract
Video reasoning and generation often depend on the underlying world state, e.g., scene entities, their spatial layouts, and object and camera motion. We investigate whether and when representing this state as an executable program improves video reasoning, generation, and embodied planning. We introduce a unified read-write formulation that casts reasoning as state queries and generation as state edits, alongside Video Reasoning and Generation via Code States (VideoCoS), a decoupled agentic framework operating via Blender code. A perception-grounded codification agent first reconstructs a reusable scene program from raw video. A separate reasoning agent then works from this program alone, isolating the effect of the state, and reads it to answer questions or writes to it via edits, simulation, and rendering. Across seven read and write task families, three findings emerge. (1) Executable states help when a task reduces to explicit geometric operations on 3D structure, such as imagined-viewpoint reasoning, novel-view rendering, and rigid object placement. (2) They fall short when answers combine several noisy state estimates (e.g., object order) or depend on physical realism, such as hand interaction, fluids, and photorealism. (3) Executable states outperform raw perception inputs, and their effectiveness in reasoning depends on the accuracy of task-relevant information rather than visual fidelity. Different tasks tolerate different levels of reconstruction error. We hope our study motivates hybrid world models that combine the complementary strengths of executable code and diffusion models, where code maintains persistent scene structure and supports planning, and diffusion models handle photorealistic and non-rigid rendering.
The Brief
2:56A short podcast summary of the paper. Written and voiced by AI.
Transcript
VideoCoS. When Do Executable World States Help Video Reasoning and Generation?. By Shoubin Yu and five others, from the University of North Carolina at Chapel Hill. Published on the twenty-sixth of November.
Video reasoning and generation often depend on an underlying world state: the entities in a scene, their spatial layout, and how objects and the camera move. This study asks whether, and when, writing that state down as an executable program helps with video reasoning, with generation, and with embodied planning. The answer it reports is conditional. Executable states help when a task reduces to explicit geometric operations on 3D structure. They fall short when an answer has to combine several noisy estimates, or depends on physical realism. The question is framed as when, not whether alone, and the results bear that framing out: the same representation that makes one kind of task easier leaves another kind no better off.
To test this, the authors introduce a unified read-write formulation. Reasoning becomes a query on the state, and generation becomes an edit to it. Alongside it comes VideoCoS, short for Video Reasoning and Generation via Code States, a decoupled agentic framework that operates through Blender code. A perception-grounded codification agent first reconstructs a reusable scene program from raw video. A separate reasoning agent then works from that program alone. That separation is deliberate, because it isolates the effect of the state itself. The reasoning agent reads the program to answer questions, or writes to it through edits, simulation and rendering.
Across seven families of read and write tasks, three findings emerge. First, executable states help on tasks such as imagined-viewpoint reasoning, novel-view rendering, and rigid object placement. Second, they fall short on tasks like object order, where several noisy state estimates must be combined, and on hand interaction, fluids and photorealism, where physical realism matters. Third, executable states outperform raw perception inputs, and their usefulness in reasoning depends on how accurate the task-relevant information is, rather than on visual fidelity. That third finding is the subtle one. A reconstruction does not need to look right to be useful for reasoning. What it needs is to get right the specific facts a question depends on. A scene program that renders poorly can still answer a question well, provided the positions or relations the question asks about were recovered accurately.
The limits are built into the findings themselves. This is not a claim that code beats perception everywhere. Different tasks tolerate different levels of reconstruction error, so how well an executable state works depends on which pieces of the scene a task needs, and how precisely those were recovered. The evidence comes from the seven task families studied, using one framework that operates through Blender.
Where the authors hope this leads is toward hybrid world models that combine the strengths of each side. In that picture, code maintains persistent scene structure and supports planning, while diffusion models take on photorealistic and non-rigid rendering. The split mirrors the results: geometry to the program, realism to the generator.
More with an account
Listen to every day’s papers
Daily playlists, deep dives, quests for the papers, and quizzes on their key terms.
Join free