How Does In-Context Learning Help Prompt Tuning?
Not on the map. Why?
Abstract (arXiv)
Fine-tuning large language models is becoming ever more impractical due to their rapidly-growing scale. This motivates the use of parameter-efficient adaptation methods such as prompt tuning (PT), which adds a small number of tunable embeddings to an otherwise frozen model, and in-context learning (ICL), in which demonstrations of the task are provided to the model in natural language without any additional training. Recently, Singhal et al. (2022) propose ``instruction prompt tuning'' (IPT), which combines PT with ICL by concatenating a natural language demonstration with learned prompt embeddings. While all of these methods have proven effective on different tasks, how they interact with each other remains unexplored. In this paper, we empirically study when and how in-context examples improve prompt tuning by measuring the effectiveness of ICL, PT, and IPT on five text generation tasks with multiple base language models. We observe that (1) IPT does not always outperform PT, and in fact requires the in-context demonstration to be semantically similar to the test input to yield improvements; (2) PT is unstable and exhibits high variance, but combining PT and ICL (into IPT) consistently reduces variance across all five tasks; and (3) prompts learned for a specific source task via PT exhibit positive transfer when paired with in-context examples of a different target task. Our results offer actionable insights on choosing a suitable parameter-efficient adaptation method for a given task.
Key facts. Cited by 11 papers in the map (data through 7 Oct 2026). Builds on 30 of its 41 references that are in the map. First posted on arXiv 22 Feb 2023.
Builds on
30 of 41 references.
References · 30
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
- 2019Parameter-Efficient Transfer Learning for NLPcited by 4,195
- 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
- 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
- 2017Billion-scale similarity search with GPUscited by 2,477
- 2022BLOOM: A 176B-Parameter Open-Access Multilingual Language Modelcited by 1,968
- 2022Large Language Models Encode Clinical Knowledgecited by 1,807
- 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Modelscited by 1,397
- 2021BitFit: Simple Parameter-efficient Fine-tuning for Transformer-based Masked Language-modelscited by 1,234
- 2021What Makes Good In-Context Examples for GPT-3?cited by 1,184
18 more
- 2018Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Taskcited by 1,120
- 2022Few-Shot Parameter-Efficient Fine-Tuning is Better and Cheaper than In-Context Learningcited by 886
- 2021MetaICL: Learning to Learn In Contextcited by 450
- 2021Parameter-efficient Multi-task Fine-tuning for Transformers via Shared Hypernetworkscited by 278
- 2020ToTTo: A Controlled Table-To-Text Generation Datasetcited by 267
- 2019Simple, Scalable Adaptation for Neural Machine Translationcited by 239
- 2021PTR: Prompt Tuning with Rules for Text Classificationcited by 238
- 2021SPoT: Better Frozen Model Adaptation through Soft Prompt Transfercited by 235
- 2021PPT: Pre-trained Prompt Tuning for Few-shot Learningcited by 232
- 2022UnifiedSKG: Unifying and Multi-Tasking Structured Knowledge Grounding with Text-to-Text Language Modelscited by 231
- 2022Delta Tuning: A Comprehensive Study of Parameter Efficient Methods for Pre-trained Language Modelscited by 179
- 2021Noisy Channel Language Model Prompting for Few-Shot Text Classificationcited by 163
- 2021Meta-learning via Language Model In-context Tuningcited by 163
- 2020MTOP: A Comprehensive Multilingual Task-Oriented Semantic Parsing Benchmarkcited by 156
- 2020DART: Open-Domain Structured Data Record to Text Generationcited by 144
- 2022Overcoming Catastrophic Forgetting in Zero-Shot Cross-Lingual Generationcited by 62
- 2020Logic2Text: High-Fidelity Natural Language Generation from Logical Formscited by 45
- 2022Input-Tuning: Adapting Unfamiliar Inputs to Frozen Pretrained Modelscited by 34
Built on by
Citing papers per year: 2023: 8; 2024: 3.
11 papers.
- 2023Enhancing Conversational Search: Large Language Model-Aided Informative Query Rewritingcited by 69
- 2023AI-Generated Content (AIGC): A Surveycited by 59
- 2023Exploring Effective Factors for Improving Visual In-Context Learningcited by 43
- 2024Scaling Data Diversity for Fine-Tuning Language Models in Human Alignmentcited by 25
- 2023ZO-AdaMU Optimizer: Adapting Perturbation by the Momentum and Uncertainty in Zeroth-order Optimizationcited by 24
- 2023In-Context Demonstration Selection with Cross Entropy Differencecited by 17
- 2023Fine-tune Language Models to Approximate Unbiased In-context Learningcited by 12
- 2023Large Language Models are Miscalibrated In-Context Learnerscited by 12
- 2024SPICA: Retrieving Scenarios for Pluralistic In-Context Alignmentcited by 6
- 2024Context-aware Prompt Tuning: Advancing In-Context Learning with Adversarial Methodscited by 4
- 2023Simulating H.P. Lovecraft horror literature with the ChatGPT large language modelcited by 3
- 2024SPICA: Retrieving Scenarios for Pluralistic In-Context Alignment16 Nov 2024
- 2024Context-aware Prompt Tuning: Advancing In-Context Learning with Adversarial Methods22 Oct 2024
- 2024Scaling Data Diversity for Fine-Tuning Language Models in Human Alignment17 Mar 2024
- 2023ZO-AdaMU Optimizer: Adapting Perturbation by the Momentum and Uncertainty in Zeroth-order Optimization23 Dec 2023
- 2023Large Language Models are Miscalibrated In-Context Learners21 Dec 2023
- 2023Enhancing Conversational Search: Large Language Model-Aided Informative Query Rewriting15 Oct 2023
- 2023Fine-tune Language Models to Approximate Unbiased In-context Learning5 Oct 2023
- 2023In-Context Demonstration Selection with Cross Entropy Difference24 May 2023
- 2023Simulating H.P. Lovecraft horror literature with the ChatGPT large language model5 May 2023
- 2023Exploring Effective Factors for Improving Visual In-Context Learning10 Apr 2023
- 2023AI-Generated Content (AIGC): A Survey26 Mar 2023