Abstract
The recent advancements in Large Language Models (LLMs) have garnered widespread acclaim for their remarkable emerging capabilities. However, the issue of hallucination has parallelly emerged as a by-product, posing significant concerns. While some recent endeavors have been made to identify and mitigate different types of hallucination, there has been a limited emphasis on the nuanced categorization of hallucination and associated mitigation methods. To address this gap, we offer a fine-grained discourse on profiling hallucination based on its degree, orientation, and category, along with offering strategies for alleviation. As such, we define two overarching orientations of hallucination: (i) factual mirage (FM) and (ii) silver lining (SL). To provide a more comprehensive understanding, both orientations are further sub-categorized into intrinsic and extrinsic, with three degrees of severity - (i) mild, (ii) moderate, and (iii) alarming. We also meticulously categorize hallucination into six types: (i) acronym ambiguity, (ii) numeric nuisance, (iii) generated golem, (iv) virtual voice, (v) geographic erratum, and (vi) time wrap. Furthermore, we curate HallucInation eLiciTation (HILT), a publicly available dataset comprising of 75,000 samples generated using 15 contemporary LLMs along with human annotations for the aforementioned categories. Finally, to establish a method for quantifying and to offer a comparative spectrum that allows us to evaluate and rank LLMs based on their vulnerability to producing hallucinations, we propose Hallucination Vulnerability Index (HVI). We firmly believe that HVI holds significant value as a tool for the wider NLP community, with the potential to serve as a rubric in AI-related policy-making. In conclusion, we propose two solution strategies for mitigating hallucinations.
Introduction
Large Language Models (LLMs) are increasingly capable, yet they frequently generate "hallucinations"—content that is nonsensical or unfaithful to reality. A significant challenge in the field is the lack of a unified definition or standard comparison method for these errors. This paper addresses this gap by standardizing the "what" and "why" of hallucinations, providing a rubric for AI policy-making and safer model deployment.
Taxonomy of Hallucinations
We propose a multi-layered taxonomy to move beyond simple binary checks. Hallucinations are first classified by orientation:
- Factual Mirage (FM): The prompt is correct, but the model distorts the output.
- Silver Lining (SL): The prompt is factually incorrect, and the model "indulges" it by creating a detailed, persuasive narrative.
These orientations are further sub-categorized into intrinsic and extrinsic, with three degrees of severity: mild, moderate, and alarming.
Categorizing Hallucination Types
The research identifies six specific categories of hallucinations that plague current models:
- Acronym Ambiguity (AA): Imprecise expansion of acronyms.
- Numeric Nuisance: Errors in numerical data or statistics.
- Generated Golem: Fabrication of entire personas.
- Virtual Voice: Fabrication of quotes.
- Geographic Erratum: Errors in spatial or geographic facts.
- Time Wrap: Temporal inconsistencies or historical errors.
Quantification and the HILT Dataset
To quantify model reliability, we developed the Hallucination Vulnerability Index (HVI), a mathematical formula that calculates a score (0-100) based on the ratio of hallucinated sentences and their type. This metric was applied to the HallucInation eLiciTation (HILT) dataset, which comprises 75,000 text snippets generated by 15 contemporary LLMs, including GPT-4, LLaMA, and BLOOM.
Key findings from the HVI analysis include:
- The RLHF Advantage: Models trained with Reinforcement Learning from Human Feedback (RLHF), like GPT-4, show significantly lower HVI scores.
- Size vs. Truth: Larger models without RLHF are actually more prone to hallucinations. For example, GPT-3 (175B) had the highest HVI (90), while the smaller T5 (11B) had the lowest (32).
Mitigation Strategies
We propose two novel strategies for alleviating hallucinations:
- ENTROPY_BB (Black-box): This identifies "high-entropy" words (tokens where the model is uncertain) and replaces them with outputs from a model known to have a lower HVI. This method showed a maximum drop in hallucinations of 10.66%.
- FACTUALITY_GB (Gray-box): This utilizes the Google Search API for document retrieval and a RoBERTa-based textual entailment model to verify if generated sentences are supported by external evidence. This method flagged an average alert rate of 26% across sentences.
Conclusion and Future Work
While the proposed framework and HVI offer a robust rubric for evaluating LLMs, limitations remain. Annotators currently assign only one category per sentence, and fact-checking systems still struggle with differentiating between highly similar entities. Future work will explore multi-label annotation and refine the HVI to account for increasingly nuanced failure modes as LLMs continue to scale.
Summary updated