Measuring General Intelligence with Generated Games

Vivek Verma, David Huang, William Chen, Dan Klein, Nicholas TomlinarXiv 2025

TL;DR

The paper introduces gg-bench, a dynamic and scalable benchmark designed to evaluate general reasoning in Large Language Models (LLMs) through entirely novel, synthetically generated games. By using LLMs to invent game rules, compile them into executable code, and train reinforcement learning (RL) opponents via self-play, the authors create a "future-proof" evaluation pipeline where current frontier models struggle, scoring winrates of only 7% to 36%.

What Problem Does This Paper Address?

Traditional, static benchmarks (like MMLU or human-curated coding problems) face two major existential threats: data contamination and saturation. As newer LLMs are trained on increasingly massive web-scale datasets, evaluation data inevitably leaks into their training corpora, making it difficult to distinguish true zero-shot reasoning from rote memorization. Furthermore, as models rapidly improve, static benchmarks quickly hit a ceiling.

To evaluate true general intelligence—defined here as the ability to generalize and act in entirely unseen contexts—we need benchmarks that are not static lists of questions, but dynamic, automated data-generating processes capable of producing novel environments on demand.

Methods

Instead of using classic games like chess or Go, gg-bench dynamically generates brand-new, two-player, turn-based strategy games. The benchmark creation pipeline follows three core phases:

  1. Game Description Generation: OpenAI's o1 model is prompted to generate natural language rulebooks for unique console-based games.
  2. Implementation Generation: The same model translates these text rules into executable Python code using the Gymnasium API, defining the action spaces, state transitions (step), and valid move trackers.
  3. Self-Play Reinforcement Learning: To establish competent opponents, RL agents are trained on each game using Proximal Policy Optimization (PPO) for 1 million timesteps, augmented with Monte Carlo Tree Search (MCTS) during evaluation.

To guarantee quality, the authors implement rigorous automated filters to eliminate games with bugged code, infinite loops, or exponential action spaces. Finally, an "upper-bound check" ensures that every game included is practically beatable by verifying that advanced RL checkpoints can consistently defeat earlier ones.

Overview of the gg-bench benchmark creation pipeline.

Datasets

The authors introduce the gg-bench dataset, which currently consists of 126 unique two-player games that successfully survived the generation and filtering pipeline (out of 1,000 initially sampled).

Unlike traditional game suites, these environments represent entirely out-of-distribution challenges for LLMs. They are clustered into five broad strategic categories: number-based puzzles, board games, card games, chance-based mechanics, and combat games.

Key Insights and Ideas

  • LLMs as Task Designers: The core philosophy relies on a fascinating asymmetry: LLMs are highly capable of generating complex, structured tasks that they themselves are currently incapable of solving.
  • Scalability and Future-Proofing: The difficulty of the benchmark scales naturally with the capability of the generating model. When the authors attempted to generate games using GPT-4o, only 10 out of 1000 survived filtering, and 8 of those were unoriginal variants of Tic-Tac-Toe. In contrast, o1 yielded a rich, diverse set of 126 viable games. This proves that as models advance, researchers can simply re-run the pipeline with stronger models to generate progressively harder benchmarks.
  • The Strategic Planning Gap: Standard LLMs do not fail because they violate game rules; they fail because they lack long-horizon planning. They struggle to evaluate the multi-turn consequences of trades, territory exposure, and opponent counter-strategies.

Key Results

The benchmark exposes a massive performance gap between standard LLMs and reasoning-focused models when playing against the trained RL agents:

  • Non-reasoning models like GPT-4o and Claude 3.7 Sonnet (tested using standard in-context learning) achieve low winrates of 8.94% and 9.53%, respectively.
  • Reasoning models utilizing test-time compute (OpenAI o1, o3-mini, and DeepSeek-R1) perform significantly better, achieving average winrates between 31% and 36%, with o1 leading the pack at 36.28%.

An analysis of GPT-4o's failures reveals that 81.98% of its game outcomes are clean losses to the RL agent, while only 5.29% are "faults" (invalid moves). This confirms that the models successfully comprehend the rules from the text descriptions but are simply out-strategized by the RL baselines.

Model winrates on gg-bench and a breakdown of GPT-4o failure reasons.

Limitations and Future Work

While gg-bench provides a robust framework for testing out-of-domain generalization, the authors note several limitations:

  • Narrow Scope of Intelligence: The framework is strictly confined to two-player, zero-sum games, meaning it cannot evaluate other vital dimensions of general intelligence, such as social, emotional, or collaborative reasoning.
  • Compute Bottleneck: Training dedicated RL agents via self-play for every single generated game is computationally expensive.

To mitigate the RL training bottleneck in the future, the authors propose exploring arena-style LLM vs. LLM competitions directly within these generated environments.

Summary updated

BibTeX
@misc{verma2025measuring,
  author = {Vivek Verma and David Huang and William Chen and Dan Klein and Nicholas Tomlin},
  title = {{Measuring General Intelligence with Generated Games}},
  year = {2025},
  eprint = {2505.07215},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2505.07215},
}
Figure