The default answer
For almost any compliance-bound AI workload, the answer is RAG. We say this not because RAG is fashionable, but because the data lifecycle obligations in regulated industries push you toward keeping data out of the model.
Fine-tuning encodes the training data into the weights. Whatever you train on — patient notes, contract clauses, internal investigation memos — becomes a property of the resulting model. A right-to-deletion request, a contract termination requiring data return, or a discovery of training data that should not have been used means retraining the model. That is expensive, slow, and often impossible to verify.
RAG keeps the data in an index you control. Deletion is a delete query. Updates are reindexing. Audit logs of which chunks were retrieved for which query are first-class artifacts. None of that exists in a fine-tuned model.
Where fine-tuning wins
Fine-tuning is the right tool when:
- The task is stylistic. You need outputs in a very specific format — a particular section structure, vocabulary, or tone — that prompting cannot reliably enforce.
- The base model is consistently failing on a narrow pattern. You have evidence from evaluation that the model gets a specific class of inputs wrong, and prompt engineering has not closed the gap.
- The data is non-sensitive and stable. Public-domain text, your own marketing voice, deterministic patterns that do not change quarterly.
- Latency or token budget is binding. Fine-tuned models can be smaller, faster, and cheaper at inference if the use case is narrow enough to justify the upfront cost.
Notice that none of these are about the model "not knowing things." If you find yourself wanting to fine-tune so the model "knows" something, the answer is RAG.
Where RAG wins
RAG is the right tool when:
- The model needs to reason over a corpus you control, where the corpus changes.
- Audit and source attribution are required. Every answer must cite the source documents.
- The data lifecycle is sensitive — you need to add, remove, or update specific records without retraining.
- Tenant isolation matters. Different customers, matters, or patient populations need separate retrieval scopes.
- You want to change models later. RAG is model-agnostic; the index does not care which LLM you query against.
The hybrid case
Some workloads use both: a fine-tuned model for output structure and tone, with RAG for the factual grounding. This is rare, expensive, and usually unnecessary. We have done it once where the firm's house style was specific enough that prompting could not enforce it consistently. Both pieces required ongoing maintenance.
If you are reaching for hybrid, make sure RAG alone has been genuinely tuned first. Most retrieval-quality problems can be solved with better chunking, better embedding models, and better re-ranking — not by adding fine-tuning into the mix.
What "tuned RAG" looks like
When we say RAG should be exhausted before fine-tuning, here is what tuning RAG means in practice:
- Chunk boundaries. Sentence-aware, paragraph-aware, or semantic chunking. Fixed-size chunks at character boundaries are a starting point, not an endpoint.
- Embedding model selection. Domain-specific embeddings (clinical, legal) often outperform general-purpose ones. The decision is also tied to BAA / privacy posture.
- Hybrid retrieval. Vector search plus BM25, with reciprocal rank fusion. Pure vector search misses exact-phrase matches.
- Re-ranking. A cross-encoder re-ranker on the top 50–100 candidates lifts precision dramatically.
- Filtering. Metadata filters (tenant, document type, recency) before retrieval, not after.
- Citation enforcement. The prompt requires citations; the orchestrator rejects outputs without them.
- Evaluation harness. Held-out queries with known correct sources. You measure retrieval quality (recall@k) separately from generation quality.
If you have not done these and you are reaching for fine-tuning, you are probably solving the wrong problem.
A practical decision tree
Does the workload involve sensitive or changing data?
├─ Yes → RAG. Stop here unless you have specific evidence it is insufficient.
└─ No → Does the model produce wrong content, or wrong-format content?
├─ Wrong content → RAG. The model needs grounding, not adaptation.
└─ Wrong format → Has prompting failed?
├─ Yes → Consider fine-tuning.
└─ No → Better prompts first.
Engagement starting point
If you are weighing fine-tuning for a compliance use case, the first conversation is usually about whether RAG has actually been tuned, or whether you are looking at unbaseline RAG and concluding it does not work. We have those conversations regularly. They take an hour and save weeks of misdirected work.