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

安全强化学习中的策略分岔

Policy Bifurcation in Safe Reinforcement Learning

Tsinghua University(清华大学);University of Science and Technology Beijing(北京科技大学);Institute for AI Industry Research (AIR), Tsinghua University(清华大学人工智能产业研究院(AIR));Shanghai Artificial Intelligence Laboratory(上海人工智能实验室)

Wenjun Zou, Yao Lyu, Jie Li, Yujie Yang, Shengbo Eben Li, Jingliang Duan, Xianyuan Zhan, Jingjing Liu, Yaqin Zhang, Keqiang Li

AI总结:

本文首次发现并证明安全强化学习中存在策略分岔现象,提出基于高斯混合分布的多模态策略优化算法MUPO,以学习非连续可行策略并保证安全性。

摘要:

安全强化学习(RL)为约束最优控制问题提供了先进解决方案。现有安全RL研究隐含假设策略函数具有连续性,即策略以平滑、不间断的方式将状态映射到动作;然而,我们的研究发现,在某些场景下,可行策略应当是不连续的或多值的,在不连续的局部最优之间进行插值不可避免地会导致约束违反。我们首次识别了这种现象的生成机制,并利用拓扑分析严格证明了安全RL中策略分岔的存在性,该分岔对应于可达元组的可收缩性。我们的定理揭示,在无障碍状态空间非单连通的场景中,可行策略必须具有分岔性,这意味着其输出动作需要随状态变化而突然改变。为了训练这种分岔策略,我们提出了一种名为多模态策略优化(MUPO)的安全RL算法,该算法利用高斯混合分布作为策略输出。通过选择混合系数最高的高斯分量,可以实现分岔行为。此外,MUPO还结合了谱归一化和前向KL散度,以增强策略探索不同模态的能力。车辆控制任务的实验表明,我们的算法成功学习了分岔策略并确保了令人满意的安全性,而连续策略则遭受不可避免的约束违反。

英文摘要:

Safe reinforcement learning (RL) offers advanced solutions to constrained optimal control problems. Existing studies in safe RL implicitly assume continuity in policy functions, where policies map states to actions in a smooth, uninterrupted manner; however, our research finds that in some scenarios, the feasible policy should be discontinuous or multi-valued, interpolating between discontinuous local optima can inevitably lead to constraint violations. We are the first to identify the generating mechanism of such a phenomenon, and employ topological analysis to rigorously prove the existence of policy bifurcation in safe RL, which corresponds to the contractibility of the reachable tuple. Our theorem reveals that in scenarios where the obstacle-free state space is non-simply connected, a feasible policy is required to be bifurcated, meaning its output action needs to change abruptly in response to the varying state. To train such a bifurcated policy, we propose a safe RL algorithm called multimodal policy optimization (MUPO), which utilizes a Gaussian mixture distribution as the policy output. The bifurcated behavior can be achieved by selecting the Gaussian component with the highest mixing coefficient. Besides, MUPO also integrates spectral normalization and forward KL divergence to enhance the policy's capability of exploring different modes. Experiments with vehicle control tasks show that our algorithm successfully learns the bifurcated policy and ensures satisfying safety, while a continuous policy suffers from inevitable constraint violations.

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

↑