PEFT (Parameter-Efficient Fine-Tuning)
Overview
PEFT is a family of fine-tuning methods where only a small portion of the model parameters are changed. Instead of training billions of weights, thousands or millions are trained.
Why is it Needed
Full fine-tuning changes all model weights and requires server GPUs. PEFT solves this problem: the base model is 'frozen', and training only affects a small additional module. The result is fine-tuning on a regular PC.
How it Works
- The base model does not change (weights are frozen).
- A small trainable module is created alongside.
- Training affects only this module (0.1–1% of parameters).
- The result is a compact adapter file of tens of megabytes instead of gigabytes.
Main PEFT Methods
- LoRA — low-rank matrix adapters.
- QLoRA — LoRA on top of a quantized base model.
- Prefix Tuning, Adapters, Prompt Tuning — other approaches of the same family.