arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2210.01235cs.LGcs.AI
收藏

CaiRL:一个高性能的强化学习环境工具包

CaiRL: A High-Performance Reinforcement Learning Environment Toolkit

University of Agder(阿格德大学)

Per-Arne Andersen, Morten Goodwin, Ole-Christoffer Granmo

摘要:

本文解决了迫切需要一个平台,有效地提供了一个框架运行强化学习(RL)的实验。我们提出了CaiRL环境工具包作为一个有效的,兼容的,更可持续的替代训练学习代理,并提出了方法来开发更有效的环境模拟。人们越来越关注发展可持续的人工智能。然而,很少有人努力提高运行环境模拟的效率。最受欢迎的强化学习开发工具包OpenAI Gym是使用Python构建的,Python是一种功能强大但速度较慢的程序设计语言。我们提出了一个用C++编写的工具包,具有相同的灵活性,但工作速度要快几个数量级,以弥补Python的低效率。这将大大减少气候排放。CaiRL还提供了第一个强化学习工具包,该工具包具有内置的JVM和Flash支持,用于运行传统的Flash游戏,以进行强化学习研究。我们在经典的控制基准测试中展示了CaiRL的有效性,并将其执行速度与OpenAI Gym进行了比较。此外,我们还说明了CaiRL可以作为OpenAI Gym的直接替代品,因为减少了环境计算时间,可以利用更快的训练速度。

英文摘要:

This paper addresses the dire need for a platform that efficiently provides a framework for running reinforcement learning (RL) experiments. We propose the CaiRL Environment Toolkit as an efficient, compatible, and more sustainable alternative for training learning agents and propose methods to develop more efficient environment simulations. There is an increasing focus on developing sustainable artificial intelligence. However, little effort has been made to improve the efficiency of running environment simulations. The most popular development toolkit for reinforcement learning, OpenAI Gym, is built using Python, a powerful but slow programming language. We propose a toolkit written in C++ with the same flexibility level but works orders of magnitude faster to make up for Python's inefficiency. This would drastically cut climate emissions. CaiRL also presents the first reinforcement learning toolkit with a built-in JVM and Flash support for running legacy flash games for reinforcement learning research. We demonstrate the effectiveness of CaiRL in the classic control benchmark, comparing the execution speed to OpenAI Gym. Furthermore, we illustrate that CaiRL can act as a drop-in replacement for OpenAI Gym to leverage significantly faster training speeds because of the reduced environment computation time.

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

↑