arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.03704cs.LGcs.SYeess.SY
收藏

排除无关项:通过连续动作掩码聚焦强化学习

Excluding the Irrelevant: Focusing Reinforcement Learning through Continuous Action Masking

Technical University of Munich(慕尼黑工业大学);University of California, Berkeley(加利福尼亚大学伯克利分校);Munich Center for Machine Learning(慕尼黑机器学习中心)

Roland Stolz, Hanna Krasowski, Jakob Thumm, Michael Eichelbeck, Philipp Gassert, Matthias Althoff

AI总结:

本文提出三种连续动作掩码方法,将RL动作空间精确映射到状态相关的相关动作集合,聚焦学习于相关动作,提升训练效率与安全性,并在四个控制任务上验证了其优于无掩码基线。

摘要:

在强化学习(RL)中,连续动作空间通常被定义为多维区间。虽然区间通常能很好地反映任务的动作边界,但它们可能对学习构成挑战,因为通常较大的全局动作空间会导致频繁探索无关动作。然而,少量的任务知识就足以识别出显著更小的、状态特定的相关动作集合。将学习聚焦于这些相关动作可以显著提高训练效率和有效性。在本文中,我们提出将学习聚焦于相关动作集合,并引入了三种连续动作掩码方法,用于将动作空间精确映射到状态依赖的相关动作集合。因此,我们的方法确保只执行相关动作,增强了RL智能体的可预测性,并使其能够用于安全关键应用。我们进一步推导了所提方法对策略梯度的影响。使用近端策略优化(PPO),我们在四个控制任务上评估了我们的方法,其中相关动作集合基于系统动力学和相关状态集合计算得出。我们的实验表明,与没有动作掩码的基线相比,三种动作掩码方法实现了更高的最终奖励并更快地收敛。

英文摘要:

Continuous action spaces in reinforcement learning (RL) are commonly defined as multidimensional intervals. While intervals usually reflect the action boundaries for tasks well, they can be challenging for learning because the typically large global action space leads to frequent exploration of irrelevant actions. Yet, little task knowledge can be sufficient to identify significantly smaller state-specific sets of relevant actions. Focusing learning on these relevant actions can significantly improve training efficiency and effectiveness. In this paper, we propose to focus learning on the set of relevant actions and introduce three continuous action masking methods for exactly mapping the action space to the state-dependent set of relevant actions. Thus, our methods ensure that only relevant actions are executed, enhancing the predictability of the RL agent and enabling its use in safety-critical applications. We further derive the implications of the proposed methods on the policy gradient. Using proximal policy optimization (PPO), we evaluate our methods on four control tasks, where the relevant action set is computed based on the system dynamics and a relevant state set. Our experiments show that the three action masking methods achieve higher final rewards and converge faster than the baseline without action masking.

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

↑