atlas

Research map / Reinforcement learning / Visual and representation RL

Craftax: A Lightning-Fast Benchmark for Open-Ended Reinforcement Learning

ICML 2024 · Reinforcement learning › Visual and representation RL · approach: Scalable RL systems and environments · 4 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Introduces Craftax-Classic (a JAX rewrite of Crafter running ~250x faster) and Craftax (a much harder NetHack-inspired extension), and benchmarks PPO, RNN, exploration bonuses and UED methods on them.

Problem

Existing open-ended RL benchmarks are either too slow to run without large compute (Crafter, NetHack, Minecraft) or too simple to pose a significant challenge (Minigrid, Procgen).

Approach

Reimplement Crafter fully in JAX so the whole RL pipeline runs on a GPU, then extend it with NetHack/roguelike mechanics (9 floors, 19 creatures, potions, enchantments, 65 achievements) to create a hard but fast open-ended benchmark.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add recurrent memory with a GRU to PPOPPO on Craftax-1B · Craftax-1BrewardHelped
Add intrinsic exploration rewards using ICM, RND, or E3BPPO on Craftax-1B · Craftax-1BrewardNo clear effect
Add E3B episodic exploration bonusesPPO on Craftax-1B · Craftax-1BrewardHurt
Train for 10 billion rather than 1 billion timestepsPPO-RNN · Craftax-1BrewardNo clear effect
Use recurrent memory with a GRU rather than a feedforward MLPPPO on Craftax-1M · Craftax-1MrewardNo clear effect
Use vanilla PLR rather than Domain RandomisationUED methods on Craftax-1B · Craftax-1Bevaluation rewardHelped
Use Robust PLR rather than vanilla PLR (ablation)PLR on Craftax-1B · Craftax-1Bevaluation rewardHurt
Use unrestricted tile-swap mutations in ACCEL rather than other UED methods (ablation)ACCEL on Craftax-1B · Craftax-1Bevaluation rewardHurt
Use restricted tile-swap mutations in ACCEL rather than Domain Randomisation (ablation)ACCEL on Craftax-1B · Craftax-1Bevaluation rewardNo clear effect
Use noise mutations in ACCEL rather than Domain Randomisation (ablation)ACCEL on Craftax-1B · Craftax-1Bevaluation rewardNo clear effect
Use optimistic environment resets instead of generating a reset world for every worker (ablation)Craftax JAX training pipeline · Craftaxspeedup: around 2xHelped
Use symbolic rather than pixel-based observationsCraftax · Craftaxruntime: around 10xHelped

Surprising findings

Limitations

Experimental setup

Datasets: Craftax-Classic Craftax

Benchmarks: Craftax-1B Craftax-1M Craftax-Classic

Metrics: episode return as percentage of maximum (226) achievement success rate steps per second

Baselines: PPO PPO-RNN RND ICM E3B PLR Robust PLR ACCEL Domain Randomisation

Builds on: PureJaxRL Crafter Gymnax PLR ACCEL RND

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy