Bind each factual claim to a permitted, current passage and reject citations that are merely related to the topic.
Claim-level citations: verify each answer against its passage
Split answers into testable claims
‘Refunds arrive in 47 hours and managers can extend the window’ contains two claims. Each needs support from the selected evidence packet. A policy-title citation is too broad when its quoted span states only the first clause. Keep claim and passage IDs together. Distinguish direct support, contradiction, insufficient evidence and facts supplied by the user. Abstention is correct when a required claim lacks support.
Check passage identity
The cited span must belong to an active permitted revision and have been included in the generator context. Resolve it to a readable page or section. A valid-looking ID for a retired revision is insufficient. Extraction provenance supplies the source location.
Test support rather than overlap
A passage about refund windows may omit the 47-hour value. ‘Up to 47 hours’ does not justify ‘always within 47 hours.’ Numbers, negation, dates and exceptions deserve explicit checks. An entailment model can triage cases, but its confidence alone does not prove support; keep a human-judged sample.
Fail clearly
Remove or qualify unsupported claims and regenerate from the same permitted packet. If the core question remains unanswered, state which part cannot be verified. Log the unsupported claim and citation ID without putting private source text in public telemetry. Count unsupported-claim rate separately from retrieval misses.
Worked contract
def validate_claim_citations(claims: list[dict], packet_ids: set[str],
active_ids: set[str]) -> list[str]:
failures = []
for claim in claims:
cited = set(claim["citations"])
if not cited or not cited <= packet_ids or not cited <= active_ids:
failures.append(claim["claim_id"])
elif claim["support"] != "supported":
failures.append(claim["claim_id"])
return failures
claims = [{"claim_id": "hours", "citations": ["policy-r8-p4"], "support": "supported"},
{"claim_id": "extension", "citations": ["policy-r8-p4"], "support": "insufficient"}]
assert validate_claim_citations(claims, {"policy-r8-p4"}, {"policy-r8-p4"}) == ["extension"]Performance and operating cost
Identity checking takes O(C + E) expected time for C claims and E citation edges, with O(C) failure output. Semantic support review is costlier and may need model calls or human adjudication. Sample high-impact claims first; do not hide unsupported claims in an average answer score.
Common Mistakes
- Accepting a citation because its document title matches the topic.
- Using a retired passage or one absent from the final context packet.
- Treating ‘up to’ and ‘always’ as equivalent.
- Reporting retrieval recall as proof of answer support.
Validation drill
Write 29 answers with a numeric claim, an exception and a distractor citation each. Mark support from the exact packet and count unsupported claims that survive automation.
Read next
- Document extraction: preserve passage provenance through OCR and parsing
- Grounded answers: require passage support and a no-answer path
- RAG evaluation: separate retrieval recall from answer support
- Context packing: retain independent evidence under a token cap
