minimax: Efficient Baselines for Autocurricula in JAX

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Jiang, Minqi, Dennis, Michael, Grefenstette, Edward, Rocktäschel, Tim
Natura: Preprint
Pubblicazione: 2023
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866909294355546112
author Jiang, Minqi
Dennis, Michael
Grefenstette, Edward
Rocktäschel, Tim
author_facet Jiang, Minqi
Dennis, Michael
Grefenstette, Edward
Rocktäschel, Tim
contents Unsupervised environment design (UED) is a form of automatic curriculum learning for training robust decision-making agents to zero-shot transfer into unseen environments. Such autocurricula have received much interest from the RL community. However, UED experiments, based on CPU rollouts and GPU model updates, have often required several weeks of training. This compute requirement is a major obstacle to rapid innovation for the field. This work introduces the minimax library for UED training on accelerated hardware. Using JAX to implement fully-tensorized environments and autocurriculum algorithms, minimax allows the entire training loop to be compiled for hardware acceleration. To provide a petri dish for rapid experimentation, minimax includes a tensorized grid-world based on MiniGrid, in addition to reusable abstractions for conducting autocurricula in procedurally-generated environments. With these components, minimax provides strong UED baselines, including new parallelized variants, which achieve over 120$\times$ speedups in wall time compared to previous implementations when training with equal batch sizes. The minimax library is available under the Apache 2.0 license at https://github.com/facebookresearch/minimax.
format Preprint
id arxiv_https___arxiv_org_abs_2311_12716
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle minimax: Efficient Baselines for Autocurricula in JAX
Jiang, Minqi
Dennis, Michael
Grefenstette, Edward
Rocktäschel, Tim
Machine Learning
Artificial Intelligence
Unsupervised environment design (UED) is a form of automatic curriculum learning for training robust decision-making agents to zero-shot transfer into unseen environments. Such autocurricula have received much interest from the RL community. However, UED experiments, based on CPU rollouts and GPU model updates, have often required several weeks of training. This compute requirement is a major obstacle to rapid innovation for the field. This work introduces the minimax library for UED training on accelerated hardware. Using JAX to implement fully-tensorized environments and autocurriculum algorithms, minimax allows the entire training loop to be compiled for hardware acceleration. To provide a petri dish for rapid experimentation, minimax includes a tensorized grid-world based on MiniGrid, in addition to reusable abstractions for conducting autocurricula in procedurally-generated environments. With these components, minimax provides strong UED baselines, including new parallelized variants, which achieve over 120$\times$ speedups in wall time compared to previous implementations when training with equal batch sizes. The minimax library is available under the Apache 2.0 license at https://github.com/facebookresearch/minimax.
title minimax: Efficient Baselines for Autocurricula in JAX
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2311.12716