arXiv:2502.13801cs.LGcs.SY2025-02

让智能体在不犯错前提下安全探索,适用于高风险场景的强化学习方法

Learning to explore when mistakes are not allowed

  • 分两阶段训练:先学安全策略,再用安全机制保障目标导向探索
  • 在仿真环境中实现全覆盖目标空间探索,错误率显著低于传统方法
  • 适合医疗、工业等容错率极低的真实世界应用

目标条件强化学习(GCRL)为统一控制器提供了灵活框架,可处理多样任务、环境探索与行为自适应。然而其依赖试错的特性在真实场景中面临高成本甚至破坏性后果的风险。为此,本文提出一种无需冒犯错风险的安全探索方法。核心思路是环境动态在空间上具有一致性,因此仅需训练一个全局安全策略即可支持安全探索。方法分为两个阶段:首先通过安全强化学习与分布式技术预训练一个主动规避失败的安全策略;随后在安全探索阶段,训练目标条件(GC)策略,同时利用已学分布式安全评价器作为动作选择仲裁机制,在潜在危险时自动切换至安全策略以确保安全。我们在模拟环境中验证该方法,结果表明其不仅能充分覆盖目标空间,且错误发生率极低,远优于传统GCRL方法。此外,通过消融实验与失败模式分析,为未来研究提供洞见。

原文摘要 · Abstract (English)

Goal-Conditioned Reinforcement Learning (GCRL) provides a versatile framework for developing unified controllers capable of handling wide ranges of tasks, exploring environments, and adapting behaviors. However, its reliance on trial-and-error poses challenges for real-world applications, as errors can result in costly and potentially damaging consequences. To address the need for safer learning, we propose a method that enables agents to learn goal-conditioned behaviors that explore without the risk of making harmful mistakes. Exploration without risks can seem paradoxical, but environment dynamics are often uniform in space, therefore a policy trained for safety without exploration purposes can still be exploited globally. Our proposed approach involves two distinct phases. First, during a pretraining phase, we employ safe reinforcement learning and distributional techniques to train a safety policy that actively tries to avoid failures in various situations. In the subsequent safe exploration phase, a goal-conditioned (GC) policy is learned while ensuring safety. To achieve this, we implement an action-selection mechanism leveraging the previously learned distributional safety critics to arbitrate between the safety policy and the GC policy, ensuring safe exploration by switching to the safety policy when needed. We evaluate our method in simulated environments and demonstrate that it not only provides substantial coverage of the goal space but also reduces the occurrence of mistakes to a minimum, in stark contrast to traditional GCRL approaches. Additionally, we conduct an ablation study and analyze failure modes, offering insights for future research directions.

强化学习安全探索目标导向仿真训练

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。