arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2301.12203cs.LG
收藏

SaFormer:一种离线安全强化学习的条件序列建模方法

SaFormer: A Conditional Sequence Modeling Approach to Offline Safe Reinforcement Learning

Tsinghua University(清华大学);JD Technology(京东科技);JD Explore Academy(京东探索研究院);Qianyuan Institute of Sciences(乾元研究院)

Qin Zhang, Linrui Zhang, Haoran Xu, Li Shen, Bowen Wang, Yongzhe Chang, Xueqian Wang, Bo Yuan, Dacheng Tao

摘要:

离线安全RL对于在现实世界的应用中部署代理具有很大的实际意义。然而,从固定的数据集获取满足约束的策略对于传统方法来说是不平凡的。更糟糕的是,学习的约束是固定的,并且当在线安全要求改变时可能变得无效。在本文中,我们提出了一种新的离线安全RL方法,称为SaFormer,它通过条件序列建模来解决上述问题。与现有的序列模型相比,我们提出了成本相关的令牌来限制动作空间和后验安全验证来明确执行约束。具体而言,SaFormer执行以最大剩余成本为条件的两阶段自回归,以生成可行的候选项。然后,它过滤掉不安全的尝试,并执行具有最高预期回报的最佳操作。大量的实验证明了SaFormer的功效,其特征在于(1)具有收紧约束满足的竞争性回报;(2)对离线数据的范围内成本值的适应性,而无需再训练;(3)对超出当前数据集的约束的泛化性。

英文摘要:

Offline safe RL is of great practical relevance for deploying agents in real-world applications. However, acquiring constraint-satisfying policies from the fixed dataset is non-trivial for conventional approaches. Even worse, the learned constraints are stationary and may become invalid when the online safety requirement changes. In this paper, we present a novel offline safe RL approach referred to as SaFormer, which tackles the above issues via conditional sequence modeling. In contrast to existing sequence models, we propose cost-related tokens to restrict the action space and a posterior safety verification to enforce the constraint explicitly. Specifically, SaFormer performs a two-stage auto-regression conditioned by the maximum remaining cost to generate feasible candidates. It then filters out unsafe attempts and executes the optimal action with the highest expected return. Extensive experiments demonstrate the efficacy of SaFormer featuring (1) competitive returns with tightened constraint satisfaction; (2) adaptability to the in-range cost values of the offline data without retraining; (3) generalizability for constraints beyond the current dataset.

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

↑