When Do Prompting and Prefix-Tuning Work? A Theory of Capabilities and Limitations
摘要
Context-based fine-tuning methods, including prompting, in-context learning, soft prompting (also known as prompt tuning), and prefix-tuning, have gained popularity due to their ability to often match the performance of full fine-tuning with a fraction of the parameters. Despite their empirical successes, there is little theoretical understanding of how these techniques influence the internal computation of the model and their expressiveness limitations. We show that despite the continuous embedding space being more expressive than the discrete token space, soft-prompting and prefix-tuning are potentially less expressive than full fine-tuning, even with the same number of learnable parameters. Concretely, context-based fine-tuning cannot change the relative attention pattern over the content and can only bias the outputs of an attention layer in a fixed direction. This suggests that while techniques like prompting, in-context learning, soft prompting, and prefix-tuning can effectively elicit skills present in the pretrained model, they may not be able to learn novel tasks that require new attention patterns.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 21 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- LoRA: Low-Rank Adaptation of Large Language Models 引用了 Language Models are Few-Shot Learners
- Understanding Prompt Tuning and In-Context Learning via Meta-Learning 引用了 LoRA: Low-Rank Adaptation of Large Language Models
- Combining Fine-Tuning and LLM-Based Agents for Intuitive Smart Contract Auditing with Justifications 引用了 LoRA: Low-Rank Adaptation of Large Language Models
- Combining Fine-Tuning and LLM-Based Agents for Intuitive Smart Contract Auditing with Justifications 引用了 Large Language Models are Zero-Shot Reasoners
- Combining Fine-Tuning and LLM-Based Agents for Intuitive Smart Contract Auditing with Justifications 引用了 Language Models are Few-Shot Learners
- Large Language Models are Zero-Shot Reasoners 引用了 AutoPrompt: Eliciting Knowledge from Language Models with Automatically Generated Prompts
- Large Language Models are Zero-Shot Reasoners 引用了 Language Models are Few-Shot Learners
- AutoPrompt: Eliciting Knowledge from Language Models with Automatically Generated Prompts 引用了 Language Models are Few-Shot Learners
- Prompting a Pretrained Transformer Can Be a Universal Approximator 引用了 LoRA: Low-Rank Adaptation of Large Language Models
- Prompting a Pretrained Transformer Can Be a Universal Approximator 引用了 Large Language Models are Zero-Shot Reasoners
- Prompting a Pretrained Transformer Can Be a Universal Approximator 引用了 AutoPrompt: Eliciting Knowledge from Language Models with Automatically Generated Prompts
- Prompting a Pretrained Transformer Can Be a Universal Approximator 引用了 Language Models are Few-Shot Learners
- Prompting a Pretrained Transformer Can Be a Universal Approximator 引用了 Finetuned Language Models are Zero-Shot Learners
- Finetuned Language Models are Zero-Shot Learners 引用了 Language Models are Few-Shot Learners
- Prompt Tuning Strikes Back: Customizing Foundation Models with Low-Rank Prompt Adaptation 引用了 Language Models are Few-Shot Learners
引用它的顶会 Paper21
- Combining Fine-Tuning and LLM-Based Agents for Intuitive Smart Contract Auditing with JustificationsWei Ma, Daoyuan Wu, Yuqiang Sun, Tianwen Wang 等ICSE 2025 · 28 次引用
- Prompting a Pretrained Transformer Can Be a Universal ApproximatorAleksandar Petrov, Philip Torr, Adel BibiICML 2024 · 19 次引用
- Understanding Prompt Tuning and In-Context Learning via Meta-LearningTim Genewein, Kevin Li, Jordi Grau-Moya, Anian Ruoss 等NeurIPS 2025 · 10 次引用
- Prompt Tuning Strikes Back: Customizing Foundation Models with Low-Rank Prompt AdaptationAbhinav Jain, Swarat Chaudhuri, Thomas W. Reps, Christopher M. JermaineNeurIPS 2024 · 10 次引用
- Revisit Visual Prompt Tuning: The Expressiveness of Prompt ExpertsMinh Le, Anh Nguyen, Huy Nguyen, Chau Nguyen 等ICLR 2026 · 6 次引用
它引用的 Paper19
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
- LoRA: Low-Rank Adaptation of Large Language ModelsEdward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu 等ICLR 2022 · 18,833 次引用
- Large Language Models are Zero-Shot ReasonersTakeshi Kojima, Shixiang Shane Gu, Machel Reid, Yutaka Matsuo 等NeurIPS 2022 · 8,168 次引用
- Finetuned Language Models are Zero-Shot LearnersJason Wei, Maarten Bosma, Vincent Y. Zhao, Kelvin Guu 等ICLR 2022 · 4,966 次引用
- AutoPrompt: Eliciting Knowledge from Language Models with Automatically Generated PromptsTaylor Shin, Yasaman Razeghi, Robert L. Logan IV, Eric Wallace 等EMNLP 2020 · 1,162 次引用
相关 Paper
- ATTEMPT: Parameter-Efficient Multi-task Tuning via Attentional Mixtures of Soft PromptsAkari Asai, Mohammadreza Salehi, Matthew E. Peters, Hannaneh HajishirziEMNLP 2022 · 55 次引用
- On the Role of Attention in Prompt-tuningSamet Oymak, Ankit Singh Rawat, Mahdi Soltanolkotabi, Christos ThrampoulidisICML 2023 · 67 次引用
- PrefixMemory-Tuning: Modernizing Prefix-Tuning by Decoupling the Prefix from AttentionHaonan Wang, Brian K Chen, Siquan Li, Liang Xinhe 等ICLR 2026 · 5 次引用
- Universality and Limitations of Prompt TuningYihan Wang, Jatin Chauhan, Wei Wang, Cho-Jui HsiehNeurIPS 2023 · 48 次引用
- Evaluating the Impact of Model Scale for Compositional Generalization in Semantic ParsingLinlu Qiu, Peter Shaw, Panupong Pasupat, Tianze Shi 等EMNLP 2022 · 21 次引用
