A citation in a RAG answer is only useful if the cited passage actually supports the sentence it is attached to. Link each claim to a specific retrieved passage, check that the passage backs the claim before the answer is shown, drop or flag claims with no support, and record which version of each source was used.
Why a link next to an answer is not enough
Most retrieval-augmented generation systems show sources as a list under the answer. That list tells the reader which documents were retrieved, not which ones the model relied on, and not whether any of them says what the answer says. A model can retrieve the right policy, quote the wrong clause and still display a convincing link.
Research on citation quality in financial question answering, presented at a 2026 ACL workshop, describes three failure patterns that teams also see in enterprise systems: links to documents that do not exist, real documents that do not support the claim, and answers where nobody can trace which statement came from where. The second pattern is the most dangerous, because it looks correct to anyone who does not open the source.
If your team has already started to test RAG retrieval before the model, citation checking is the next layer: retrieval tests show the right passages were found, and citation checks show the answer stayed faithful to them.
How to make citations checkable
Cite passages, not documents
Give every retrieved chunk a stable identifier that includes the document, the version and the passage position. Ask the model to attach those identifiers to individual sentences or claims, not to the answer as a whole. A claim-level citation can be checked; a document-level one cannot, because a long document will usually contain something loosely related to almost any sentence.
Ask for structured output
Free-text answers with bracketed references are hard to parse reliably. A structured response, where each claim is a separate field with its own list of passage identifiers, lets your code validate that every identifier was actually retrieved in this request. Any identifier the model invented can be caught before the user sees it.
Keep source metadata with the passage
Store the effective date, the owner and the access rules of each document alongside its chunks. When an answer cites a passage, the user can see whether the source is current, and the system can refuse to cite a document the user is not allowed to open. This follows the same rules you use to stop agents reaching restricted data.
Check each claim before the answer is shown
Run a support check per claim
After generation, compare each claim with the passages it cites and ask one narrow question: does this passage state or directly imply this claim? This can be a smaller model, a dedicated entailment classifier, or a second call with a strict prompt. Keep the check separate from the model that wrote the answer, so it does not simply agree with itself.
Decide what happens when support is missing
Agree the behaviour in advance. For low-risk answers, remove unsupported sentences and say the answer is partial. For answers that drive a decision, such as a refund, a compliance response or a clinical summary, hold the answer for a person to review. Never fill the gap with a different, unchecked source.
Treat retrieved text as untrusted
A document in your index can contain instructions aimed at the model, and those instructions can steer which sources it cites. The support check should judge content, not obey it, and the passages shown to the user should come from your store, not from the model's restatement. The wider risks are covered in the attack surface of an AI agent.
Show sources in a way people use
Put the citation next to the sentence, open the exact passage when clicked, and show the document date. Readers check sources more often when doing so takes one click and lands on the relevant lines. For agents that act rather than answer, record the cited passages with each action so an auditor can see what the agent did and why.
Measure citation quality over time
Track how often claims lack support, how often the support check overrides the model, and how often users open a cited source and then report a problem. Sample answers for human review each week and add failures to your evaluation set, alongside the other checks that validate AI agent output. A change to the chunking, the prompt or the model can quietly weaken citations, so rerun these checks on every change.
If you are building a RAG system or an agent that has to show its working, talk to us about designing citations and checks from the start.
Frequently asked questions
What is the difference between grounding and citation?
Grounding means giving the model source material to base its answer on, usually through retrieval. Citation is the visible link between parts of the answer and that material. A system can be grounded without citing anything, and it can cite sources that do not support the answer. Users need both: answers built from your content, and links they can follow to check each statement against the passage it came from.
Can the same model check its own citations?
It can, but it is a weaker check. A model asked to confirm its own answer tends to agree with it, especially when the same context and prompt are reused. A separate entailment classifier, a smaller model with a narrow yes or no prompt, or a different provider gives a more independent view. Whichever you use, test the checker itself on examples where the correct verdict is already known.
Does citation checking slow answers down?
It adds a step, but the cost can be controlled. Checks for separate claims can run in parallel, a small model is usually enough for a yes or no support decision, and cached checks can be reused when the same passage and claim appear again. For chat interfaces, you can stream the answer and add verified citation markers as each check completes, rather than holding the whole response.
What should happen when no source supports a claim?
Decide by risk. For general questions, remove the unsupported sentence and tell the user the answer is partial or that the documents do not cover the point. For answers that lead to a decision or an action, send the answer to a person for review instead. In both cases, log the case so the team can see whether the gap is missing content, poor retrieval or the model adding its own knowledge.



