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

面向离线强化学习的解耦优先重采样

Decoupled Prioritized Resampling for Offline RL

Tsinghua University(清华大学);Sea AI Lab

Yang Yue, Bingyi Kang, Xiao Ma, Qisen Yang, Gao Huang, Shiji Song, Shuicheng Yan

AI总结:

本文提出即插即用的离线优先经验回放OPER,通过高回报转移优先权重诱导改进行为策略,并以OPER-A和OPER-R两种策略显著提升五类离线RL基线性能。

摘要:

离线强化学习(offline RL)面临分布偏移问题的挑战。为解决该问题,现有工作主要聚焦于在所学策略与行为策略之间设计复杂的策略约束。然而,这些约束通过均匀采样被同等施加于表现良好的动作和表现较差的动作,这可能会对所学策略产生负面影响。为缓解这一问题,我们提出了离线优先经验回放(Offline Prioritized Experience Replay,OPER),其特点是采用一类优先函数,旨在对高回报转移赋予优先级,使其在训练期间被更频繁地访问。通过理论分析,我们表明这类优先函数会诱导出一种改进的行为策略;当策略约束型离线RL算法被约束到这种改进策略时,更有可能得到更优解。我们开发了两种实用策略来获取优先权重:基于拟合价值网络估计优势(OPER-A),或利用轨迹回报(OPER-R)以实现快速计算。OPER是离线RL算法的即插即用组件。作为案例研究,我们在BC、TD3+BC、Onestep RL、CQL和IQL五种不同算法上评估了OPER。大量实验表明,OPER-A和OPER-R均显著提升了所有基线方法的性能。代码和优先权重可在https://github.com/sail-sg/OPER获取。

英文摘要:

Offline reinforcement learning (RL) is challenged by the distributional shift problem. To address this problem, existing works mainly focus on designing sophisticated policy constraints between the learned policy and the behavior policy. However, these constraints are applied equally to well-performing and inferior actions through uniform sampling, which might negatively affect the learned policy. To alleviate this issue, we propose Offline Prioritized Experience Replay (OPER), featuring a class of priority functions designed to prioritize highly-rewarding transitions, making them more frequently visited during training. Through theoretical analysis, we show that this class of priority functions induce an improved behavior policy, and when constrained to this improved policy, a policy-constrained offline RL algorithm is likely to yield a better solution. We develop two practical strategies to obtain priority weights by estimating advantages based on a fitted value network (OPER-A) or utilizing trajectory returns (OPER-R) for quick computation. OPER is a plug-and-play component for offline RL algorithms. As case studies, we evaluate OPER on five different algorithms, including BC, TD3+BC, Onestep RL, CQL, and IQL. Extensive experiments demonstrate that both OPER-A and OPER-R significantly improve the performance for all baseline methods. Codes and priority weights are availiable at https://github.com/sail-sg/OPER.

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

↑