Generative models have shown promise in constructing interactive world. However, these worlds can appear visually plausible and exhibit desired outcomes without faithfully modeling the underlying physical interactions that produce them. This gap between visual plausibility and satisfaction of task requirements remains a challenge for reliable Real-to-Sim. We present Code2RSI, an agentic framework that structures world construction around task-specific agent harnesses, each connecting world programs with domain-specific tools, observations and feedback. Code2RSI enables recursive self-improvement by distinguishing immediate repairs to individual worlds from persistent updates to reusable construction skills and harness routines. We evaluate the framework on dynamic scene reconstruction and robotic interaction. Code2RSI improves reconstruction quality and task performance in these settings. Additional experiments on text-conditioned scene generation and task-driven game construction demonstrate its applicability beyond Real-to-Sim. These findings highlight the potential of execution-driven recursive self-improvement for reliable world construction.
翻译:暂无翻译