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

利用离线数据加速程序生成环境中的强化学习

Using Offline Data to Speed Up Reinforcement Learning in Procedurally Generated Environments

TECNALIA(泰克纳利亚科技集团);University of Edinburgh(爱丁堡大学);University of the Basque Country (UPV/EHU)(巴斯克大学)

Alain Andres, Lukas Schäfer, Stefano V. Albrecht, Javier Del Ser

AI总结:

该研究探究离线轨迹数据对程序生成环境中强化学习样本效率的提升作用,验证了预训练与同步训练两种模仿学习方式的效果,发现少量轨迹即可显著影响学习结果,为相关场景下的方法应用提供了依据。

摘要:

强化学习(RL)的核心挑战之一是智能体将所学策略泛化到未见过场景的能力。此外,训练强化学习智能体需要与环境进行大量交互。受近期离线强化学习与模仿学习(IL)成功的启发,我们开展了一项研究,探究智能体能否利用轨迹形式的离线数据提升程序生成环境中的样本效率。我们考虑了两种将离线数据的模仿学习用于强化学习的设置:(1)在在线强化学习训练前预训练策略;(2)在在线强化学习训练的同时,结合离线数据的模仿学习同步训练策略。我们分析了可用离线轨迹的质量(轨迹的最优性)和多样性(轨迹数量与覆盖关卡数)对两种方法效果的影响。在MiniGrid环境的四个知名稀疏奖励任务中,我们发现使用模仿学习进行预训练,以及在在线强化学习训练期间同步使用模仿学习,都能持续提升样本效率,同时收敛到最优策略。此外,我们表明,仅用少至2条轨迹预训练策略,就能决定在线训练结束时是能学习到最优策略,还是完全无法学习。我们的研究结果支持在程序生成环境中,只要有离线轨迹可用或可生成,就广泛采用模仿学习预训练和同步模仿学习的方法。

英文摘要:

One of the key challenges of Reinforcement Learning (RL) is the ability of agents to generalise their learned policy to unseen settings. Moreover, training RL agents requires large numbers of interactions with the environment. Motivated by the recent success of Offline RL and Imitation Learning (IL), we conduct a study to investigate whether agents can leverage offline data in the form of trajectories to improve the sample-efficiency in procedurally generated environments. We consider two settings of using IL from offline data for RL: (1) pre-training a policy before online RL training and (2) concurrently training a policy with online RL and IL from offline data. We analyse the impact of the quality (optimality of trajectories) and diversity (number of trajectories and covered level) of available offline trajectories on the effectiveness of both approaches. Across four well-known sparse reward tasks in the MiniGrid environment, we find that using IL for pre-training and concurrently during online RL training both consistently improve the sample-efficiency while converging to optimal policies. Furthermore, we show that pre-training a policy from as few as two trajectories can make the difference between learning an optimal policy at the end of online training and not learning at all. Our findings motivate the widespread adoption of IL for pre-training and concurrent IL in procedurally generated environments whenever offline trajectories are available or can be generated.

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

↑