Inferensys

Glossary

Factual Grounding Score

A metric evaluating how well an AI-generated statement is supported by verifiable evidence from a specific, retrieved knowledge source.
Knowledge engineer constructing knowledge base on laptop, document hierarchy visible, casual office setup.
CONFIDENCE CALIBRATION SIGNALS

What is Factual Grounding Score?

A metric evaluating how well an AI-generated statement is supported by verifiable evidence from a specific, retrieved knowledge source.

A Factual Grounding Score is a quantitative metric that measures the degree to which an AI-generated claim is explicitly supported by verifiable evidence within a specific, retrieved source document. It directly assesses attribution fidelity, distinguishing between a model's parametric knowledge and information faithfully extracted from a provided context, serving as a critical guardrail against hallucination in RAG architectures.

This score is typically computed by a dedicated natural language inference model that evaluates the textual entailment relationship between the generated hypothesis and the source passage. A high score requires direct corroboration, while contradictions or unsupported inferences result in a low score, providing a granular signal for evidence weighting and automated fact-verification pipelines.

ANATOMY OF A TRUST METRIC

Core Properties of a Factual Grounding Score

A Factual Grounding Score is not a monolithic value but a composite signal derived from several distinct, measurable properties. Each property acts as an independent axis of verification, collectively determining the degree to which an AI-generated statement is anchored in retrievable evidence.

01

Attribution Fidelity

Measures the precision with which a generated claim maps to its source. High fidelity requires a direct, unambiguous link between a specific passage in the retrieved context and the output text.

  • Direct Quotation Match: Verbatim or near-verbatim alignment with source text.
  • Entailment Verification: The source text logically implies the generated statement.
  • Granular Citation: The ability to point to a specific sentence or paragraph, not just a whole document.
  • Low Fidelity Example: A summary that introduces a causal relationship not present in the source.
NLI
Core Verification Task
02

Corroboration Metric

Quantifies the degree of agreement across multiple independent, authoritative sources. A claim supported by a single source has a lower score than one verified by a consensus signal from a diverse set of documents.

  • Source Diversity Index: Penalizes over-reliance on a single origin.
  • Consensus Threshold: The minimum number of agreeing sources required for a high score.
  • Contradiction Detection: A negative signal that actively lowers the score when sources disagree.
  • Example: A medical claim confirmed by both the CDC and the WHO receives a higher corroboration metric than one found only on a single blog.
Redundancy
Key Principle
03

Source Authority Rank

A pre-computed score reflecting the trustworthiness of the evidence source itself, independent of the claim. This is derived from a citation graph analysis, similar to PageRank, and is a critical multiplier in the grounding calculation.

  • Graph-Based Reputation: Authority is determined by the quantity and quality of inbound citations from other trusted sources.
  • Domain Expertise: A peer-reviewed journal has a higher intrinsic rank than a social media post for scientific claims.
  • Trust Discounting: A source's rank is decayed if it has a history of propagating retracted or contradicted information.
  • Dynamic Score: Authority is not static; it evolves with the source's continued publication record.
Graph Analysis
Computation Method
04

Temporal Validity Window

Incorporates a data freshness stamp to evaluate if the evidence is still current. A perfectly grounded statement from a 10-year-old source may be penalized if the knowledge domain has a high rate of change.

  • Confidence Decay Function: A mathematical formula that systematically reduces the score as the source ages.
  • Staleness Threshold: A hard cutoff where data is considered too old to be reliable and is excluded entirely.
  • Domain-Specific Windows: Financial data may have a validity window of minutes, while historical facts may have a window of decades.
  • Freshness-Aware Ranking: The grounding score is recalculated based on the most recent version of a source.
Time-Decay
Core Mechanism
05

Epistemic Uncertainty Calibration

Distinguishes between uncertainty from missing knowledge (epistemic) and inherent noise (aleatoric). A well-calibrated grounding score reflects low epistemic uncertainty, meaning the model has sufficient evidence to be confident.

  • Expected Calibration Error (ECE): A primary metric for measuring the gap between the model's confidence and its actual accuracy.
  • Temperature Scaling: A post-hoc logit calibration technique to align confidence scores with true likelihoods.
  • Conformal Prediction: An alternative framework that provides a mathematically guaranteed set of plausible answers instead of a single score.
  • High Epistemic Uncertainty: The model's grounding score should be low if the knowledge base lacks information on the topic.
ECE
Primary Metric
06

Evidence Weighting

The process of assigning different levels of importance to various pieces of evidence before computing the final score. A direct, empirical measurement in a source is weighted more heavily than an anecdotal mention.

  • Evidence Hierarchy: Primary sources (e.g., clinical trial results) are weighted above secondary sources (e.g., a literature review).
  • Subjective Logic: A framework that models belief, disbelief, and uncertainty as separate components, allowing for nuanced weighting.
  • Negative Weighting: Contradictory evidence is not just ignored; it actively subtracts from the score.
  • Contextual Relevance: A passage that directly answers the query is weighted more than a tangentially related one.
Weighted Sum
Aggregation Method
CONFIDENCE CALIBRATION

Frequently Asked Questions

Explore the core concepts behind how AI models assess the truthfulness of their own outputs and how enterprise content can be engineered to maximize trust scores.

A Factual Grounding Score is a metric evaluating how well an AI-generated statement is supported by verifiable evidence from a specific, retrieved knowledge source. It is calculated by comparing the semantic similarity and logical entailment between a generated claim and the source text provided to the model. The calculation typically involves a Natural Language Inference (NLI) model that classifies the relationship as 'entailment,' 'contradiction,' or 'neutral.' A high score indicates that the source document directly supports the claim, while a low score signals a potential hallucination where the model fabricated information not present in the retrieval context. This metric is critical for evaluating Retrieval-Augmented Generation (RAG) architectures, ensuring the system's outputs are anchored in authorized enterprise data rather than the model's parametric memory.

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.