# The Arcade Learning Environment: An Evaluation Platform for General Agents

The Arcade Learning Environment tests general AI agents on Atari video games

Marc G. Bellemare, Yavar Naddaf, Joel Veness, Michael Bowling · arXiv · 2012-7-19

- **Problem** Scoring general competency on a few benchmarks invites overfitting to those benchmarks. Such evaluations also hide how much expert effort each new domain needs.
- **Method** ALE wraps emulated Atari 2600 games as reinforcement learning problems. Agents pick one of 18 joystick actions each step, and games are split into training and testing sets.
- **Results** Learning agents beat the baseline agents in 40 of 55 games.

## Why a few benchmarks can't measure general competency

The authors argue that scoring general competency on a handful of parametrized benchmarks invites overfitting to those benchmarks. Such evaluations also hide how much expert effort each new domain needs. Machine learning already separates training data from test data, because training and testing on the same data can grossly over-estimate performance.

So the authors want domains that are varied, each interesting enough to matter, and each built by an independent party.

ALE proposes a large set of games as that kind of testbed. An approach is tuned on a small set of training games and then tested on unseen testing games. Ideally each agent is run on the testing games only once, with no later changes to the algorithm. The authors treat this as a stepping stone toward general competency rather than the final goal.

## What ALE exposes to an agent

ALE is a software framework that wraps emulated Atari 2600 games as reinforcement learning problems. The default observation is one frame of 160 by 210 pixels, where each pixel is a 7-bit value. At each step the agent picks one of 18 discrete joystick actions. A game-handling layer reads the score and whether the game has ended, and the reward is usually the change in score between frames.

Save and restore commands copy and reset the emulator state, including RAM, registers and address counters. This lets the emulator act as a generative model for planning and model-based learning. Episodes can also be capped at a fixed number of frames, which a few games need so that they always end. Real-time play runs at 60 frames per second, and full speed reaches 6000 frames per second.

## How the five feature methods feed SARSA(λ)

The agent has no model of the game dynamics, so it learns only from rewards and observations. The feature method decides what the learner can see, and the authors compared five of them.

Basic removes the background with a per-pixel colour histogram built from 18,000 sample observations. It then marks which of the 128 colours appear in each tile of a 16 by 14 grid, giving 28,672 binary features. BASS keeps this encoding but uses 8 colours and adds pairwise combinations of its features.

DISCO detects and classifies game objects after background subtraction. It then encodes each object's class, position and velocity with tile coding. LSH instead maps whole screens into binary features with random projections, so visually similar screens tend to share features. RAM skips the screen and uses the 1024 bits of console memory with pairwise logical-AND features.

## How agents were tuned and tested

Five games served as the training set: Asterix, Beam Rider, Freeway, Seaquest and Space Invaders. The testing set came from 381 games listed on Wikipedia, of which 123 met the authors' criteria.

An episode ends at the game's end or after 5 minutes of real-time play, which is 18,000 frames. The agent acts every 5 frames, so it acts 12 times per second of gameplay. Each trial has 5,000 training episodes followed by 500 evaluation episodes without learning. Each game's result is the average over 30 trials.

Random, Const and Perturb serve as baseline agents. Const reports the highest score of any single fixed action per game, while Perturb picks a fixed action with probability 0.95. A beginner's five-episode average on selected games gives a rough human reference.

## Reinforcement learning results

Learning agents beat the baseline agents in 40 of the 55 games. In a few games, such as Double Dunk, Journey Escape and Tennis, the no-action baseline is best because it avoids negative reward. Within the 40 games where learning helps, BASS generally performs best.

On H.E.R.O., BASS scored 6458.8 compared to 6053.1 for Basic. RAM, despite using the raw game state, did not beat the image-based methods. The authors suggest the screen carries structure that is hard to pull out of the RAM bits.

DISCO performs reasonably well on the training games but drops sharply on unseen games. On Zaxxon, DISCO scored 69.8 compared to 2069.1 for BASS. So the authors read DISCO as less robust than the other methods they studied.

## Why search needs a smarter tree

With 18 actions at every frame, looking ahead one second at 60 frames per second is far beyond exhaustive search. Rewards are also sparse, which causes horizon effects in many search algorithms.

