arXiv:2410.11448cs.LG2024-10NeurIPS被引 27

用世界模型解耦提升离线元强化学习泛化能力

Meta-DT: Offline Meta-RL as Conditional Sequence Modeling with World Model Disentanglement

  • 以预训练世界模型提取任务表征,作为条件输入因果Transformer
  • 自引导提示机制选择高误差轨迹片段,增强任务信息编码
  • 无需专家演示或领域知识,适合少样本/零样本场景

人工通用智能的长期目标是具备从多样化经验中学习并泛化到未见任务的强通用能力。语言与视觉领域通过大规模数据上训练的Transformer模型取得显著进展,而强化学习代理在此范式下仍面临泛化能力差的问题。为此,本文提出元决策变压器(Meta-DT),利用Transformer的序列建模能力及世界模型解耦带来的鲁棒任务表示学习,在离线元强化学习中实现高效泛化。我们预训练一个上下文感知的世界模型以学习紧凑的任务表征,并将其作为上下文条件注入因果Transformer,指导面向任务的序列生成。同时,巧妙利用元策略生成的历史轨迹作为自引导提示,挖掘架构归纳偏置。通过选择在预训练世界模型上预测误差最大的轨迹片段构建提示,最大化编码任务特异性信息。值得注意的是,该框架在测试时完全无需专家示范或领域知识。在MuJoCo和Meta-World基准上,针对多种数据集类型,实验结果表明Meta-DT在少样本与零样本泛化性能上优于强基线,且前置条件更少,更具实用性。

原文摘要 · Abstract (English)

A longstanding goal of artificial general intelligence is highly capable generalists that can learn from diverse experiences and generalize to unseen tasks. The language and vision communities have seen remarkable progress toward this trend by scaling up transformer-based models trained on massive datasets, while reinforcement learning (RL) agents still suffer from poor generalization capacity under such paradigms. To tackle this challenge, we propose Meta Decision Transformer (Meta-DT), which leverages the sequential modeling ability of the transformer architecture and robust task representation learning via world model disentanglement to achieve efficient generalization in offline meta-RL. We pretrain a context-aware world model to learn a compact task representation, and inject it as a contextual condition to the causal transformer to guide task-oriented sequence generation. Then, we subtly utilize history trajectories generated by the meta-policy as a self-guided prompt to exploit the architectural inductive bias. We select the trajectory segment that yields the largest prediction error on the pretrained world model to construct the prompt, aiming to encode task-specific information complementary to the world model maximally. Notably, the proposed framework eliminates the requirement of any expert demonstration or domain knowledge at test time. Experimental results on MuJoCo and Meta-World benchmarks across various dataset types show that Meta-DT exhibits superior few and zero-shot generalization capacity compared to strong baselines while being more practical with fewer prerequisites. Our code is available at https://github.com/NJU-RL/Meta-DT.

元强化学习离线RL序列建模世界模型

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。