Large Language Models Do NOT Really Know What They Don't Know

Chi Seng Cheang, Hou Pong Chan, Wenxuan Zhang, Yang Deng · OpenReview

Abstract

Recent work suggests that large language models (LLMs) encode factuality signals in their internal representations, such as hidden states, attention weights, or token probabilities, implying that LLMs may "know what they don't know". However, LLMs can also produce factual errors by relying on shortcuts or spurious associations. These error are driven by the same training objective that encourage correct predictions, raising the question of whether internal computations can reliably distinguish between factual and hallucinated outputs. In this work, we conduct a mechanistic analysis of how LLMs internally process factual queries by comparing two types of hallucinations based on their reliance on subject information. We find that when hallucinations are associated with subject knowledge, LLMs employ the same internal recall process as for correct responses, leading to overlapping and indistinguishable hidden-state geometries. In contrast, hallucinations detached from subject knowledge produce distinct, clustered representations that make them detectable. These findings reveal a fundamental limitation: LLMs do not encode truthfulness in their internal states but only patterns of knowledge recall, demonstrating that "LLMs don't really know what they don't know".

Introduction

A trending hypothesis in AI safety and interpretability is that LLMs "know when they are lying." Previous studies suggested that internal signals, such as hidden states or attention weights, could be used to build "truth detectors" or to fine-tune models to refuse questions they cannot answer accurately. However, this research argues that these detection methods are essentially "cheating" by only catching the easy cases.

Taxonomy of factual queries and their resulting internal states and outputs.

The critical gap lies in the nature of hallucinations. They are not merely caused by a lack of data; often, they are driven by spurious associations. For instance, a model might "know" Barack Obama is strongly linked to Chicago and thus confidently, but incorrectly, state he was born there. This study investigates whether these "confident" hallucinations can be distinguished from factual truths using internal model states.

Methodology

The researchers categorized model outputs into a three-part taxonomy:

  1. Factual Associations (FA): Correct recall of stored knowledge.
  2. Associated Hallucinations (AH): Incorrect outputs driven by strong parametric associations (the "confident" errors).
  3. Unassociated Hallucinations (UH): Incorrect outputs where the model has no strong internal grounding (the "clueless" errors).

To analyze these, the authors used a custom evaluation dataset derived from Wikidata triples (subject, relation, object), focusing on unambiguous relations like father, mother, spouse, and date of birth. Experiments were conducted on LLaMA-3-8B and Mistral-7B-v0.3. The team employed mechanistic interpretability techniques, including activation patching and geometric probing (analyzing $L_2$ norms and cosine similarities of hidden states), to see if these categories occupy different regions of the model's high-dimensional "thought space."

Results and Discussion

The most profound insight is that internal states reflect how a model searches its memory, not whether the result is true. If the model finds a strong statistical link, the internal signal looks "factual," even if the link is a hallucination.

The Detection Gap

Standard hallucination detectors achieved high accuracy on UHs (AUROC $\approx$ 0.91–0.93) but performed poorly on AHs (AUROC $\approx$ 0.58–0.69), which is only marginally better than a random guess. This is because AHs are geometrically indistinguishable from FAs; they share the same computational pathways and activation strengths.

Comparison of internal state divergence across layers for Factual Associations, Associated Hallucinations, and Unassociated Hallucinations.

Failure of Refusal Tuning

Because AHs look like facts internally, "refusal tuning"—teaching a model to say "I don't know"—fails to generalize. While LLaMA-3 successfully refused 82% of unassociated hallucinations after tuning, it only refused 33% of associated ones. Furthermore, the model began "over-refusing" factual statements (29.5% error rate) because it could not distinguish between a fact and a strong spurious association.

Conclusion

This study demonstrates that internal states are unreliable indicators of truth. LLMs signal knowledge recall, not truthfulness. High-popularity entities are particularly prone to triggering "invisible" hallucinations that bypass internal detection. Future research should likely pivot away from searching for a "truth neuron" and instead focus on external feedback mechanisms, such as Retrieval-Augmented Generation (RAG) or external fact-checkers, to mitigate confident hallucinations.

Summary updated

BibTeX
@inproceedings{cheang2026large,
  author = {Chi Seng Cheang and Hou Pong Chan and Wenxuan Zhang and Yang Deng},
  title = {{Large Language Models Do NOT Really Know What They Don't Know}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2026},
  doi = {10.18653/v1/2026.findings-acl.34},
}
Figure