Teaching AI Video Generators the Actual Rules of Video Games
Original paper: FANE: Function-Aligned Neural Engine for Rule-Consistent Video Game Simulation
"Think of FANE like a mechanical cuckoo clock where a hidden internal gear system strictly dictates the time, while the ornate decorative carvings provide the visual scene. The hidden gears ensure the bird pops out at the exact right moment, preventing the visuals from breaking the physical laws of the clockwork."
This breakthrough allows AI to generate playable, logically consistent video games on the fly without needing massive supercomputers or hand-coded rules for every new level. It paves the way for truly dynamic, AI-generated virtual worlds where players can explore infinite new environments without breaking game logic.
- AI video models struggle to maintain consistent game rules during interactive play.
- FANE combines a frozen video backbone with a lightweight neural state engine.
- The new DoomState benchmark proves FANE maintains high visual quality and rule adherence.
📑 Original arXiv Technical Abstract
Current video generation models can produce high-quality, game-style videos from text prompts. Game world models build on this by injecting action control into video backbones, turning generative models into interactive game simulators. While such works move toward playable world models, maintaining consistency with underlying game rules remains a key challenge, which is crucial for human gameplay. Recent works typically address this by explicitly modeling rule-based states. However, these methods depend on deterministic logic programmed by humans or LLM agents, or on full-parameter joint fine-tuning, which limits the models' generalizability and flexibility. In this paper, we propose FANE, a hierarchical architecture that aligns a neural state engine with a pretrained video backbone so that the two levels complement each other: the engine provides the rules that the video lacks, and the video provides the geometry of the map that the engine lacks. With the backbone frozen, we train only one lightweight neural state engine and lightweight adaptation modules, achieving rule-consistent game simulation. To test our method, we release DoomState, a benchmark with exact ground truth on both videos and game states from engine simulation. Experiments show that our method maintains strong rule adherence, state accuracy and visual quality on both trained maps and unseen maps compared with other control architectures. Overall, our bi-directionally aligned neural engine architecture is rule-consistent and training-efficient, and it offers a new perspective on designing playable game world models.
✍️ Are you an author of this paper? Add code/demo links or a note
Help readers explore your work — share your official GitHub repo, Hugging Face weights, affiliation, or a clarification note for our editorial review queue.