Full fine-tuning

Also known as: full-parameter fine-tuning

On this page 7

Full fine-tuning is the adaptation of a pretrained model by updating every one of its parameters with gradient descent on a new, usually smaller dataset. In artificial intelligence training, it is the original and most expressive form of fine-tuning, and it is also called full-parameter fine-tuning.

The method contrasts with parameter-efficient fine-tuning, which freezes most weights and trains a small set of added or selected parameters. Full fine-tuning offers the largest capacity to change model behavior, but it requires memory for gradients and optimizer states of the whole network and produces a complete new copy of the model.

How full fine-tuning updates a pretrained model

Full fine-tuning works by continuing the same training loop used in pretraining, but on task-specific data and usually with a much lower learning rate. Each batch passes forward through the network, a loss function such as cross-entropy measures the error, and backpropagation computes a gradient for every weight, which the optimizer then applies.

Because all layers can move, the model can reshape internal representations, not only its output behavior. This is valuable when the target domain differs strongly from the pretraining data, for example medical notes, legal contracts or a new programming language.

The typical workflow has a small number of well-defined steps:

  1. Load the pretrained checkpoint in a training precision such as BF16.
  2. Prepare task data in the expected format, often prompt and response pairs.
  3. Set conservative hyperparameters, including a low learning rate and warmup.
  4. Train for a few epochs while tracking validation loss.
  5. Evaluate on held-out tasks and on general benchmarks to detect regressions.

Memory, compute and key hyperparameters

The main constraint of full fine-tuning is GPU memory, because training stores far more than the weights. With the Adam optimizer and mixed precision, a common rule of thumb is about 16 bytes per parameter before activations: weights, gradients, an FP32 master copy and two optimizer moments.

The following table shows approximate memory needs for model states only, excluding activations, under that rule of thumb.

Model sizeWeights in BF16Full training states with Adam
1 billion parametersAbout 2 GBAbout 16 GB
7 billion parametersAbout 14 GBAbout 112 GB
13 billion parametersAbout 26 GBAbout 208 GB
70 billion parametersAbout 140 GBAbout 1.1 TB
Approximate training memory for model states

Techniques such as sharded data parallelism (for example ZeRO or FSDP), gradient checkpointing and 8-bit optimizers reduce the per-device footprint, but they do not reduce the total work. Hyperparameters also matter more than in pretraining, because a small dataset magnifies mistakes.

HyperparameterTypical rangeEffect if set badly
Learning rate1e-6 to 5e-5 for large modelsToo high causes forgetting or divergence
Epochs1 to 5Too many leads to overfitting
Warmup1 to 10 percent of stepsToo short causes early loss spikes
Weight decay0 to 0.1Too high limits adaptation
Effective batch sizeTens to hundreds of sequencesToo small makes training noisy
Key hyperparameters and typical ranges

Full fine-tuning compared with parameter-efficient methods

Full fine-tuning differs from methods such as LoRA, QLoRA and adapter tuning in how many parameters change. Parameter-efficient methods typically train well under 1 percent of the parameters and often match full fine-tuning on narrow tasks, while full fine-tuning tends to keep an edge when the task needs large amounts of new knowledge or deep behavioral change.

MethodTrainable parametersMemory needOutput artifact
Full fine-tuningAllHighestComplete model copy
LoRALow-rank matrices onlyModerateSmall adapter file
QLoRALow-rank matrices on 4-bit baseLowSmall adapter file
Prompt tuningSoft prompt vectorsLowestTiny embedding file
Continued pretrainingAll, on raw textHighestComplete model copy
Comparison of adaptation methods

Full fine-tuning is a technique, not a training goal. Supervised fine-tuning, instruction tuning and preference methods such as DPO can each be run as full fine-tuning or with a parameter-efficient method, depending on budget and the size of the change required.

When to choose full fine-tuning

Full fine-tuning is the right choice when quality matters more than cost and the team has enough hardware, data and evaluation capacity. It is usually unnecessary when the goal is only a new output format or tone, which prompting or LoRA can achieve far more cheaply.

SituationRecommended approachReason
New domain languageFull fine-tuning or continued pretrainingRepresentations must change deeply
Small model under 3BFull fine-tuningCost is modest and gains are larger
Many customer variantsLoRA adaptersOne base model serves all variants
Single consumer GPUQLoRAFull training states do not fit
Format or style onlyPrompting or LoRALittle new knowledge is needed
Decision guide

Risks and common mistakes

The best-known risk is catastrophic forgetting, where the model improves on the new task but loses general skills or safety behavior learned earlier. Mixing in a share of general or original data and keeping the learning rate low are the standard defenses.

  • Overfitting small datasets, visible as falling training loss and rising validation loss.
  • Skipping baseline evaluation, so regressions on general benchmarks go unnoticed.
  • Storing many full copies, which multiplies storage and serving costs.
  • Weakening safety tuning, since even benign data can erode refusal behavior.

A further operational issue is deployment cost after training. Each fully fine-tuned variant must be loaded as a separate model, so serving ten specialized versions of a large model needs ten times the accelerator memory. Teams that need many variants therefore often fine-tune fully once for the domain and then add lightweight adapters for individual customers or tasks, combining deep adaptation with economical serving.

Put simply

A pretrained model already knows a great deal. Full fine-tuning teaches it a new specialty by adjusting every part of it, not just a few settings. It is like retraining a skilled doctor for a new field by revising everything they know, instead of handing them a short checklist.

The result can be excellent, but it is expensive. It needs powerful hardware, careful testing and a full new copy of the model. Lighter methods are often good enough for smaller changes.

In practice

A hospital research group wants a 7-billion-parameter language model that summarizes radiology reports in its own house style and terminology. Earlier tests with LoRA handled the format well but still missed rare findings, so the team chooses full fine-tuning on about 80,000 de-identified report and summary pairs.

Training runs on eight data-center GPUs with sharded optimizer states, a learning rate of 1e-5, three epochs and 5 percent warmup. The team mixes in 10 percent general instruction data to limit forgetting. After evaluation by radiologists, the fully fine-tuned model reduces missed findings noticeably compared with the LoRA version, and the team accepts the higher training and storage cost for this single, high-value deployment.