deep · 6 min
Grounding
Making every claim in an answer come from the sources you handed the model, not from what it remembers.
updated 27 Sept 2026
A common belief about RAG: once we put the right document in front of the model, it'll answer from that document. Let's test that on one question.
Our support bot retrieves this paragraph from the refund policy: "Refunds are available within 30 days of purchase. Opened software is not refundable." A user asks: "I bought a game 45 days ago and never opened it. Can I get a refund?"
The model could say: "Yes, most stores allow refunds on unopened items." That sounds fine. It's also wrong for our shop, and it didn't come from the paragraph at all. It came from the model's general sense of how stores work. The right document was sitting right there, and the model answered from memory anyway.
So having the document isn't enough. The answer we want says no, because 45 days is past the 30-day window, and it can point at the sentence that says so. Every fact in it comes from the page in front of the model. That's grounding, and it's our main defence against made-up answers in a RAG system.
One claim at a time
It helps to read an answer as a list of claims and ask of each: does the source back this? A claim can be supported (the source says it, or it follows directly), unsupported (it might be true, but the source doesn't say it) or contradicted (the source says the opposite). "Most stores allow refunds on unopened items" is unsupported. An answer is grounded when every claim is supported.
But wait. The easiest way to be fully grounded is to say almost nothing, or paste the source back. So a grounded answer also has to address what was asked. Google DeepMind's FACTS Grounding benchmark checks that first: an answer that doesn't really answer the request is thrown out before grounding is even looked at. A correct answer that dodges the question still fails.
Asking for it in the prompt
The cheapest way to ground a model is to tell it to. There are a few moves that work on any chat model.
Tell it to use only the documents provided, not its general knowledge. For long documents (over about 20,000 tokens), have it pull out word-for-word quotes that matter first, then answer only from those, with a fixed phrase like "No relevant quotes found" for when there aren't any. After it answers, ask it to find a supporting quote for each claim and take out any it can't back. (A nice trick: have it leave empty brackets where a claim was removed, so we can see what went.) And give it permission and a phrase for when the documents don't cover the question, which is saying "I don't know".
These cut made-up claims a lot. They're still instructions, though. The model can quote something that isn't in the document, or cite a passage that doesn't support the claim next to it.
Letting the API keep track
Some APIs now do the bookkeeping. With Claude's citations feature, we pass documents in and switch citations on. The API splits each document into sentences, and the answer comes back in pieces, each claim carrying pointers to the exact sentences behind it. Because the API pulls the cited text out itself instead of trusting the model to copy it, every pointer lands on real text. The quoted text isn't billed as output either.
Anthropic says built-in citations beat most custom setups by up to 15% on recall, and one customer said source hallucinations went from 10% to 0%. Those are the vendor's and a customer's numbers, not independent measurements.
And a real pointer still isn't a supporting one. The API promises the cited sentence exists, not that it backs the claim. How to show citations on screen, and the ways they still go wrong, is citations.
How we'd measure it
If grounding is a property of each claim, we measure it by checking claims against what they cite. The ALCE benchmark turned that into two numbers.
Citation recall asks, for each sentence: do its cited passages, together, fully support it? That's a 1 or a 0, averaged over sentences, and a sentence with no citation scores 0. Citation precision asks, for each citation: is it needed? A citation that can't support the sentence alone, and whose removal hurts nothing, is irrelevant.
Here's our refund bot's answer scored that way:
Two of three sentences supported, two of three citations needed.
Who decides "supports"? Another model. ALCE used one trained to tell whether one text follows from another, and its scores agreed well with human judges. FACTS uses three LLM judges from three different companies and averages them, so no judge grades its own family's answers alone. Either way it's a model judging a model. A checker can miss partial support, where a passage backs half a sentence, and wrongly call a useful citation irrelevant. Treat these scores as good signals, not truth.
How far off are we? On ALCE's open "why" and "how" questions, about half the answers from the best 2023 models weren't fully supported by what they cited. By late 2025, no model scored above 70% across the full FACTS suite. That suite mixes grounding with answering from memory, search and images, so it isn't a pure grounding number, but the problem isn't solved.
Two shortcuts that don't work
The first: copy the top passage and call it an answer. ALCE tried that, and it scored 99.4 on both citation recall and precision. The answers also read badly and were less correct than ChatGPT's. Grounding scores alone reward saying little, which is why the benchmarks check more than support.
The second: let the model answer from memory, then search for passages that match each sentence and attach them. Citation recall came out 47% lower than answering from retrieved passages in the first place. The citations have to come from the reading, not get bolted on after.
(One small practical snag: on Claude, citations can't share a request with strict JSON structured output. The API returns a 400.)
Back to the refund
Say we do everything right. The bot retrieves the policy, answers only from it, and cites the sentence about the 30-day window. Now say the policy on file is from last year, and the window has since gone up to 60 days. Our grounded answer is still wrong, and now it comes with a citation that makes it look checked.
Grounding moves the question from "does the model know?" to "are the right documents in front of it?" That's why so much of the rest of this phase is about retrieval. And when the documents don't cover the question at all, the grounded move is to say so, which is saying "I don't know". A loop that has a second model check the answer and send it back for another try is evaluator-optimizer.
Further reading
- Reduce hallucinations, Anthropic, undated (checked 2026-09-27). The prompt moves, with example prompts you can copy and adapt.
- Citations, Anthropic, undated (checked 2026-09-27). How the API version works and what it can't do.
- Introducing Citations on the Anthropic API, Anthropic, 2025. The launch post. Read it for the "up to 15%" claim, and keep in mind who's making it.
- Enabling Large Language Models to Generate Text with Citations, Gao, Yen, Yu and Chen (Princeton), 2023. Citation recall and precision, and both of the shortcuts that don't work. The most useful one here.
- FACTS Grounding, Google DeepMind, 2024. A clear working definition of grounded and the three-judge setup.
- FACTS Benchmark Suite, Google DeepMind and Kaggle, 2025. Where the "nobody above 70%" result comes from.