Breadth-first search grows a tree until a node limit, then backs up values from the leaves to the root. With a 100,000 simulation step limit per frame and an action every 5 frames, it can look ahead only about a third of a second.

UCT treats each node as a multi-armed bandit and uses a UCB1 variant to pick which child to visit next. It runs a random simulation at each leaf to estimate a value from a longer trajectory. The authors add one optimization: actions that lead to the same emulator state are merged, which cuts the branching factor. In Beam Rider, the down action does nothing, so many actions collapse this way.

## Planning results

The same five training games tuned the search, which then ran on the fifty testing games. Each search method ran 10 episodes per game, selecting an action every 5 frames. Each action selection took about 15 seconds on average.

Together the two search methods beat both the learning agents and the baselines in 49 of 55 games. In most cases UCT beats breadth-first search by a wide margin. On Asterix, UCT scored 290700 compared to 2136 for the full tree. On Zaxxon, UCT scored 22610 compared to 0 for the full tree.

Search doesn't win in six games, and four of them have sparse rewards that need long-term planning. Those four are Freeway, Private Eye, Montezuma's Revenge and Venture. So the search advantage depends on whether a short look-ahead already exposes useful reward.

## Normalizing scores across games

Each game uses its own scale, so the authors map a score s\_{g,i} to z\_{g,i} = (s\_{g,i} - r\_{g,min}) / (r\_{g,max} - r\_{g,min}) using a per-game range. The aim is that equal normalized values mean comparable performance across different games.

Reference normalization sets r\_{g,max} to the absolute value of the random agent's average score and r\_{g,min} to 0. On Freeway the random score is near 0, so learning scores in the 10 to 20 range become thousands. The authors note that this scale problem, plus the lack of translation invariance, limits the approach.

Baseline normalization uses the minimum and maximum of a set of reference scores instead. The set here comes from 37 baseline agents: Random, Const and Perturb. Human scores could join this set, but humans often don't play to maximize score and bring prior knowledge.

Inter-algorithm normalization uses the minimum and maximum over the compared algorithms themselves. Its values lie between 0 and 1, so the method suits comparing relative performance.

## Aggregating scores and running paired tests

Average normalized scores get pulled up by high baseline values, and Zaxxon is the main example. The average makes LSH look dramatically superior, but that comes from its Zaxxon score. Median scores are more robust to such outliers, because the median picks the middle value of the sorted normalized scores.

The score distribution shows the fraction of games where an algorithm reaches a normalized score or better. On this view BASS performs slightly better than Basic and RAM, and DISCO performs clearly worse than the rest.

For each game the authors ran a two-tailed t-test with 99% confidence intervals on the raw scores. Table 3 counts the games where one algorithm is statistically better or worse than another. BASS beat DISCO on 48 games and lost on 5, so the pair differs strongly.

## Limits of the metrics and the benchmark

Inter-algorithm scores don't show how far the best agent is from human performance. On Venture, BASS gets an inter-algorithm score of 1.0, yet none of the agents comes near a human's score. So the authors suggest using inter-algorithm scores alongside other metrics.

The experiments cover one set of 50 randomly chosen testing games, so the findings don't show how agents would do on other games. Human reference scores come from a beginner on selected games only.

## Paper info

