Fine-tuning · retrieval · long context · measured 2026
Ten findings from benchmarking three architectures — a QLoRA fine-tune, retrieval, and a 262,000-token whole-corpus prompt — against the same private corpus, on two generations of base model. The fine-tuning score barely moved between generations. Retrieval's went up twelve points.
This is a write-up of a real procurement-shaped question — fine-tune or retrieve? — with the organisation and the product taken out. It was run before the retrieval work written up in its companion sheet, and it is the reason that work exists.
The corpus was a few years of structured instructional material, maintained as nine regional variants of the same core content. That shape matters for every finding below: the variants overlap heavily, so a model can be confidently wrong in a way that looks right, and a careless test split cannot tell the difference.
The three arms, each answering the same held-out questions:
Everything ran twice, once per base model: Qwen2.5-32B for the first stage and Qwen3.6-27B with its 262K window for the second, both open-weights and both served locally on one on-premises GPU machine. The point of the second stage was to find out whether a model generation changes the verdict.
The measure throughout is fact recall: of the checkable facts in the reference answer — week ranges, unit numbers, standards codes, vocabulary — what fraction did the model actually reproduce. Scored only on the region no arm had ever seen.
| Base model | Fine-tuned | Retrieval | Whole-corpus |
|---|---|---|---|
| Qwen2.5-32B · short context | 0.54 | 0.74 | — |
| Qwen3.6-27B · 262K context | 0.56 | 0.86 | 0.63 |
Three things are visible in six numbers. Fine-tuning is a floor and the floor does not move. Retrieval's advantage grows as base models improve, which is the opposite of the intuition that better models need less scaffolding. And dumping everything into a very large context window is not the same thing as retrieving — it scores worse than precise retrieval overall, while beating it on a specific class of question.
0.54 fact recall on the older model, 0.56 on the newer one. A full model generation — and a jump from a short context window to 262,000 tokens — bought the fine-tune two points. Retrieval over the same two models went from 0.74 to 0.86.
The reason is worth being precise about, because "fine-tuning doesn't work" is too strong and gets repeated as if it were the finding. Fine-tuning works fine on things with structure to generalise: tone, format, task framing, the shape of a good answer. What it could not do here is store arbitrary per-instance facts — which week a given unit starts in a given region — because there is no pattern underneath them. There is nothing to learn, only something to memorise, and the training signal for any one of those facts is a handful of examples among 24,000.
What the fine-tune learned instead was the genre. Its answers were correctly shaped, correctly formatted, confident, and populated with plausible specifics drawn from whichever region it had seen most of.
One unit in the held-out region ran weeks 19 to 35. Asked to list the units, the fine-tuned model said weeks 19 to 21. Asked directly about that unit, it said 23 to 27. Both confident, both wrong, both in the same session. Retrieval, reading the file, said 19 to 35.
This turns out to be a useful and nearly free diagnostic. If a model has genuinely stored a fact, asking for it two ways gets the same answer; if it is reconstructing something plausible, the two reconstructions disagree. Self-consistency across phrasings needs no labels, no reference answers, and no judge — which makes it the cheapest confabulation check available on a corpus you have not finished annotating.
On that same question, six of the seven units the fine-tune listed matched the retrieved truth. The regional variants of this corpus share most of their structure, so a model that has memorised eight regions will be right about the ninth most of the time, for free, and wrong without warning on exactly the parts that differ — which are the parts anyone had a reason to ask about.
The practical consequence: on a corpus with near-duplicate variants, hand-checking a few answers mostly samples the overlap. It will feel reassuring and tell you almost nothing. The differences are where the error lives, and they are rare enough that a small sample misses them.
When retrieval missed, the answer was some version of I don't have that information. That is a bad answer and an honest one, and it is recognisable by a caller, loggable, countable, and alertable.
A model answering from its own weights has no equivalent state. There is no internal difference between reciting a fact it absorbed and assembling one that fits the pattern, so there is nothing for it to report. Confidence is uniform across both.
For anything a person will act on without checking, the ability to express an explicit absence is a property of the architecture, not of the prompt. You cannot instruct it in afterwards.
The entire ninth regional variant was reserved and never trained on. Every test question therefore measures generalisation to material the model has genuinely not seen.
A conventional random split would have been actively misleading here, and flatteringly so. With rows held out, most test questions have near-identical neighbours sitting in the training set — the same unit in a different region, often with the same week ranges. The fine-tune would have scored well and the score would have measured proximity to training data rather than generalisation.
The general form: hold out along whatever axis your corpus is duplicated on. If the data has natural near-duplicate groups — regions, tenants, product lines, years, translations — the split has to respect them, or the headline number is measuring the wrong thing in the direction you were hoping for.
This was the finding the study was not looking for. Whole-corpus scored 0.63 overall against retrieval's 0.86, which reads like a straightforward loss until you break it out by what was being asked. Same model, same questions, same held-out region:
| Question type | Fine-tuned | Retrieval | Whole-corpus |
|---|---|---|---|
| List the units, in order | 0.68 | 0.96 | 1.00 |
| What happens in week N | 0.84 | 0.87 | 0.97 |
| What is in this unit | 0.36 | 0.99 | 0.99 |
| Summarise this scope | 0.50 | 0.77 | 0.73 |
| What is the core idea here | 0.35 | 0.99 | 0.87 |
| Which vocabulary belongs here | 0.43 | 0.63 | 0.42 |
| Which standards codes does this cover | 0.35 | 0.85 | 0.20 |
Whole-corpus wins structure. Sequence, ordering, "what comes in week N", "what else is in this unit" — 1.00, 0.97, 0.99. These questions are answerable only if the whole thing is present. Retrieval has to guess which slices matter before it knows what the answer spans, and sometimes guesses short.
Retrieval wins extraction. Standards codes: 0.85 against 0.20. Asking which codes apply to one narrow scope, while a dozen grades' worth of near-identical codes sit in the same prompt, is a needle in a haystack of other needles — and the model loses the thread. Handed only the one correct file, it reads them straight off. Vocabulary shows the same shape more mildly, 0.63 against 0.42.
A 262,000-token window does not make retrieval unnecessary. It changes which failure you get: a big context fails by diluting fine distinctions, a narrow one fails by cutting off the answer's span.
The run also scored a precision-side measure — how often what the model asserted was actually correct, as against how much of the answer it covered — and it separates the two failures cleanly:
| Architecture | Fact recall (coverage) | Precision (what it said was right) |
|---|---|---|
| Fine-tuned | 0.56 | 0.66 |
| Retrieval | 0.86 | 0.82 |
| Whole-corpus | 0.63 | 0.92 |
Whole-corpus has the highest correctness in the study and the second lowest coverage. That combination has one explanation: when it cannot find the needle, it says less rather than inventing. Its failure is silence. Fine-tuning's numbers are low on both sides, which is the worse place to be — it covers less and a third of what it does assert is wrong.
The precision figure is carried over from the original run's scoring, where it was labelled "strict all-correct". It is a correctness measure over what the model stated, not a subset of recall — which is why it can exceed it. I have not re-derived whether its denominator is per fact or per answer, so read it as a direction rather than a decimal.
The two failure modes above are complementary rather than competing, which means you can have both wins: narrow the context by metadata and retrieval to the relevant scope, then give a long-context model that whole narrowed set to reason over, rather than the top few snippets.
Narrow enough that fine distinctions stay findable; broad enough that structural questions have everything they need. That conclusion came out of the per-category table rather than out of anyone's architecture preference, which is the main reason to trust it — nobody set out to test it.
It also implies a design rule that is easy to get wrong: stop reducing the retrieved set once you have the right scope. The reflex of cutting to the top three passages is a defence against small context windows. When the window is large, that reflex is throwing away exactly the structural coverage the large window was bought for.
The part worth copying
The fact-recall scorer went through six corrections, each one found by dumping raw model output and checking it by hand rather than by reading the scoring code. The bugs, in the order they surfaced:
Every one of those errors pushed in the same direction: they understated retrieval. Early versions of the harness had retrieval scoring close to the fine-tune, which is a result that would have been very easy to accept, write up and act on. The conclusion survived the corrections; it would not have survived their absence.
The transferable version has two halves, and the second matters more. First: when a harness and your intuition disagree, dump the raw outputs before believing either one — you cannot find a truncation bug by reading the scorer. Second: check which direction your harness's errors point. A bug that flatters your preferred option gets found quickly, because it offends you. A bug that disparages it gets found never, because it reads as a disappointing but believable result.
Kept, not fixed
In the held-out region, unit week ranges legitimately overlap — a single week can belong to several units at once. That makes the "what happens in week N" category unable to separate the three approaches: several different answers are correct, and the fine-tune's vaguer phrasing scores competitively for reasons that have nothing to do with whether it knows anything.
It is flagged in the results rather than dropped or redefined. Dropping it would have strengthened the conclusion while making the report less true, and the conclusion does not need the help: crediting the fine-tune fully on that category still leaves retrieval winning the aggregate by a wide margin.
A category that cannot distinguish your options is information about your test design, and it belongs in the write-up next to the categories that worked.
The division of labour that came out of this is sharper than "use RAG". Fine-tuning earned a real job — making an assistant sound like it belongs to the organisation it works for, adopting house phrasing, register, the shape of a good answer for the audience. Those have structure to generalise, they are not per-instance facts, and nothing else does them as cheaply.
What it does not get is responsibility for anything checkable. Any fact with a source document behind it is retrieved at answer time, from that document, every time.
That split has a second benefit nobody asked for: when the underlying material is revised, the retrieval half is correct the moment the index is rebuilt, and the fine-tuned half did not encode anything that could go stale.
Stated plainly, because a findings list invites more confidence than the work supports.
The honest answer is that the decision was nearly made on intuition, and intuition had it backwards in two places. It expected the newer, much larger-context base model to narrow retrieval's advantage, and the advantage widened. It expected a 262,000-token window to make retrieval a legacy technique, and the window turned out to be better than retrieval at a specific minority of questions and four times worse at another.
Neither of those is a subtle effect. Both were invisible without a held-out region and a scorer that had been argued with.