encyclopedia

Grounding

Published Updated

Reviewed by Coy Robison, Founder, on

Grounding makes a generative model base its output on information supplied at the moment it answers, rather than on what it absorbed in training. A response is grounded when its claims can be traced to that supplied source material. Retrieval-augmented generation is the most common way to do it, but search results, maps data and live tool results are grounding sources too. Grounding is only as good as its sources, and it still needs checking, because a model can misread or ignore what it was given.

CategorySystems
Reading time6 min read

Definition

The practice of tying an AI model’s responses directly to verifiable, factual data sources (like a company database or web search) to prevent hallucinations.

Need this applied?

We help teams go from definitions to deployed workflows—safely and fast.

Google Cloud defines grounding as “the ability to connect model output to verifiable sources of information.” Microsoft describes a grounded response as one that adheres closely to the given information, avoiding speculation or fabrication, and an ungrounded one as information that is non-factual or inaccurate relative to the source material.

Common grounding sources

Google CloudAnthropic

Cloud platforms offer several kinds of source to ground a model in, chosen by what the application needs to be right about.

  • • Web search results, for general and current world knowledge.
  • • Your own documents and website content, through retrieval-augmented generation.
  • • Existing search indexes and external search APIs.
  • • Location data, for geographic questions.
  • • Live systems queried through tool calls, such as a calendar or order database.

How it works in practice

AnthropicLewis et al., 2020

Before the model answers, the application retrieves relevant passages or records and places them in the prompt with an instruction to answer only from that material. Asking the model to quote or cite the supporting passage for each claim, and to retract claims it cannot support, makes the grounding auditable.

Verifying groundedness

Microsoft

Groundedness can be checked automatically by comparing an answer with its source material. Microsoft’s groundedness detection, for example, targets summarization and question answering, flags statements the sources do not support and can propose a corrected version, with a faster mode for live applications and a slower mode that explains each finding.

Grounding moves the question of correctness from the model to the source. Outdated or wrong source documents produce confidently wrong grounded answers, so sources need to be accurate and current. Retrieved content can also carry text written to manipulate the model, so grounding sources should be treated as data, not instructions.

FAQ

Is fine-tuning a form of grounding?

Generally, no. Fine-tuning updates the model’s internal weights, and the model can still produce unsupported claims from those new weights. Grounding means supplying explicit evidence at the moment a response is generated.

What is the difference between grounding and RAG?

Grounding is the goal: output tied to verifiable sources. Retrieval-augmented generation is one technique for reaching it; grounding in search results, maps data or live tool results are others.

How can I tell whether a response is grounded?

Every factual claim should trace back to a passage in the supplied sources. Requiring citations makes that visible to a reviewer, and automated groundedness checks can flag unsupported statements at scale.

Can a grounded model still be wrong?

Yes. It can misread the sources, fill in a gap the sources do not cover, or faithfully repeat a source that is itself out of date. Grounding reduces errors; it does not remove the need for good sources and checks.

Email this summary + checklist

Get a copy of “Grounding” and an AI readiness checklist in your inbox.