How Do I Measure RAG Faithfulness and Citation Quality?
AI Evaluation

How Do I Measure RAG Faithfulness and Citation Quality?

DocuShell TeamJuly 6, 20265 min read

Measure claims, not fluent paragraphs

Measure RAG faithfulness by breaking an answer into factual claims and checking whether each claim is supported by the retrieved context. Measure citation quality by checking whether the cited source directly supports the nearby claim and opens to the correct page or region.

Do not combine every failure into one score. Retrieval, generation, and citation linking can fail independently.

Metric Numerator Denominator What it reveals
Claim support Supported factual claims All factual claims Generation faithfulness
Citation precision Supporting citations All citations shown Citation correctness
Citation recall Claims with sufficient citations Claims requiring evidence Missing evidence links
Retrieval recall Gold evidence retrieved All gold evidence Retriever coverage
Answer completeness Required answer points covered Required answer points Omitted information
Abstention accuracy Correct refusals Unanswerable questions Failure behavior

Build a useful evaluation set

Include routine questions, questions with no answer, conflicting versions, tables, poor OCR, and adversarial document text. Use the kinds of documents and decisions the product will actually handle.

Create reference evidence, not only reference answers. A model can phrase a correct answer differently while relying on the same source.

Score claims, not paragraphs

Split each answer into checkable factual claims. Mark a claim supported, contradicted, or not established by the retrieved context.

Faithfulness is about support from supplied evidence. Factual correctness against the wider world is a separate check.

Inspect every citation

A citation is not good because the page exists. It should support the exact claim, point to the right document version, and be easy to open.

Use source-aware parsing through DocuShell Parse PDF so chunks keep page and coordinate metadata. The Hallucination Index offers workflow-risk context and links to faithfulness methodology.

Track retrieval and answer failures separately

If the right evidence was never retrieved, changing the generation prompt may not help. If the evidence was present but the answer ignored it, the generation or release policy needs work.

Record retrieval recall, claim support, citation precision, answer completeness, and abstention quality.

Add human review where stakes justify it

Automated evaluators can scale checks, but they can also disagree or reward shallow overlap. Review a sample manually and require human approval for consequential legal, financial, medical, or policy use.

Good evaluation makes failure visible. It does not compress every judgment into a number that nobody can explain.

Define the metrics clearly

Claim support asks whether retrieved evidence entails each factual claim. Citation precision asks how many citations genuinely support the attached claim. Citation recall asks whether claims that needed evidence received a citation. Completeness asks whether the response covered the requested information.

Keep these separate. A response can cite every claim but still omit a critical exception.

Example scoring workflow

Take an answer, split it into atomic claims, and list the citation IDs attached to each. A reviewer or evaluated model marks each claim supported, contradicted, or not established. Then open each citation to verify the page link and source region.

Store the judgment and reason, not only a score. Disagreements reveal unclear rubrics or ambiguous evidence.

Claim: "The policy allows 30 days for refunds."
Citation: Policy v4, section 6.1, page 12
Judgment: Supported
Reason: The cited sentence states the same 30-day window.
Link check: Passed
Version check: Passed

Evaluation rule: a relevant citation is not automatically a supporting citation. Entailment and link correctness are separate checks.

Test abstention and conflict

Include questions whose answer is absent, documents that disagree, and outdated versions. A good system should say when evidence is missing or conflicting rather than combining incompatible sources.

For policy and legal workflows, measure whether the answer identifies the applicable version and jurisdiction.

Use automated judges carefully

Automated evaluation scales, but judge prompts and models have their own failure modes. Calibrate them against human-labeled examples and review a sample of passes and failures.

Start with citation-preserving PDF chunks, implement page-level citations, and use the Hallucination Index for risk context. Compare candidate models using the document Q&A model guide.

Frequently Asked Questions

Faithfulness measures whether the claims in an answer are supported by the retrieved context supplied to the model. It does not prove that the source itself is current or factually correct.
A good citation points to evidence that directly supports the nearby claim and is specific enough for a person to verify. Page, section, version, and source-region links improve auditability.
Yes. Every claim may be supported while important parts of the question or source are omitted. Measure completeness separately.

Free Tool

Hallucination Index

Compare model factuality signals and estimate workflow hallucination risk.

Try Hallucination Index
rag faithfulnesscitation qualityrag evaluationgroundedness metricdocument qa evaluation
D

DocuShell Team

The DocuShell editorial group writes and maintains guides for everyday PDF workflows, with updates made when tool behavior or documented limits change. See our editorial standards for the process behind each article.

Focus: RAG evaluation, citations, and source-grounded answer quality

Questions or feedback? Get in touch.

Related Articles