New Tool Radar

AI Concepts

How to Check a Model Answer Against the Source Text It Was Given

Check a model answer against the source text it was given by testing every claim against the text, not the model's confidence.

Schematic illustration of check a model answer against the source text it was given: step one list the claims, step two find each in the source, step three flag what is missing.

A model given a source text can still answer from its own training instead of from the text, adding facts the source never states. The check is to test every claim in the answer against the source text itself: a claim is only good if the source states it. Confidence in the answer is not evidence; the source text is.

Prerequisites

  • The source text the model was given.
  • The model’s answer to a question about that text.
  • A way to search the source text for a word or phrase.

Steps

Step 1: List the claims

Break the answer into its factual claims: names, dates, numbers and rules. Write each claim on its own line, in your own words.

Step 2: Find each in the source

Search the source text for each claim. A claim is supported only if the source text actually states it; a claim that is merely consistent with the source is not supported.

Step 3: Flag what is missing

Mark every unsupported claim and remove it from the answer, or verify it against a named source before keeping it. An answer with flagged claims is not ready to use.

Worked example: Harbor Light library opening hours answer

The fictional Harbor Light library asks a model about opening hours from its policy text. The answer has 3 claims.

Claim in the answer In the source text Verdict
Opens at 09:00 on Saturdays Yes: policy line 4 Supported
Closes at 17:00 on Saturdays Yes: policy line 4 Supported
Open on public holidays No: not in the policy Unsupported: flag it

Two of the 3 claims are in the policy text, and the public-holiday claim is not, so it is flagged and removed from the answer.

Expected result. Every claim in the answer is checked against the source text, and unsupported claims are flagged. UNTESTED: this guide was not run against a live model or API. The worked example below is fictional practice material, and its result is the expected result, not a measured one.

Limits

  • A claim can be true and still unsupported by the source; this check tests grounding, not truth.
  • Paraphrased claims need judgement; when in doubt, flag the claim.
  • This guide does not cover checking answers that have no source text.

Sources

See all