Engineering

Retrieval beats fine-tuning

Why answering from your own documents should start with retrieval, what it fixes that tuning cannot, and when fine-tuning is the right tool.

16 October 20268 min readKrip Artificial Intelligence Tech

The brief says “train it on our documents”. Follow that instruction and you get a model that can imitate the house style while losing the ability to tell you which policy a sentence came from — and for an institution, the second half is the part that matters.

The distinction that matters

Retrieval fetches the relevant passages when the question is asked, and the model composes an answer from them. Four consequences follow, and each outranks a marginal gain in quality.

Why retrieval is usually the right first move

The last point is the one finance and legal teams care about. A fine-tuned model that has absorbed a superseded policy produces a confident wrong answer with no audit trail. A retrieval system that cannot find the current policy returns “not stated in the provided documents” — a worse-sounding answer and a far safer one.

Fine-tuning earns its place when the task is a behaviour rather than a body of knowledge: enforcing a house style, mapping messy input onto a fixed schema, or teaching a small model to do one narrow job well enough to run cheaply. For “know our rules” it is a poor fit, because rules change and weights do not.

A reasonable first architecture is retrieval over a curated document set, a model instructed to abstain when the passage is absent, and an evaluation set that includes questions the documents cannot answer. Score refusal separately from accuracy. A system that answers everything will invent something the day the corpus is thin.

Diagnose before you swap models

When a retrieval system answers badly, the model is usually doing what it was asked and summarising the passages it received. The passages were wrong. Measure retrieval separately — is the correct passage in the top five — before changing anything expensive.

If it is not there, no model will help. If it is there and the answer is still wrong, the prompt or the chunking is the problem, and both are cheaper than a model change.

The failure that looks like success

Zero refusals on out-of-scope questions is a warning, not a strength. Instruct abstention explicitly, then test it with questions the documents cannot answer.

That test is also the one to ask for in procurement, because it separates a system built for an institution from one built for a launch event.

Versioning

Ask how a superseded policy is prevented from outranking the current one. Versioning and effective dates are unglamorous metadata, and their absence shows up as confident, outdated advice.

Questions this answers

Can we combine both?
Yes, and often should: fine-tune for format and behaviour, retrieve for facts. The important discipline is keeping the two evaluation questions separate.
How many documents do we need?
Fewer than expected, if they are the right ones. Twenty authoritative documents with citations beat two thousand uncurated files.
Where this connects
KRIP GPT
The assistant built on retrieval and citation.
KRIP Nexus
The agent platform that shares the retrieval layer.
The engineering method
How the choice is evaluated on held-out data.

Written by the team at Krip Artificial Intelligence Tech. If something here is wrong, write to info@kripaitech.com.np and it will be corrected with the date noted.

Talk through your case
On this page
Working with KRIP

Engagements start with a written problem definition and an agreed error budget.

Engagement models