Skip to main content
QUICK REVIEW

[论文解读] Pessimistic Bootstrapping for Uncertainty-Driven Offline Reinforcement Learning

Chenjia Bai, Lingxiao Wang|arXiv (Cornell University)|Feb 23, 2022
Machine Learning and Data ClassificationComputer Science被引用 24
一句话总结

PBRL 引入了一种不依赖模型的离线强化学习算法,基于不确定性驱动,通过自举Q函数的分歧进行不确定性量化,并采用OOD采样策略施加悲观更新,从而在D4RL基准上提升性能。

ABSTRACT

Offline Reinforcement Learning (RL) aims to learn policies from previously collected datasets without exploring the environment. Directly applying off-policy algorithms to offline RL usually fails due to the extrapolation error caused by the out-of-distribution (OOD) actions. Previous methods tackle such problem by penalizing the Q-values of OOD actions or constraining the trained policy to be close to the behavior policy. Nevertheless, such methods typically prevent the generalization of value functions beyond the offline data and also lack precise characterization of OOD data. In this paper, we propose Pessimistic Bootstrapping for offline RL (PBRL), a purely uncertainty-driven offline algorithm without explicit policy constraints. Specifically, PBRL conducts uncertainty quantification via the disagreement of bootstrapped Q-functions, and performs pessimistic updates by penalizing the value function based on the estimated uncertainty. To tackle the extrapolating error, we further propose a novel OOD sampling method. We show that such OOD sampling and pessimistic bootstrapping yields provable uncertainty quantifier in linear MDPs, thus providing the theoretical underpinning for PBRL. Extensive experiments on D4RL benchmark show that PBRL has better performance compared to the state-of-the-art algorithms.

研究动机与目标

  • 激励在禁止探索的离线RL场景中进行研究,OOD动作引起的外推误差会妨碍性能。
  • 提出一种纯粹基于不确定性的离线RL方法,无需显式策略约束。
  • 开发一个自举(引导)Q函数集成,以量化知识不确定性并据此惩罚更新。
  • 引入一个OOD采样机制,以在离线数据支持之外对Q函数估计进行正则化。
  • 给出理论联系,表明所提方法在线性MDP中与LCB风格的不确定性量化是一致的。

提出的方法

  • 维持K个自举(引导)Q函数,通过它们的分歧来量化不确定性。
  • 将不确定性U(s,a)定义为Q函数集成的标准差。
  • 使用悲观修正计算分布内目标:T_in Q^k(s,a) = r + γ E_{s',a'} [ Q^k_θ− (s',a') − β_in U_θ− (s',a') ].
  • 用OOD样本 (s_ood, a_ood) 增强训练,其中 a_ood 来自当前策略,s_ood 来自离线数据。
  • 定义伪OOD目标:T_ood Q^k(s_ood,a_ood) = Q^k(s_ood,a_ood) − β_ood U_θ(s_ood,a_ood),可选截断 max{0, T_ood Q^k}。
  • 将分布内TD误差和OOD数据上的伪TD误差的损失结合起来以优化critic,并通过在离线数据上最大化 min_k Q^k(s,a) 来推导策略。

实验结果

研究问题

  • RQ1仅基于不确定性驱动的更新且无策略约束是否能在离线RL中获得具有竞争力的性能?
  • RQ2自举不确定性量化如何与显式的OOD采样策略相互作用以减轻外推误差?
  • RQ3PBRL的悲观目标与线性MDP中LCB风格的不确定性量化之间存在哪些理论联系?
  • RQ4OOD采样在神经网络设置中是否提高了自举Q函数的稳定性和泛化性?
  • RQ5在D4RL基准上,PBRL相较于策略约束与保守性基线的表现如何?

主要发现

  • PBRL在D4RL基准上达到与最先进方法相当的性能,在非理想数据集上经常优于基线。
  • PBRL-Prior,一种带随机先验的扩展,相比PBRL获得更稳定的训练和略微更好的平均性能。
  • 自举不确定性与数据覆盖度相关:较低不确定性与分布内数据对齐,在数据稀缺处引导保守更新。
  • 在实验中,CQL和TD3-BC通常平均表现最佳,而PBRL在若干非理想数据集情形下表现优秀,并展示出稳健的不确定性量化。
  • 理论结果表明,在线性MDP下,基于自举不确定性的惩罚近似LCB惩罚,且OOD采样有助于得到有效的不确定性量化。

阅读本论文

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

在 Nubint 中阅读本论文

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