Universality and Limitations of Prompt Tuning
Yihan Wang, Jatin Chauhan, Wei Wang, Cho-Jui Hsieh
Abstract
Despite the demonstrated empirical efficacy of prompt tuning to adapt a pretrained language model for a new task, the theoretical underpinnings of the difference between "tuning parameters before the input" against "the tuning of model weights" are limited. We thus take one of the first steps to understand the role of soft-prompt tuning for transformer-based architectures. By considering a general purpose architecture, we analyze prompt tuning from the lens of both: universal approximation and limitations with finite-depth fixed-weight pretrained transformers for continuous-valued functions. Our universality result guarantees the existence of a strong transformer with a prompt to approximate any sequence-to-sequence function in the set of Lipschitz functions. The limitations of prompt tuning for limited-depth transformers are first proved by constructing a set of datasets, that cannot be memorized by a prompt of any length for a given single encoder layer. We also provide a lower bound on the required number of tunable prompt parameters and compare the result with the number of parameters required for a low-rank update (based on LoRA) for a single-layer setting. We finally extend our analysis to multi-layer settings by providing sufficient conditions under which the transformer can at best learn datasets from invertible functions only. Our theoretical claims are also corroborated by empirical results.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
23 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- LoRA: Low-Rank Adaptation of Large Language Models cites Compacter: Efficient Low-Rank Hypercomplex Adapter Layers
- LoRA: Low-Rank Adaptation of Large Language Models cites Language Models are Few-Shot Learners
- Compacter: Efficient Low-Rank Hypercomplex Adapter Layers cites Language Models are Few-Shot Learners
- All You Need is One: Capsule Prompt Tuning with a Single Vector cites LoRA: Low-Rank Adaptation of Large Language Models
- All You Need is One: Capsule Prompt Tuning with a Single Vector cites AutoPrompt: Eliciting Knowledge from Language Models with Automatically Generated Prompts
- All You Need is One: Capsule Prompt Tuning with a Single Vector cites Language Models are Few-Shot Learners
- PEANuT: Parameter-Efficient Adaptation with Weight-aware Neural Tweakers cites Compacter: Efficient Low-Rank Hypercomplex Adapter Layers
- PACE: Marrying generalization in PArameter-efficient fine-tuning with Consistency rEgularization cites LoRA: Low-Rank Adaptation of Large Language Models
- AutoPrompt: Eliciting Knowledge from Language Models with Automatically Generated Prompts cites Language Models are Few-Shot Learners
- Prompting a Pretrained Transformer Can Be a Universal Approximator cites LoRA: Low-Rank Adaptation of Large Language Models
- Prompting a Pretrained Transformer Can Be a Universal Approximator cites AutoPrompt: Eliciting Knowledge from Language Models with Automatically Generated Prompts
- Prompting a Pretrained Transformer Can Be a Universal Approximator cites Language Models are Few-Shot Learners
- Prompting a Pretrained Transformer Can Be a Universal Approximator cites Transformers Learn In-Context by Gradient Descent
- On Statistical Rates and Provably Efficient Criteria of Latent Diffusion Transformers (DiTs) cites Language Models are Few-Shot Learners
- Transformers Learn In-Context by Gradient Descent cites Language Models are Few-Shot Learners
Cited by top-tier papers23
- On Statistical Rates and Provably Efficient Criteria of Latent Diffusion Transformers (DiTs)Jerry Yao-Chieh Hu, Weimin Wu, Zhuoru Li, Sophia Pi et al.NeurIPS 2024 · 49 citations
- PACE: Marrying generalization in PArameter-efficient fine-tuning with Consistency rEgularizationYao Ni, Shan Zhang, Piotr KoniuszNeurIPS 2024 · 25 citations
- Prompting a Pretrained Transformer Can Be a Universal ApproximatorAleksandar Petrov, Philip Torr, Adel BibiICML 2024 · 19 citations
- All You Need is One: Capsule Prompt Tuning with a Single VectorYiyang Liu, James Liang, Heng Fan, Wenhao Yang et al.NeurIPS 2025 · 16 citations
- PEANuT: Parameter-Efficient Adaptation with Weight-aware Neural TweakersYibo Zhong, Haoxiang Jiang, Lincan Li, Ryumei Nakada et al.KDD 2026 · 7 citations
Builds on19
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
- LoRA: Low-Rank Adaptation of Large Language ModelsEdward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu et al.ICLR 2022 · 18,833 citations
- AutoPrompt: Eliciting Knowledge from Language Models with Automatically Generated PromptsTaylor Shin, Yasaman Razeghi, Robert L. Logan IV, Eric Wallace et al.EMNLP 2020 · 1,162 citations
- Transformers Learn In-Context by Gradient DescentJohannes von Oswald, Eyvind Niklasson, Ettore Randazzo, João Sacramento et al.ICML 2023 · 729 citations
- Compacter: Efficient Low-Rank Hypercomplex Adapter LayersRabeeh Karimi Mahabadi, James Henderson, Sebastian RuderNeurIPS 2021 · 700 citations
Related papers
- Fundamental Limits of Prompt Tuning Transformers: Universality, Capacity and EfficiencyJerry Yao-Chieh Hu, Wei-Po Wang, Ammar Gilani, Chenyang Li et al.ICLR 2025
- Prompt Tuning Transformers for Data MemorizationHaiyu Wang, Yuanyuan LinNeurIPS 2025 · 4 citations
- IAPT: Instance-Aware Prompt Tuning for Large Language ModelsWei Zhu, Aaron Xuxiang Tian, Congrui Yin, Yuan Ni et al.ACL 2024 · 2 citations
- The Expressive Power of Low-Rank AdaptationYuchen Zeng, Kangwook LeeICLR 2024 · 116 citations
- Prompt Tuning Strikes Back: Customizing Foundation Models with Low-Rank Prompt AdaptationAbhinav Jain, Swarat Chaudhuri, Thomas W. Reps, Christopher M. JermaineNeurIPS 2024 · 10 citations
