Inside the Machine
Fine-tune, Retrieve or Prompt: The Decision With Real Criteria
Fine-tuning teaches form, retrieval supplies facts, prompting does both badly but instantly. The expensive mistakes here are category errors.
The rule that survives contact with production: fine-tuning changes form, retrieval supplies facts, prompting does both badly and immediately. The costly mistakes in this decision are category errors — fine-tuning a model so it will know things, or building a retrieval pipeline to fix a tone problem. Both burn months.
What a fine-tune actually changes
Parameter-efficient tuning (LoRA and its quantised variants) freezes the base weights and trains small low-rank adapter matrices, typically well under one percent of the parameter count, at ranks commonly between 8 and 64. That is why it is cheap, and also why it is weak at implanting facts: you are nudging an output distribution, not rewriting knowledge. Push hard enough to force facts in and you get catastrophic forgetting — the model gets better on your 800 examples and worse at everything else, including things you never tested.
Under 1% of weights
what a LoRA adapter trains — which is exactly why it moves style cheaply and facts badly
- A rigid output format that prompting hits almost always and you need it to hit essentially always.
- A voice or house style that takes two thousand tokens of instruction to describe. Moving it into weights deletes those tokens from every call forever.
- Narrow classification or extraction where a small tuned model matches a frontier model at a fraction of the latency and cost, at volume.
- A latency floor a large general model cannot meet, where a small tuned model answers in a fraction of the time.
Data quality beats data quantity, by a wide margin
A few hundred to a few thousand carefully curated examples routinely outperform tens of thousands of scraped ones. The mechanism is unglamorous: the model imitates what you show it, including inconsistent formats, hedged phrasing and the one example where someone was in a hurry. One bad example in a hundred is a one-percent instruction to behave badly, and it shows up as exactly that. Deduplicate, normalize the format, fix or delete anything you would not want copied, and hold back a test split you never train on.
Where retrieval is the only correct answer
- Facts that change. Weights are a snapshot; a document store is current.
- Citations. A fine-tune cannot tell you where it learned something; retrieval hands you the passage.
- Per-user or per-role access control. Weights have no permissions model — anything trained in is readable by everyone who can query the model. That is a governance fact, not a tuning detail, and it has ended more than one enterprise pilot.
- Corpora larger than any context window, where selection is the whole job.
- Deletion. When a customer asks you to remove their data, a row leaves an index. Removing it from a fine-tune means retraining.
The ladder, and the fourth rung
- 1. Prompt with worked exampleshours — and it is more often sufficient than people expect
- 2. Add retrievaldays — once the missing ingredient is clearly facts
- 3. Distil, then fine-tuneweeks — only when evals prove step 2 is maxed out
Distillation is the rung most teams skip and should not. Run the expensive frontier model over your real traffic, keep only the outputs you have verified, and fine-tune a small cheap model on that set. You get most of the quality at a fraction of the inference cost and latency, with the data-curation problem largely solved for you. Two limits are real: the student is bounded by the teacher's quality on your task, and vendor terms differ on training models from their outputs — read the one you are using rather than assuming.
Key takeaways
This is one lesson of 541.
The whole Foundation is free — 16 subjects, beginner to advanced. Sign in to track what you have read, take the end-of-module quizzes, and use the terminal.