arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.05422cs.LG
收藏

奖励一致动力学模型在离线强化学习中具有强泛化性

Reward-Consistent Dynamics Models are Strongly Generalizable for Offline Reinforcement Learning

Nanjing University(南京大学)

Fan-Ming Luo, Tian Xu, Xingchen Cao, Yang Yu

AI总结:

针对离线强化学习中动力学模型泛化性差的问题,提出奖励一致动力学模型构想及MOREC方法,通过学习动力学奖励筛选转移样本,在D4RL和NeoRL基准上显著提升性能,首次在多类任务中达到在线RL性能95%以上。

摘要:

学习精确的动力学模型对离线强化学习至关重要,但遗憾的是,这一任务已被证明颇具挑战性。通过拟合历史转移数据学习得到的动力学模型,往往难以泛化到未见过的转移样本上。在本研究中,我们发现了一个隐蔽但关键的因素——动力学奖励(dynamics reward),它在不同转移样本间保持一致,为提升泛化能力提供了可行路径。据此,我们提出了奖励一致动力学模型的构想:由动力学模型生成的任意轨迹,都应最大化从数据中推导得出的动力学奖励。我们将这一构想实现为MOREC(基于模型的奖励一致性离线强化学习,Model-based Offline reinforcement learning with Reward Consistency)方法,该方法可无缝集成到已有的基于模型的离线强化学习(MBRL)方法中。MOREC从离线数据中学习一个具备泛化能力的动力学奖励函数,随后该函数可在任意离线MBRL方法中充当转移过滤器:生成转移样本时,动力学模型会生成一批转移样本,并从中选择动力学奖励值最高的那个。在一个合成任务上,我们通过可视化验证了MOREC具备强大的泛化能力,甚至能出人意料地还原一些距离较远的未见过的转移样本。在D4RL和NeoRL基准的21个离线任务上,MOREC大幅提升了此前的最优性能,即在D4RL任务上提升4.6%,在NeoRL任务上提升25.9%。值得注意的是,MOREC是首个在12个D4RL任务中的6个、9个NeoRL任务中的3个上,性能达到在线强化学习性能95%以上的方法。

英文摘要:

Learning a precise dynamics model can be crucial for offline reinforcement learning, which, unfortunately, has been found to be quite challenging. Dynamics models that are learned by fitting historical transitions often struggle to generalize to unseen transitions. In this study, we identify a hidden but pivotal factor termed dynamics reward that remains consistent across transitions, offering a pathway to better generalization. Therefore, we propose the idea of reward-consistent dynamics models: any trajectory generated by the dynamics model should maximize the dynamics reward derived from the data. We implement this idea as the MOREC (Model-based Offline reinforcement learning with Reward Consistency) method, which can be seamlessly integrated into previous offline model-based reinforcement learning (MBRL) methods. MOREC learns a generalizable dynamics reward function from offline data, which is subsequently employed as a transition filter in any offline MBRL method: when generating transitions, the dynamics model generates a batch of transitions and selects the one with the highest dynamics reward value. On a synthetic task, we visualize that MOREC has a strong generalization ability and can surprisingly recover some distant unseen transitions. On 21 offline tasks in D4RL and NeoRL benchmarks, MOREC improves the previous state-of-the-art performance by a significant margin, i.e., 4.6% on D4RL tasks and 25.9% on NeoRL tasks. Notably, MOREC is the first method that can achieve above 95% online RL performance in 6 out of 12 D4RL tasks and 3 out of 9 NeoRL tasks.

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

↑