JaxUED: A simple and useable UED library in Jax
Samuel Coward, Michael Beukman, Jakob Foerster
TL;DR
JaxUED introduces a fast, minimal-dependency JAX-based library for Unsupervised Environment Design (UED), offering nearly single-file reference implementations of core UED algorithms to accelerate research. It formalizes the UnderspecifiedEnv interface, provides a LevelSampler, and includes reference implementations for Domain Randomisation (DR), Replay-based methods (PLR, ACCEL), and PAIRED, all paired with a fully in-JAX Maze environment for benchmarking. Empirical results show that Domain Randomisation is unexpectedly competitive with state-of-the-art UED methods on maze tasks, and JaxUED delivers substantial speedups over CPU baselines. The work aims to enable rapid, reproducible UED experimentation and to spur the development of more general and robust RL agents by lowering the barrier to implementing and comparing UED algorithms.
Abstract
We present JaxUED, an open-source library providing minimal dependency implementations of modern Unsupervised Environment Design (UED) algorithms in Jax. JaxUED leverages hardware acceleration to obtain on the order of 100x speedups compared to prior, CPU-based implementations. Inspired by CleanRL, we provide fast, clear, understandable, and easily modifiable implementations, with the aim of accelerating research into UED. This paper describes our library and contains baseline results. Code can be found at https://github.com/DramaCow/jaxued.
