paper-with-me

Papers

When Do Prompting and Prefix-Tuning Work? A Theory of Capabilities and Limitations

2023-10-30 · Aleksandar Petrov, Philip H. S. Torr, Adel Bibi

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.

📄 PDF Abstract BibTeX arXiv:2310.19698

Code (1)

aleksandarpetrov/prefix-tuning-theory 공식 구현 pytorch

Tasks

In-Context Learning

Similar Papers 제목 키워드 기반

Prompting a Pretrained Transformer Can Be a Universal Approximator

2024-02-22 · Aleksandar Petrov, Philip H. S. Torr, Adel Bibi

Despite the widespread adoption of prompting, prompt tuning and prefix-tuning of transformer models, our theoretical understanding of these fine-tuning methods remains limited. A key question is whether one can arbitrari…

Understanding Prompt Tuning and In-Context Learning via Meta-Learning

2025-05-22 · Tim Genewein, Kevin Wenliang Li, Jordi Grau-Moya, Anian Ruoss 외

Prompting is one of the main ways to adapt a pretrained model to target tasks. Besides manually constructing prompts, many prompt optimization methods have been proposed in the literature. Method development is mainly em…

In-Context LearningMeta-Learning

Speech Prefix-Tuning with RNNT Loss for Improving LLM Predictions

2024-06-20 · Murali Karthick Baskar, Andrew Rosenberg, Bhuvana Ramabhadran, Neeraj Gaur 외

In this paper, we focus on addressing the constraints faced when applying LLMs to ASR. Recent works utilize prefixLM-type models, which directly apply speech as a prefix to LLMs for ASR. We have found that optimizing spe…

Prefix-Tuning: Optimizing Continuous Prompts for Generation

2021-01-01 · ACL 2021 5 · Xiang Lisa Li, Percy Liang

Fine-tuning is the de facto way to leverage large pretrained language models to perform downstream tasks. However, it modifies all the language model parameters and therefore necessitates storing a full copy for each tas…

Language ModelingLanguage ModellingTable-to-Text GenerationText Generation

Discourse-Aware Soft Prompting for Text Generation

2021-12-10 · Marjan Ghazvininejad, Vladimir Karpukhin, Vera Gor, Asli Celikyilmaz

Current efficient fine-tuning methods (e.g., adapters, prefix-tuning, etc.) have optimized conditional text generation via training a small set of extra parameters of the neural language model, while freezing the rest fo…

BlockingConditional Text GenerationLanguage ModelingLanguage Modelling+1