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

用于离线强化学习的轻度保守Q学习

Mildly Conservative Q-Learning for Offline Reinforcement Learning

Tsinghua Shenzhen International Graduate School, Tsinghua University(清华大学深圳国际研究生院);School of Computer Science, Peking University(北京大学计算机学院)

Jiafei Lyu, Xiaoteng Ma, Xiu Li, Zongqing Lu

AI总结:

本文提出轻度保守Q学习(MCQ),通过为分布外动作分配伪Q值进行主动训练,在离线强化学习中实现温和而足够的保守性,既避免错误高估又保持泛化能力,在D4RL基准及离线到在线迁移中显著优于现有方法。

摘要:

离线强化学习(RL)定义了从静态记录数据集中学习而无需持续与环境交互的任务。学习策略与行为策略之间的分布偏移使得价值函数必须保持保守,以免分布外(OOD)动作被严重高估。然而,现有方法通过对未见动作进行惩罚或使用行为策略进行正则化,过于悲观,抑制了价值函数的泛化能力并阻碍了性能提升。本文探索了一种温和但足够的保守性,用于离线学习且不损害泛化能力。我们提出了轻度保守Q学习(MCQ),通过为OOD动作分配适当的伪Q值来主动训练它们。我们从理论上证明,MCQ诱导出的策略表现至少与行为策略一样好,并且OOD动作不会出现错误的高估。在D4RL基准上的实验结果表明,与先前工作相比,MCQ取得了显著的性能。此外,MCQ在从离线到在线迁移时表现出优越的泛化能力,并显著优于基线方法。我们的代码已公开在 https://github.com/dmksjfl/MCQ。

英文摘要:

Offline reinforcement learning (RL) defines the task of learning from a static logged dataset without continually interacting with the environment. The distribution shift between the learned policy and the behavior policy makes it necessary for the value function to stay conservative such that out-of-distribution (OOD) actions will not be severely overestimated. However, existing approaches, penalizing the unseen actions or regularizing with the behavior policy, are too pessimistic, which suppresses the generalization of the value function and hinders the performance improvement. This paper explores mild but enough conservatism for offline learning while not harming generalization. We propose Mildly Conservative Q-learning (MCQ), where OOD actions are actively trained by assigning them proper pseudo Q values. We theoretically show that MCQ induces a policy that behaves at least as well as the behavior policy and no erroneous overestimation will occur for OOD actions. Experimental results on the D4RL benchmarks demonstrate that MCQ achieves remarkable performance compared with prior work. Furthermore, MCQ shows superior generalization ability when transferring from offline to online, and significantly outperforms baselines. Our code is publicly available at https://github.com/dmksjfl/MCQ.

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

↑