arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2412.04426cs.LGcs.AI
收藏

通过策略微调实现快速安全在线强化学习

Towards Fast Safe Online Reinforcement Learning via Policy Finetuning

School of Electrical, Computer and Energy Engineering(电气、计算机与能源工程学院);Arizona State University(亚利桑那州立大学);School of Electrical Engineering and Computer Science(电气工程与计算机科学学院);Washington State University(华盛顿州立大学);Department of Computer Science(计算机科学系);University of Houston(休斯顿大学)

Keru Chen, Honghao Wei, Zhigang Deng, Sen Lin

AI总结:

本文提出Marvel框架,通过价值预对齐和自适应PID控制,实现更高效安全的在线强化学习。

摘要:

大量环境交互所带来的高成本和风险阻碍了当前在线安全强化学习(RL)方法的实际应用。虽然离线安全RL通过从静态数据集中学习策略来解决这一问题,但其性能通常受限于对数据质量的依赖以及对分布外(OOD)动作的挑战。受最近离线到在线(O2O)RL的成功启发,有必要探索是否可以利用离线安全RL来促进更快更安全的在线策略学习,这一方向尚未得到充分研究。为填补这一空白,我们首先证明,简单地将现有的O2O算法应用于标准RL中,在安全RL设置中并不奏效,因为存在两个独特的挑战:由于离线-在线目标不匹配和离线成本稀疏性导致的错误Q估计,以及由于难以在离线和在线策略之间对齐拉格朗日乘数而产生的拉格朗日不匹配。为了解决这些挑战,我们引入了Marvel,一个新型的O2O安全RL框架,包含两个关键组件:价值预对齐,用于在在线学习前对齐Q函数与底层真实值,以及自适应PID控制,用于在在线微调过程中有效调整拉格朗日乘数。大量实验表明,Marvel在奖励最大化和安全约束满足方面均显著优于现有基线。通过引入首个基于策略微调的O2O安全RL框架,该框架兼容许多离线和在线安全RL方法,我们的工作有望推动该领域向更高效和实用的安全RL解决方案发展。

英文摘要:

The high costs and risks involved in extensive environment interactions hinder the practical application of current online safe reinforcement learning (RL) methods. While offline safe RL addresses this by learning policies from static datasets, the performance therein is usually limited due to reliance on data quality and challenges with out-of-distribution (OOD) actions. Inspired by recent successes in offline-to-online (O2O) RL, it is crucial to explore whether offline safe RL can be leveraged to facilitate faster and safer online policy learning, a direction that has yet to be fully investigated. To fill this gap, we first demonstrate that naively applying existing O2O algorithms from standard RL would not work well in the safe RL setting due to two unique challenges: \emph{erroneous Q-estimations}, resulted from offline-online objective mismatch and offline cost sparsity, and \emph{Lagrangian mismatch}, resulted from difficulties in aligning Lagrange multipliers between offline and online policies. To address these challenges, we introduce \textbf{Marvel}, a novel framework for O2O safe RL, comprising two key components that work in concert: \emph{Value Pre-Alignment} to align the Q-functions with the underlying truth before online learning, and \emph{Adaptive PID Control} to effectively adjust the Lagrange multipliers during online finetuning. Extensive experiments demonstrate that Marvel significantly outperforms existing baselines in both reward maximization and safety constraint satisfaction. By introducing the first policy-finetuning based framework for O2O safe RL, which is compatible with many offline and online safe RL methods, our work has the great potential to advance the field towards more efficient and practical safe RL solutions.

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

↑