VideoRSI: Verifiable Self-Improvement for Code-to-Video Generation
Executable environments let coding agents improve themselves; the key is reliable program verification. In code-to-video generation, an LLM director writes a 3D scene program that a video model renders realistically. Coupling geometry, physics, motion and camera, this complex visual task is hard to verify. To make it verifiable for self-improvement, we ask what to verify and how. We observe that the generator treats the proxy as a hard 4D constraint and the prompt as a soft appearance prior: program-level 4D errors pass irreversibly into the video, yet stay invisible to VLM judges on 2D frames. We therefore verify at the program level: VideoRSI executes each program and maintains a unified 4D state of objects and camera, on which all spatiotemporal constraints are checked. As a non-compensatory filter, the verifier drives self-improvement at two levels: rejection-sampling fine-tuning on verified self-generated trajectories updates the weights, and verifier-gated harness evolution refines the workflow. The resulting Qwen3.8-27B director yields much better videos with equally rich scenes, approaching frontier closed-source models (GPT-6.1). Project page: https://steller-chen.github.io/VideoRSI/