- **Authors**: Marc G. Bellemare, Yavar Naddaf, Joel Veness, Michael Bowling
- **Venue**: arXiv · Preprint
- **First published**: 2012-7-19
- **Added**: 2026-11-12
- **Updated**: 2013-6-21
- **Version**: v2
- **arXiv**: 1207.4708
- **DOI**: 10.1613/jair.3912
- **Category**: cs.AI
- **Original paper terms**: [arXiv non-exclusive 1.0](https://arxiv.org/licenses/nonexclusive-distrib/1.0/)
- **What we show**: Paper info and commentary

[Original paper ↗](https://arxiv.org/abs/1207.4708v2) · [PDF ↗](https://arxiv.org/pdf/1207.4708v2)

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

## Quote from the paper

Marc G. Bellemare, Yavar Naddaf, Joel Veness, Michael Bowling (2012). The Arcade Learning Environment: An Evaluation Platform for General Agents. arXiv:1207.4708v2. https://doi.org/10.1613/jair.3912

**BibTeX**

```
@article{bellemare2012arcade,
  title = {{The Arcade Learning Environment: An Evaluation Platform for General Agents}},
  author = {Marc G. Bellemare and Yavar Naddaf and Joel Veness and Michael Bowling},
  year = {2012},
  eprint = {1207.4708},
  archivePrefix = {arXiv},
  doi = {10.1613/jair.3912},
  url = {https://arxiv.org/abs/1207.4708v2}
}
```

## Other paper commentary

- [The Ethics of AI Ethics -- An Evaluation of Guidelines](https://refivu.com/en/papers/36e5de78-c499-4b96-ba0a-9d2daff8bde8-the-ethics-of-ai-ethics-an-evaluation-of.md)
- [AID: A Benchmark Dataset for Performance Evaluation of Aerial Scene Classification](https://refivu.com/en/papers/7ff42b05-661d-4b69-9f82-81042fe1d6b3-aid-a-benchmark-dataset-for-performance-evaluation-of.md)
- [Benchmarking Neural Network Robustness to Common Corruptions and Perturbations](https://refivu.com/en/papers/68d5da5e-9028-4e0b-9bd6-89ee4c213027-benchmarking-neural-network-robustness-to-common-corruptions.md)
- [Microsoft COCO Captions: Data Collection and Evaluation Server](https://refivu.com/en/papers/1cf4256e-f015-43b3-a7f1-14167d272b8f-microsoft-coco-captions-data-collection-and-evaluation.md)
- [Measuring Mathematical Problem Solving With the MATH Dataset](https://refivu.com/en/papers/11c81528-fe00-480d-b385-0b65503db8a1-measuring-mathematical-problem-solving-with-the-math-dataset.md)
- [OpenAI Gym](https://refivu.com/en/papers/0be35f1c-219a-4606-a9f9-894f5c111448-openai-gym.md)
- [A Call for Clarity in Reporting BLEU Scores](https://refivu.com/en/papers/626061b1-f2e9-4997-a6e6-2f15df6f8b3f-a-call-for-clarity-in-reporting-bleu-scores.md)
- [Federated Optimization: Distributed Machine Learning for On-Device Intelligence](https://refivu.com/en/papers/5f4eb215-ecfd-414d-aaa9-bd382c3c7b54-federated-optimization-distributed-machine-learning-for-on.md)
- [Temporal Ensembling for Semi-Supervised Learning](https://refivu.com/en/papers/5823cdfc-4033-4589-9f86-a6c88d27f620-temporal-ensembling-for-semi-supervised-learning.md)
- [Modeling Long- and Short-Term Temporal Patterns with Deep Neural Networks](https://refivu.com/en/papers/2ced2044-9976-4c74-bbf8-ff344f253f42-modeling-long-and-short-term-temporal-patterns-with.md)
- [Tutorial on Variational Autoencoders](https://refivu.com/en/papers/51a9cfc2-6285-4935-b55a-3d6450af8eff-tutorial-on-variational-autoencoders.md)
- [VoxCeleb: a large-scale speaker identification dataset](https://refivu.com/en/papers/4f6bddda-2d26-4b56-93a3-d11745f2af0d-voxceleb-a-large-scale-speaker-identification-dataset.md)

## Terms in this paper

- [Arcade Learning Environment](https://refivu.com/en/terms/e4eb3fb7dbe7-arcade-learning-environment)
- [Atari 2600](https://refivu.com/en/terms/529ac229bf48-atari-2600)
- [average score](https://refivu.com/en/terms/71e9dee72a32-average-score)
- [DisCo](https://refivu.com/en/terms/e718b3404def-disco)
- [testing set](https://refivu.com/en/terms/03808de70ca5-testing-set)
- [RAM](https://refivu.com/en/terms/bc98efbd251c-ram)

---

AI-written text can contain mistakes. [Refivu](https://refivu.com/en/papers/2c89eed5-9dfb-4243-8466-0655582e3266-the-arcade-learning-environment-an-evaluation-platform-for)
