paper-with-me

Papers

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

2024-08-02

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), which leverages pre-trained language models for meta-RL tasks and fine-tunes the model using Low-rank Adaptation (LoRA). We further incorporate prompt regularization to effectively differentiate between tasks based on prompt feature representations. Our approach integrates pre-trained language model and RL tasks seamlessly. Extensive empirical studies demonstrate that initializing with a pre-trained language model significantly enhances the performance of Prompt-DT on unseen tasks compared to baseline methods.

📄 PDF Abstract BibTeX arXiv:2408.01402

Code (0)

등록된 구현이 없습니다.

Methods 이 논문이 사용한 방법론

Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Residual Connection 설명 없음
Multi-Head Attention 설명 없음
Position-Wise Feed-Forward Layer 설명 없음
Adam 설명 없음
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…

Similar Papers 제목 키워드 기반

Large Language Models are Contrastive Reasoners

2024-03-13 · Liang Yao

Prompting methods play a crucial role in enhancing the capabilities of pre-trained large language models (LLMs). We explore how contrastive prompting (CP) significantly improves the ability of large language models to pe…

GSM8K

AdaPrompt: Adaptive Model Training for Prompt-based NLP

2022-02-10 · Yulong Chen, Yang Liu, Li Dong, Shuohang Wang 외

Prompt-based learning, with its capability to tackle zero-shot and few-shot NLP tasks, has gained much attention in community. The main idea is to bridge the gap between NLP downstream tasks and language modeling (LM), b…

Continual PretrainingLanguage ModelingLanguage Modellingmodel+2

Prompt Tuning based Adapter for Vision-Language Model Adaption

2023-03-24 · Jingchen Sun, Jiayu Qin, Zihao Lin, Changyou Chen

Large pre-trained vision-language (VL) models have shown significant promise in adapting to various downstream tasks. However, fine-tuning the entire network is challenging due to the massive number of model parameters. …

Few-Shot Image Classificationimage-classificationImage ClassificationLanguage Modeling+1

Making Small Language Models Better Few-Shot Learners

2021-11-16 · ACL ARR November 2021 11 · Anonymous

Large-scale language models coupled with prompts have shown remarkable performance on few-shot learning. However, through systematic experiments, we find that the few-shot performance of small language models is poor, an…

Few-Shot LearningKnowledge DistillationSentenceSentence Classification

Prompt-Based Bias Calibration for Better Zero/Few-Shot Learning of Language Models

2024-02-15 · Kang He, Yinghan Long, Kaushik Roy

Prompt-based learning is susceptible to intrinsic bias present in pre-trained language models (LMs), leading to sub-optimal performance in prompt-based zero/few-shot settings. In this work, we propose a null-input prompt…

FairnessFew-Shot LearningIn-Context LearningLanguage Modeling+3