Inferensys

Glossary

Claim-Source Alignment Score

A composite metric that quantifies the degree of semantic and factual correspondence between a specific AI-generated statement and the content of its cited source.
Developer reviewing semantic search engine results on laptop, relevance scores visible, technical search demo.
CITATION FIDELITY METRIC

What is Claim-Source Alignment Score?

A composite metric quantifying the degree of semantic and factual correspondence between an AI-generated statement and the content of its cited source.

The Claim-Source Alignment Score is a composite metric that quantifies the degree of semantic and factual correspondence between a specific AI-generated statement and the content of its cited source. It measures whether a citation genuinely supports the claim it accompanies, detecting citation drift and hallucinated references.

This score is calculated by combining a Semantic Relevancy Vector with a Factual Entailment Ratio to verify both topical alignment and logical support. A low score triggers a Source-Output Divergence Metric flag, indicating the source may be misrepresented or irrelevant to the generated text.

DECOMPOSING THE METRIC

Key Characteristics of Alignment Scoring

The Claim-Source Alignment Score is not a single number but a composite metric built from several distinct analytical dimensions. Each dimension quantifies a specific type of correspondence between an AI-generated statement and its cited evidence.

01

Semantic Textual Similarity

Measures the cosine similarity between the vector embeddings of the generated claim and the source text. This foundational layer uses models like Sentence-BERT to determine if the two texts are discussing the same topic at a high level.

  • High Similarity: The claim and source share a core subject.
  • Low Similarity: A red flag indicating a potential topic drift or a completely irrelevant citation.
  • Limitation: High semantic similarity does not guarantee factual accuracy; it only confirms topical alignment.
02

Natural Language Inference

A classification task that determines the logical relationship between a source (premise) and a claim (hypothesis). The model assigns a probability to three classes: Entailment, Contradiction, or Neutral.

  • Entailment: The source text logically implies the claim is true.
  • Contradiction: The source text directly refutes the claim.
  • Neutral: The source provides related information but does not confirm or deny the claim. This is the core engine for detecting factual entailment and is far more precise than semantic similarity alone.
03

Named Entity Overlap

Calculates the Jaccard similarity between the sets of named entities (people, organizations, locations, dates) extracted from both the claim and the source.

  • High Overlap: Confirms that both texts are referencing the same specific actors and objects.
  • Entity Hallucination: A claim mentioning an entity not present in the source is a critical failure, often indicating a factual hallucination.
  • Weighting: Core entities like a study's lead author are weighted more heavily than peripheral location mentions.
04

Numerical Consistency Check

A specialized sub-module that extracts and compares quantitative values, percentages, and statistical findings. This process uses SpaCy rule-based matchers and transformer-based question-answering models.

  • Exact Match: A direct numerical correspondence is the strongest signal.
  • Tolerance Band: Minor rounding differences are accepted.
  • Critical Failure: A claim stating 'revenue increased by 20%' when the source states '15%' results in a severe score penalty, as numerical inaccuracy is a high-confidence indicator of a citation error.
05

Contradiction Detection

An explicit binary classifier trained to identify when a claim directly opposes the cited source. This goes beyond NLI's 'Neutral' class to actively search for polar opposition.

  • Example: The claim states 'The treatment was effective,' but the source concludes 'The treatment showed no statistically significant benefit.'
  • Methodology: Uses a fine-tuned RoBERTa model on a specialized dataset of scientific contradictions.
  • Impact: A detected contradiction immediately floors the alignment score to near-zero, overriding other positive signals.
06

Contextual Scope Fidelity

Evaluates if the claim overgeneralizes a finding that was specific to a narrow context in the source. This metric penalizes scope expansion.

  • Source Scope: 'The algorithm outperforms baselines on ImageNet classification.'
  • Overgeneralized Claim: 'The algorithm is the superior solution for all computer vision tasks.'
  • Mechanism: Uses a fine-tuned entailment model to detect when the claim's domain of validity is a superset of the source's stated domain, flagging an unsupported extrapolation.
CITATION INTEGRITY

Frequently Asked Questions

Explore the core concepts behind how AI systems verify the factual alignment between generated claims and their cited sources.

A Claim-Source Alignment Score is a composite metric that quantifies the degree of semantic and factual correspondence between a specific AI-generated statement and the content of its cited source. It is calculated by combining several sub-signals: a Semantic Relevancy Vector measures topical similarity via embedding cosine similarity, while a Factual Entailment Ratio uses natural language inference models to determine the probability that the source text logically supports the claim. These signals are then weighted against a Source Credibility Score to produce a final alignment value, ensuring that a highly relevant but untrustworthy source does not receive a high score.

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.