What is parameter-efficient fine-tuning (PEFT)?
Parameter-efficient fine-tuning (PEFT) is a family of methods that adapt a pretrained model to a task by training only a small share of its parameters or a few newly added ones instead of the whole model.
It differs from full fine-tuning in how much is trained: full fine-tuning updates every weight, while PEFT trains a limited set. Low-Rank Adaptation is one member; adapter layers, prefix tuning and prompt tuning belong to the family too.
- Topic
- Machine learning, models and training
- Also known as
- PEFT
- Origin
- 2019, adapter layers
How parameter-efficient fine-tuning (PEFT) works
- LoRA adds low-rank matrices to layers that can be merged into the base weights after training, so inference is not slowed; adapter methods insert small networks between layers, adding slight inference overhead.
- Prompt tuning and prefix tuning add trainable virtual token vectors to the input; the model's own weights stay unchanged.
- During training, gradients are computed and applied only to these few trainable parameters.
- Only a small adapter file is saved at the end; adapters for different tasks can share the same base model.
Commonly confused terms
| Term | How it differs |
|---|---|
| RAG | RAG retrieves external, up-to-date facts at query time without changing model parameters; PEFT adapts the model's behaviour, style, schema adherence or task skill inside lightweight trained adapters. They are often combined in enterprise stacks. |
Why parameter-efficient fine-tuning (PEFT) matters for on-premises AI
Smaller optimiser state means training needs far less GPU memory than full fine-tuning; existing in-house hardware is often enough. Each department or task can keep its own adapter, served from one base model through multi-LoRA serving. Adapters are small separate files, so versioning, audit and rollback are easy; their source should still be verified. With base weights frozen, catastrophic forgetting is generally less likely than with full fine-tuning.
A pharmaceutical company adapts a model with an adapter for in-house document classification and tests the adapted version on expert-labelled data.
Common questions
Does PEFT always match full fine-tuning quality?
It comes close on most tasks. When a model must learn a very large amount of new domain knowledge or a deep behaviour change, full fine-tuning can do better.
How do several departments' adapters run on one inference server?
Inference engines that support multi-LoRA serving keep one copy of the base model in GPU memory and apply the relevant small adapter for each request.
Related terms
- Low-Rank Adaptation
- Quantised Low-Rank Adaptation
- Prompt tuning
- Prefix tuning
- Weight-Decomposed Low-Rank Adaptation
- Full fine-tuning
- Model adapter
- Multi-LoRA serving
- Fine-tuning
Sources
- Parameter-Efficient Transfer Learning for NLP, ICML 2019
- LoRA: Low-Rank Adaptation of Large Language Models, 2021
- The Power of Scale for Parameter-Efficient Prompt Tuning, EMNLP 2021
In the glossary: Glossary, M to Q