cs.AIAug 10, 2026

Compiling VGDL into Causal Models

Authors: Mohit Jiwatode, Bodo Rosenhahn, Alexander Dockhorn

Organizations: Institute for Information Processing Leibniz University Hannover Hannover, Germany · SDU Metaverse Lab University of Southern Denmark Odense, Denmark

Abstract

Reinforcement learning and large language models often struggle to accurately capture the causal mechanics of game environments. Standard reinforcement learning agents tend to rely on spurious correlations, while large language models are prone to hallucinating game rules. Although causal reinforcement learning improves interpretability, there is currently no formal methodology to map complex game mechanics directly into causal models. To address this, we propose a deterministic framework that compiles games specified in the Video Game Description Language into Dynamic Structural Causal Models. Rather than inferring causal structures from gameplay traces or noisy large language models' outputs, our methodology directly translates game components, including sprite dynamics, interaction rules, and termination conditions, into explicit structural equations. Each game tick represents a causal transition from state variables at time tt to t+1t+1. By establishing this grounded mapping, the approach guarantees absolute causal fidelity to the ground-truth game mechanics. The resulting models offer transparent causal pathways that support counterfactual reasoning, causal reinforcement learning agent training, and procedural content validation. This framework provides a principled bridge between symbolic game descriptions and causally grounded game AI.

Figures & tables

Explore similar work

CardsList
  1. Learning Implicit Causal World Models from Multi-Agent Demonstrations

    Jul 28, 2026Jasorsi GhoshCausal Representation LearningCausal World Models

  2. Causal Reinforcement Learning for Complex Card Games: A Magic The Gathering Benchmark

    May 7, 2026Cristiano da Costa Cunha, Ajmal Mian, Tim French +1RL BenchmarksStructural Causal Models

  3. Distilling Game Code World Model Generation into Lightweight Large Language Models

    May 23, 2026Tyrone Serapio, Arjun Prakash, Haoyang Xu +2LLM-Based Program Synthesis