mlsanityData to 7 Oct 2026

Contextual Transformer for Offline Meta Reinforcement Learning

arXiv 2211.08016 ↗First posted 15 Nov 2022cs.LG cs.AIcited by 7

On the map: Offline RL and imitation learning from data → Decision transformers and sequence modeling

Abstract (arXiv)

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.

Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Placed in Decision transformers and sequence modeling, one of 13 directions in Offline RL and imitation learning from data. Builds on 31 of its 42 references that are in the map. First posted on arXiv 15 Nov 2022.

Builds on

31 of 42 references.

Closest ancestors · 6

Same direction, newest first

  1. 2022Prompting Decision Transformer for Few-Shot Policy Generalization27 Jun
  2. 2022Model-Based Offline Meta-Reinforcement Learning with Regularization7 Feb
  3. 2021Offline Meta-Reinforcement Learning with Online Self-Supervision8 Jul
  4. 2021Offline Reinforcement Learning as One Big Sequence Modeling Problem3 Jun
  5. 2021Decision Transformer: Reinforcement Learning via Sequence Modeling2 Jun
  6. 2020Offline Meta-Reinforcement Learning with Advantage Weighting13 Aug

Other references · 25

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  4. 2018Representation Learning with Contrastive Predictive Codingcited by 7,662
  5. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
  6. 2022Do As I Can, Not As I Say: Grounding Language in Robotic Affordancescited by 2,302
  7. 2020Offline Reinforcement Learning: Tutorial, Review, and Perspectives on Open Problemscited by 1,873
  8. 2020Conservative Q-Learning for Offline Reinforcement Learningcited by 1,777
  9. 2020D4RL: Datasets for Deep Data-Driven Reinforcement Learningcited by 1,406
  10. 2021Offline Reinforcement Learning with Implicit Q-Learningcited by 1,245
  11. 2018Off-Policy Deep Reinforcement Learning without Explorationcited by 1,227
  12. 2021Scaling Vision Transformerscited by 993
13 more
  1. 2021A Minimalist Approach to Offline Reinforcement Learningcited by 882
  2. 2019Advantage-Weighted Regression: Simple and Scalable Off-Policy Reinforcement Learningcited by 750
  3. 2019Behavior Regularized Offline Reinforcement Learningcited by 654
  4. 2020MOPO: Model-based Offline Policy Optimizationcited by 630
  5. 2020MOReL : Model-Based Offline Reinforcement Learningcited by 582
  6. 2018Behavioral Cloning from Observationcited by 482
  7. 2019Efficient Off-Policy Meta-Reinforcement Learning via Probabilistic Context Variablescited by 372
  8. 2021Open-Ended Learning Leads to Generally Capable Agentscited by 177
  9. 2022Multi-Agent Reinforcement Learning is a Sequence Modeling Problemcited by 153
  10. 2021Uncertainty Weighted Actor-Critic for Offline Reinforcement Learningcited by 125
  11. 2021Believe What You See: Implicit Constraint Approach for Offline Multi-Agent Reinforcement Learningcited by 78
  12. 2020Towards Effective Context for Meta-Reinforcement Learning: an Approach based on Contrastive Learningcited by 29
  13. 2021Understanding the World Through Actioncited by 17

Built on by

Cited by year

Citing papers per year: 2023: 2; 2024: 4; 2025: 1.

7 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2022Can Wikipedia Help Offline Reinforcement Learning?
  2. 2024Scrutinize What We Ignore: Reining In Task Representation Shift Of Context-Based Offline Meta Reinforcement Learning
  3. 2020FOCAL: Efficient Fully-Offline Meta-Reinforcement Learning via Distance Metric Learning and Behavior Regularization
  4. 2024Pre-trained Language Models Improve the Few-shot Prompt Ability of Decision Transformer
  5. 2023Context Shift Reduction for Offline Meta-Reinforcement Learning
  6. 2024Towards an Information Theoretic Framework of Context-Based Offline Meta-Reinforcement Learning
  7. 2023Multi-Objective Decision Transformers for Offline Reinforcement Learning
  8. 2024Real-World Offline Reinforcement Learning from Vision Language Model Feedback