Is This Your Final Answer? Cross-Contextual Consistency as a Measure of LLM Credibility
Siyang Wu, Yibo Jiang, Bryon Aragam
University of Chicago
cs.CL, cs.AI
Submitted: 2026-08-10
Updated: 2026-08-12
Code: https://github.com/togethercomputer/RedPajama-Data
License: http://creativecommons.org/licenses/by/4.0/
Importance score: 75/100
The gist: The paper introduces Cross-Contextual Consistency (C3), a behavioral property and metric for evaluating the credibility of large language models (LLMs).
Terminology
Summary
The paper introduces Cross-Contextual Consistency (C3), a behavioral property and metric for evaluating the credibility of large language models (LLMs). The core idea is that a credible answer should remain stable when the same task is presented under topic-aligned, content-neutral contextual variations. The authors operationalize this by comparing model output distributions under original and perturbed prompts, using Maximum Mean Discrepancy (MMD) as the primary distance metric.
The paper's abstract states: "We identify cross-contextual consistency as an underutilized behavioral property of LLMs: a credible answer should remain stable when the same task is placed under topic-aligned, content-neutral contextual variation. Building on this intuition, we operationalize Cross-Contextual Consistency (C3) by comparing model generations under original and perturbed prompts."
The main contributions are:
-
"An underutilized behavioral property of LLMs. We identify C3 as an underutilized behavioral property of LLMs' credibility of generations: when a model's answer is well-supported, it should remain stable under cross-examination."
-
"An operationalization of cross-contextual consistency. We instantiate this idea through C3, a black-box evaluation protocol that compares model output distributions under original and perturbed contexts while adapting across multiple-choice, short-answer, long-form factuality, and code-generation tasks."
-
"Empirical evidence for the evaluation utility of cross-contextual consistency. Across six benchmarks and 16 main models, with an additional 10-model case study, we show that C3 aligns with correctness and factuality, remains robust across perturbation sources and comparison estimators, and provides a complementary diagnostic for identifying saturated, brittle, biased, and unlearned benchmark regions."
The experiments evaluate C3 on six benchmarks: SVAMP (arithmetic reasoning), MMLU High School Statistics (multiple-choice reasoning), CommonsenseQA (commonsense inference), SimpleQA Verified (short-form factual QA), FActScore (long-form factuality), and HumanEval (code generation). The evaluation spans 16 main models from families including OpenAI's GPT-4.1 series, Google's Gemma-3 and Gemini models, Meta's Llama-3 Instruct models, and Mistral models.
Key results show that C3 consistently outperforms baseline methods (self-consistency, paraphrasing consistency, self-report) in aligning with truthfulness. For example, on SVAMP, C3 achieves an AUROC of 0.917, a noticeable jump over Self-Consistency, with AUROC of 0.861.
On SimpleQA, a challenging benchmark, C3 achieves 0.166 and 0.823, respectively
for ECE and AUROC, significantly outperforming baselines.
The paper explains why other methods fail: "Self-reported measures exhibit miscalibration... their discriminative power, measured by AUROC and AUPRC, remains near-random. This confirms that LLMs struggle to introspectively verbalize uncertainty, often overconfidently yielding near-100% score for wrong answers. Paraphrasing
suffers from fundamental mechanistic flaws; since the paraphrasing is often performed by an LLM assistant, it can introduce semantic drift."
The paper also demonstrates that C3 becomes more informative as model capability increases: larger models within the Llama and Mistral families generally show stronger alignment between C3 and downstream correctness.
However, scale does not eliminate cross-contextual fragility: even the strongest models remain imperfectly stable under answer-neutral contextual variation.
C3 also serves as a benchmark diagnostic tool. The paper states: By jointly inspecting instance-level C3 and instance-level benchmark performance, we can show cross-model typical behavior for each benchmark instance.
This analysis reveals four regions: mastered
(high performance with consistent answers), brittle
(high performance but sensitive to perturbations), biased
(low performance yet perturbation-invariant), and unlearned
(low performance with inconsistency). For instance, CommonsenseQA and HumanEval both exhibit the signature of saturation,
while SimpleQA represents the true 'hard' benchmark, dominated by the 'Unlearned' region.
The paper includes ablation studies showing that C3 does not depend on advanced models for perturbation generation: C3 remains competitive when perturbations are generated from non-frontier sources.
Using Qwen3-8B for perturbation generation achieved the highest AUROC among the C3 variants.
Additionally, replacing MMD with a simpler cross-comparison method shows both C3 variants outperform self-consistency, paraphrasing consistency, and self-report on most calibration and ranking metrics.
The conclusion states: "This work identifies cross-contextual consistency as a behavioral signal for evaluating LLM credibility: when a model's answer is well-supported, it should remain stable under topic-aligned, content-neutral contextual variation. We operationalize this idea through C3, a black-box framework that compares generation distributions under original and perturbed contexts. Across 26 models and six benchmarks, C3 consistently aligns with correctness and factuality across reasoning, factual recall, long-form generation, and code generation."
Improvements for AI systems
Improvements to AI Systems:
- Implement C3 as a built-in self-consistency filter for answer generation.
-
The AI system can automatically generate 2–3 topic-aligned, content-neutral contextual perturbations of the user’s prompt (e.g., changing
Solve: 5+3
toGiven the arithmetic problem, compute 5+3
). -
It then compares its own output distributions across these variants using MMD. If the distributions diverge beyond a learned threshold, the system flags the answer as low-credibility and either abstains, requests clarification, or re-generates with a more robust reasoning path.
-
This reduces overconfident wrong answers in high-stakes domains (e.g., medical advice, legal reasoning) without requiring external verification.
- Add a
cross-contextual confidence score
to the model’s output interface.
-
Instead of a single scalar confidence (which the paper shows is miscalibrated), the system outputs a C3-based credibility score alongside each answer.
-
This score is computed by running the same task under 3–5 neutral perturbations (e.g., rephrasing
What is the capital of France?
toName the capital city of France.
) and measuring distributional stability. -
Users can then see not just what the model says, but how stable that answer is under cross-examination—helping them calibrate trust for critical decisions.
- Use C3 as a training signal for robustness fine-tuning.
-
During fine-tuning, add a C3 regularizer: for each training example, generate perturbations and penalize the model if its output distributions differ significantly (using MMD loss).
-
This encourages the model to learn task-relevant invariants rather than spurious surface-form correlations, leading to more generalizable reasoning.
-
The improved system would show higher accuracy on out-of-distribution tasks and reduced brittleness, as demonstrated by the paper’s finding that C3 aligns with correctness across model families.
- Deploy C3 as a benchmark-diagnostic tool for continuous model monitoring.
-
The AI system can automatically classify its own performance on new or existing benchmarks into the four regions (mastered, brittle, biased, unlearned) by jointly computing instance-level C3 and correctness.
-
For example, if the system detects a
brittle
region (high accuracy but low C3) on a specific topic, it can trigger targeted retraining or prompt-engineering to stabilize those answers. -
This enables proactive identification of failure modes (e.g., hallucination on SimpleQA-style questions) before they cause user-facing errors.
- Integrate C3 into retrieval-augmented generation (RAG) pipelines.
-
When the system retrieves documents and generates an answer, it can perturb the query context (e.g.,
Based on the provided documents, answer...
vs.Using the given text, respond to...
) and check if the final answer remains consistent. -
If C3 is low, the system can re-rank retrieved documents or expand the retrieval set, improving factual grounding.
-
This directly addresses the paper’s finding that C3 outperforms self-consistency and paraphrasing on factuality benchmarks like SimpleQA and FActScore.
- Enable low-resource model improvement via perturbation-source independence.
-
The system can use a small, non-frontier model (e.g., Qwen3-8B) to generate perturbations for a larger model, as the paper shows this achieves the highest AUROC.
-
This allows smaller organizations to deploy C3-based credibility checks without needing expensive frontier models for perturbation generation, making robust evaluation accessible.
Abstract
Large language models (LLMs) are powerful black-box systems, making it difficult to discern whether their answers reflect stable internal beliefs or superficial pattern matching. We identify cross-contextual consistency as an underutilized behavioral property of LLMs: a credible answer should remain stable when the same task is placed under topic-aligned, content-neutral contextual variation. Building on this intuition, we operationalize Cross-Contextual Consistency (C3) by comparing model generations under original and perturbed prompts. Across 26 models and six benchmarks spanning reasoning, factuality, and code generation, we find that answers with smaller cross-contextual shifts are more likely to be correct or factual. We demonstrate that C3 provides a complementary axis of evaluation and can serve as a benchmark usefulness diagnostic, identifying which portions of a benchmark remain informative even when aggregated scores are widely considered "saturate".
Sources
- Language Models are Few-Shot Learners
- Say It Another Way: Auditing LLMs with a User-Grounded Automated Paraphrasing Framework
- Evaluating Large Language Models Trained on Code
- Gemini 2.5: Pushing the Frontier with Advanced Reasoning, Multimodality, Long Context, and Next Generation Agentic Capabilities
- A mathematical perspective on Transformers
- The Llama 3 Herd of Models
- SimpleQA Verified: A Reliable Factuality Benchmark to Measure Parametric Knowledge
- Mixtral of Experts
- GPT-4o System Card
- GPT-4 Technical Report
- Humans overrely on overconfident language models, across languages
- Quantifying Language Models' Sensitivity to Spurious Features in Prompt Design or: How I learned to start worrying about prompt formatting
- Assessing Correctness in LLM-Based Code Generation via Uncertainty Estimation
- OpenAI GPT-5 System Card
- MPNet: Masked and Permuted Pre-training for Language Understanding
- Gemma 3 Technical Report
- Qwen3 Technical Report
Related papers
- Exploring Solution Divergence and Its Effect on Large Language Model Problem Solving
- Ishigaki-IDS-Bench: A Benchmark for Generating Information Delivery Specification from BIM Information Requirements
- Subliminal Steering: Stronger Encoding of Hidden Signals
- MedStruct-S: A Benchmark for Key Discovery, Key-Conditioned QA and Semi-Structured Extraction from OCR Clinical Reports
- The End of Transformers? On Challenging Attention and the Rise of Sub-Quadratic Architectures
- Untangling the Mechanisms of Misleading Context in Medical Question Answering