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

Meta SAC-Lag:通过基于元梯度的超参数调优实现可部署的安全强化学习

Meta SAC-Lag: Towards Deployable Safe Reinforcement Learning via MetaGradient-based Hyperparameter Tuning

University of Victoria(维多利亚大学)

Homayoun Honari, Amir Mehdi Soufi Enayati, Mehran Ghafarian Tamizi, Homayoun Najjaran

AI总结:

针对基于拉格朗日的安全强化学习阈值调优难、易次优收敛的问题,提出Meta SAC-Lag架构,通过元梯度自动更新安全超参数,在模拟和机械臂倒咖啡真实任务中均表现优异。

摘要:

安全强化学习(Safe RL)是基于试错的方法中被广泛研究的子领域之一,其目标是部署于真实世界系统。在安全强化学习中,研究目标是在最大化奖励性能的同时最小化约束,这通常通过对约束函数设置边界并利用拉格朗日方法实现。然而,基于拉格朗日的安全强化学习在真实场景中部署颇具挑战,因为需要对阈值进行精细调优,不精确的调整可能导致策略收敛至次优解。为缓解这一难题,我们提出了一种统一的基于拉格朗日的无模型架构,名为Meta Soft Actor-Critic Lagrangian(Meta SAC-Lag)。Meta SAC-Lag采用元梯度优化自动更新与安全相关的超参数。该方法旨在以最少的超参数调优需求解决安全探索与阈值调整问题。在我们的流程中,内部参数通过常规公式更新,超参数则基于更新后的参数定义的元目标进行调整。实验结果表明,由于安全阈值收敛速度相对较快,智能体能够可靠地调整安全性能。我们在五个模拟环境中将Meta SAC-Lag与拉格朗日基线方法进行性能对比,结果显示该方法能够实现参数间的协同作用,取得更优或具有竞争力的效果。此外,我们开展了一项真实世界实验,实验中机械臂需完成将咖啡倒入杯中且不洒出的任务。Meta SAC-Lag成功受训执行该任务,同时最小化了动作力约束。

英文摘要:

Safe Reinforcement Learning (Safe RL) is one of the prevalently studied subcategories of trial-and-error-based methods with the intention to be deployed on real-world systems. In safe RL, the goal is to maximize reward performance while minimizing constraints, often achieved by setting bounds on constraint functions and utilizing the Lagrangian method. However, deploying Lagrangian-based safe RL in real-world scenarios is challenging due to the necessity of threshold fine-tuning, as imprecise adjustments may lead to suboptimal policy convergence. To mitigate this challenge, we propose a unified Lagrangian-based model-free architecture called Meta Soft Actor-Critic Lagrangian (Meta SAC-Lag). Meta SAC-Lag uses meta-gradient optimization to automatically update the safety-related hyperparameters. The proposed method is designed to address safe exploration and threshold adjustment with minimal hyperparameter tuning requirement. In our pipeline, the inner parameters are updated through the conventional formulation and the hyperparameters are adjusted using the meta-objectives which are defined based on the updated parameters. Our results show that the agent can reliably adjust the safety performance due to the relatively fast convergence rate of the safety threshold. We evaluate the performance of Meta SAC-Lag in five simulated environments against Lagrangian baselines, and the results demonstrate its capability to create synergy between parameters, yielding better or competitive results. Furthermore, we conduct a real-world experiment involving a robotic arm tasked with pouring coffee into a cup without spillage. Meta SAC-Lag is successfully trained to execute the task, while minimizing effort constraints.

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

↑