Researchers have introduced Recursive Code World Models (RCWM), a framework for reconstructing complex 3D worlds in code from a single reference image. The work addresses a limitation of existing code world models: representing a world as an executable program does not by itself specify how to construct a complex world.
RCWM pairs a Recursive Scene Program (RSP) representation with a construction solver that recursively calls itself. An RSP encodes the executable world as compositional scene code, while each solver call follows the same complete process: establish the whole, recursively reconstruct unresolved parts, and revisit the whole to refine their composition.
This global-local-global recursion gives fine-scale structures their own perception-and-editing loops while preserving scene-wide geometry and relationships. Reference-aligned views propagate a shared camera projection across levels, and parent revisitation addresses boundaries, spatial relations, and shared errors that emerge after local refinement.
A vision-language coding agent directly compares reference images with scene renders to guide refinement, recursive descent, and return. According to the paper, RCWM outperforms prior code-based image-to-scene reconstruction methods across complex scenes. Ablation studies support the benefits of recursive construction and suggest that deeper calls can improve finer-scale reconstruction.
The authors position RCWM as a recursive construction principle for building complex executable worlds from visual evidence.