Model or harness?

With the document holding the answer removed, gpt-4o-mini in a modern harness gave fewer wrong answers than gpt-6.1-terra in a 2023-style one. The modern harness pays for it by saying "I don't know" to questions the model knows.

A fractured carved-marble core reveals a large chip, while a stone framework guides thin slabs toward its interior

Context

When a retrieval system gives wrong answers, the usual fix is a newer model. I wanted to know whether that is the bigger lever, or whether the harness is: the prompt, the retrieval and the rules around the model. My starting hypothesis was that the model matters more.

I tested it in four phases. Before each one I wrote down the hypotheses, the metrics and the decision rules, and froze them with the prompts and the code before any accuracy data existed.

Method

Two models and two harnesses make a 2x2. The old model is gpt-4o-mini-2024-07-18, the oldest OpenAI snapshot still served. The new one is gpt-6.1-terra with reasoning effort set to none. Both run at temperature 0 with at most 512 output tokens. gpt-4o-mini is stronger than any real 2023 model, so if anything the model effect is understated.

The old harness copies a 2023 LangChain prompt word for word. It embeds the question, pastes the top four documents into one message and makes one call, with no tools. Among its instructions is the line "If you don't know the answer, just say that you don't know, don't try to make up an answer".

The modern harness gives the model four tools, search, read, answer and abstain, with identical schemas for both models. Search combines BM25 and embeddings, reranks the top 20 and returns five snippets. The model gets at most four tool turns and has to cite a quote from a document it was shown. Code checks the quote. If the check fails the model gets one repair message, and if that fails too the harness abstains. Every abstention, whatever the cause, reaches the grader as "I don't know.".

An AI judge graded every answer as correct, incorrect or abstain. It saw the question, the reference and the answer with citations stripped, and never knew the model or the harness. It was checked only against AI labels, with no human labels at any point.

Phase 1 ran the 2x2 with the document present. It used 190 HaluEval questions and 160 machine-written questions from arXiv abstracts submitted after both models' training cutoffs, plus 120 TruthfulQA questions as a side check.

Phase 2 stressed the setup on 200 paired questions, 100 from HaluEval and 100 from arXiv. The NO_GOLD condition removed the document holding the answer from the corpus. CONFLICT added a copy of that document with the answer swapped for a wrong one of the same shape, and FORCED took away the option to abstain. A question was admitted only if its answer appears verbatim in its own document and in no other document of the corpus, so removing that document removes the answer.

Phase 3 repeated the key comparisons on 130 HaluEval questions that no model had seen in the earlier phases. It had five confirmatory tests with Holm correction, which adjusts p-values for running several tests at once. It also split U, the share of questions answered without the document, into right and wrong answers. F is the wrong part.

Phase 4 asked the same 130 questions closed-book: the bare question, no system prompt, no documents, 64 output tokens.

Results

Phase 1 found no winner. Hallucination was already rare in every retrieval cell, between 1.1% and 4.4%. On HaluEval, the old model in the modern harness against the new model in the old harness differed by -0.5 points (95% interval -3.2 to +2.1). On the arXiv questions the difference was -1.2 points (-5.0 to +2.5). Both intervals cross zero, so the preregistered rule returned NO_CLEAR_WINNER and my hypothesis stayed undecided. The phase 1 closed-book check already showed something: on HaluEval, with no context, gpt-4o-mini answered 58.9% right and gpt-6.1-terra 74.7%.

Phase 2 moved things. In NO_GOLD any specific answer counted as a hallucination, even a right one, because the question was whether the system answers without support.

CellDocument presentNO_GOLD
gpt-4o-mini, old harness0.5%16.0%
gpt-6.1-terra, old harness0.5%37.0%
gpt-4o-mini, modern harness1.0%3.5%
gpt-6.1-terra, modern harness1.0%0.5%

The harness effect grew by 25.0 points (20.2 to 29.8), so H1a was supported. H1b claimed that the new model holds up in the old harness, and it broke. gpt-6.1-terra in the old harness rose by 36.5 points (30.0 to 43.5), well past the 10-point margin I had set as the smallest change I'd call practical. Most of that came from HaluEval: there the harness effect without the document was 42.0 points, against 8.0 on the arXiv questions.

With a conflicting document the picture changed. H1a was undecided (-2.2 points, -4.5 to 0.0) and the new model held up in the old harness (+1.5, -0.5 to +3.5). Here the model was the bigger lever, by 4.5 points (1.5 to 8.0). H2b, that gpt-6.1-terra in the modern harness is safe and useful, was supported with 98.5% right answers with the document and 0.5% hallucination without it. H2a, that gpt-4o-mini stays safe in the modern harness mainly by abstaining, also came out supported (+7.5 points, 4.0 to 11.5). I had formed H2a after looking at phase 1 data, so it needed a replication.

Phase 3 on the 130 new questions, with 130 trials per cell:

CellRight, document presentAnswered without the document (U)Answered wrong without it (F)
gpt-4o-mini, old harness80.8% (73.2–86.6)20.0% (14.0–27.7)6.2% (3.2–11.7)
gpt-6.1-terra, old harness90.8% (84.6–94.6)66.2% (57.7–73.7)22.3% (16.0–30.2)
gpt-4o-mini, modern harness79.2% (71.5–85.3)0.8% (0.1–4.2)0.8% (0.1–4.2)
gpt-6.1-terra, modern harness90.8% (84.6–94.6)0.0% (0.0–2.9)0.0% (0.0–2.9)

Intervals are Wilson 95%.

Four of the five tests were supported, each with a Holm-adjusted p of 0.0005. C1 replicated H1a on U, with a harness effect of 38.8 points (32.3 to 45.4). C2 replicated the H1b break: gpt-6.1-terra in the old harness answered without the document 57.7 points more often than it hallucinated with it (48.5 to 66.9). C3 found that the harness cuts wrong unsourced answers, by 13.8 points (9.6 to 18.5). C4 found gpt-4o-mini in the modern harness ahead of gpt-6.1-terra in the old one on F, by 21.5 points (14.6 to 28.5). C3 and C4 came from phase 2 data, so this was their first clean test.

C5, the replication of H2a, was contradicted at -3.1 points (-6.2 to -0.8). Forcing an answer did not raise gpt-4o-mini's hallucination more than gpt-6.1-terra's. The judge was also at its weakest on forced answers, where a second set of AI labels agreed with it on 69.6% of them, under the 85% gate. A version of the test that reads mechanical matches with the reference as right gives -1.5 points (-4.6 to +1.5). Either way the phase 2 result does not hold, and I dropped it.

In the old harness without the document, gpt-6.1-terra answered 86 of the 130 questions. 57 were right and 29 were wrong, and it had nothing to cite for any of them. gpt-4o-mini in the modern harness answered once, and got it wrong.

Phase 4 explains the 57. Closed-book, gpt-6.1-terra got all 57 right again (Wilson 95% interval 93.7 to 100%), so R1 was supported and it knew them without any document. gpt-4o-mini got its 18 right again too, 18 of 18 (82.4 to 100%), which I report without a verdict. Of gpt-6.1-terra's 29 wrong answers, 12 were right closed-book: the other documents it was handed pulled it off course.

On all 130 questions closed-book:

ModelCorrect / 130Rate
gpt-6.1-terra88 / 13067.7%
gpt-4o-mini56 / 13043.1%

I also checked for leaks. Every trial starts a new conversation, and nothing carries over from one trial to the next. The only cache in the code holds embeddings. The removed document was shown in none of the 520 NO_GOLD trials of phase 3. The admission rule kept out any question whose answer appears verbatim in another document. Phase 4 found no question that a model got right without the document and missed closed-book, which is where an answer paraphrased in another document would show up.

The modern harness has a trade-off. Without the document, gpt-6.1-terra in the modern harness said "I don't know" to all 130 questions, including the 88 it gets right closed-book. gpt-4o-mini did the same on all 56 of its own. With the document present, it still said "I don't know" to 4 questions gpt-6.1-terra knew closed-book and to 11 for gpt-4o-mini. The harness drops unsourced answers whether they are right or wrong, and without a source the reader can't tell which is which.

Limits

Both models come from one vendor. The replication used HaluEval only, Wikipedia-style questions that the models can often answer from memory, as phase 4 shows. Removing the whole document is an artificial stress test, and real retrieval fails by degrees. The answers were graded by an AI judge, checked only against AI labels. gpt-4o-mini is stronger than a true 2023 model, and the modern harness is one reasonable design among many. The closed-book call had a 64-token cap. 27 of the 260 answers hit it, all from gpt-4o-mini, so its 56 is probably a little low. Each condition ran once, at temperature 0.

What I take from it

I expected the model to matter more, and with the document present I couldn't tell either way. Once the document was gone, the harness decided whether the system answered without a source, and the newer model in the old harness was the one most willing to answer. I'd test the harness before upgrading the model, and I'd count what it withholds as well as what it gets wrong.

Next steps

I want to run the same 2x2 with models from another vendor and on questions that aren't Wikipedia-style, with people labelling a sample of the judge's calls. I'd also replace the full removal with partial damage, like a truncated or paraphrased document. Then I'd try a harness that lets the model answer from memory and say it has no source. I want to see how many of the 88 it keeps before wrong answers come back.

Sources

My own runs, November 2026, in four preregistered phases. Code, data, preregistrations and reports are in a private repository.

Let's talk.

Tell me whatever comes to mind.

20–5,000 characters. All fields are required.

I use your details to reply to your message, as described in the privacy notice.