Rulebook:将协程引入强化学习环境
Rulebook: bringing co-routines to reinforcement learning environments
AI总结:
提出基于协程的领域特定语言 Rulebook,通过自动生成状态机解耦程序执行与语法编码,消除性能开销并降低复杂强化学习环境的开发成本。
摘要:
强化学习(RL)算法由于依赖外部系统进行学习,需要具有非常简单接口的数字环境(例如模拟器),这反过来极大地限制了此类环境的实现。具体而言,这些环境要么被实现为独立进程,要么被实现为状态机,前者会导致同步和通信开销,后者则会导致非结构化编程。我们提出了一种新的、基于协程的、可编译的领域特定语言,称为 Rulebook,旨在自动生成与机器学习(ML)算法及类似应用交互所需的状态机,且没有性能开销。Rulebook 允许用户表达程序而无需了解 ML 组件所需的特定接口。通过将程序的执行模型与程序的语法编码解耦,从而无需手动状态管理,Rulebook 允许以更低的开发成本创建更大、更复杂的环境。
英文摘要:
Reinforcement learning (RL) algorithms, due to their reliance on external systems to learn from, require digital environments (e.g., simulators) with very simple interfaces, which in turn constrain significantly the implementation of such environments. In particular, these environments are implemented either as separate processes or as state machines, leading to synchronization and communication overheads in the first case, and to unstructured programming in the second. We propose a new domain-specific, co-routine-based, compiled language, called Rulebook, designed to automatically generate the state machine required to interact with machine learning (ML) algorithms and similar applications, with no performance overhead. Rulebook allows users to express programs without needing to be aware of the specific interface required by the ML components. By decoupling the execution model of the program from the syntactical encoding of the program, and thus without the need for manual state management, Rulebook allows to create larger and more sophisticated environments at a lower development cost.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。