Hallucination Detection in Large Language Models Using Diversion Decoding
Abstract
Large language models (LLMs) have emerged as a powerful tool for retrieving knowledge through seamless, human-like interactions. Despite their advanced text generation capabilities, LLMs exhibit hallucination tendencies, where they generate factually incorrect statements and fabricate knowledge, undermining their reliability and trustworthiness. Multiple studies have explored methods to evaluate LLM uncertainty and detect hallucinations. However, existing approaches are often probabilistic and computationally expensive, limiting their practical applicability. In this paper, we introduce diversion decoding, a novel method for developing an LLM uncertainty heuristic by actively challenging model-generated responses during the decoding phase. Through diversion decoding, we extract features that capture the LLM's resistance to produce alternative answers and utilize these features to train a machine-learning model to develop a heuristic measure of the LLM's uncertainty. Our experimental results demonstrate that diversion decoding outperforms existing methods with significantly lower computational complexity, making it an efficient and robust solution for evaluating hallucination detection.
Cite
@article{arxiv.2607.10476,
title = {Hallucination Detection in Large Language Models Using Diversion Decoding},
author = {Basel Abdeen and S M Tahmid Siddiqui and Meah Tahmeed Ahmed and Anoop Singhal and Latifur Khan and Punya Parag Modi and Ehab Al-Shaer},
journal= {arXiv preprint arXiv:2607.10476},
year = {2026}
}