From Pixels to Play
AI Model ‘MarioVGG’ Simulates Super Mario Bros After Watching Gameplay
Last updated:

Edited By
Mackenzie Ferguson
AI Tools Researcher & Implementation Consultant
Researchers have developed MarioVGG, an AI model capable of generating video sequences of Super Mario Bros. based on gameplay footage. Despite limitations like slow processing and visual glitches, the model showcases potential for future video game development using AI technology.
Researchers are taking significant strides in AI capabilities, now venturing into the realm of video game simulation. Their latest efforts focus on creating AI models that can replicate gameplay footage of classic video games, such as Super Mario Bros. Recent developments come from Virtuals Protocol, a crypto-adjacent AI company, which published a preprint paper on their model MarioVGG. This AI system aims to generate realistic video of Super Mario Bros. gameplay in response to user inputs, following in the footsteps of Google's GameNGen AI model that simulated Doom.
The MarioVGG model, spearheaded by GitHub users erniechew and Brian Lim, shows promise despite its early-stage glitches and limitations. The researchers trained the model on a dataset containing over 737,000 individual frames of Super Mario Bros. gameplay, captured in 35-frame sequences. This allowed the AI to learn and infer the relationships between various gameplay inputs and their visual outputs.
Learn to use AI like a Pro
Get the latest AI workflows to boost your productivity and business performance, delivered weekly by expert consultants. Enjoy step-by-step guides, weekly Q&A sessions, and full access to our AI workflow archive.














Specifically, the researchers limited the input commands to 'run right' and 'run right and jump' to simplify the training process. Despite these constraints, the MarioVGG model demonstrated the ability to perform impressive feats such as simulating gravity effects when Mario falls off a cliff or halting his motion upon encountering an obstacle. However, the generated videos are still rough in quality, with resolutions downgraded from the original NES game and noticeable glitches.
One of the critical challenges faced by the MarioVGG model is its performance speed. Currently, the model takes about six seconds to generate a six-frame video sequence, equivalent to just over half a second of gameplay, on a high-end RTX 4090 graphics card. The researchers acknowledge that this is not feasible for real-time gameplay and suggest that future optimizations in weight quantization and computing power could enhance performance.
The implications of this research extend beyond the novelty of seeing Mario move autonomously. If perfected, such AI models could revolutionize game development by potentially replacing traditional game engines. This would allow developers to generate entire game environments and mechanics solely using video generation techniques. However, current limitations, such as the model's tendency to sometimes ignore user prompts or produce visual anomalies, indicate that much work remains before this vision can become a reality.
Moreover, the MarioVGG model showcased the ability to 'hallucinate' game obstacles coherently with the graphical language of Super Mario Bros., even though these obstacles cannot yet be manipulated by user inputs. Instances like Mario falling through a bridge and transforming into different characters underscore the model's current unpredictability, highlighting areas requiring further refinement.
Learn to use AI like a Pro
Get the latest AI workflows to boost your productivity and business performance, delivered weekly by expert consultants. Enjoy step-by-step guides, weekly Q&A sessions, and full access to our AI workflow archive.














Despite these hurdles, MarioVGG's capability to learn game physics from video frames without hard-coded rules is a remarkable achievement. The AI's proficiency in imitating Mario's movements and responses from limited data sets underscores the potential for more sophisticated simulations with extended training and diverse gameplay data. The current efforts, while preliminary, lay the groundwork for more advanced AI-driven game simulations in the future.
In the broader context, the success of MarioVGG could pave the way for AI applications in various industries beyond gaming. Businesses keen on leveraging AI for creative content generation, including advertising, film, and virtual environments, could find inspiration in these developments. The strides in AI-generated video highlight a future where human creativity is augmented by advanced machine learning, offering new possibilities for innovation and efficiency across sectors.