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

用于离线Meta强化学习的上下文Transformer

Contextual Transformer for Offline Meta Reinforcement Learning

University of Chinese Academy of Sciences(中国科学院大学);Peking University(北京大学);University College London(伦敦大学学院);Chinese Academy of Sciences(中国科学院);King’s College London(伦敦国王学院)

Runji Lin, Ye Li, Xidong Feng, Zhaowei Zhang, Xian Hong Wu Fung, Haifeng Zhang, Jun Wang, Yali Du, Yaodong Yang

摘要:

大规模序列模型中的预训练-微调范式在自然语言处理和计算机视觉任务中取得了重大进展。然而,这样的范例仍然受到强化学习(RL)中的几个挑战的阻碍,包括缺乏基于离线数据的自监督预训练算法和对看不见的下游任务的有效微调/微调。在这项工作中,我们将探讨如何提示可以改善基于序列建模的离线强化学习(离线-RL)算法。首先,我们提出了提示微调离线RL,其中上下文向量序列与输入连接,以指导有条件的策略生成。因此,我们可以在离线数据集上预训练具有自我监督损失的模型,并学习提示以引导策略实现所需的操作。其次,我们将我们的框架扩展到元强化学习设置,并提出上下文Meta Transformer(CMT); CMT利用不同任务之间的上下文作为提示,以提高未见过的任务的泛化。我们在三种不同的离线RL设置中进行了广泛的实验:D4 RL数据集上的离线单代理RL,MuJoCo基准测试上的离线Meta-RL和SMAC基准测试上的离线MARL。优越的结果验证了我们的方法的强大性能和通用性。

英文摘要:

The pretrain-finetuning paradigm in large-scale sequence models has made significant progress in natural language processing and computer vision tasks. However, such a paradigm is still hindered by several challenges in Reinforcement Learning (RL), including the lack of self-supervised pretraining algorithms based on offline data and efficient fine-tuning/prompt-tuning over unseen downstream tasks. In this work, we explore how prompts can improve sequence modeling-based offline reinforcement learning (offline-RL) algorithms. Firstly, we propose prompt tuning for offline RL, where a context vector sequence is concatenated with the input to guide the conditional policy generation. As such, we can pretrain a model on the offline dataset with self-supervised loss and learn a prompt to guide the policy towards desired actions. Secondly, we extend our framework to Meta-RL settings and propose Contextual Meta Transformer (CMT); CMT leverages the context among different tasks as the prompt to improve generalization on unseen tasks. We conduct extensive experiments across three different offline-RL settings: offline single-agent RL on the D4RL dataset, offline Meta-RL on the MuJoCo benchmark, and offline MARL on the SMAC benchmark. Superior results validate the strong performance, and generality of our methods.

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

↑