H-Neurons: On the Existence, Impact, and Origin of Hallucination-Associated Neurons in LLMs
Cheng Gao, Huimin Chen, Chaojun Xiao, Zhiyi Chen, Zhiyuan Liu, Maosong Sun
TL;DR
The paper reveals a microscopic basis for LLM hallucinations by identifying an ultra-sparse set of Hallucination-Associated Neurons (H-Neurons) in FFN layers that reliably predict hallucinations and generalize across tasks. Through activation-perturbation, it shows these neurons causally drive over-compliance behaviors across multiple safety-related benchmarks. By tracing origins via backward transferability and parameter drift, the work provides evidence that H-Neurons arise in pre-training and persist through alignment. These findings offer a concrete neuron-level target for detection and potential mitigation of hallucinations in LLMs.
Abstract
Large language models (LLMs) frequently generate hallucinations -- plausible but factually incorrect outputs -- undermining their reliability. While prior work has examined hallucinations from macroscopic perspectives such as training data and objectives, the underlying neuron-level mechanisms remain largely unexplored. In this paper, we conduct a systematic investigation into hallucination-associated neurons (H-Neurons) in LLMs from three perspectives: identification, behavioral impact, and origins. Regarding their identification, we demonstrate that a remarkably sparse subset of neurons (less than $0.1\%$ of total neurons) can reliably predict hallucination occurrences, with strong generalization across diverse scenarios. In terms of behavioral impact, controlled interventions reveal that these neurons are causally linked to over-compliance behaviors. Concerning their origins, we trace these neurons back to the pre-trained base models and find that these neurons remain predictive for hallucination detection, indicating they emerge during pre-training. Our findings bridge macroscopic behavioral patterns with microscopic neural mechanisms, offering insights for developing more reliable LLMs.
