Measuring Intelligence through Games

Tom Schaul, Julian Togelius, Jürgen SchmidhuberarXiv 2011 · arXiv

TL;DR

This paper proposes a practical, computable benchmark for Artificial General Intelligence (AGI) by narrowing the scope of environments to games. By extending the theoretical "Universal Intelligence" measure to account for finite time and resource constraints, the authors provide a framework for evaluating agents across a vast, sampled space of games described via formal languages.

What Problem Does This Paper Address?

The AI community suffers from "moving goalposts": as soon as an AI masters a specific task (like Chess or character recognition), critics argue that the task didn't require "true" intelligence. While researchers have pivoted toward Artificial General Intelligence (AGI), measuring it remains a massive hurdle.

The gold standard for defining intelligence is Legg and Hutter’s Universal Intelligence, which mathematically defines intelligence as an agent's ability to succeed across all possible computable environments. However, this measure has two fatal flaws for practitioners:

  1. Incomputability: It relies on Kolmogorov complexity, which cannot be calculated.
  2. Infinite Resources: It doesn't account for the time or memory an agent uses, meaning a "perfect" agent that takes a billion years to move is ranked the same as one that reacts instantly.

Methods

The authors propose three major modifications to transform a theoretical ideal into a working benchmark:

  1. Computable Complexity: They replace Kolmogorov complexity with a variation of Levin complexity. This measure penalizes environments that are not just long to describe, but also slow to compute.
  2. Two-Phase Evaluation: To measure an agent's ability to learn, the authors suggest a "learning phase" and an "evaluation phase." Crucially, the agent itself decides when to stop learning and start being tested. This prevents agents from "cheating" by performing poorly on purpose during early trials to show "improvement."
  3. Game-Based Sampling: Instead of trying to test every possible environment, the authors propose sampling from the space of Games. They argue that games are a "suitably biased" subset of environments that are easy to simulate, have clear reward signals (scores), and cover nearly every cognitive faculty humans possess.

Datasets

As a theoretical and position paper, this work does not introduce a new static dataset. Instead, it proposes using Game Description Languages (GDLs) as the "generator" for test environments. The authors discuss several existing frameworks:

  • Stanford GDL: Used in General Game Playing (GGP) competitions, though criticized for being low-level and wordy.
  • Ludi: A language for "recombination games" (board games) that is highly compact.
  • Togelius & Schmidhuber GDL: A language specifically for predator-prey and Pac-Man-like games.

The authors suggest that a future "Universal GDL" would need to be expressive enough to cover continuous states and 3D environments to truly test AGI.

Key Insights and Ideas

  • Games as the Ultimate Proxy: The authors argue that games aren't just "fun"—they are formal systems with variable outcomes where agents must exert effort. Because games are designed for humans to learn, they naturally possess the "smooth learning curves" necessary for reinforcement learning agents to show progress.
  • The "Anytime" Measure: By using Monte-Carlo sampling of games, the benchmark becomes an "anytime" test. You can run it for an hour to get a rough estimate of an agent's intelligence, or for a month to get a highly precise one.
  • Time is Intelligence: By incorporating the agent's decision time into the score (via asynchronous "pass" actions), the measure naturally favors efficient agents. An agent that thinks too long effectively loses its turn or receives less reward over time.

Key Results

The paper is a conceptual framework rather than an empirical study, so it does not provide "accuracy" scores. However, it successfully formalizes a new practical intelligence measure: $$\hat{\Upsilon}(\pi) := \frac{1}{|\hat{E}|} \sum_{\mu \in \hat{E} \subset E} V_{\mu,T}(\pi)$$ This formula represents the average reward ($V$) an agent ($\pi$) achieves across a sampled set of game environments ($\hat{E}$) within a specific time budget ($T$). This provides a mathematically grounded way to rank AGI agents that was previously impossible.

Limitations and Future Work

  • GDL Bias: Every Game Description Language has a bias; it makes some games easier to describe (and thus more likely to be sampled) than others. Designing a "fair" GDL that doesn't favor one specific type of AI architecture remains an open challenge.
  • Meaningless Games: Randomly generated games from a GDL might be "broken" (e.g., impossible to win or trivial to solve). The authors suggest "pre-testing" games for basic playability before using them in the benchmark.
  • Embodiment: Critics argue that "true" intelligence requires a physical body. The authors counter that 3D game engines (like Unity or Unreal) can be wrapped into a GDL to simulate embodiment, grounding the agent's symbols in visual and motor data.

Summary updated

Abstract

Artificial general intelligence (AGI) refers to research aimed at tackling the full problem of artificial intelligence, that is, create truly intelligent agents. This sets it apart from most AI research which aims at solving relatively narrow domains, such as character recognition, motion planning, or increasing player satisfaction in games. But how do we know when an agent is truly intelligent? A common point of reference in the AGI community is Legg and Hutter's formal definition of universal intelligence, which has the appeal of simplicity and generality but is unfortunately incomputable. Games of various kinds are commonly used as benchmarks for "narrow" AI research, as they are considered to have many important properties. We argue that many of these properties carry over to the testing of general intelligence as well. We then sketch how such testing could practically be carried out. The central part of this sketch is an extension of universal intelligence to deal with finite time, and the use of sampling of the space of games expressed in a suitably biased game description language.
BibTeX
@misc{schaul2011measuring,
  author = {Tom Schaul and Julian Togelius and Jürgen Schmidhuber},
  title = {{Measuring Intelligence through Games}},
  year = {2011},
  eprint = {1109.1314},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1109.1314},
}
Figure