Parameter Efficiency Showdown: Prompt vs. Prefix Tuning

Prompt Tuning generally exhibits higher parameter efficiency by updating only the input embeddings, while Prefix Tuning, by adding parameters across multiple layers, introduces a larger (though still minimal) number of trainable parameters compared to Prompt Tuning [1, 2, 5, 11].

The top 3

  1. Prefix Tuning's Edge: Approaching Full Fine-Tuning Performance: Prefix Tuning, by injecting learnable vectors into key and value states across all transformer layers, often achieves performance closer to full fine-tuning, especially for complex generative tasks and smaller models, surpassing basic Prompt Tuning in these scenarios.
  2. Prompt Tuning: The Most Parameter-Efficient PEFT Method: Prompt Tuning typically requires updating the fewest parameters among PEFT methods, often tuning only thousands of parameters by prepending learned continuous vectors to the input embeddings, dramatically reducing storage and computational costs compared to a full LLM's billions of weights.
  3. When to Choose Which: Task Complexity and Model Scale: Prompt Tuning is highly effective with extremely large models (over 10 billion parameters) for simpler NLU tasks, often matching full fine-tuning performance at scale. Prefix Tuning is generally favored for more complex generative tasks, low-resource settings, or when deeper, layer-wise model adaptation is required for better stability and performance.

Sources

Open the full topic