mlsanityData to 14 Oct 2026

Dynamic Prompting: A Unified Framework for Prompt Tuning

arXiv 2303.02909 ↗First posted 6 Mar 2023cs.CL cs.AIcited by 12

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

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  3. 2020Language Models are Few-Shot Learnerscited by 32,419
  4. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  5. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
  6. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  7. 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,893
  8. 2019Parameter-Efficient Transfer Learning for NLPcited by 4,236
  9. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,915
  10. 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,795
  11. 2016Categorical Reparameterization with Gumbel-Softmaxcited by 2,739
  12. 2021Learning to Prompt for Vision-Language Modelscited by 2,281
36 more
  1. 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,234
  2. 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,183
  3. 2013Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computationcited by 2,079
  4. 2019SuperGLUE: A Stickier Benchmark for General-Purpose Language Understanding Systemscited by 1,729
  5. 2022Visual Prompt Tuningcited by 1,681
  6. 2022Conditional Prompt Learning for Vision-Language Modelscited by 1,433
  7. 2021BitFit: Simple Parameter-efficient Fine-tuning for Transformer-based Masked Language-modelscited by 1,245
  8. 2021What Makes Good In-Context Examples for GPT-3?cited by 1,195
  9. 2016The Concrete Distribution: A Continuous Relaxation of Discrete Random Variablescited by 1,148
  10. 2021Learning to Prompt for Continual Learningcited by 944
  11. 2018Adafactor: Adaptive Learning Rates with Sublinear Memory Costcited by 905
  12. 2022Few-Shot Parameter-Efficient Fine-Tuning is Better and Cheaper than In-Context Learningcited by 896
  13. 2021Towards a Unified View of Parameter-Efficient Transfer Learningcited by 872
  14. 2022Transformers learn in-context by gradient descentcited by 732
  15. 2022AdaptFormer: Adapting Vision Transformers for Scalable Visual Recognitioncited by 719
  16. 2021P-Tuning v2: Prompt Tuning Can Be Comparable to Fine-tuning Universally Across Scales and Taskscited by 689
  17. 2022Automatic Chain of Thought Prompting in Large Language Modelscited by 688
  18. 2022MaPLe: Multi-modal Prompt Learningcited by 687
  19. 2021Compacter: Efficient Low-Rank Hypercomplex Adapter Layerscited by 460
  20. 2022Test-Time Prompt Tuning for Zero-Shot Generalization in Vision-Language Modelscited by 382
  21. 2018WiC: the Word-in-Context Dataset for Evaluating Context-Sensitive Meaning Representationscited by 372
  22. 2022Scaling & Shifting Your Features: A New Baseline for Efficient Model Tuningcited by 294
  23. 2022Visual Prompting via Image Inpaintingcited by 250
  24. 2021SPoT: Better Frozen Model Adaptation through Soft Prompt Transfercited by 235
  25. 2021PPT: Pre-trained Prompt Tuning for Few-shot Learningcited by 232
  26. 2021ExT5: Towards Extreme Multi-Task Scaling for Transfer Learningcited by 161
  27. 2021OpenPrompt: An Open-source Framework for Prompt-learningcited by 148
  28. 2021A Good Prompt Is Worth Millions of Parameters: Low-resource Prompt-based Learning for Vision-Language Modelscited by 101
  29. 2022ATTEMPT: Parameter-Efficient Multi-task Tuning via Attentional Mixtures of Soft Promptscited by 85
  30. 2021Why Do Pretrained Language Models Help in Downstream Tasks? An Analysis of Head and Prompt Tuningcited by 82
  31. 2022Revisiting Parameter-Efficient Tuning: Are We Really There Yet?cited by 76
  32. 2021On Transferability of Prompt Tuning for Natural Language Processingcited by 75
  33. 2021Beyond Fully-Connected Layers with Quaternions: Parameterization of Hypercomplex Multiplications with 1/n Parameterscited by 66
  34. 2022IDPG: An Instance-Dependent Prompt Generation Methodcited by 43
  35. 2022XPrompt: Exploring the Extreme of Prompt Tuningcited by 30
  36. 2022Improving the Sample Efficiency of Prompt Tuning with Domain Adaptationcited by 15

Built on by

Cited by year

Citing papers per year: 2023: 5; 2024: 2; 2025: 5.

12 papers.