PEFT: unpack the acronym and the core problem it tackles.
Same topic, related formats. Practice these next.
Same topic, related formats. Practice these next.
PEFT freezes the base model and trains a tiny extra parameter set (often under 1% of weights) so one base can host many cheap task adapters.
Imagine a giant cookbook the chef has already memorised. Teaching that chef a brand-new cuisine the old way means rewriting every page, expensive, slow, and the cookbook gets enormous. PEFT does something cleverer. It leaves the cookbook untouched and clips a slim recipe card to a few key pages. The card is small, fast to write, and easy to swap. One chef can carry dozens of cards, one per cuisine, and pull the right one when needed. The cookbook (the frozen base model) never changes; the recipe cards (the tiny trainable adapters) carry the new behaviour. You get a per-task speciality without copying the whole book each time.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example.
Everything important, quickly.
6 min: PEFT acronym + the full fine-tune pain it solves + the three method families + LoRA mechanics + multi-adapter serving + when full fine-tuning still wins.
| Aspect | Full fine-tuning | PEFT (LoRA-style) |
|---|---|---|
| Trainable parameters | 100% of weights | Often under 1% |
| Optimizer memory | Roughly 3x model size | Roughly 3x the tiny delta |
| Checkpoint size per task | Full model copy | A few megabytes |
| Multi-task serving | One model per task in memory | One base hosts many adapters |
| Quality ceiling | Highest | Slightly lower, often within 1-2 points |
Real products, models, and research that use this idea.
What an interviewer would ask next. Try answering before peeking at the approach.
Red flags and common mistakes that signal junior thinking. Click to expand.
Treating PEFT as a single algorithm. PEFT is an umbrella covering LoRA, adapters, prefix tuning, prompt tuning, and BitFit, each with different placement, memory, and quality trade-offs.
The night-before-the-interview bullets. Scan these on the way to the call.
Primary sources. Skim if you want the original framing.