JAXtari accelerates Atari game training with GPU and object insights
JAXtari: High-Throughput and Easy-to-Modify Arcade Learning Environment
Machine Learning
Summary
Training AI to play video games like Atari has often been slow and limited by computer processing rules. The authors created JAXtari, which makes this training much faster by using powerful graphics cards and allows the AI to understand game objects better. It also lets developers easily change the game environment to test how well AI learns and adapts. This tool helps train game-playing AI in minutes instead of hours.
What this means in practice
- •For machine learning engineers: Train reinforcement learning agents faster with large-scale GPU-based Atari environments featuring object-level observations and modifiable gameplay.
- •For game ai developers: Prototype and adapt AI behaviors quickly by modifying Atari game environments and observing object-centric data for improved strategy development.
Authors
Quentin Delfosse, Raban Emunds, Paul Seitz, Sebastian Wette, Jannis Blüml, Daniel Kirn, Dominik Mandok, Kristian Kersting
Abstract
The Arcade Learning Environment (ALE) has been a cornerstone of Deep Reinforcement Learning research, providing a standardized benchmark for evaluating general agents. However, its lack of native support for object-extraction and environment modification restricts research into evaluating whether agents learn robust causal models or rely on brittle visual heuristics. Furthermore, the ALE's dependence on CPU-based emulation creates a significant bottleneck in modern GPU-accelerated training pipelines, limiting both experimental scale and iteration frequency. In this work, we introduce JAXtari, an open-source, high-performance reimplementation of Atari 2600 environments. By leveraging massive GPU parallelization, JAXtari allows PPO agents to finish training on 100M environment steps on a single A100-GPU in under an hour. Beyond speed, it provides object-centric observations and a flexible modification system, allowing researchers to, e.g. develop neuro-symbolic methods or discover novel shortcuts and subsequently train and adapt their agents rapidly, sometimes in only minutes.