Skip to main content

POMDP Arcade Environments on the GPU

Project description

Tests arXiv PyPI version Python 3.10+ License: MIT Hugging Face

POPGym Arcade

POPGym Arcade is a GPU-accelerated Atari-style benchmark and suite of analysis tools for reinforcement learning.

For more details, check out the project website.

Check the documentation for the guide you need — quick start, memory introspection, or reproducing experiments.

Tasks

POPGym Arcade contains pixel-based tasks in the style of the Arcade Learning Environment.

Each environment provides:

  • Three difficulty settings
  • One observation and action space shared across all envs
  • Fully observable and partially observable configurations
  • Fast and easy GPU vectorization using jax
  • Standardized returns in [0,1] or [-1, 1]

Baselines

We provide a single training script for all algorithms and memory models. The memax library provides 18 different memory models for use in our script.

RL Algorithms

Getting Started

To install the environments, run

pip install popgym-arcade

If you plan to use our training scripts, install the baselines as well. If you want to play the games yourself, also use the human flag.

pip install 'popgym-arcade[baselines,human]'

[!NOTE] If you do not already have jax installed, we install CPU jax by default. For GPU acceleration, run pip install jax[cuda12] after installing popgym-arcade.

Human Play

The play script installed with pip install popgym-arcade[human] lets you play the games yourself using the arrow keys and spacebar.

popgym-arcade-play NoisyCartPoleEasy        # play MDP 256 pixel version
popgym-arcade-play BattleShipEasy -p -o 128 # play POMDP 128 pixel version

Other Useful Libraries

  • stable-gymnax - A (stable) jax-capable gymnasium API
  • memax - Recurrent models for jax
  • popgym - The original collection of POMDPs, implemented in numpy
  • popjaxrl - A jax version of popgym
  • popjym - A more readable version of popjaxrl environments that served as a basis for our work

Citation

If you use POPGym Arcade in your work, please cite it as follows:

@article{wang2025investigating,
  title={Investigating Memory in Model-Free RL with POPGym Arcade},
  author={Wang, Zekang and He, Zhe and Zhang, Borong and Toledo, Edan and Morad, Steven},
  journal={arXiv preprint arXiv:2503.01450},
  year={2025}
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

popgym_arcade-0.0.7.tar.gz (113.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

popgym_arcade-0.0.7-py3-none-any.whl (151.4 kB view details)

Uploaded Python 3

File details

Details for the file popgym_arcade-0.0.7.tar.gz.

File metadata

  • Download URL: popgym_arcade-0.0.7.tar.gz
  • Upload date:
  • Size: 113.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for popgym_arcade-0.0.7.tar.gz
Algorithm Hash digest
SHA256 db9dc2247872a7100d0e03acb5280c1c04626dcc006c5533d981b8db2e61b5a0
MD5 2d34b712fbc068cacaac1235169f1851
BLAKE2b-256 88aa50908249f19d49a3ad1c0e8bc4f8b65ecb1fe0fe4ddea4f1b1d8812a117a

See more details on using hashes here.

Provenance

The following attestation bundles were made for popgym_arcade-0.0.7.tar.gz:

Publisher: python-publish.yml on bolt-research/popgym-arcade

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file popgym_arcade-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: popgym_arcade-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 151.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for popgym_arcade-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 9396987c1a6ddfb27cfd37b1fac06350b955c7e715a9bfec2921d19edf0c31d8
MD5 0b42a959d765a166d706d72e9fa16b29
BLAKE2b-256 6198d3d8e4c31a8a999452de70e9215b92cd4e7e07267eb5de198f1598a285ea

See more details on using hashes here.

Provenance

The following attestation bundles were made for popgym_arcade-0.0.7-py3-none-any.whl:

Publisher: python-publish.yml on bolt-research/popgym-arcade

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page