Skip to main content
QUICK REVIEW

[论文解读] Mildly Conservative Q-Learning for Offline Reinforcement Learning

Jiafei Lyu, Xiaoteng Ma|arXiv (Cornell University)|Jun 9, 2022
Reinforcement Learning in RoboticsComputer Science被引用 27
一句话总结

MCQ 引入温和保守的 Bellman 更新,通过对 OOD 动作进行伪目标来主动训练,从而在行为策略之上实现收缩映射与策略改进,在离线和离线到在线任务上表现出色。

ABSTRACT

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.

研究动机与目标

  • 通过解决学习策略与行为策略之间的分布迁移来推动离线强化学习。
  • 发展一个足够温和以保持泛化的保守性水平。
  • 提出温和保守 Bellman(MCB)算子及其用于连续控制的实际版本。
  • 将 MCB 与 SAC 集成,形成 MCQ 算法并在 D4RL 基准上验证。

提出的方法

  • 将 Mildly Conservative Bellman (MCB) 算子定义为两个备份的组合,对在支持集合内的动作应用标准 Bellman 备份,对 OOD 动作使用伪目标。
  • 提供一个实际的 MCB 算子,使用通过 CVAE 拟合的行为策略 μ 来采样 OOD 动作并估计它们的 Q 值。
  • 在表格化 MDP 设置中证明 MCB 是 gamma-收缩,且所诱导的策略至少与行为策略同等好,保守性比 CQL 或显式策略约束更温和。
  • 用 CVAE 估计行为策略并将实际的 MCB 集成到 SAC,引入一个带平衡参数 lambda 的辅助 OOD 动作训练损失。
  • 定义总体 MCQ 算法,评估器损失将同分布 TD 误差与 OOD 动作辅助损失结合,以及标准的 SAC 动作更新。
  • 讨论使用相同 MCB 原理将其扩展到其他离策略方法(如 TD3)的潜在扩展。

实验结果

研究问题

  • RQ1通过 MCB 算子实现的温和保守性是否能在离线 RL 中实现相对于行为策略的策略改进?
  • RQ2实际的 MCB 算子在现实经验行为策略下,是否防止 OOD 动作的错误高估?
  • RQ3MCQ 与 D4RL MuJoCo 任务的最先进离线 RL 基线相比,特别是在非专家数据集上的表现如何?
  • RQ4当从离线数据集转移到在线微调时,MCQ 是否表现出强烈的离线到线上泛化能力?

主要发现

  • MCQ 在 D4RL MuJoCo 任务中整体表现出色,在非专家数据集上超越多项基线,在专家数据集上保持竞争力。
  • 理论结果表明,MCB 算子在行为策略的支持集中是 gamma-收缩,所诱导的策略至少与行为策略同等好,保守性比 CQL 或显式约束更温和。
  • 使用 CVAE 估计的行为策略的实用 MCB 在温和分布偏移假设下不会产生错误的高估。
  • MCQ 相较于基线在离线到在线微调方面具有更强的能力,在在线互动中保持或提升性能。
  • 该方法对 OOD 动作评估使用 N=10 次采样,λ 通常在 [0.7, 1) 范围内,获得稳定的 Q 值估计和良好的泛化。

阅读本论文

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

在 Nubint 中阅读本论文

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