Topic 4 of 5 · 5 min read
Checking every claim against its citation
Goal: Mark each sentence of a cited answer as supported, unsupported or contradicted by its sources.
Faithfulness means each claim in an answer is backed by the source it cites, and you test it one claim at a time. A citation that exists proves nothing. It must support the sentence it follows.
Check yourself · 1 of 3
A cited sentence says 'up to 3 days a week [1]'. The cited chunk says 'up to 2 days a week'. How should the claim be labelled?
Why it matters
Studies of generative search engines have found that many sentences carry no support from their cited pages, and that some citations do not back the statement they sit next to. Your system can do the same. Users who see a marker assume the check was done. If it was not, you have built a trust trap.
How to do it
- Split the answer into atomic claims. "Contractors get 30 days of notice and can work remotely" is two claims. Each is checked alone.
- Match each claim to its cited chunk. Use the id the answer gave, not a fresh search. You are testing that citation.
- Give each claim one of three labels.
- Supported: the chunk states it or it follows directly.
- Unsupported: the chunk says nothing about it. The claim may be true somewhere else, but this citation does not show it.
- Contradicted: the chunk says something that conflicts with it.
- Look for the usual gaps. Numbers changed (30 became 14), scope widened ("some" became "all"), conditions dropped ("with approval" lost), and tenses shifted ("was" became "is").
- Automate with care. A second model prompted as a strict judge, or a natural-language-inference model, can label claims at scale. Test the judge on a hand-labelled set first, because judges miss subtle contradictions and can agree with fluent text. Faithfulness tools such as Ragas use this claim-by-claim approach.
- Act on the result. Drop or regenerate unsupported claims, block contradicted ones, and log the rates so you can see regressions after a prompt change.
Before and after
Source chunk: "Employees may work remotely up to 2 days a week with manager approval."
Answer: "Employees can work remotely up to 3 days a week [1]."
A reader sees the marker and stops. The claim check labels it contradicted: 3 days against 2, and the approval condition is gone. The corrected answer is "Employees may work remotely up to 2 days a week with manager approval [1]."
What goes wrong
- Checking only that the id exists. Valid id, wrong content.
- Judging the whole answer at once. One strong claim hides two weak ones. Score per claim.
- A judge that grades its own style. If the same model writes and grades, it tends to approve its own phrasing. Use a separate prompt, ideally a separate model, and a labelled test set.
- Treating unsupported as false. The claim may be true. The fix is to cite properly or remove it, not to call it wrong.
Examples
A claim table
| Claim | Cited chunk says | Label |
|---|---|---|
| Refunds are issued within 5 business days [2] | "Refunds are issued within 5 business days of approval" | Supported |
| Gift cards are refundable [2] | Nothing about gift cards | Unsupported |
| Returns are free for all items [2] | "Return shipping is free except for oversize items" | Contradicted |
Three sentences, one marker, three different results.
A judge prompt
You check one claim against one passage.
Passage: {chunk}
Claim: {claim}
Answer with one word: SUPPORTED, UNSUPPORTED or CONTRADICTED.
Only use the passage. Do not use outside knowledge.
Run it on 50 claims you labelled by hand and compare before you rely on it.
Key points
- Split an answer into atomic claims and check each one against the chunk it cites.
- Use three labels: supported, unsupported and contradicted. Unsupported does not mean false.
- Common drift is changed numbers, widened scope, dropped conditions and shifted tenses.
- An automated judge must be tested on hand-labelled claims before you trust its rates.
- Drop or regenerate unsupported claims and track the rates after each prompt or model change.
Common mistakes
- Treating a valid citation id as proof that the sentence is supported.
- Scoring the whole answer with one label instead of one label per claim.
- Letting the model that wrote the answer be the only judge of it.
- Calling an unsupported claim false instead of asking for the right citation or removing it.
Check yourself · 2 of 3
Why check claims one at a time instead of rating the whole answer?
Check yourself · 3 of 3
A cited claim is not in the cited chunk, but you know it is true from another document. What is the right label and fix?
Practice items, not counted towards your mastery.
Start here
- Citations (Claude API docs) (opens in a new tab)DocsFree
How to pass documents with citations enabled and read back cited text with character, page or block locations.
- Enabling Large Language Models to Generate Text with Citations (ALCE) (opens in a new tab)PaperFree
A benchmark that scores answers on fluency, correctness and citation quality, and shows where models still fail.
- Lost in the Middle: How Language Models Use Long Contexts (opens in a new tab)PaperFree
Shows models use evidence at the start and end of a long context better than evidence in the middle.
More for this topic
- Faithfulness (Ragas docs) (opens in a new tab)DocsFree
A worked claim-by-claim faithfulness metric: split the answer into claims and check each against the context.
- Evaluating Verifiability in Generative Search Engines (opens in a new tab)PaperFree
Audits search chatbots and finds that many sentences lack support or carry citations that do not support them.