Full fine-tuning updates every parameter of a pretrained model. LoRA and PEFT freeze the base and train small low-rank adapter matrices, a small fraction of the model's parameter count, injected into attention and MLP layers.

Full fine-tuning versus LoRA adapters

Fine-tuning (full vs LoRA / PEFT)Diagram with these labels, in reading order: Fine-tune on; Produces; Pretrained Model; Full Fine-tuning; (Train all params); LoRA/PEFT; (Train small matrices); Task-Specific Examples; Updated Model; (Full or Adapter).Fine-tune onFine-tune onProducesProducesPretrained ModelFull Fine-tuning(Train all params)LoRA/PEFT(Train small matrices)Task-Specific ExamplesUpdated Model(Full or Adapter)
Fine-tuning methods comparison

Full fine-tuning adjusts every parameter of the pretrained model, which can number in the billions. You manage optimizer state for each weight, need multiple GPUs, and keep a full checkpoint per model version.

LoRA (Low-Rank Adaptation) learns two small low-rank matrices that are added to the frozen weights, in layers such as attention or MLP. You store only the adapter. Its size depends on the rank and the layers you adapt, and is often tens to a few hundred megabytes, where a 7B model in 16-bit precision is about 14GB. Tools such as Hugging Face peft and axolotl handle the training.

MethodWhat is trainedArtifact per task
FullAll parametersA full checkpoint
LoRA / PEFTSmall low-rank adapters on a frozen baseAn adapter of tens to a few hundred MB
QLoRALoRA adapters on a base quantized to 4-bitAn adapter

QLoRA and 4-bit memory

QLoRA quantizes the frozen base weights to 4-bit precision, which cuts memory sharply. The QLoRA paper fine-tuned a 65 billion parameter model on a single 48GB GPU. The adapters train as in LoRA, so the cost of adapting a large model drops.

Catastrophic forgetting and swapping adapters

Full fine-tuning rewrites the weights broadly, and it can overwrite representations that served earlier tasks. This is catastrophic forgetting. LoRA keeps the base intact and adjusts small components, so it usually keeps more of the model's general knowledge. Full fine-tuning also needs far more compute and memory, and leaves one large artifact per task.

Think of full fine-tuning as forking a library and rewriting it. LoRA works like a plugin or patch layer loaded at runtime: the base stays untouched and you swap adapters per customer. This makes LoRA a good fit for multi-tenant setups, with many narrow tasks served from a shared base at near-parity quality. The analogy has a limit. A software patch may touch a few lines, while a small adapter can shift model behavior in far-reaching ways.

Choosing LoRA or full fine-tuning

  • Use LoRA or QLoRA for style, format, domain jargon and multi-tenant customization. It is the default for most applications.
  • Use full fine-tuning for deep behavioral changes, such as a new modality or continued pretraining, when you have the budget.
Catastrophic forgetting Full fine-tuning can lose generalization, especially when the new task diverges far from the original training data.

Example scenario: identical runs, different accuracy

Suppose two fine-tuning runs on the same dataset with the same hyperparameters score 75% and 85%. Learning rate instability, random seed variation or data shuffling can change convergence and lead to overfitting or underfitting.

Fine-tuning (full vs LoRA / PEFT)Diagram with these labels, in reading order: Fine-tuning method; Full fine-tuning; LoRA/PEFT; Check overfitting; Check training data; quality; Adjust learning rate.Fine-tuning methodFull fine-tuningLoRA/PEFTCheck overfittingCheck training dataqualityAdjust learning rate
Debugging fine-tuning failures
  • Check the learning rate for stability, too high or too low.
  • Verify the batch size and its effect on convergence.
  • Count the epochs to find overfitting or underfitting.

Set a fixed random seed and a consistent learning rate for reproducibility. That may mean tuning batch size and weight decay. Watch validation accuracy closely after each change.

Back to the knowledge baseRequest an assessment