Inferensys

Glossary

Grounding Score

A metric evaluating how faithfully a model's output is anchored to the provided source documents or verified facts, used to quantify factual reliability in enterprise AI systems.
Knowledge manager reviewing enterprise knowledge management system on laptop, document library visible, casual office.
FACTUAL ANCHORING METRIC

What is Grounding Score?

A grounding score is a quantitative metric that evaluates how faithfully a model's generated output is anchored to the provided source documents or verified facts, measuring the degree to which the response is attributable to the supplied context rather than hallucinated.

A grounding score quantifies the semantic alignment between a model's generated text and the specific source material it was instructed to use. It is a critical metric in retrieval-augmented generation (RAG) architectures, where the score measures whether claims in the output can be directly entailed by or attributed to the retrieved chunks. Low grounding scores indicate hallucination—the model is inventing facts not present in the provided context.

Calculation typically involves decomposing the generated response into atomic claims and verifying each against the source documents using a natural language inference (NLI) model. Each claim receives a binary or probabilistic entailment label, and the aggregate score represents the proportion of supported claims. This metric is distinct from relevance or fluency; a response can be perfectly grounded yet unhelpful, or fluent yet factually unmoored from the provided evidence.

METRICS & ATTRIBUTES

Core Properties of Grounding Scores

A grounding score is a quantitative metric that evaluates how faithfully a model's output is anchored to provided source documents or verified facts. The following properties define its reliability and utility in enterprise AI governance.

01

Factual Precision

Measures the exactness of claims against a gold-standard reference corpus. A high precision score indicates the model avoids introducing external knowledge or hallucinated details.

  • Entailment Ratio: The percentage of generated claims logically entailed by the source.
  • Contradiction Detection: Identifies statements that directly oppose the provided evidence.
  • Granularity Mismatch: Penalizes outputs that are too vague or overly specific compared to the source.
02

Citation Recall

Quantifies the proportion of verifiable claims in the output that are explicitly linked to a specific source passage. This is critical for auditability and right to explanation.

  • Attribution Coverage: The ratio of cited sentences to total factual sentences.
  • Source Fidelity: Verifies that the cited text actually supports the claim.
  • Orphaned Claim Rate: The frequency of unsupported assertions appearing in the output.
03

Contextual Adherence

Evaluates whether the model strictly answers the query using only the provided context, ignoring its parametric memory. This prevents data leakage and ensures the output is a function of the supplied documents.

  • Instruction Following: Adherence to explicit directives like 'only use the provided text'.
  • Out-of-Context Rejection: The model's ability to state 'I don't know' when the answer is absent.
  • Distractor Resistance: Robustness against irrelevant passages injected into the context window.
04

Completeness

Assesses whether the output captures all critical information from the source documents without omission. A grounded answer must be both faithful and exhaustive.

  • Information Coverage: The percentage of key entities and relationships from the source present in the output.
  • Semantic Overlap: Cosine similarity between the source embedding and the output embedding.
  • Critical Fact Retention: Ensures safety-critical or legally binding clauses are never truncated.
05

Robustness to Noise

Measures the stability of the grounding score when the source documents contain typos, OCR errors, or conflicting information. A reliable system maintains high fidelity despite adversarial data quality.

  • Typo Tolerance: Score variance when character-level noise is injected.
  • Conflict Resolution: The ability to synthesize a correct answer from contradictory sources.
  • Format Invariance: Consistent performance across PDFs, HTML, and plain text.
06

Temporal Stability

Tracks the degradation of grounding over time as source documents become stale. This property is essential for continuous compliance monitoring in dynamic regulatory environments.

  • Knowledge Cutoff Drift: The rate at which factual accuracy declines post-training.
  • Versioned Grounding: The ability to anchor outputs to a specific document version or timestamp.
  • Staleness Alerting: Automated triggers when a source document is updated, invalidating prior grounded outputs.
GROUNDING SCORE EXPLAINED

Frequently Asked Questions

Clear, technical answers to the most common questions about grounding scores, how they are calculated, and their role in enterprise AI governance and vendor risk management.

A grounding score is a quantitative metric that evaluates how faithfully a language model's generated output is anchored to the provided source documents or verified facts. It measures the degree to which every claim, entity, or data point in a response can be directly attributed to the supplied context, as opposed to being hallucinated or derived from the model's parametric knowledge. In enterprise settings, grounding scores are critical for Retrieval-Augmented Generation (RAG) systems, where a high score indicates the model relied on the retrieved chunks rather than fabricating information. The score is typically expressed as a ratio or percentage, with 1.0 (or 100%) representing perfect attribution. This metric is a cornerstone of model transparency documentation and is often required in vendor due diligence questionnaires to demonstrate factual reliability.

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.