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

$\mathrm{E^{2}CFD}$:借助大语言模型实现安全强化学习有效且高效的代价函数设计

$\mathrm{E^{2}CFD}$: Towards Effective and Efficient Cost Function Design for Safe Reinforcement Learning via Large Language Model

School of Cyber Science and Engineering, Wuhan University(武汉大学网络空间安全学院);Key Laboratory of Aerospace Information Security and Trusted Computing, Ministry of Education(教育部空天信息安全与可信计算重点实验室);School of Software Engineering, South China University of Technology(华南理工大学软件学院)

Zepeng Wang, Chao Ma, Linjiang Zhou, Libing Wu, Lei Yang, Xiaochuan Shi, Guojun Peng

AI总结:

本文提出 $\mathrm{E^{2}CFD}$ 框架,利用 LLM 理解安全场景并生成代价函数,结合 FPE 快速迭代优化,从而提升安全强化学习策略在不同任务中的性能。

摘要:

不同类别的安全强化学习算法已在各类安全需求场景中展现出令人满意的性能。然而,现有方法主要处理一类或几类特定的安全需求场景问题,无法应用于任意安全需求场景。此外,现有强化学习算法的优化目标与任务需求之间存在错位。基于解决这些问题的需要,我们提出了 $\mathrm{E^{2}CFD}$,这是一个有效且高效的代价函数设计框架。$\mathrm{E^{2}CFD}$ 利用大语言模型(LLM)的能力来理解各种安全场景并生成相应的代价函数。该框架融入了 fast performance evaluation(FPE,快速性能评估)方法,以促进对生成的代价函数进行快速、迭代式更新。通过这一迭代过程,$\mathrm{E^{2}CFD}$ 旨在获得最适合策略训练的代价函数,并针对安全场景中的特定任务进行定制。实验证明,使用该框架训练得到的策略,其性能优于传统安全强化学习算法以及使用精心设计的代价函数训练的策略。

英文摘要:

Different classes of safe reinforcement learning algorithms have shown satisfactory performance in various types of safety requirement scenarios. However, the existing methods mainly address one or several classes of specific safety requirement scenario problems and cannot be applied to arbitrary safety requirement scenarios. In addition, the optimization objectives of existing reinforcement learning algorithms are misaligned with the task requirements. Based on the need to address these issues, we propose $\mathrm{E^{2}CFD}$, an effective and efficient cost function design framework. $\mathrm{E^{2}CFD}$ leverages the capabilities of a large language model (LLM) to comprehend various safety scenarios and generate corresponding cost functions. It incorporates the \textit{fast performance evaluation (FPE)} method to facilitate rapid and iterative updates to the generated cost function. Through this iterative process, $\mathrm{E^{2}CFD}$ aims to obtain the most suitable cost function for policy training, tailored to the specific tasks within the safety scenario. Experiments have proven that the performance of policies trained using this framework is superior to traditional safe reinforcement learning algorithms and policies trained with carefully designed cost functions.

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

↑