Dynamic Prompting: A Unified Framework for Prompt Tuning
Not on the map. Why?
Abstract (arXiv)
It has been demonstrated that the art of prompt tuning is highly effective in efficiently extracting knowledge from pretrained foundation models, encompassing pretrained language models (PLMs), vision pretrained models, and vision-language (V-L) models. However, the efficacy of employing fixed soft prompts with a predetermined position for concatenation with inputs for all instances, irrespective of their inherent disparities, remains uncertain. Variables such as the position, length, and representations of prompts across diverse instances and tasks can substantially influence the performance of prompt tuning. In this context, we provide a theoretical analysis, which reveals that optimizing the position of the prompt to encompass the input can capture additional semantic information that traditional prefix or postfix prompt tuning methods fail to capture. Building upon our analysis, we present a unified dynamic prompt (DP) tuning strategy that dynamically determines different factors of prompts based on specific tasks and instances. To accomplish this, we employ a lightweight learning network with Gumble-Softmax, allowing us to learn instance-dependent guidance. Experimental results underscore the significant performance improvement achieved by dynamic prompt tuning across a wide range of tasks, including NLP tasks, vision recognition tasks, and vision-language tasks. Furthermore, we establish the universal applicability of our approach under full-data, few-shot, and multitask scenarios. Codes are available at https://github.com/Xianjun-Yang/DPT.
Key facts. Cited by 12 papers in the map (data through 14 Oct 2026). Builds on 48 of its 57 references that are in the map. First posted on arXiv 6 Mar 2023.
Builds on
48 of 57 references.
References · 48
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,893
- 2019Parameter-Efficient Transfer Learning for NLPcited by 4,236
- 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,915
- 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,795
- 2016Categorical Reparameterization with Gumbel-Softmaxcited by 2,739
- 2021Learning to Prompt for Vision-Language Modelscited by 2,281
36 more
- 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,234
- 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,183
- 2013Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computationcited by 2,079
- 2019SuperGLUE: A Stickier Benchmark for General-Purpose Language Understanding Systemscited by 1,729
- 2022Visual Prompt Tuningcited by 1,681
- 2022Conditional Prompt Learning for Vision-Language Modelscited by 1,433
- 2021BitFit: Simple Parameter-efficient Fine-tuning for Transformer-based Masked Language-modelscited by 1,245
- 2021What Makes Good In-Context Examples for GPT-3?cited by 1,195
- 2016The Concrete Distribution: A Continuous Relaxation of Discrete Random Variablescited by 1,148
- 2021Learning to Prompt for Continual Learningcited by 944
- 2018Adafactor: Adaptive Learning Rates with Sublinear Memory Costcited by 905
- 2022Few-Shot Parameter-Efficient Fine-Tuning is Better and Cheaper than In-Context Learningcited by 896
- 2021Towards a Unified View of Parameter-Efficient Transfer Learningcited by 872
- 2022Transformers learn in-context by gradient descentcited by 732
- 2022AdaptFormer: Adapting Vision Transformers for Scalable Visual Recognitioncited by 719
- 2021P-Tuning v2: Prompt Tuning Can Be Comparable to Fine-tuning Universally Across Scales and Taskscited by 689
- 2022Automatic Chain of Thought Prompting in Large Language Modelscited by 688
- 2022MaPLe: Multi-modal Prompt Learningcited by 687
- 2021Compacter: Efficient Low-Rank Hypercomplex Adapter Layerscited by 460
- 2022Test-Time Prompt Tuning for Zero-Shot Generalization in Vision-Language Modelscited by 382
- 2018WiC: the Word-in-Context Dataset for Evaluating Context-Sensitive Meaning Representationscited by 372
- 2022Scaling & Shifting Your Features: A New Baseline for Efficient Model Tuningcited by 294
- 2022Visual Prompting via Image Inpaintingcited by 250
- 2021SPoT: Better Frozen Model Adaptation through Soft Prompt Transfercited by 235
- 2021PPT: Pre-trained Prompt Tuning for Few-shot Learningcited by 232
- 2021ExT5: Towards Extreme Multi-Task Scaling for Transfer Learningcited by 161
- 2021OpenPrompt: An Open-source Framework for Prompt-learningcited by 148
- 2021A Good Prompt Is Worth Millions of Parameters: Low-resource Prompt-based Learning for Vision-Language Modelscited by 101
- 2022ATTEMPT: Parameter-Efficient Multi-task Tuning via Attentional Mixtures of Soft Promptscited by 85
- 2021Why Do Pretrained Language Models Help in Downstream Tasks? An Analysis of Head and Prompt Tuningcited by 82
- 2022Revisiting Parameter-Efficient Tuning: Are We Really There Yet?cited by 76
- 2021On Transferability of Prompt Tuning for Natural Language Processingcited by 75
- 2021Beyond Fully-Connected Layers with Quaternions: Parameterization of Hypercomplex Multiplications with 1/n Parameterscited by 66
- 2022IDPG: An Instance-Dependent Prompt Generation Methodcited by 43
- 2022XPrompt: Exploring the Extreme of Prompt Tuningcited by 30
- 2022Improving the Sample Efficiency of Prompt Tuning with Domain Adaptationcited by 15
Built on by
Citing papers per year: 2023: 5; 2024: 2; 2025: 5.
12 papers.
- 2023Domain Specialization as the Key to Make Large Language Models Disruptive: A Comprehensive Surveycited by 135
- 2024Propulsion: Steering LLM with Tiny Fine-Tuningcited by 14
- 2024Parameter-Efficient Fine-Tuning of Large Language Models using Semantic Knowledge Tuningcited by 10
- 2025Improving Complex Reasoning with Dynamic Prompt Corruption: A soft prompt Optimization Approachcited by 9
- 2023Do prompt positions really matter?cited by 5
- 2025Endowing Embodied Agents with Spatial Reasoning Capabilities for Vision-and-Language Navigationcited by 4
- 2023A Communication Theory Perspective on Prompting Engineering Methods for Large Language Modelscited by 3
- 2025IP-Prompter: Training-Free Theme-Specific Image Generation via Dynamic Visual Promptingcited by 3
- 2023Keyword-optimized Template Insertion for Clinical Information Extraction via Prompt-based Learningcited by 1
- 2025Aspect-Oriented Summarization for Psychiatric Short-Term Readmission Predictioncited by 1
- 2023Conditional Prompt Tuning for Multimodal Fusioncited by 0
- 2025Joint Extraction Matters: Prompt-Based Visual Question Answering for Multi-Field Document Information Extractioncited by 0
- 2025Endowing Embodied Agents with Spatial Reasoning Capabilities for Vision-and-Language Navigation9 Apr 2025
- 2025Joint Extraction Matters: Prompt-Based Visual Question Answering for Multi-Field Document Information Extraction21 Mar 2025
- 2025Improving Complex Reasoning with Dynamic Prompt Corruption: A soft prompt Optimization Approach17 Mar 2025
- 2025Aspect-Oriented Summarization for Psychiatric Short-Term Readmission Prediction14 Feb 2025
- 2025IP-Prompter: Training-Free Theme-Specific Image Generation via Dynamic Visual Prompting26 Jan 2025
- 2024Parameter-Efficient Fine-Tuning of Large Language Models using Semantic Knowledge Tuning11 Oct 2024
- 2024Propulsion: Steering LLM with Tiny Fine-Tuning17 Sep 2024
- 2023Conditional Prompt Tuning for Multimodal Fusion28 Nov 2023
- 2023Keyword-optimized Template Insertion for Clinical Information Extraction via Prompt-based Learning31 Oct 2023
- 2023A Communication Theory Perspective on Prompting Engineering Methods for Large Language Models24 Oct 2023
- 2023Domain Specialization as the Key to Make Large Language Models Disruptive: A Comprehensive Survey30 May 2023
- 2023Do prompt positions really matter?23 May 2023