arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2301.10919cs.LGcs.AI
收藏

近端策略优化的联合动作丢失

Joint action loss for proximal policy optimization

JumpW AI Group(JumpW人工智能集团);Queen Mary University of London(伦敦玛丽女王大学)

Xiulei Song, Yizhao Jin, Greg Slabaugh, Simon Lucas

摘要:

PPO(近端策略优化)是一种最先进的策略梯度算法,已成功应用于Dota 2和王者荣耀等复杂计算机游戏。在这些环境中,智能体进行由多个子动作组成的复合动作。PPO使用裁剪来限制策略更新。尽管裁剪简单有效,但它在样本使用中的效率并不高。对于复合动作,大多数PPO实现考虑子动作的联合概率(密度),这意味着如果样本(状态复合动作对)的比率超过范围,则样本产生的梯度为零。相反,对于每个子动作,我们单独计算损失,这在更新期间不太容易裁剪,从而更好地利用样本。此外,我们提出了一个多行动的混合损失,结合联合和单独的概率。我们在Gym- $μ$ RTS和MuJoCo中进行实验。与OpenAI的PPO基准测试结果相比,我们的混合模型在不同的MuJoCo环境中将性能提高了50%以上。在Gym- $μ$ RTS中,我们发现子动作损失优于标准PPO方法,特别是当剪辑范围很大时。我们的研究结果表明,这种方法可以更好地平衡使用效率和样本的质量。

英文摘要:

PPO (Proximal Policy Optimization) is a state-of-the-art policy gradient algorithm that has been successfully applied to complex computer games such as Dota 2 and Honor of Kings. In these environments, an agent makes compound actions consisting of multiple sub-actions. PPO uses clipping to restrict policy updates. Although clipping is simple and effective, it is not efficient in its sample use. For compound actions, most PPO implementations consider the joint probability (density) of sub-actions, which means that if the ratio of a sample (state compound-action pair) exceeds the range, the gradient the sample produces is zero. Instead, for each sub-action we calculate the loss separately, which is less prone to clipping during updates thereby making better use of samples. Further, we propose a multi-action mixed loss that combines joint and separate probabilities. We perform experiments in Gym-$μ$RTS and MuJoCo. Our hybrid model improves performance by more than 50\% in different MuJoCo environments compared to OpenAI's PPO benchmark results. And in Gym-$μ$RTS, we find the sub-action loss outperforms the standard PPO approach, especially when the clip range is large. Our findings suggest this method can better balance the use-efficiency and quality of samples.

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

↑