Unassigned · 2026-12-02
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
AI-assisted summary based on the paper. Consult the linked source for methods and limitations. Benchmark numbers appear after editor verification.
Abstract (from arXiv)
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.
Related papers
- Code World Model 2.0: Towards Infinite Controllable Video Generation
- SpecWAM: Unlocking Real-Time World Action Models in One GPU-Hour with Draft-and-Correct Decoding
- CtrlCache: Accelerating Interactive Video World Models with Control-Aware Caching
- WorldDraft: If Code Builds the World, Can Video Models Just Render It?
- SpecWM: Turning Verification into Refinement for Streaming World Models
Publication record
Bibliographic evidence describes where and when a record appeared. It does not validate scientific claims.
First announced by arXiv: 2026-12-02 · Indexed by Pub-AI: 2026-12-02 UTC
FastCWM: Streaming Code World Models That Learn from Their Own Renders
First announced by arXiv: 2026-12-02 · Original record ↗
- arxiv
- 2612.01144
Explicit source versions (1)
- v1 · Date not supplied
- Preprint available
Source date: 2026-12-02 · First detected: 2026-12-02 UTC · Historical baseline
Source evidence (1)
- Official evidence ↗ · RSS guid=oai:arXiv.org:2612.01144v1; arxiv:announce_type=new; item pubDate (official metadata)
Abstract · arxiv
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 $Δ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.
