Fine-tuning or RAG? Start with the failure
Retrieval adds knowledge. Fine-tuning changes behavior. Most teams reach for the wrong one because they diagnosed the symptom, not the failure.
“Should we fine-tune or use RAG?” is usually asked as a binary. It is not. The useful question is what the model is failing to do. A missing fact, a wrong format, and a slow response are three different problems, and two of them are not solved by the same tool.
| Failure | First move |
|---|---|
| Missing or stale knowledge | Retrieve; update the index. |
| Wrong format, tone, or tool use | Prompt and constrain; fine-tune if that is not enough. |
| Needs citations | Retrieve; require a source for each claim. |
| Too slow or too expensive | Distill or fine-tune a smaller model; cut retrieval latency. |
| Reasoning | Better decomposition, tools, and data — fine-tuning may not add reasoning. |
| Domain vocabulary | Retrieve examples or fine-tune; measure both. |
What retrieval cannot do
RAG changes the context, not the model. It cannot make a model follow a strict JSON schema more reliably, refuse in the right tone, or use a tool in the right order. It also inherits every retrieval failure: if the passage is not found, chunked badly, or ranked below the cutoff, the model never sees it. Citations are only as good as the retrieved spans, and a long context can still lose the middle.
The advantage is freshness and auditability. Updating an index takes minutes; retraining takes hours or days. A retrieved answer can point at its source. For knowledge that changes, that is usually the right trade.
What fine-tuning cannot do
Fine-tuning is good at behavior: format, style, tool-calling patterns, refusal policy, domain jargon, and narrow transformations. It is unreliable as a knowledge store. A model trained on facts can reproduce them confidently and incorrectly, cannot cite a source it was not given, and goes stale the moment the facts change. LoRA and QLoRA make the training cheap; they do not make the knowledge fresh.
Fine-tuning also needs data that looks like the task at inference time. A few hundred clean examples can outperform thousands of noisy ones for a narrow format. But the eval set has to stay out of training, and the base model has to be good enough to adapt; fine-tuning a model that cannot do the task at all is mostly a way to spend money.
The stack is usually both
A practical system often uses retrieval for facts and a small fine-tuned model or adapter for the interaction contract: the output schema, the refusal rules, the tool-call format, the house style. That split lets you update knowledge without retraining and change behavior without rebuilding the index. Evaluate them separately: retrieval recall for the first, format/behavior accuracy for the second, and end-to-end task success for the combination.
There is also a cheaper middle: prompt engineering, constrained decoding, and a reranker. Before fine-tuning, check whether the failure is a missing constraint that a schema or a validator can enforce. Before adding retrieval, check whether the model already has the fact and is being asked badly.1
If the model has the knowledge but uses the wrong form, fine-tune. If it has the form but not the knowledge, retrieve. If it has neither, the product is not ready for either technique.
- A retrieval index updates in minutes; a fine-tune can take hours and a new evaluation cycle. That asymmetry is often the deciding factor for fast-moving knowledge. ↩