TL;DR
HalluLens is a new evaluation benchmark that rigorously separates large language model (LLM) "hallucination" from "factuality" and introduces dynamic, leakage-resistant test sets to measure extrinsic hallucinations. By evaluating models on knowledge strictly within or completely outside their training data, it exposes a critical trade-off between a model's tendency to hallucinate versus its tendency to falsely refuse to answer valid questions.
What Problem Does This Paper Address?
Evaluating LLM hallucinations is currently a mess. The AI community frequently conflates "hallucination" (a model generating text inconsistent with its training data or input context) with "factuality" (generating text that violates absolute real-world truth).
Furthermore, existing benchmarks are static. Because web-scale training datasets continuously absorb public internet data, static test sets quickly suffer from data leakage and saturation. Models appear to "solve" the benchmark simply because they have seen the test questions during pre-training.
The authors address this by establishing a clear taxonomy of hallucination and building a benchmark that dynamically generates fresh, un-leakable evaluation sets.
Methods
The paper divides textual hallucinations into two categories:
- Intrinsic Hallucination: The output contradicts the user-provided input context (e.g., misrepresenting a text snippet during summarization).
- Extrinsic Hallucination: The output cannot be verified by the input context and must rely on the model's internal knowledge, making it inconsistent with its training data.
To evaluate extrinsic hallucinations without risking data leakage, HalluLens uses a dynamic test set generation pipeline. Instead of using a fixed set of questions, it pulls clean Wikipedia pages and uses an LLM to generate fresh question-answer pairs on the fly.
To control difficulty, the pipeline uses harmonic centrality (via WikiRank) as a proxy for how frequently a topic appears in training data, separating popular knowledge from long-tail knowledge.
Additionally, to test how well a model recognizes the boundaries of its own knowledge, HalluLens generates plausible-sounding but entirely fictional entities (like fake animal species or non-existent brand names) using a round-robin multi-model approach to ensure the entities are truly non-existent.
Datasets
- GoodWiki: A dataset of 44,754 high-quality Wikipedia pages used as the source for dynamic question generation.
- ITIS Database: An open-source repository of over 145,000 taxonomic records used to swap words and create fake animal/plant names.
- Global Medical Drug List: A dataset of 250,000 real drugs used to create fake medicine names.
- Google Books Ngram Dataset: Used to calculate frequency scores for cities and countries to contextualize fake business and event generation.
Key Insights and Ideas
- The Refusal Trade-off: There is a sharp tension between precision and recall when it comes to model alignment. Highly aligned models like Llama-3.1-8B-Instruct are overly cautious, choosing to refuse a staggering 83.09% of valid questions to avoid hallucinating. Conversely, GPT-4o rarely refuses (4.13%) but hallucinates frequently when it doesn't know the answer.
- The "Middle-Frequency" Trap: Models are surprisingly good at identifying fake entities associated with very high-frequency or very low-frequency real-world locations. However, they struggle most with "middle-frequency" contexts (e.g., mid-sized cities), where the boundary of what the model actually knows becomes blurry, leading it to falsely accept the fake entity as real.
- Factuality $\neq$ Non-Hallucination: A model can output a factually incorrect statement without hallucinating if it is faithfully reproducing outdated or noisy training data (e.g., asserting that the latest Olympics were in Tokyo because its knowledge cutoff is 2023).
Key Results
The authors evaluated 13 instruction-tuned LLMs across three new extrinsic tasks: PreciseWikiQA (short-form), LongWiki (long-form), and NonExistentRefusal.
- Llama-3.1-405B-Instruct demonstrated the lowest hallucination rate when it chose to answer (26.84%), but it suffered from a high false refusal rate (56.77%).
- GPT-4o achieved the highest overall correct answer rate (52.59%) on short-form QA due to its willingness to attempt almost every question, though its hallucination rate when answering was 45.15%.
- On the NonExistentRefusal task, Llama-3.1-405B-Instruct dominated, showing an average false acceptance rate of just 6.88%. In contrast, Mistral models failed severely, generating fake facts for over 80% of the non-existent entities presented to them.
Limitations and Future Work
While HalluLens marks a significant step forward, the authors note a few limitations:
- Wikipedia Proxy Limitation: Wikipedia is used as a proxy for an LLM's training data, but it does not capture the entire pre-training corpus. Around 5% of claims generated by models could not be verified using Wikipedia alone.
- Retrieval Failures: The automated evaluation pipeline relies on text retrieval to verify long-form claims, which failed to find relevant evidence 15.4% of the time, even when human annotators could find it.
- Static Intrinsic Tasks: Currently, HalluLens still relies on static datasets for intrinsic hallucination tasks (like summarization) because generating dynamic gold-standard answers for context-driven tasks without introducing judge-model bias remains an open challenge.
Summary updated