Grounding
Also known as: grounded generation
Tying a model's answer to sources supplied with the question, so each claim can be traced back to a given document.
Draft - this entry has not been reviewed yet.
Formal
The practice of placing trusted source text in the context window and telling the model to answer only from it, often citing the passage behind each claim and saying so when the sources do not cover the question.
In plain English
Like a student writing an essay where every claim must name the book and page it came from - if no book says it, it does not go in.
In practice
An unemployment insurance fund's member chat answers a question about holiday benefit by quoting section 4.2 of the fund's rules with a link, and says “the rules do not cover this” when nothing fits, passing it to a case officer.
Why it matters
Answers a person can trace to a named source are far easier to trust and review, though the model can still misread or stretch a source.
Technical deep dive
The word has several senses. In cognitive science the symbol grounding problem (Harnad, 1990) asks how symbols acquire meaning through connection to perception; in vision-language research "visual grounding" means locating the image region a phrase refers to. In LLM applications it means source-grounded generation: the answer should be entailed by, and attributable to, text supplied at inference time rather than by the model's parametric memory. Rashkin et al. formalised this as "attributable to identified sources" (AIS): a statement is attributable if a generic reader, shown the source, would agree that the source supports it.
A grounded pipeline has three parts. Context construction assigns each retrieved passage a stable identifier and metadata (document, version, section, URL) and places them in the prompt, usually separated from instructions by delimiters. The instruction requires every claim to cite passage identifiers, forbids information not present in the passages, and specifies an abstention answer when coverage is insufficient. Verification then checks the output: parsing citations, confirming that cited identifiers exist, and testing support claim by claim, typically by decomposing the answer into atomic claims and running an entailment (NLI) model or an LLM judge against the cited passage. Some platforms expose this as a built-in "grounding check" or return per-sentence support scores; search-grounded APIs attach web results and citation spans to the response.
Evaluation distinguishes citation recall (is each claim supported by its citations?) from citation precision (is each citation needed and relevant?), the metrics used in the ALCE benchmark (Gao et al., 2023), and faithfulness from answer correctness. An answer can be perfectly faithful to an outdated or wrong source, and it can be correct yet ungrounded because the model answered from memory. Both matter, but only faithfulness is under the application's control once retrieval is fixed.
Common failure modes include citations that point to a real passage that does not actually say the claim, blending of two sources into a statement neither makes, silent reliance on parametric knowledge when retrieval returns nothing relevant, weaker use of passages placed in the middle of a long context, and conflicts between sources resolved arbitrarily. Grounding also does not make sources trustworthy: a retrieved document can carry prompt injection, so passages must be treated as data rather than instructions. NIST AI 600-1 lists confabulation among the risks specific to generative AI, and grounding with source display and human review of cited passages is one of the practical controls for it, not a guarantee.
What to learn first
Everything this builds on, foundations first.
Relationships
- Mitigates
- Hallucination
- Used with
- Retrieval-augmented generation (RAG)
Sources & further reading
Standards & official texts
- NIST AI 600-1 - Artificial Intelligence Risk Management Framework, Generative AI Profile · NIST
Reference works
- Gao et al. (2023), Enabling Large Language Models to Generate Text with Citations
Where this data comes from
This entry was drafted by an AI from the sources above and has not yet been checked by a person. Treat it as a starting point, and check anything important against the sources.
See the review queueSuggest a correction on GitHubThis term as JSON
Check yourself
Loading…