Skip to content

FastCWM: Streaming Code World Models That Learn from Their Own Renders

Hao Wu Fan Zhang Yuqi Li Yizhou Zhao Yingli Tian Linsey Pang Prakhar Mehrotra Qingsong Wen Ming-Hsuan Yang
Dec 2026
Artificial Intelligence Computer Vision

Abstract

Code world models combine executable scene programs with video diffusion for physically structured simulation, yet existing pipelines compile full scripts before offline rendering. Consequently, mid-stream user edits take minutes and force full prefix recomputation, while open-loop execution prevents the code policy from learning from rendered frames. We introduce FastCWM, a chunk-synchronized code world model that allows users to steer a simulation in seconds without re-rendering prefix history and learns from its own rendered feedback. At each $17$-frame causal chunk, a code agent emits compact state-transition patches $\Delta c_t$ over explicit $3$D proxies, while a $4$-step streaming renderer synthesizes matching video frames over a sliding key-value cache so edits branch immediately from cached memory. One-to-one chunk alignment further enables render-in-the-loop learning during offline training, where physical and visual verifiers localize errors to individual patches and resample suffixes from cached states before distilling repairs into single-pass inference. Evaluated on our FastCWM-Bench suite across five rigid-body and articulated domains plus a held-out split, FastCWM runs at $0.38\times$ real-time playback pacing ($1.85$ s per $0.71$ s chunk on five H$100$ GPUs) while keeping interactive edit latency to $3.73$ s ($4.3$ s warm start) and reaching $83.1\%$ task success. We plan to release the model weights and source code.

View source

Similar papers

#artificial intelligence Preprint Jul 2024

The Llama 3 Herd of Models

It is found that Llama 3 delivers comparable quality to leading language models such as GPT-4 on a plethora of tasks, and performs competitively with the state-of-the-art on image, video, and speech recognition tasks.

Aaron Grattafiori, Abhimanyu Dubey, Abhinav Jauhri et al. · 21,082 citations · ⚡3,832
#artificial intelligence Conference Open access Jun 2018

Gibson Env: Real-World Perception for Embodied Agents

This paper investigates developing real-world perception for active agents, proposes Gibson Environment for this purpose, and showcases a set of perceptual tasks learned therein.

F. Xia, Amir Zamir, Zhi-Yang He et al. · 1,069 citations · ⚡112
#computer vision Review Sep 2017

Agile Software Development Methods: Review and Analysis

This publication proposes a definition and a classification of agile software development approaches and analyses ten software development methods that can be characterized as being "agile" against the defined criterion.

P. Abrahamsson, O. Salo, Jussi Ronkainen et al. · 727 citations · ⚡54
#computer vision Jun 2008

The impact of agile practices on communication in software development

The study shows that agile practices improve both informal and formal communication, but indicates that, in larger development situations involving multiple external stakeholders, a mismatch of adequate communication mechanisms can sometimes even hinder the communication.

M. Pikkarainen, Jukka Haikara, O. Salo et al. · 401 citations · ⚡48
#machine learning Review Open access Oct 2014

Software development in startup companies: A systematic mapping study

The results indicate that software engineering work practices are chosen opportunistically, adapted and configured to provide value under the constrains imposed by the startup context.

Nicolò Paternoster, Carmine Giardino, M. Unterkalmsteiner et al. · 394 citations · ⚡54

Related blog posts

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.