English

Mathematical Analysis of Hallucination Dynamics in Large Language Models: Uncertainty Quantification, Advanced Decoding, and Principled Mitigation

Computation and Language 2025-11-20 v1 Artificial Intelligence

Abstract

Large Language Models (LLMs) are powerful linguistic engines but remain susceptible to hallucinations: plausible-sounding outputs that are factually incorrect or unsupported. In this work, we present a mathematically grounded framework to understand, measure, and mitigate these hallucinations. Drawing on probabilistic modeling, information theory, trigonometric signal analysis, and Bayesian uncertainty estimation, we analyze how errors compound autoregressively, propose refined uncertainty metrics, including semantic and phase-aware variants, and develop principled mitigation strategies such as contrastive decoding, retrieval-augmented grounding, factual alignment, and abstention. This unified lens connects recent advances in calibration, retrieval, and alignment to support safer and more reliable LLMs.

Keywords

Cite

@article{arxiv.2511.15005,
  title  = {Mathematical Analysis of Hallucination Dynamics in Large Language Models: Uncertainty Quantification, Advanced Decoding, and Principled Mitigation},
  author = {Moses Kiprono},
  journal= {arXiv preprint arXiv:2511.15005},
  year   = {2025}
}

Comments

10 pages, theoretical/mathematical LLM research, no figures, intended for peer-reviewed journal

R2 v1 2026-07-01T07:44:30.120Z