Hallucination Detox: Sensitivity Dropout (SenD) for Large Language Model Training
Shahrad Mohammadzadeh, Juan David Guerra, Marco Bonizzato, Reihaneh Rabbany, Golnoosh Farnadi
TL;DR
This work addresses hallucination risk during LLM training by identifying persistent oscillations in hallucination metrics across checkpoints and model scales. It introduces Sensitivity Dropout (SenD), which deterministically drops Sensitive Embedding Indices (SEIs) identified from penultimate-layer variability, and Efficient EigenScore (EES), a scalable surrogate for EigenScore based on Density of States and Chebyshev polynomials that enables fast, unsupervised hallucination detection. Empirically, SenD reduces training-time hallucination variance and achieves up to 17% improvements in test-time reliability and better factual accuracy across Wikipedia, Medical, Legal, and Coding domains without degrading downstream performance; EES closely tracks EigenScore while cutting computation time roughly in half at large scales. The method demonstrates that training-dynamics-aware mitigation can complement post-hoc approaches like RAG, with practical potential for integration into large-model pipelines, though validation is still limited to continual training due to compute constraints. The work provides a scalable framework for stabilizing LLM training and offers new insights into how internal dynamics relate to hallucination risk, paving the way for broader adoption and scaling to larger pretraining regimes.
Abstract
As large language models (LLMs) become increasingly prevalent, concerns about their reliability, particularly due to hallucinations - factually inaccurate or irrelevant outputs - have grown. Our research investigates the relationship between the uncertainty in training dynamics and the emergence of hallucinations. Using models from the Pythia suite and several hallucination detection metrics, we analyze hallucination trends and identify significant variance during training. To address this, we propose Sensitivity Dropout (SenD), a novel training protocol designed to reduce hallucination variance during training by deterministically dropping embedding indices with significant variability. In addition, we develop an unsupervised hallucination detection metric, Efficient EigenScore (EES), which approximates the traditional EigenScore in 2x speed. This metric is integrated into our training protocol, allowing SenD to be both computationally scalable and effective at reducing hallucination variance. SenD improves test-time reliability of Pythia and Meta's Llama models by up to 17% and enhances factual accuracy in Wikipedia, Medical, Legal, and Coding domains without affecting downstream task performance.
