mlsanityData to 14 Oct 2026

Shadows in the Attention: Contextual Perturbation and Representation Drift in the Dynamics of Hallucination in LLMs

arXiv 2505.16894 ↗First posted 22 May 2025cs.CLcited by 9

Not on the map. Why?

Abstract (arXiv)

Hallucinations -- plausible yet erroneous outputs -- remain a critical barrier to reliable deployment of large language models (LLMs). We present the first systematic study linking hallucination incidence to internal-state drift induced by incremental context injection. Using TruthfulQA, we construct two 16-round "titration" tracks per question: one appends relevant but partially flawed snippets, the other injects deliberately misleading content. Across six open-source LLMs, we track overt hallucination rates with a tri-perspective detector and covert dynamics via cosine, entropy, JS and Spearman drifts of hidden states and attention maps. Results reveal (1) monotonic growth of hallucination frequency and representation drift that plateaus after 5--7 rounds; (2) relevant context drives deeper semantic assimilation, producing high-confidence "self-consistent" hallucinations, whereas irrelevant context induces topic-drift errors anchored by attention re-routing; and (3) convergence of JS-Drift (~0.69) and Spearman-Drift (~0) marks an "attention-locking" threshold beyond which hallucinations solidify and become resistant to correction. Correlation analyses expose a seesaw between assimilation capacity and attention diffusion, clarifying size-dependent error modes. These findings supply empirical foundations for intrinsic hallucination prediction and context-aware mitigation mechanisms.

Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). Builds on 27 of its 31 references that are in the map. First posted on arXiv 22 May 2025.

Builds on

27 of 31 references.

References · 27

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2024The Llama 3 Herd of Modelscited by 14,715
  3. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  4. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
  5. 2024Qwen2.5 Technical Reportcited by 4,942
  6. 2021TruthfulQA: Measuring How Models Mimic Human Falsehoodscited by 2,975
  7. 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,592
  8. 2022Survey of Hallucination in Natural Language Generationcited by 2,075
  9. 2022Language Models (Mostly) Know What They Knowcited by 1,856
  10. 2023A Survey on Hallucination in Large Language Models: Principles, Taxonomy, Challenges, and Open Questionscited by 1,601
  11. 2020On Faithfulness and Factuality in Abstractive Summarizationcited by 900
  12. 2023SelfCheckGPT: Zero-Resource Black-Box Hallucination Detection for Generative Large Language Modelscited by 810
15 more
  1. 2023The Internal State of an LLM Knows When It's Lyingcited by 659
  2. 2023The Falcon Series of Open Language Modelscited by 535
  3. 2023A Survey of Hallucination in Large Foundation Modelscited by 368
  4. 2023Check Your Facts and Try Again: Improving Large Language Models with External Knowledge and Automated Feedbackcited by 353
  5. 2024INSIDE: LLMs' Internal States Retain the Power of Hallucination Detectioncited by 323
  6. 2024Fact-Checking the Output of Large Language Models via Token-Level Uncertainty Quantificationcited by 162
  7. 2024Lookback Lens: Detecting and Mitigating Contextual Hallucinations in Large Language Models Using Only Attention Mapscited by 142
  8. 2023Complex Claim Verification with Evidence Retrieved in the Wildcited by 110
  9. 2020Controlled Hallucinations: Learning to Generate Faithfully from Noisy Datacited by 84
  10. 2024Do LLMs Know about Hallucination? An Empirical Investigation of LLM's Hidden Statescited by 52
  11. 2023Look Before You Leap: An Exploratory Study of Uncertainty Measurement for Large Language Modelscited by 41
  12. 2025Hallucination Detection in LLMs with Topological Divergence on Attention Graphscited by 19
  13. 2024Mitigating Entity-Level Hallucination in Large Language Modelscited by 17
  14. 2024Estimating Privacy Leakage of Augmented Contextual Knowledge in Language Modelscited by 6
  15. 2025What are Models Thinking about? Understanding Large Language Model Hallucinations "Psychology" through Model Inner State Analysiscited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 4; 2026: 5.

9 papers.