Attention Dispersion as a Diagnostic Signal for Hallucination in Large Language Models

Shardul P. More, Tanuja S. Pawar
9/16/2026
cs.CLcs.LG

No confident code implementation found for this paper.

Abstract

Large Language Models (LLMs) frequently exhibit hallucinations, presenting a major barrier to reliability in complex reasoning tasks. While traditional detection methods rely on output-based confidence metrics, these logits are often miscalibrated by modern alignment techniques.

Show full abstract

In this paper, we investigate the temporal volatility of internal attention mechanisms as an alternative diagnostic signal for hallucination that does not depend on output calibration. By introducing an unsupervised metric for attention dispersion, we show that epistemic uncertainty leaves a measurable trace within intermediate layers, where spikes in attention entropy are associated with reasoning breakdowns. We evaluate our approach on mathematical reasoning benchmarks (GSM8K and MATH-500) using the Qwen2.5 model family (1.5B and 3B parameters), finding statistically significant AUC improvements of up to +0.076 over output-based baselines across all tested conditions. These findings suggest that attention dispersion is a promising complement to traditional hallucination detection methods, requiring further investigation across broader model families and task domains.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{more2026attention,
  title  = {Attention Dispersion as a Diagnostic Signal for Hallucination in Large Language Models},
  author = {Shardul P. More and Tanuja S. Pawar},
  year   = {2026},
  eprint = {2609.18320},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2609.18320v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2609.18320.svg)](https://codeofpaper.com/paper/2609.18320)

Discussion