atlas

Research map / Architectures and efficiency / Pruning and efficient tuning

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

ICLR 2024 · Architectures and efficiency › Pruning and efficient tuning · approach: Parameter-efficient transfer analysis · 4 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Theoretically and empirically shows that prefix-tuning and soft prompting are more expressive than prompting but cannot change relative attention patterns, so they can elicit or combine pretrained skills but not learn entirely new attention-dependent tasks.

Problem

Lack of theoretical understanding of how context-based fine-tuning methods (prompting, in-context learning, soft prompting, prefix-tuning) change a transformer's internal computation and what their expressiveness limits are compared with full fine-tuning.

Approach

Formalizes prompting, soft prompting and prefix-tuning in a transformer framework and proves that a prefix only rescales attention over content tokens and adds a constant-direction bias to attention outputs, so it cannot change attention patterns; supports this with constructions and small-transformer experiments.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Tune a prefix of size 1 on descending sorting instead of full fine-tuningTransformer pretrained on ascending sorting · Sorting descendingaccuracy: 85$\pm$5% -> 0$\pm$0%Hurt
Tune a prefix of size 1 to elicit a task already present in pretraining1-layer, 4-head transformer pretrained on ascending, descending, +1, and +2 · Ascending, descending, +1, and +2 tasksaccuracy: 25$\pm$13% -> 95$\pm$ 2%; 25$\pm$12% -> 90$\pm$ 3%; 24$\pm$11% -> 95$\pm$ 6%; 22$\pm$7% -> 98$\pm$5%Helped
Tune a prefix of size 12 to combine ascending sorting and +1 skills40-layer, 4-head transformer pretrained on four tasks · Novel ascending-sort then +1 taskaccuracy: 0% -> 93%Helped
Tune a prefix of size 12 on a task requiring new skills40-layer, 4-head transformer pretrained on four tasks · Double histogram taskaccuracy: 0% -> 1%No clear effect
Use rank-1 LoRA on MLPs instead of a same-parameter-count prefix4-layer, 4-head transformer pretrained on four tasks · Double histogram taskaccuracy: 0% -> 92%Helped

Surprising findings

Limitations

Experimental setup

Datasets: DART Emotion

Benchmarks: sorting (ascending/descending) add-one and add-two toy tasks double histogram task

Metrics: accuracy attention distribution

Baselines: full fine-tuning LoRA

Builds on: prefix-tuning prompt tuning LoRA Transformer

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy