Turning hallucinations into refusals instead of wrong answers is the right trade, and measuring refusal accuracy against false-refusal rate is what makes it honest — most RAG posts only report the first. The one-word verdict trick for the 8B model is a nice detail: small models punish complex JSON schemas, so you shaped the prompt to the model instead of the other way round. One question: with citations enforced rather than requested, what happens when the groundedness judge itself is wrong — do you have a case where the judge overruled a correct answer?
When the judge is wrong, a correct answer turns into a refusal, so it shows up in the false-refusal rate rather than as a wrong answer. That's why both numbers are tracked: tighten the judge and refusals get safer while false refusals rise. Judge prompt changes go through the same eval gate as any other change.
That's a clean answer — tracking both rates keeps the trade visible instead of letting a stricter judge quietly look like progress. The eval gate on judge-prompt changes is the part most teams skip. Has a judge change ever failed the gate in practice, and did the failure show up in false refusals first or in something subtler?
Not on this project yet. The judge prompt hasn't changed since the eval set was built, so the gate hasn't had to block anything. Where I'd expect it to show first is false refusals on answers that paraphrase the source instead of quoting it, because a stricter judge tends to read paraphrase as unsupported. That's the case worth adding to the eval set before anyone tightens the judge.
That paraphrase case is a sharp prediction — a judge that only trusts verbatim quotes would quietly punish the most natural answers. Adding it to the eval set before tightening the judge is the right order; otherwise the gate only ever measures the easy cases. Do you think the fix there is a looser judge prompt, or a second check that distinguishes paraphrase from invention?
A second check. Loosening the judge trades one failure for another: paraphrase passes, but so does invention. I'd split the answer into individual claims and ask, for each one, whether the cited chunk supports it, with paraphrase explicitly allowed. That changes the question from "does this look like the source" to "does the source support this", and a failure points to one claim you can debug instead of a refused answer.
Building AI systems and fixing AI-generated apps before they collapse in production.
Working with agentic AI, RAG pipelines, AI orchestration, and startup MVP scaling at IT Path Solutions.
The refusal mechanism is important, but I'd pay particular attention to the difference between retrieval relevance and answer groundedness. A retrieved chunk can be relevant to the question without actually supporting the specific claim the model generates. That's where many production RAG systems still fail. At IT Path Solutions, this distinction matters when building RAG workflows for business documents: citations should be validated against the exact claims they support, not just attached because a relevant document was retrieved. I'd also test conflicting documents, outdated policies, and questions that are only partially answerable. In those cases, the best response isn't always a complete refusal; it may be to answer the supported portion and explicitly identify what the available evidence cannot establish. That makes "I don't know" a useful reliability feature rather than just a fallback.
Agreed, relevant and supporting are different checks. Relevance is graded per chunk before generation, and groundedness is checked against the cited context afterwards, so an answer that cites a relevant but non-supporting chunk should fail. Conflicting and outdated documents are a good addition to the eval set.
One more on your last point, because I skipped it earlier: partial answers. The graph is binary today, it answers or it refuses. For questions that are only partly covered, answering the supported part and naming what the evidence can't establish is the better behaviour, and that's a fair gap in the current design. It belongs on the roadmap next to the conflicting-document cases.
Founder @ Korely.ai | Building the memory layer for AI agents | Helping engineering teams ship agents that know what is still true about their users, and when it changed | Agent memory · RAG · MCP
Groundedness check with a yes/no verdict. If the judge is the same Llama 3.1 8B, it might let through a response that only half-follows the context, especially when two chunks say slightly different things. The rate of incorrect rejections should show whether the judge is too strict. Question: do the judge’s errors concentrate on the responses that combine two chunks?
By default, yes: RAG_JUDGE_MODEL defaults to llama3.1:8b, the same model that generates. That is the weak spot you're pointing at, since a judge from the same model tends to share the generator's blind spots. The judge is a separate setting so it can be a larger model without touching generation, and that's the first thing I'd change outside a laptop setup.
On your question: I don't know yet. The harness reports false refusals and judge correctness in aggregate, not by how many chunks an answer draws on. It's a cheap slice to add: tag each answerable question with the number of chunks its reference answer needs, split both metrics by that tag, and add a few cases where two chunks disagree. If your hunch is right, the multi-chunk bucket will show it.
We're a place where coders share, stay up-to-date and grow their careers.
Turning hallucinations into refusals instead of wrong answers is the right trade, and measuring refusal accuracy against false-refusal rate is what makes it honest — most RAG posts only report the first. The one-word verdict trick for the 8B model is a nice detail: small models punish complex JSON schemas, so you shaped the prompt to the model instead of the other way round. One question: with citations enforced rather than requested, what happens when the groundedness judge itself is wrong — do you have a case where the judge overruled a correct answer?
When the judge is wrong, a correct answer turns into a refusal, so it shows up in the false-refusal rate rather than as a wrong answer. That's why both numbers are tracked: tighten the judge and refusals get safer while false refusals rise. Judge prompt changes go through the same eval gate as any other change.
That's a clean answer — tracking both rates keeps the trade visible instead of letting a stricter judge quietly look like progress. The eval gate on judge-prompt changes is the part most teams skip. Has a judge change ever failed the gate in practice, and did the failure show up in false refusals first or in something subtler?
Not on this project yet. The judge prompt hasn't changed since the eval set was built, so the gate hasn't had to block anything. Where I'd expect it to show first is false refusals on answers that paraphrase the source instead of quoting it, because a stricter judge tends to read paraphrase as unsupported. That's the case worth adding to the eval set before anyone tightens the judge.
That paraphrase case is a sharp prediction — a judge that only trusts verbatim quotes would quietly punish the most natural answers. Adding it to the eval set before tightening the judge is the right order; otherwise the gate only ever measures the easy cases. Do you think the fix there is a looser judge prompt, or a second check that distinguishes paraphrase from invention?
A second check. Loosening the judge trades one failure for another: paraphrase passes, but so does invention. I'd split the answer into individual claims and ask, for each one, whether the cited chunk supports it, with paraphrase explicitly allowed. That changes the question from "does this look like the source" to "does the source support this", and a failure points to one claim you can debug instead of a refused answer.
The refusal mechanism is important, but I'd pay particular attention to the difference between retrieval relevance and answer groundedness. A retrieved chunk can be relevant to the question without actually supporting the specific claim the model generates. That's where many production RAG systems still fail. At IT Path Solutions, this distinction matters when building RAG workflows for business documents: citations should be validated against the exact claims they support, not just attached because a relevant document was retrieved. I'd also test conflicting documents, outdated policies, and questions that are only partially answerable. In those cases, the best response isn't always a complete refusal; it may be to answer the supported portion and explicitly identify what the available evidence cannot establish. That makes "I don't know" a useful reliability feature rather than just a fallback.
Agreed, relevant and supporting are different checks. Relevance is graded per chunk before generation, and groundedness is checked against the cited context afterwards, so an answer that cites a relevant but non-supporting chunk should fail. Conflicting and outdated documents are a good addition to the eval set.
One more on your last point, because I skipped it earlier: partial answers. The graph is binary today, it answers or it refuses. For questions that are only partly covered, answering the supported part and naming what the evidence can't establish is the better behaviour, and that's a fair gap in the current design. It belongs on the roadmap next to the conflicting-document cases.
Groundedness check with a yes/no verdict. If the judge is the same Llama 3.1 8B, it might let through a response that only half-follows the context, especially when two chunks say slightly different things. The rate of incorrect rejections should show whether the judge is too strict. Question: do the judge’s errors concentrate on the responses that combine two chunks?
By default, yes: RAG_JUDGE_MODEL defaults to llama3.1:8b, the same model that generates. That is the weak spot you're pointing at, since a judge from the same model tends to share the generator's blind spots. The judge is a separate setting so it can be a larger model without touching generation, and that's the first thing I'd change outside a laptop setup.
On your question: I don't know yet. The harness reports false refusals and judge correctness in aggregate, not by how many chunks an answer draws on. It's a cheap slice to add: tag each answerable question with the number of chunks its reference answer needs, split both metrics by that tag, and add a few cases where two chunks disagree. If your hunch is right, the multi-chunk bucket will show it.