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

DevFeed: [VideoCoS: When Do Executable World States Help Video Reasoning and Generation?](<https://devfeed.tech/articles/videocos-when-do-executable-world-states-help-video-reasoning-and-generation-161253.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.35375>)

Author: Shoubin Yu, Daeun Lee, Zun Wang, Han Lin, Yue Zhang, Mohit Bansal

Published: 2026-11-30T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>)

Topics: [Computer vision](<https://devfeed.tech/topics/computer-vision.md>), [World models](<https://devfeed.tech/topics/world-models.md>), [3D](<https://devfeed.tech/topics/3d.md>)

Tags: [3d](<https://devfeed.tech/tags/3d.md>), [agent](<https://devfeed.tech/tags/agent.md>), [agentic](<https://devfeed.tech/tags/agentic.md>), [blender](<https://devfeed.tech/tags/blender.md>), [camera](<https://devfeed.tech/tags/camera.md>), [code](<https://devfeed.tech/tags/code.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-cv](<https://devfeed.tech/tags/cs-cv.md>), [diffusion-models](<https://devfeed.tech/tags/diffusion-models.md>), [edits](<https://devfeed.tech/tags/edits.md>), [generation](<https://devfeed.tech/tags/generation.md>), [motion](<https://devfeed.tech/tags/motion.md>), [photorealism](<https://devfeed.tech/tags/photorealism.md>), [planning](<https://devfeed.tech/tags/planning.md>), [program](<https://devfeed.tech/tags/program.md>), [queries](<https://devfeed.tech/tags/queries.md>), [reasoning](<https://devfeed.tech/tags/reasoning.md>), [rendering](<https://devfeed.tech/tags/rendering.md>), [simulation](<https://devfeed.tech/tags/simulation.md>), [spatial](<https://devfeed.tech/tags/spatial.md>), [video](<https://devfeed.tech/tags/video.md>), [world-models](<https://devfeed.tech/tags/world-models.md>)

## AI overview

VideoCoS tests whether executable scene states improve video reasoning and generation. A codification agent reconstructs a reusable scene program from video; a separate agent reads it to answer questions or edits it through simulation and rendering. Across seven task families, executable states help with explicit 3D geometry operations such as imagined viewpoints, novel-view rendering, and rigid object placement. They are less effective when tasks combine noisy estimates or require realism, including hand interaction, fluids, and photorealism. Performance depends on accurate task-relevant state information, not visual fidelity alone, and reconstruction error tolerance varies by task. The authors suggest combining code for persistent scene structure and planning with diffusion models for photorealistic and non-rigid rendering.

## Source excerpt

arXiv:2611.35375v1 Announce Type: cross 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.