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

dc.contributor.author

Yang, Y

dc.contributor.author

Xu, P

dc.date.accessioned

2026-03-25T20:33:26Z

dc.date.available

2026-03-25T20:33:26Z

dc.date.issued

2025-01-01

dc.description.abstract

Decision Transformer (DT) has emerged as a promising class of algorithms in offline reinforcement learning (RL) tasks, leveraging pre-collected datasets and Transformer’s capabil-ity 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) frame-work, 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 demon-strate 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.

dc.identifier.issn

2835-8856

dc.identifier.uri

https://hdl.handle.net/10161/34324

dc.relation.ispartof

Transactions on Machine Learning Research

dc.rights.uri

https://creativecommons.org/licenses/by-nc/4.0

dc.title

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

dc.type

Journal article

duke.contributor.orcid

Xu, P|0000-0002-2559-8622

pubs.organisational-group

Duke

pubs.organisational-group

Pratt School of Engineering

pubs.organisational-group

School of Medicine

pubs.organisational-group

Trinity College of Arts & Sciences

pubs.organisational-group

Basic Science Departments

pubs.organisational-group

Biostatistics & Bioinformatics

pubs.organisational-group

Pierre R. Lamond Department of Electrical and Computer Engineering

pubs.organisational-group

Computer Science

pubs.organisational-group

Biostatistics & Bioinformatics, Division of Translational Biomedical

pubs.publication-status

Published

pubs.volume

2025-November

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
camera.pdf
Size:
695.02 KB
Format:
Adobe Portable Document Format
Description:
Published version