Manuscript Offprint

arXiv:2610.22520

Understanding LLM Hallucinations Caused by Soft Errors

Jinghao Wen, Dongning Ma, Ruixuan Wang, Shaohuang Wang, Xun Jiao

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Jinghao Wen

jwen01@villanova.edu

Villanova University

Department of Electrical and

Computer Engineering

Villanova, Pennsylvania, USA

Dongning Ma

Dongning.Ma@mbzuai.ac.ae

Mohamed bin Zayed University of

Artificial Intelligence

Department of Computer Science

Abu Dhabi, United Arab Emirates

Ruixuan Wang

rwang8@villanova.edu

Villanova University

Department of Electrical and

Computer Engineering

Villanova, Pennsylvania, USA

Shaohuang Wang

swang08@villanova.edu

Villanova University

Department of Electrical and

Computer Engineering

Villanova, Pennsylvania, USA

Abstract

While hallucinations in Large Language Models (LLMs) have been extensively studied from a software perspective, limited attention has been paid to hardware-level factors. In this paper, we performed a case study to understand LLM hallucination caused by soft errors on hardware. We introduce LLMEI to inject soft errors into LLMs during inference, based on what we evaluate the impact of soft error across diverse LLM architectures and tasks, including mathematical reasoning and code generation. We summarize the taxonomy of different failure modes based on LLM hallucination behaviors and analyze their distributions under different error rates. Our findings underscore the hallucination-specific diagnostics within the reliability of LLM implementation on hardware.

CCS Concepts

• Computing methodologies → Artificial intelligence; • Hardware → Hardware reliability.