Full Report

From writing code to building dynamic worlds, VideoRSI enables open-source models to achieve complex visual programming capabilities comparable to top-tier closed-source models through verifiable self-evolution.
Published by Machine Heart
The value of video generation lies not only in whether the visuals are realistic, but also in whether the world within the frame can operate as required: how objects move, how they interact with each other, and how events unfold must all be precisely controlled. VideoRSI further enhances the model's ability to precisely control dynamic worlds through self-evolution. From the complex scenes, object interactions, and continuous motion in the short clips, it is evident that this capability not only makes video generation more controllable, but also provides new ideas for embodied intelligence and autonomous driving to construct complex interactive scenes and generate controllable simulation environments.
Currently, video generation models can already produce realistic visuals, but the physical space and temporal structure of scenes remain difficult to control stably—such as object motion trajectories, interaction sequences, and camera tracking paths. Meanwhile, coding models represented by GPT-6.1 can already build three-dimensional scenes with code based on natural language instructions, choreograph multi-object interactions and camera movements, and then have video generation models produce visuals accordingly, demonstrating enormous research and practical application potential.
However, the inference cost of such top-tier closed-source models is often extremely high. In real industrial applications, can a self-deployable small-parameter open-weight model (e.g., 28B) serve as a director, optimizing model weights and improving execution workflows through self-evolution (RSI), to approach GPT-6.1 on such complex visual programming tasks?
Yet, to improve visual programming capabilities through self-evolution, the model must not only write syntactically correct, executable programs, but also ensure that the generated scenes conform to instructions. Even if the program runs smoothly, objects in the scene may still interpenetrate or float in mid-air, motion trajectories and event sequences may be incorrect, and the camera may collide or deviate from the target. These problems are often difficult to accurately identify solely from 2D images or video scores. If the model is to learn from failures, it needs a verification mechanism that can directly inspect scene execution states, locate errors, and provide actionable feedback.

Overall method framework of VideoRSI
To this end, MagicCore Technology, together with Nanyang Technological University and other research institutions, proposed VideoRSI, which enables an open-source model with only 27B parameters to learn successful experiences from its own programming trajectories through direct execution and verification of dynamic 3D scene programs, reaching and slightly surpassing GPT-6.1 Extra-High Reasoning on three controllability metrics for complex video control tasks. This provides a highly valuable path for open-source AI directors to move toward large-scale application.
The paper and code are fully open-sourced:
- Paper (arXiv): https://arxiv.org/abs/2611.38151
01 From a Piece of Code to a Dynamic World
The scientist team at MagicCore Technology showcased more VideoRSI programmatic generation and final video results, demonstrating its excellent physical collision and interaction, continuous physical processes and event sequences, and spatial layout and camera control effects.
Physical collision and interaction: a toy train knocks down a block tower

Continuous physical process and event sequence: ice cream melting
Continuous physical process and event sequence: candles extinguish one after another
Continuous physical processes and event sequences: berries falling into milk
Spatial layout and camera control: camera movement along a long candlelit table
02 Self-evolution significantly improves physical spatiotemporal control
While keeping the task instructions and the video generation model unchanged, the scene programs written by VideoRSI significantly outperform the original 27B open-source model, demonstrating the key role of self-evolution in enhancing physical spatiotemporal control. In the following videos, the left side shows the results of the original 27B model, while the right side shows the improvement after adding self-evolution.
Riding across a bridge: the original base model shows geometric interpenetration between the wheels and the rider; VideoRSI generates a more reasonable bicycle structure.
Dual exhibition hall task: the original base model fails to correctly construct the walls and spatial relationships; VideoRSI preserves the complete structure of both exhibition halls and achieves more reasonable camera movement.
Tram on a curve

Hot air balloons ascending one after another
Indoor scene in sunlight
03 VideoRSI approaches GPT-6.1 performance using only a 27B open-source model
VideoRSI achieves performance approaching or even slightly surpassing GPT-6.1 (Extra-High Reasoning): both receive the same task instructions, and the same video generation model renders the scene programs each of them writes.

GPT-6.1 vs. VideoRSI: valley cable car

GPT-6.1 vs. VideoRSI: courtyard building
GPT-6.1 vs. VideoRSI: indoor scene in sunlight
GPT-6.1 vs. VideoRSI: Seaside Ferris Wheel
In addition, in the tasks of a robot dog traversing an exhibition hall and motorcycle follow-shooting, VideoRSI better fulfilled the specified motion paths, camera following, and control requirements such as low-position rear follow-shooting and push-in during deceleration.

Robot dog exhibition hall and motorcycle follow-shooting tasks: comparison of multiple methods
04 Making AI truly understand its own mistakes: from visual scoring to executable 4D verification
Why does VideoRSI verify the scene while the program is running? In comparison figure (a), the top row shows reference frames rendered by the 3D scene program, and the bottom row shows the final frames generated by the video generation model. Appearance details such as materials and lighting changed, but the scene layout and camera motion largely followed the program's settings. This also means that an incorrectly written camera trajectory in the program may persist all the way into the final video.
Figure (b) illustrates this situation even more clearly: the instruction required the camera to move around the bed, but the route set by the program passed through the door panel. After viewing the keyframes, the vision-language model (VLM) did not detect any anomaly, whereas VideoRSI directly checked the camera's motion trajectory in the 3D scene and identified this collision. This verification mechanism also checks geometry, camera control, motion readability, and spatial relationships between objects, and points out the objects, time, and locations involved in the error so that the model can fix the program.
In addition, in a larger-scale statistical experiment, VideoRSI achieved an overall error detection rate of 95%, while the VLM based on keyframe judgment achieved only 25%.
05 Dual-layer self-evolution: not only making the model stronger, but also making the Agent better at working
VideoRSI selects training samples from self-generated interaction trajectories: first checking various 4D constraints, then comparing task completion. Taking the robot dog going around the exhibition stand as an example, skipping the detour may reduce collisions, but it does not complete the instruction. The research team used the selected trajectories for rejection sampling supervised fine-tuning (RS-SFT), enabling the model to learn how to build and repair scenes.
In the Harness Evolution stage, the model parameters remain fixed, and the system adjusts work instructions, skills, and execution strategies based on verification feedback. Under the same tasks and computational budget, only changes that can improve scene performance while balancing geometric plausibility and interaction stability are retained.
The figure below vividly illustrates the mutually reinforcing effect of the two.

Robot dog traversing the exhibition hall: changing only the workflow (harness) allows the robot dog to bypass the exhibition stands and reach the exit, but the camera does not follow; only fine-tuning the model makes the camera start following, but the composition gradually drifts. With the two combined, the camera follows the robot dog all the way around four exhibition stands until the exit.
Conclusion: from generating code to controlling the "world" it creates
What VideoRSI explores is not only a video generation method, but also a path for model self-evolution oriented toward complex visual programming tasks. When AI builds dynamic worlds through code, the program itself provides rich, explicit, and executable feedback. Rather than merely observing the final frames, it is better to directly verify how the world is constructed, how objects move, and how events occur.
Through executable 4D verification, model parameter learning, and Harness Evolution, VideoRSI demonstrates how open-weight models can use their own programming experience to improve their capabilities and approach top closed-source models on complex visual control tasks. Or, in the words of the scientist team from Magic Core Technology and Nanyang Technological University, "AI not only needs to learn to create worlds, but also needs to learn to verify, correct, and control the 'worlds' it creates."
© THE END
For reprinting, please contact this official account for authorization
Submissions or report requests: [email protected]