arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2511.02577cs.LG
收藏

定向钳制近端策略优化算法(Directional-Clamp PPO)

Directional-Clamp PPO

Technion – Israel Institute of Technology(以色列理工学院);Amazon AGI(亚马逊通用人工智能)

Gilad Karpel, Ruida Zhou, Shoham Sabach, Mohammad Ghavamzadeh

AI总结:

本文针对PPO优化中重要性比易向“错误”方向移动的问题,提出DClamp-PPO算法,通过钳制“错误”方向区域的损失实现优化,在MuJoCo环境中优于PPO及其变体。

摘要:

近端策略优化(PPO)是公认最成功的深度强化学习算法之一,在各类问题中兼具鲁棒性与有效性。PPO的目标函数促使当前策略与行为策略的重要性比向“正确”方向移动:从重要性采样比等于1开始,对具有正优势的动作增大该比值,对具有负优势的动作减小该比值。研究人员引入钳制函数,以防止在这些“正确”方向区域更新重要性比时出现过度优化。目前已有大量PPO变体被提出以拓展其性能,多数变体通过修改“正确”方向区域的钳制方式来调整目标函数的行为。然而,由于轨迹采样的随机性与策略优化的随机性,研究人员观察到在PPO优化过程中,重要性比频繁向“错误”方向移动,这是阻碍PPO性能提升的关键因素,但却被大多研究所忽视。为解决该问题,本文提出定向钳制近端策略优化算法(Directional-Clamp PPO,DClamp-PPO),该算法对向严格“错误”方向区域移动的动作施加额外惩罚:当优势为正且重要性比低于1−β,或优势为负且重要性比高于1+β时(其中可调参数β∈(0,1)),通过在这些区域施加更陡峭的损失斜率(即钳制操作)实现惩罚。研究人员在不同随机种子下,于各类MuJoCo环境中开展实验,结果表明DClamp-PPO通过聚焦于调整“正确”方向的目标函数行为,始终优于PPO及其各类变体。此外,从理论与实证两方面均验证了,该方法能更好地避免“错误”方向的更新,同时使重要性比更接近1。

英文摘要:

Proximal Policy Optimization (PPO) is widely regarded as one of the most successful deep reinforcement learning algorithms, known for its robustness and effectiveness across a range of problems. The PPO objective encourages the importance ratio between the current and behavior policies to move to the "right" direction -- starting from importance sampling ratios equal to 1, increasing the ratios for actions with positive advantages and decreasing those with negative advantages. A clipping function is introduced to prevent over-optimization when updating the importance ratio in these "right" direction regions. Many PPO variants have been proposed to extend its success, most of which modify the objective's behavior by altering the clipping in the "right" direction regions. However, due to randomness in the rollouts and stochasticity of the policy optimization, we observe that the ratios frequently move to the "wrong" direction during the PPO optimization. This is a key factor hindering the improvement of PPO, but it has been largely overlooked. To address this, we propose the Directional-Clamp PPO algorithm (DClamp-PPO), which further penalizes the actions going to the strict "wrong" direction regions, where the advantage is positive (negative) and importance ratio falls below (above) $1 - β$ ($1+β$), for a tunable parameter $β\in (0, 1)$. The penalty is by enforcing a steeper loss slope, i.e., a clamp, in those regions. We demonstrate that DClamp-PPO consistently outperforms PPO, as well as its variants, by focusing on modifying the objective's behavior in the "right" direction, across various MuJoCo environments, using different random seeds. The proposed method is shown, both theoretically and empirically, to better avoid "wrong" direction updates while keeping the importance ratio closer to 1.

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

↑