arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.12145cs.LGcs.AIcs.SE
收藏

自动生成高性能强化学习环境

Automatic Generation of High-Performance RL Environments

Princeton University(普林斯顿大学);Independent Researcher(独立研究者)

Seth Karten, Rahul Dev Appapogu, Chi Jin

AI总结:

本文提出了一种闭环方法,通过最小的计算成本生成等效的高性能强化学习环境,展示了三种不同的工作流程,并在五个环境中验证了无仿真到仿真的差距,同时展示了新的环境创建方法。

摘要:

将复杂的强化学习(RL)环境转换为高性能实现传统上需要数月的专业工程工作。我们提出了一种闭环方法,以最小的计算成本生成等效的高性能环境。我们的方法使用通用提示模板、分层验证(属性、交互和运行测试)、迭代修复和跨后端策略转移来验证无仿真到仿真的差距。我们展示了三个不同的工作流程跨越五个环境:(1)从Game Boy模拟器PyBoy直接翻译到我们的EmuRust(通过Rust IPC)和从Pokemon Showdown翻译到我们的PokeJAX(通过JAX);(2)通过与现有高性能实现的吞吐量一致性进行验证,如Puffer Pong、MJX和Brax在匹配的GPU批次大小下;(3)新环境的创建:TCGJax,第一个Pokemon TCG Pocket环境,从网页提取的规范中创建。在2亿个参数下,环境开销低于训练时间的4%。我们的闭环方法验证了所有五个环境的等效性。TCGJax,由一个不在公共存储库中的私有参考合成,用于控制代理预训练数据的污染问题。

英文摘要:

Translating complex reinforcement learning (RL) environments into high-performance implementations has traditionally required months of specialized engineering. We present a closed-loop methodology that produces equivalent high-performance environments for minimal compute cost. Our method uses a generic prompt template, hierarchical verification (property, interaction, and rollout tests), iterative repair, and cross-backend policy transfer to verify no sim-to-sim gap. We demonstrate three distinct workflows across five environments: (1) Direct translation (no prior performance implementation exists) from Game Boy emulator PyBoy to our EmuRust (via Rust IPC) and from Pokemon Showdown to our PokeJAX (via JAX); (2) Translation verified against existing performance implementations via throughput parity with Puffer Pong, MJX and Brax at matched GPU batch sizes; and (3) New environment creation: TCGJax, the first Pokemon TCG Pocket environment, created from a web-extracted specification. At 200M parameters, the environment overhead drops below 4% of training time. Our closed-loop methodology confirms equivalence for all five environments. TCGJax, synthesized from a private reference absent from public repositories, serves as a contamination control for agent pretraining data concerns.

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

↑