Why MarioVGG makes AI game engines feel closer, but not ready
MarioVGG shows that an AI model can generate plausible Super Mario Bros. video from gameplay footage and simple user inputs. The work is still far from real-time play, with low resolution, limited controls, and frequent visual glitches.
MarioVGG is an experimental AI model built to test whether video generation can imitate the behavior of Super Mario Bros. from footage and input data. Its results are uneven, slow, and visibly flawed, but they also point to a larger question: how much of a game’s logic can an AI system infer just by watching it in motion?
“The story is mostly a technical demo, but its ambition to replace traditional game engines points mildly toward automation eroding human craft and quality.”Why it scores Idiocracy
What MarioVGG Is Trying To Prove
MarioVGG follows a broader line of work in which AI models generate playable-looking game video rather than relying on a traditional game engine. The source compares it with Google’s GameNGen AI model, which showed that generalized image diffusion techniques can generate a passable, playable version of Doom.
In this case, the focus is narrower. MarioVGG was designed to generate plausible video of Super Mario Bros. in response to user inputs. The researchers describe the project as a step toward “producing and demonstrating a reliable and controllable video game generator,” and possibly toward “replacing game development and game engines completely using video generation models” in the future.
That ambition is much larger than the current result. The model is not close to replacing a game engine today. It produces short, low-resolution sequences, responds inconsistently to inputs, and cannot yet support real-time interactive play.
How The Model Learned From Gameplay
The researchers behind MarioVGG, with GitHub users erniechew and Brian Lim listed as contributors, started with a public data set of Super Mario Bros. gameplay. That data set contained 280 “levels'” worth of input and image data arranged for machine-learning purposes.
One important detail is that level 1-1 was removed from the training data. Images from that level were then used for evaluation, giving the researchers a way to test the model on material that had been held back from training.
The data set included more than 737,000 individual frames. Those frames were “preprocessed” into 35 frame chunks so the model could learn short-term relationships between player inputs and what appeared on screen immediately afterward.
To keep the problem manageable, the researchers reduced the control scheme to two possible inputs:
- “run right”
- “run right and jump”
Even that simplified setup created complications. The preprocessor had to look backward across a few frames before a jump to determine if and when the “run” action began. Jumps that included mid-air adjustments, including use of the “left” button, were removed because “this would introduce noise to the training dataset,” according to the researchers.
What It Can Generate
After preprocessing, the model was trained for about 48 hours on a single RTX 4090 graphics card. The researchers then used a standard convolution and denoising process to generate new video frames from a static starting game image and a text input.
In this limited version, the text input could be either “run” or “jump.” The generated sequences are short, but they can be chained together. The final frame of one generated sequence can become the first frame of the next, which can create longer gameplay videos that the researchers describe as “coherent and consistent gameplay.”
MarioVGG’s most interesting result is not visual polish. It is the way the model appears to infer some game behavior from the training data. The researchers write that it could “learn the physics of the game purely from video frames in the training data without any explicit hard-coded rules.”
That includes Mario falling when he runs off the edge of a cliff, with believable gravity, and usually stopping forward movement when he is next to an obstacle. Those behaviors matter because they suggest the model is not merely producing disconnected images. It is learning patterns that resemble simple gameplay dynamics.
The system also appears able to invent new obstacles as the imagined level scrolls. The researchers say those obstacles “are coherent with the graphical language of the game.” However, users cannot currently direct those obstacles with prompts, such as asking the model to place a pit in front of Mario and make him jump over it.
Why It Still Falls Apart
MarioVGG is still far from matching the look, timing, or reliability of a real Super Mario Bros. game. For efficiency, the researchers downscale output frames from the NES’ 256×240 resolution to 64×48. That makes the video much muddier than the original game output.
The model also compresses 35 frames of video time into seven generated frames placed “at uniform intervals.” The result is rougher than normal gameplay video, even before considering the model’s errors.
Speed is another major limitation. The single RTX 4090 used by the researchers took six whole seconds to generate a six-frame video sequence. That sequence represented just over half a second of video at an extremely limited frame rate.
The researchers acknowledge that this is “not practical and friendly for interactive video games.” They suggest that future optimizations in weight quantization, and perhaps more computing resources, could improve the rate.
Reliability is also a serious problem. The model does not always follow user prompts. As the researchers put it, “we observe that the input action text is not obeyed all the time.”
When the model fails visually, the results can be dramatic. Mario can land inside obstacles, run through obstacles and enemies, flash different colors, change size from frame to frame, or disappear for multiple frames before returning.
One shared example shows Mario falling through the bridge, becoming a Cheep-Cheep, flying back up through the bridges, and transforming into Mario again. The source notes that this looks more like something from a Wonder Flower than an AI video of the original Super Mario Bros.
What This Means For AI Game Generation
MarioVGG is best understood as a proof-of-concept. It does not yet provide a practical replacement for game development tools, and it cannot deliver smooth, controllable, real-time gameplay. Its movement set is restricted, its resolution is reduced, and its outputs can break in obvious ways.
Still, the experiment shows why AI video generation is drawing attention in games. With limited inputs and a relatively constrained data set, the model can produce short sequences that resemble running, jumping, falling, obstacle interaction, and scrolling level structure.
The researchers believe longer training on “more diverse gameplay data” could help address the model’s problems and expand it beyond running and jumping to the right. For now, MarioVGG shows both sides of the technology at once: AI can learn surprising pieces of a game world from video, but turning that into dependable interactive software remains a much harder problem.
Read next