Evaluating RAG: measure evidence retrieval, answer quality and abstention separately

An answer with citations can still be wrong. A source may discuss the topic without supporting the actual claim; alternatively, the correct information exists but retrieval fails to find it. One aggregate quality score hides these differences. A CTO needs measurements that identify which component should change and what an incorrect answer would cost.

Define the expected business outcome

The evaluation record should specify the question, user permissions, available material and expected supporting evidence. Not every task needs one ideal reference paragraph. Often, the important criteria are which facts must appear, which claims must not be made and when the system should request clarification.

We recommend including questions unanswerable from the permitted corpus, ambiguous requests and questions with false premises. Without these classes, the test rewards a system that always produces a fluent response regardless of evidence.

Separate retrieval from generation failures

The first layer checks whether the right material entered the authorised candidate set. The second asks whether the selected model context contains sufficient evidence. The third tests consistency between the answer, that context and the task requirements. This distinction separates poor document segmentation from misinterpretation of a correctly retrieved passage.

In an illustrative scenario, the assistant cites standard contract guidance while the question concerns an amendment changing those terms. The citation exists and is topically relevant, but the response ignores the document controlling this particular case. Evaluation should detect the missing decisive evidence rather than reward the presence of a link.

Evaluate claims, not only paragraphs

For consequential tasks, break an answer into verifiable claims. Assess whether the source supports each claim, whether a qualification was omitted and whether the scope of a rule changed. A short, partly correct answer can still be unsafe when it omits a condition that determines what the user should do.

A model-based judge can help scale evaluation, but requires its own validation and review of disagreements with domain experts. Agreement between two models is not automatically independent evidence of correctness. They may share blind spots that the test must deliberately expose.

Use a diagnostic matrix

SituationLikely area to investigate
Relevant evidence was not retrievedIndex, query, filters and ranking
Evidence found but omittedContext selection and limits
Good context, incorrect answerInstructions, model and task framing
Answer despite insufficient evidenceAbstention criteria and interface design

Understand the cost of declining to answer

Abstention matters, but excessive caution can return nearly all work to people. Measure unsupported answers separately from unnecessary refusals. Their relative cost depends on the task: helping someone locate an internal document differs from instructing an action that creates an external commitment.

Set thresholds for a defined segment and use. Do not generalise performance on simple descriptive questions to tasks comparing several document versions. The interface also needs a useful way to explain what information is missing and how the user can clarify the request.

Compare changes on the same cases

Changing the model, ranking and chunk size simultaneously makes improvement difficult to interpret. Preserve dataset and output versions, and run important experiments as paired comparisons on the same examples. Keep a separate holdout that is not used for tuning.

Use domain reviewers to resolve disputed cases and record why a reference decision was made. When the business policy changes, update the expected outcome deliberately rather than treating yesterday's answer as permanent truth. The test dataset is a maintained decision asset, not a one-time spreadsheet.

At acceptance, inspect critical segments, cost distribution and response time as well as averages. Establish which residual errors are acceptable, who handles them and how they will be detected during operation.

Maintain the meaning of the reference answer

Record who approved the reference outcome and which procedure version informed it. Two reviewers may reasonably interpret an underspecified question differently. That should trigger clearer criteria rather than arbitrarily treating one response as truth. Track reviewer agreement and resolve consequential differences with the process owner.

When documents change, review dataset freshness too. A previously correct answer can become obsolete, while a new question may need abstention until material is published. Distinguish an intentional reference update from model regression. Otherwise, teams may tune the system to reproduce a historical error rather than the currently applicable knowledge.

Validate enterprise RAG with Geekforce

We can build an evaluation dataset and measurement approach that separates retrieval, context and answer failures. Together, we can define how the assistant should improve your business and when it should defer a decision to a person.

Sources and further reading

Don't just take our word for it — read what our clients say on independent platforms.