Shadows in the Attention: Contextual Perturbation and Representation Drift in the Dynamics of Hallucination in LLMs
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
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
- 2024Qwen2.5 Technical Reportcited by 4,942
- 2021TruthfulQA: Measuring How Models Mimic Human Falsehoodscited by 2,975
- 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,592
- 2022Survey of Hallucination in Natural Language Generationcited by 2,075
- 2022Language Models (Mostly) Know What They Knowcited by 1,856
- 2023A Survey on Hallucination in Large Language Models: Principles, Taxonomy, Challenges, and Open Questionscited by 1,601
- 2020On Faithfulness and Factuality in Abstractive Summarizationcited by 900
- 2023SelfCheckGPT: Zero-Resource Black-Box Hallucination Detection for Generative Large Language Modelscited by 810
15 more
- 2023The Internal State of an LLM Knows When It's Lyingcited by 659
- 2023The Falcon Series of Open Language Modelscited by 535
- 2023A Survey of Hallucination in Large Foundation Modelscited by 368
- 2023Check Your Facts and Try Again: Improving Large Language Models with External Knowledge and Automated Feedbackcited by 353
- 2024INSIDE: LLMs' Internal States Retain the Power of Hallucination Detectioncited by 323
- 2024Fact-Checking the Output of Large Language Models via Token-Level Uncertainty Quantificationcited by 162
- 2024Lookback Lens: Detecting and Mitigating Contextual Hallucinations in Large Language Models Using Only Attention Mapscited by 142
- 2023Complex Claim Verification with Evidence Retrieved in the Wildcited by 110
- 2020Controlled Hallucinations: Learning to Generate Faithfully from Noisy Datacited by 84
- 2024Do LLMs Know about Hallucination? An Empirical Investigation of LLM's Hidden Statescited by 52
- 2023Look Before You Leap: An Exploratory Study of Uncertainty Measurement for Large Language Modelscited by 41
- 2025Hallucination Detection in LLMs with Topological Divergence on Attention Graphscited by 19
- 2024Mitigating Entity-Level Hallucination in Large Language Modelscited by 17
- 2024Estimating Privacy Leakage of Augmented Contextual Knowledge in Language Modelscited by 6
- 2025What are Models Thinking about? Understanding Large Language Model Hallucinations "Psychology" through Model Inner State Analysiscited by 2
Built on by
Citing papers per year: 2025: 4; 2026: 5.
9 papers.
- 2026HalluGuard: Demystifying Data-Driven and Reasoning-Driven Hallucinations in LLMscited by 5
- 2025Pay What LLM Wants: Can LLM Simulate Economics Experiment with 522 Real-human Persona?cited by 2
- 2025REFLEX: Self-Refining Explainable Fact-Checking via Verdict-Anchored Style Controlcited by 1
- 2026Automation-Exploit: A Multi-Agent LLM Framework for Adaptive Offensive Security with Digital Twin-Based Risk-Mitigated Exploitationcited by 1
- 2026Temperature-driven inversion and nonlinear dynamics in ChatGPT-like AIscited by 1
- 2025PromptAug: Fine-grained Conflict Classification Using Data Augmentationcited by 0
- 2025Chatsparent: An Interactive System for Detecting and Mitigating Cognitive Fatigue in LLMscited by 0
- 2026HART: Data-Driven Hallucination Attribution and Evidence-Based Tracing for Large Language Modelscited by 0
- 2026Many-body Tipping Dynamics of ChatGPT-like AIscited by 0
- 2026Temperature-driven inversion and nonlinear dynamics in ChatGPT-like AIs2 Aug 2026
- 2026Many-body Tipping Dynamics of ChatGPT-like AIs28 Jul 2026
- 2026Automation-Exploit: A Multi-Agent LLM Framework for Adaptive Offensive Security with Digital Twin-Based Risk-Mitigated Exploitation24 Apr 2026
- 2026HART: Data-Driven Hallucination Attribution and Evidence-Based Tracing for Large Language Models6 Mar 2026
- 2026HalluGuard: Demystifying Data-Driven and Reasoning-Driven Hallucinations in LLMs26 Jan 2026
- 2025REFLEX: Self-Refining Explainable Fact-Checking via Verdict-Anchored Style Control25 Nov 2025
- 2025Chatsparent: An Interactive System for Detecting and Mitigating Cognitive Fatigue in LLMs14 Nov 2025
- 2025Pay What LLM Wants: Can LLM Simulate Economics Experiment with 522 Real-human Persona?5 Aug 2025
- 2025PromptAug: Fine-grained Conflict Classification Using Data Augmentation24 Jun 2025