mlsanityData to 7 Oct 2026

Pre-trained Language Models Improve the Few-shot Prompt Ability of Decision Transformer

arXiv 2408.01402 ↗First posted 2 Aug 2024cs.LG cs.AI cs.CLcited by 6

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

Abstract (arXiv)

Decision Transformer (DT) has emerged as a promising class of algorithms in offline reinforcement learning (RL) tasks, leveraging pre-collected datasets and Transformer's capability to model long sequences. Recent works have demonstrated that using parts of trajectories from training tasks as prompts in DT enhances its performance on unseen tasks, giving rise to Prompt-DT methods. However, collecting data from specific environments can be both costly and unsafe in many scenarios, leading to suboptimal performance and limited few-shot prompt abilities due to the data-hungry nature of Transformer-based models. Additionally, the limited datasets used in pre-training make it challenging for Prompt-DT type of methods to distinguish between various RL tasks through prompts alone. To address these challenges, we introduce the Language model-initialized Prompt Decision Transformer (LPDT) framework, which leverages pretrained language models providing rich prior knowledge for RL tasks and fine-tunes the sequence model using Low-rank Adaptation (LoRA) for meta-RL problems. We further incorporate prompt regularization to effectively differentiate between tasks based on prompt feature representations. Comprehensive empirical studies demonstrate that initializing with a pre-trained language model provides the prior knowledge and achieves a similar performance with Prompt-DT under only 10% data in some MuJoCo control tasks. We also provide a thorough ablation study to validate the effectiveness of each component, including sequence modeling, language models, prompt regularizations, and prompt strategies.

Key facts. Cited by 6 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 38 of its 46 references that are in the map. First posted on arXiv 2 Aug 2024.

Builds on

38 of 46 references.

Closest ancestors · 14

Same direction, newest first

  1. 2024Reinformer: Max-Return Sequence Modeling for Offline RL14 May
  2. 2024Decision Transformer as a Foundation Model for Partially Observable Continuous Control3 Apr
  3. 2023Context Shift Reduction for Offline Meta-Reinforcement Learning7 Nov
  4. 2023Unleashing the Power of Pre-trained Language Models for Offline Reinforcement Learning31 Oct
  5. 2023Future-conditioned Unsupervised Pretraining for Decision Transformer26 May
  6. 2023Hyper-Decision Transformer for Efficient Online Policy Adaptation17 Apr
  7. 2022Prompting Decision Transformer for Few-Shot Policy Generalization27 Jun
  8. 2022Robust Task Representations for Offline Meta-Reinforcement Learning via Contrastive Learning21 Jun
  9. 2022Multi-Game Decision Transformers30 May
  10. 2022Online Decision Transformer11 Feb
  11. 2022Can Wikipedia Help Offline Reinforcement Learning?28 Jan
  12. 2021Generalized Decision Transformer for Offline Hindsight Information Matching19 Nov
2 more
  1. 2021Offline Reinforcement Learning as One Big Sequence Modeling Problem3 Jun
  2. 2021Decision Transformer: Reinforcement Learning via Sequence Modeling2 Jun

Other references · 24

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2023GPT-4 Technical Reportcited by 18,132
  4. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
  5. 2018Representation Learning with Contrastive Predictive Codingcited by 7,662
  6. 2018Soft Actor-Critic: Off-Policy Maximum Entropy Deep Reinforcement Learning with a Stochastic Actorcited by 4,635
  7. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
  8. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
  9. 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
  10. 2018Addressing Function Approximation Error in Actor-Critic Methodscited by 2,302
  11. 2020Offline Reinforcement Learning: Tutorial, Review, and Perspectives on Open Problemscited by 1,873
  12. 2020Conservative Q-Learning for Offline Reinforcement Learningcited by 1,777
12 more
  1. 2020D4RL: Datasets for Deep Data-Driven Reinforcement Learningcited by 1,406
  2. 2018Off-Policy Deep Reinforcement Learning without Explorationcited by 1,227
  3. 2019Meta-World: A Benchmark and Evaluation for Multi-Task and Meta Reinforcement Learningcited by 1,168
  4. 2019Stabilizing Off-Policy Q-Learning via Bootstrapping Error Reductioncited by 833
  5. 2022Pre-Trained Language Models for Interactive Decision-Makingcited by 220
  6. 2021S4RL: Surprisingly Simple Self-Supervision for Offline Reinforcement Learningcited by 85
  7. 2022When does return-conditioned supervised learning work for offline reinforcement learning?cited by 73
  8. 2021A Workflow for Offline Model-Free Robotic Reinforcement Learningcited by 68
  9. 2023Elastic Decision Transformercited by 66
  10. 2023When Do Transformers Shine in RL? Decoupling Memory from Credit Assignmentcited by 62
  11. 2019Zero-shot Text Classification With Generative Language Modelscited by 55
  12. 2023Prompt-Tuning Decision Transformer with Preference Rankingcited by 19

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 3; 2025: 2; 2026: 1.

6 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Prompt-Tuning Bandits: Enabling Few-Shot Generalization for Efficient Multi-Task Offline RL
  2. 2022Contextual Transformer for Offline Meta Reinforcement Learning
  3. 2023Decision ConvFormer: Local Filtering in MetaFormer is Sufficient for Decision Making
  4. 2023Rethinking Decision Transformer via Hierarchical Reinforcement Learning
  5. 2024Meta-DT: Offline Meta-RL as Conditional Sequence Modeling with World Model Disentanglement
  6. 2024Hierarchical Prompt Decision Transformer: Improving Few-Shot Policy Generalization with Global and Adaptive Guidance
  7. 2025LLM-Driven Policy Diffusion: Enhancing Generalization in Offline Reinforcement Learning
  8. 2025Should We Ever Prefer Decision Transformer for Offline Reinforcement Learning?