arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.16801cs.LG
收藏

Craftax:一个用于开放式强化学习的闪电般快速的基准

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

University of Oxford(牛津大学);University College London(伦敦大学学院)

Michael Matthews, Michael Beukman, Benjamin Ellis, Mikayel Samvelyan, Matthew Jackson, Samuel Coward, Jakob Foerster

AI总结:

针对现有开放式强化学习基准过慢或不够复杂的不足,提出基于JAX的Craftax基准,在单GPU上实现高速运行并提供高难度挑战,证明现有方法难以取得实质性进展。

摘要:

基准在强化学习(RL)算法的开发和分析中发挥着至关重要的作用。我们发现,用于开放式学习研究的现有基准分为两类。要么它们太慢,在没有巨大计算资源的情况下无法进行有意义的研究,如Crafter、NetHack和Minecraft;要么它们不够复杂,无法构成重大挑战,如Minigrid和Procgen。为了解决这个问题,我们首先提出了Craftax-Classic:一个用JAX从头重写的Crafter版本,运行速度比Python原版快达250倍。使用单个GPU,运行10亿次环境交互的PPO在不到一小时内完成,并平均达到90%的最优奖励。为了提供更具挑战性的测试,我们提出了主要的Craftax基准,这是对Crafter机制的重大扩展,融合了受NetHack启发的元素。解决Craftax需要深度探索、长期规划和记忆,以及在发现更多世界时对新颖情况的持续适应。我们表明,包括全局和情景探索以及无监督环境设计在内的现有方法未能在此基准上取得实质性进展。我们相信,Craftax能首次让研究人员在有限的计算资源下,于复杂的开放式环境中进行实验。

英文摘要:

Benchmarks play a crucial role in the development and analysis of reinforcement learning (RL) algorithms. We identify that existing benchmarks used for research into open-ended learning fall into one of two categories. Either they are too slow for meaningful research to be performed without enormous computational resources, like Crafter, NetHack and Minecraft, or they are not complex enough to pose a significant challenge, like Minigrid and Procgen. To remedy this, we first present Craftax-Classic: a ground-up rewrite of Crafter in JAX that runs up to 250x faster than the Python-native original. A run of PPO using 1 billion environment interactions finishes in under an hour using only a single GPU and averages 90% of the optimal reward. To provide a more compelling challenge we present the main Craftax benchmark, a significant extension of the Crafter mechanics with elements inspired from NetHack. Solving Craftax requires deep exploration, long term planning and memory, as well as continual adaptation to novel situations as more of the world is discovered. We show that existing methods including global and episodic exploration, as well as unsupervised environment design fail to make material progress on the benchmark. We believe that Craftax can for the first time allow researchers to experiment in a complex, open-ended environment with limited computational resources.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