AutoHall: Automated Factuality Hallucination Dataset Generation for Large Language Models
Zouying Cao, Yifei Yang, XiaoJing Li, Hai Zhao
TL;DR
AutoHall introduces an automated pipeline to generate model-specific factuality hallucination datasets by leveraging public fact-checking corpora, eliminating manual annotation. It couples reference generation, claim verification, and balanced hallucination collection, then pairs this with a zero-resource self-contradiction detector to identify hallucinations without external knowledge bases. Across multiple open- and closed-source LLMs, AutoHall reveals model- and topic-dependent hallucination patterns (roughly 15–30%), and its detector consistently outperforms zero-resource baselines in accuracy and F1. The work also provides extensive ablations and human validation, positioning AutoHall as a practical baseline for automated dataset creation and evaluation of hallucination detection in evolving LLMs.
Abstract
Large language models (LLMs) have gained broad applications across various domains but still struggle with hallucinations. Currently, hallucinations occur frequently in the generation of factual content and pose a great challenge to trustworthy LLMs. However, hallucination detection is hindered by the laborious and expensive manual annotation of hallucinatory content. Meanwhile, as different LLMs exhibit distinct types and rates of hallucination, the collection of hallucination datasets is inherently model-specific, which also increases the cost. To address this issue, this paper proposes a method called $\textbf{AutoHall}$ for $\underline{Auto}$matically constructing model-specific $\underline{Hall}$ucination datasets based on existing fact-checking datasets. The empirical results reveal variations in hallucination proportions and types among different models. Moreover, we introduce a zero-resource and black-box hallucination detection method based on self-contradiction to recognize the hallucination in our constructed dataset, achieving superior detection performance compared to baselines. Further analysis on our dataset provides insight into factors that may contribute to LLM hallucinations. Our codes and datasets are publicly available at https://github.com/zouyingcao/AutoHall.
