Introduction
Large Language Models (LLMs) are increasingly prone to generating plausible but incorrect information. However, the research community has often conflated "hallucination" with general "factuality" errors. HalluLens is a new benchmark that disentangles these concepts, focusing strictly on whether a model's output contradicts its own training data or input context. To combat the issue of test data leakage, HalluLens dynamically generates test sets on the fly, introducing novel tasks to rigorously evaluate modern LLMs.
Defining Hallucination vs. Factuality
A core contribution of HalluLens is the strict definitional distinction between factuality and hallucination. Factuality concerns absolute real-world correctness, which requires an external, ever-changing oracle. Hallucination, conversely, is a model behavior where the output is inconsistent with the data the model has actually encountered—either its pre-training corpus (extrinsic) or the user's provided context (intrinsic).
If a model faithfully repeats a common misconception present in its training data, it is a factuality error, not a hallucination. HalluLens addresses this by strictly measuring adherence to training data and context, while using dynamic benchmarking to ensure the test questions remain novel and immune to static data leakage.
The HalluLens Benchmark
The benchmark categorizes hallucinations into two types: intrinsic (contradicting input context) and extrinsic (contradicting pre-training data). It focuses on extrinsic evaluation through three primary tasks:
- PreciseWikiQA: Tests short, fact-based queries generated from Wikipedia pages. It evaluates whether a model falsely refuses, hallucinates, or answers correctly.
- LongWiki: Evaluates long-form generation by prompting models to write paragraph-length responses, which are then verified against Wikipedia passages using an automated pipeline.
- NonExistentRefusal: Tests how models handle knowledge gaps by asking about fabricated entities (e.g., fake animals or medicines). It measures the "False Acceptance Rate"—how often a model confidently hallucinates details instead of admitting ignorance.
Key Results
The evaluation of state-of-the-art models reveals a significant "Refusal Trade-off," where models tuned for safety often become overly cautious, leading to high false refusal rates.
- PreciseWikiQA: GPT-4o achieved the highest correct answer rate (52.59%) with a very low false refusal rate (4.13%). Llama-3.1-405B had the lowest hallucination rate (26.84%) but falsely refused to answer 56.77% of valid questions.
- NonExistentRefusal: Llama-3.1-405B excelled here, correctly refusing to answer over 93% of questions about fake entities. In contrast, Mistral-7B and Mistral-Nemo failed significantly, hallucinating answers for fake entities over 83% of the time.
- LongWiki: GPT-4o and Llama-3.1-405B showed the strongest performance in long-form generation, balancing high recall with low false refusal rates.
Limitations and Future Work
While HalluLens provides a robust framework, it currently focuses on English-language models. Additionally, the automated evaluation pipeline for long-form content (LongWiki) has a retrieval failure rate of approximately 15.4%. Future work will aim to expand the benchmark's multilingual capabilities and refine the verification of obscure training data claims that may not be present in Wikipedia.
Summary updated