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

在安全过滤下可证明最优的强化学习

Provably Optimal Reinforcement Learning under Safety Filtering

Princeton University(普林斯顿大学);Johns Hopkins University(约翰斯·霍普金斯大学)

Donggeon David Oh, Duy P. Nguyen, Haimin Hu, Jaime Fernández Fisac

AI总结:

本文证明在安全过滤下强化学习可实现最优性能,通过安全关键MDP和过滤MDP的理论框架,展示安全与性能优化的分离,并验证了在安全过滤器下的训练和部署方法。

摘要:

最近强化学习(RL)的进步使其能够应用于越来越复杂的任务,但缺乏正式的安全保证仍然限制了其在安全关键设置中的应用。一种常见的实用方法是在RL策略中加入一个安全过滤器,以覆盖不安全的动作,从而在训练和部署过程中防止失败。然而,安全过滤常被视为牺牲性能并阻碍学习过程。我们证明这种感知的安全性-性能权衡并非本质存在,并首次证明强制安全的充分宽容安全过滤不会降低渐进性能。我们通过安全关键马尔可夫决策过程(SC-MDP)正式化RL安全,该过程要求对灾难性失败状态进行分类而非高概率避免。此外,我们定义了一个相关的过滤MDP,其中所有动作都产生安全效果,得益于被视为环境一部分的安全过滤器。我们的主要定理表明:(i)在过滤MDP中学习是安全的;(ii)标准RL收敛性可以延伸到过滤MDP;(iii)任何在过滤MDP中最优的策略,通过相同的过滤器执行时,能实现与SC-MDP中最佳安全策略相同的渐进回报,从而在安全执行和性能优化之间实现完全分离。我们通过Safety Gymnasium验证了理论,使用代表性任务和约束,观察到训练期间无违规现象,最终性能与未过滤基线匹配或超过。这些结果为安全过滤学习中的长期问题提供了新的见解,并提供了一个简单、原则性的安全RL方法:使用可用的最宽容安全过滤器训练和部署RL策略。

英文摘要:

Recent advances in reinforcement learning (RL) enable its use on increasingly complex tasks, but the lack of formal safety guarantees still limits its application in safety-critical settings. A common practical approach is to augment the RL policy with a safety filter that overrides unsafe actions to prevent failures during both training and deployment. However, safety filtering is often perceived as sacrificing performance and hindering the learning process. We show that this perceived safety-performance tradeoff is not inherent and prove, for the first time, that enforcing safety with a sufficiently permissive safety filter does not degrade asymptotic performance. We formalize RL safety with a safety-critical Markov decision process (SC-MDP), which requires categorical, rather than high-probability, avoidance of catastrophic failure states. Additionally, we define an associated filtered MDP in which all actions result in safe effects, thanks to a safety filter that is considered to be a part of the environment. Our main theorem establishes that (i) learning in the filtered MDP is safe categorically, (ii) standard RL convergence carries over to the filtered MDP, and (iii) any policy that is optimal in the filtered MDP, when executed through the same filter, achieves the same asymptotic return as the best safe policy in the SC-MDP, yielding a complete separation between safety enforcement and performance optimization. We validate the theory on Safety Gymnasium with representative tasks and constraints, observing zero violations during training and final performance matching or exceeding unfiltered baselines. Together, these results shed light on a long-standing question in safety-filtered learning and provide a simple, principled recipe for safe RL: train and deploy RL policies with the most permissive safety filter that is available.

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

↑