Skip to content
AIDownload

Explainer · Updated November 28, 2026 · 3 minute read

What is fine-tuning?

The short answer

Fine-tuning is further training of an AI model that has already been trained, using a smaller set of examples chosen for one purpose. The result is a new version of the model that handles a particular task or writing style more reliably than the original, at a small fraction of the cost of building a model from scratch.

How fine-tuning works

A large model starts with general training on a huge amount of text, images or other data. That first stage, often called pretraining, gives it broad knowledge and language ability. Fine-tuning is a second, much shorter round.

The examples usually come as pairs, an input and the output the model should produce for it. A company might collect a few thousand customer questions with good answers written by its staff. Training on those pairs adjusts the model's internal settings, called weights, so that its answers move closer to the examples.

What fine-tuning is used for

Teams usually fine-tune when instructions in a prompt do not produce consistent behavior.

  • A support team wants every reply written in the same house style.
  • An application needs output in a strict format that the model sometimes gets wrong.
  • A hospital or law firm needs a model that handles the specialist vocabulary of its field.
  • A developer wants a small, inexpensive model to do one narrow job as well as a larger one does.

How it compares with prompting and RAG

A well-written prompt with a few examples is cheaper to try and easier to change, so most teams test that first.

Fine-tuning shapes how a model responds, and it is a poor way to supply facts. A model does not reliably recall details from its fine-tuning examples, and every update means another round of training. To answer from current or private documents, the usual choice is retrieval-augmented generation (RAG), which looks up relevant passages when a question arrives and hands them to the model.

Limits and risks

A fine-tuned model reflects the quality of its examples. Too few of them, or examples that are all alike, can leave the model worse at anything outside that narrow set. Further training can also weaken safety behavior the original developer built in, even when the examples are harmless, which is one reason a fine-tuning service may test the resulting model before allowing it to be used.

A fine-tuned model is also tied to its base model, so moving to a newer one means repeating the work.

Common questions

Is fine-tuning the same as training?

Fine-tuning is a kind of training, but it starts from a finished model and uses far less data and computing time. Training from scratch starts from random weights.

How much data does fine-tuning need?

There is no fixed number. A change of style or format can show results with a few dozen good examples, while a harder skill takes many more.

Can anyone fine-tune a model?

Yes, in principle. Several AI companies offer fine-tuning of some of their models as a service, and models with openly released weights can be fine-tuned on your own hardware.

Written and reviewed by AI DownloadHow we write and review explainers

Fine-tuning in the news

Research · Nov 23 · arXiv cs.AI + cs.CL

Weight-Space Programming Writes In-Context Learning and Matches Fine-Tuning in Language Models

Researchers show that a frontier language model can rewrite a weaker model's weights, with no gradient descent, so the weaker model performs a task with an empty prompt. Across six tasks, four editors and three model families, the edits often capture the in-context learning task vector, sometimes in sparse MLP units tied to prompt format, and match the accuracy of ICL and fine-tuning (LoRA included) while usually leaving perplexity intact, though they are less robust to rewording.

Why it matters. It suggests models can "program" other models directly in weight space, offering a gradient-free alternative to fine-tuning and a new window into how in-context learning is represented.

Research · Oct 26 · arXiv cs.AI + cs.CL

LazyFlash: Forward-Dense, Backward-Sparse Attention for Accelerated Long-Context Fine-Tuning

LazyFlash is a long-context fine-tuning method that keeps the attention forward pass fully dense but makes the backward pass sparse. It ranks query blocks by their attention-output gradient norms and skips those that barely affect parameter updates, so the resulting model stays a standard dense model that serving systems like vLLM can run unchanged.

Why it matters. Since backward passes dominate attention training cost, sparsifying only that step could deliver real wall-clock speedups for long-context fine-tuning without changing how models are deployed.

Research · Sep 10 · arXiv cs.AI + cs.CL

Arbitrary Cipher Attacks Against Large Language Models Do Not Require Fine-Tuning

Researchers show that frontier LLMs can be taught to communicate through arbitrary ciphers using only prompting and in-context learning, no fine-tuning required. This cipher-based communication significantly weakens or fully bypasses model alignment, enabling jailbreaks without any API-level model modification.

Why it matters. It raises the bar for AI safety teams, since cipher-based jailbreaks are now accessible to anyone who can write a prompt, not just those with fine-tuning access.

Keep reading

Follow the news behind these terms

The digest covers what happens in AI each day, with terms linked to these explanations.