NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Illusions of Confidence? Diagnosing LLM Truthfulness via Neighborhood Consistency

Haoming Xu, Ningyuan Zhao, Yunzhi Yao, Weihong Xu, Hongru Wang, Xinle Deng, Shumin Deng, Jeff Z. Pan, Huajun Chen, Ningyu Zhang

TL;DR

Large Language Models (LLMs) can appear confident even when their knowledge is brittle and easily disrupted by contextual changes. This paper introduces "Neighbor-Consistency Belief" (NCB), a new metric that measures belief robustness by checking how well an LLM's answers cohere across related facts. They also propose "Structure-Aware Training" (SAT) to build more robust LLMs.

What Problem Does This Paper Address?

LLMs are increasingly used in critical applications, but their "truthfulness" is often superficial. Current evaluation methods, like "Self-Consistency" (SC), check if an LLM gives the same answer multiple times. However, this paper shows that even if an LLM is perfectly self-consistent on a fact, it can still be easily misled by slight changes in context, such as conflicting information from other AI agents or authoritative-sounding but incorrect sources. This "illusion of confidence" makes LLMs unreliable in real-world, dynamic environments. The problem is that existing metrics don't capture the structural integrity of an LLM's knowledge, only its surface-level agreement.

Methods

The core contribution is the Neighbor-Consistency Belief (NCB) metric. Instead of just checking a single fact, NCB evaluates how coherent an LLM's answers are across a "neighborhood" of related facts. This neighborhood includes entity prerequisites, logical implications, and thematic associations. A high NCB score suggests a more structured and robust belief state.

To test this, they developed a cognitive stress-testing protocol using a "Neighbor-Enriched Dataset." This dataset embeds target facts within their conceptual neighborhoods and includes "Misleading Neighbor Questions" (MNQs) designed to create a "consistency trap" – facts that are internally coherent but externally false. They then subjected LLMs to two types of interference:

  1. Peer Quantity (Social Pressure): Simulating multi-agent environments where the LLM is influenced by peer opinions.
  2. Source Credibility (Authority Bias): Presenting information from sources of varying credibility to test resistance to misleading authoritative contexts.

Finally, they proposed Structure-Aware Training (SAT), a method that optimizes for context-invariant belief structures during learning, aiming to reduce the brittleness of newly acquired knowledge.

Datasets

  • Neighbor-Enriched Dataset: A newly constructed dataset of 2,000 samples (500 per domain: STEM, Arts & Culture, Social Sciences, Sports) designed to evaluate belief robustness. It includes target facts and their associated verified Neighbor Facts (NFs) and Misleading Neighbor Facts (MNFs).
  • Seed Data: Sourced from SimpleQA, HotpotQA, and SciQ for initial data construction.
  • Dunknown: An evaluation set of 100 facts sampled from the Neighbor-Enriched Dataset that the base model initially answers incorrectly, used for evaluating training strategies.

Key Insights and Ideas

  • High Self-Consistency ≠ Robust Belief: The most striking finding is that perfect self-consistency (SC=1.0) can mask brittle knowledge. LLMs can be easily swayed by contextual interference, even when they appear confident.
  • Belief is Structured: The paper argues that true belief is a structural property, not just point-wise confidence. Coherent knowledge across related facts is a better indicator of robustness.
  • NCB as a Robustness Indicator: The NCB metric effectively distinguishes between models with robust beliefs and those with brittle, memorized knowledge. High-NCB samples are significantly more resistant to interference.
  • Long-Tail Knowledge is Brittle: Low-NCB samples tend to be associated with less popular, more difficult facts, suggesting that LLMs struggle to form robust beliefs for less common knowledge.
  • Scaling Doesn't Solve Brittleness: Larger LLMs don't automatically gain more robust beliefs; the gap between high and low NCB performance persists across model sizes.
  • Reflection is Key for Robustness: Inference-time strategies like "Reflection" (reconsidering an answer) are more effective at mitigating interference than "Chain-of-Thought" (CoT) reasoning, especially for models with brittle beliefs.

Key Results

  • In a pilot study, accuracy dropped from 100% to 33.8% for high-SC samples when exposed to contextual interference.
  • Experiments showed that High-NCB groups consistently maintained higher accuracy and coverage under various stress tests (Peer Quantity and Source Credibility) compared to Low-NCB groups. For example, under Quantity Stressing, the High NCB group had significantly lower accuracy drops (e.g., 16.0% vs. 25.7% for Qwen2.5).
  • Structure-Aware Training (SAT) reduced average performance degradation by approximately 30% compared to baselines on newly learned facts under stress tests.

Limitations and Future Work

  • Scope of Neighbor Facts: The framework currently focuses on three relation types (Entity Prerequisite, Logical Implication, Thematic Association). More complex relations like causal chains or hierarchical taxonomies are excluded due to domain-specific resource needs.
  • Static Knowledge Focus: The evaluation is limited to time-invariant factual knowledge, excluding dynamic facts and multi-hop reasoning. This simplifies belief stability analysis but limits direct applicability to real-time knowledge updates.
  • Human Alignment: NCB is an operational proxy for belief robustness, not a direct measure of human-like comprehension. Future work could validate NCB through human experiments and examine its impact on task performance.
  • Computational Overhead: Constructing belief neighborhoods introduces significant computational overhead during training and inference, requiring optimization for large-scale deployment.
  • Ethical Considerations: The stress-testing protocols could be repurposed for adversarial attacks. Prioritizing high-NCB metrics might marginalize long-tail knowledge. Structure-Aware Training could potentially be misused to reinforce incorrect information.

Summary updated

BibTeX
@inproceedings{xu2026illusions,
  author = {Haoming Xu and Ningyuan Zhao and Yunzhi Yao and Weihong Xu and Hongru WANG and Xinle Deng and Shumin Deng and Jeff Z. Pan and Huajun Chen and Ningyu Zhang},
  title = {{Illusions of Confidence? Diagnosing LLM Truthfulness via Neighborhood Consistency}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2026},
  doi = {10.18653/v1/2026.acl-long.203},
}
Figure