The Troubling Emergence of Hallucination in Large Language Models - An Extensive Definition, Quantification, and Prescriptive Remediations

Vipula Rawte, Swagata Chakraborty, Agnibh Pathak, Anubhav Sarkar, S. M. Towhidul Islam Tonmoy, Aman Chadha, Amit P. Sheth, Amitava Das

Abstract

Large Language Models (LLMs) frequently generate factually incorrect or nonsensical content, a phenomenon known as hallucination. This paper introduces a comprehensive framework to address this challenge by defining a new taxonomy based on Orientation, Category, and Degree. We present HILT, a 75,000-sample dataset, and the Hallucination Vulnerability Index (HVI) to quantify model reliability. Finally, we propose two mitigation strategies—uncertainty-based replacement and external fact-verification—that significantly reduce unfaithful model outputs.

Introduction

While LLMs demonstrate remarkable capabilities, their tendency to "hallucinate" remains a critical barrier to deployment in high-stakes environments. Current research often treats hallucination as a binary state or focuses on narrow tasks like summarization. This work addresses the lack of a standardized, fine-grained discourse on how models hallucinate across diverse tasks, providing developers and policymakers with a quantifiable metric to compare model reliability.

A Multi-Layered Taxonomy

To move beyond binary classifications, we propose a three-dimensional taxonomy for hallucinations:

  1. Orientation: Distinguishes between Factual Mirage (FM) (hallucinating when the prompt is correct) and Silver Lining (SL) (generating convincing narratives for intentionally incorrect prompts). These are further classified as Intrinsic (contradicting the prompt) or Extrinsic (adding unverifiable information).
  2. Category: Specific types of errors, such as "Time Wraps" (historical inaccuracies) or "Virtual Voice" (fake attributions).
  3. Degree: Severity levels ranging from Mild to Alarming.
The proposed taxonomy for LLM hallucinations, categorized by Orientation, Category, and Degree of severity.

Quantifying Vulnerability: The HILT Dataset and HVI

We introduce the HallucInation eLiciTation (HILT) dataset, comprising 75,000 text snippets generated by 15 contemporary LLMs (including GPT-4, LLaMA, and BLOOM). Prompts were derived from both factually correct sources (NYTimes) and incorrect ones (Politifact), with human-verified labels for each dimension of our taxonomy.

To rank models, we developed the Hallucination Vulnerability Index (HVI). Scaled from 0–100, the HVI accounts for the ratio of hallucinated sentences and the severity of the errors. Our evaluation revealed that GPT-3 (175B) was the most vulnerable (HVI: 90), while T5 (11B) and XLNet (340M) were the most reliable, scoring 32 and 36, respectively.

Key Insights: The "Virtual Voice" Paradox

Our analysis yielded several counter-intuitive findings. While Reinforcement Learning from Human Feedback (RLHF) generally reduces hallucination scores, model sophistication does not always correlate with accuracy.

Specifically, "Virtual Voice" hallucinations—where models attribute fake quotes to real or fictional characters—are significantly more prevalent in advanced models like GPT-4 than in GPT-3.5. This suggests that as models become better at mimicking human-like prose, they may become more adept at creating convincing but entirely fabricated evidence.

Examples of Virtual Voice hallucinations across Moderate and Alarming degrees of severity.

Mitigation Strategies

We propose two primary methods for remediation:

  • ENTROPY_BB (Black-box): This method identifies high-entropy tokens where the model is uncertain and replaces them with predictions from a more reliable model. This approach achieved a maximum drop of 10.66 points in HVI scores.
  • FACTUALITY_GB (Gray-box): This strategy utilizes the Google Search API and a RoBERTa-based textual entailment model to verify generated sentences against external facts. This approach flagged a 26% alert rate, indicating that over a quarter of convincing AI text requires factual rewriting.

Conclusion

Hallucination is not a monolithic problem but a complex set of behaviors that scale with model size and sophistication. While RLHF and uncertainty-based detection offer promising paths forward, the emergence of complex errors like "Time Wraps" in larger models necessitates a hybrid approach to safety. Future work will focus on integrating black-box and gray-box strategies to create more robust safeguards for the next generation of LLMs.

Summary updated

BibTeX
@inproceedings{rawte2023troubling,
  author = {Vipula Rawte and Swagata Chakraborty and Agnibh Pathak and Anubhav Sarkar and S. M. Towhidul Islam Tonmoy and Aman Chadha and Amit P. Sheth and Amitava Das},
  title = {{The Troubling Emergence of Hallucination in Large Language Models - An Extensive Definition, Quantification, and Prescriptive Remediations}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2023},
  doi = {10.18653/v1/2023.emnlp-main.155},
}
Figure