Skip to main content
QUICK REVIEW

[论文解读] Policy Regularization with Dataset Constraint for Offline Reinforcement Learning

Yuhang Ran, Yi-Chen Li|arXiv (Cornell University)|Jun 11, 2023
Reinforcement Learning in RoboticsComputer Science被引用 3
一句话总结

本文提出了一种新型离线强化学习方法——数据集约束下的策略正则化(PRDC),通过使用数据集中最近邻的状态-动作对来指导策略,而非将策略限制在行为策略的分布或支持范围内。PRDC比以往方法更有效地减少了过估计偏差,在D4RL基准测试中实现了最先进性能,且超参数调优极少。

ABSTRACT

We consider the problem of learning the best possible policy from a fixed dataset, known as offline Reinforcement Learning (RL). A common taxonomy of existing offline RL works is policy regularization, which typically constrains the learned policy by distribution or support of the behavior policy. However, distribution and support constraints are overly conservative since they both force the policy to choose similar actions as the behavior policy when considering particular states. It will limit the learned policy's performance, especially when the behavior policy is sub-optimal. In this paper, we find that regularizing the policy towards the nearest state-action pair can be more effective and thus propose Policy Regularization with Dataset Constraint (PRDC). When updating the policy in a given state, PRDC searches the entire dataset for the nearest state-action sample and then restricts the policy with the action of this sample. Unlike previous works, PRDC can guide the policy with proper behaviors from the dataset, allowing it to choose actions that do not appear in the dataset along with the given state. It is a softer constraint but still keeps enough conservatism from out-of-distribution actions. Empirical evidence and theoretical analysis show that PRDC can alleviate offline RL's fundamentally challenging value overestimation issue with a bounded performance gap. Moreover, on a set of locomotion and navigation tasks, PRDC achieves state-of-the-art performance compared with existing methods. Code is available at https://github.com/LAMDA-RL/PRDC

研究动机与目标

  • 解决现有离线强化学习中策略正则化方法对行为策略动作的过度保守问题。
  • 通过利用更广泛的数据集信息,减少对分布外动作的值函数过估计。
  • 开发一种更少保守但依然安全的策略正则化方法,以提升对行为策略动作之外的泛化能力。
  • 在标准离线强化学习基准上实现最先进性能,且对超参数敏感度极低。

提出的方法

  • PRDC在给定状态下,于离线数据集中搜索与当前策略预测动作最近邻的状态-动作对。
  • 通过将策略正则化为输出接近数据集中最近邻动作的策略,形成点到集合的距离约束。
  • 该方法使用KD-Tree实现高效的最近邻搜索,支持快速推理与训练。
  • 正则化以惩罚项形式嵌入策略更新中,超参数β控制保守程度。
  • PRDC兼容任意演员-critic算法,并在实验中以TD3作为实现基线。
  • 数据集约束既非分布约束也非支持约束,而是一种基于全局数据集接近度的新形式约束。

实验结果

研究问题

  • RQ1一种基于数据集中最近邻的策略正则化方法,是否能超越行为策略约束,实现更优性能?
  • RQ2基于数据集的约束是否比分布或支持约束更有效地减少值函数过估计?
  • RQ3在标准基准上,PRDC与最先进离线强化学习方法相比表现如何?
  • RQ4控制保守程度的超参数β对PRDC性能的敏感度如何?
  • RQ5PRDC能否在大规模或高维数据集上高效实现?

主要发现

  • PRDC在D4RL Gym和AntMaze基准环境上实现了最先进性能,优于先前方法(包括CQL和SAC-A)。
  • 在hopper-medium-v2环境中,PRDC实现了3312.8的平均回报,显著优于次优基线方法。
  • 该方法在β值(1、2、5)的广泛范围内表现稳健,表明对超参数调优的敏感度极低。
  • 当β过小(0.1)时,邻近选择中状态感知不足,导致性能下降;当β过大(1000)时,过度保守降低性能。
  • PRDC运行速度可接受,由于高效的KD-Tree索引,在hopper-medium-v2数据集上推理时间与CQL相当或更快。
  • 消融实验表明,对多个最近邻动作取平均并不能提升性能,说明单个最近邻在此公式中为最优选择。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。