VideoCoS: When Do Executable World States Help Video Reasoning and Generation?

Shoubin Yu, Daeun Lee, Zun Wang, Han Lin, Yue Zhang +1 more
11/26/2026
cs.CVcs.AI
diffusion-flow

No confident code implementation found for this paper.

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{yu2026videocos,
  title  = {VideoCoS: When Do Executable World States Help Video Reasoning and Generation?},
  author = {Shoubin Yu and Daeun Lee and Zun Wang and Han Lin and Yue Zhang and Mohit Bansal},
  year   = {2026},
  eprint = {2611.35375},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.35375v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2611.35375.svg)](https://codeofpaper.com/paper/2611.35375)

Discussion