Deep Learning for Video Game Playing

Niels Justesen, Philip Bontrager, Julian Togelius, Sebastian Risi · DOI

Abstract

In this article, we review recent Deep Learning advances in the context of how they have been applied to play different types of video games such as first-person shooters, arcade games, and real-time strategy games. We analyze the unique requirements that different game genres pose to a deep learning system and highlight important open challenges in the context of applying these machine learning methods to video games, such as general game playing, dealing with extremely large decision spaces and sparse rewards.

Introduction

Video games serve as an ideal laboratory for artificial intelligence research. They provide safe, reproducible, and simulated environments with objective scoring metrics, yet they encompass significant complexity, partial observability, and vast decision spaces. The rapid pace of development in Deep Learning (DL) for game AI has made it challenging to synthesize which approaches are most effective and why. This review provides a unified overview of the field, mapping cognitive and computational challenges across various game genres to specific DL architectures and optimization strategies.

Methodology

The field is dominated by several core methodologies, primarily centered around Reinforcement Learning (RL) and its variants.

The standard reinforcement learning loop where an agent interacts with a game environment.
  • Deep Reinforcement Learning (RL): This is the most prevalent approach, where agents learn optimal policies through environmental interaction. Key developments include value-based methods (DQN and its extensions like Rainbow) and policy gradient/actor-critic architectures (A3C, PPO, IMPALA).
  • Neuroevolution: Evolutionary algorithms, such as Evolution Strategies (ES) and Genetic Algorithms (GA), have seen a resurgence. These derivative-free methods are highly parallelizable and often outperform gradient-based RL in environments characterized by sparse rewards.
  • Hybrid and Hierarchical Systems: Many state-of-the-art agents combine RL with Monte Carlo Tree Search (MCTS) or utilize hierarchical structures where a high-level meta-controller manages long-term goals while a lower-level controller executes specific actions.
  • Imitation Learning: Supervised learning on human gameplay data is frequently used to "bootstrap" agents, providing a solid performance baseline before further refinement via RL.

Benchmarks and Environments

Research is typically validated across a diverse set of standard benchmarks, each testing different aspects of intelligence:

  • Arcade Environments: The Arcade Learning Environment (ALE) and GVG-AI focus on 2D reactive gameplay.
  • 3D First-Person Shooters: Platforms like ViZDoom and DeepMind Lab require agents to handle 3D spatial navigation and visual processing.
  • Strategic and Open Worlds: Games like StarCraft II and Minecraft (Project Malmo) test long-term planning and multi-agent coordination.
ViZDoom, a popular benchmark for first-person shooter AI research requiring 3D visual processing.

Key Insights and Analysis

Several critical trends have emerged from recent research:

  1. Scaling through Parallelization: Performance gains are heavily driven by distributed computing. Architectures like IMPALA decouple acting from learning, allowing agents to gather experience across hundreds of parallel instances.
  2. Architecture-Genre Alignment: While end-to-end RL (pixels-to-actions) is effective for arcade games, complex genres like Real-Time Strategy (RTS) necessitate hierarchical approaches or "macro-actions" to manage massive branching factors.
  3. The Generalization Gap: Despite superhuman performance in specific titles, agents often fail to generalize. An agent trained for one game typically requires complete retraining for another, highlighting that "General Video Game Playing" remains an elusive goal.

Results and Performance

Modern distributed RL algorithms have achieved median human-normalized scores exceeding 400% on the 57-game Atari benchmark. Significant progress has also been made in "sparse reward" scenarios; games like Montezuma's Revenge have been mastered by incorporating intrinsic motivation (curiosity) or expert demonstrations. In the RTS domain, DL has reached state-of-the-art levels in unit micro-management, though strategic high-level play against top-tier humans remains a challenge.

Challenges and Future Directions

The transition from academic benchmarks to industry application faces several hurdles. Game developers require AI that is controllable and "fun" rather than just optimal. Future research priorities include:

  • Transfer Learning: Developing methods to mitigate catastrophic forgetting and enable knowledge transfer between games.
  • Model-Based Learning: Moving beyond model-free reactions toward agents that learn "forward models" of game engines to plan future states.
  • Multi-Agent Scaling: Enhancing cooperation and competition in environments with numerous dynamic agents.

Summary updated

BibTeX
@article{justesen2017deep,
  author = {Niels Justesen and Philip Bontrager and Julian Togelius and Sebastian Risi},
  title = {{Deep Learning for Video Game Playing}},
  journal = {IEEE Trans. Games},
  year = {2017},
  doi = {10.1109/tg.2019.2896986},
}
Figure