[Paper Review] AutoHall: Automated Factuality Hallucination Dataset Generation for Large Language Models
This paper proposes AutoHall, an automated method to generate model-specific hallucination datasets using public fact-checking datasets, eliminating costly manual annotation. It further introduces a zero-resource, black-box hallucination detection technique based on self-contradiction in model-generated references, achieving 20-30% higher F1 scores than baselines on ChatGPT and Llama-2 models.
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 $ extbf{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.
Motivation & Objective
- Address the high cost and time consumption of manual annotation for hallucination detection datasets in LLMs.
- Develop an automated, scalable method to generate model-specific hallucination datasets without human labeling.
- Enable zero-resource, black-box hallucination detection that relies only on the model's internal responses.
- Investigate the prevalence, types, and distribution of hallucinations across different LLMs.
- Improve hallucination detection performance using self-contradiction analysis among model-generated references.
Proposed method
- Leverage existing public fact-checking datasets (e.g., WICE, Climate-Fever, PubHealth) to extract claims and their ground-truth labels (factual/unfactual).
- Use a target LLM to generate multiple references for each claim, treating these as potential hallucinatory or factual responses.
- Automatically label generated references as hallucinatory or factual based on whether they align with the ground-truth label of the claim.
- Construct a model-specific hallucination dataset (AutoHall) by pairing claims with LLM-generated references and their corresponding labels.
- Implement a zero-resource hallucination detection method by sampling K references per claim and detecting self-contradictions among them.
- Use the number of contradictory response pairs as a signal: higher conflict counts indicate higher likelihood of hallucination.
Experimental results
Research questions
- RQ1Can we automatically generate model-specific hallucination datasets without manual annotation using existing fact-checking datasets?
- RQ2How effective is self-contradiction detection among multiple LLM-generated references in identifying hallucinations?
- RQ3What is the prevalence and topic distribution of hallucinations across different LLMs like ChatGPT and Llama-2?
- RQ4How do hyperparameters like temperature and number of comparison pairs (K) affect hallucination detection performance?
- RQ5How does the proposed method compare in performance to existing zero-resource and external-knowledge-based hallucination detection baselines?
Key findings
- AutoHall successfully generates model-specific hallucination datasets automatically, eliminating the need for manual annotation.
- The proposed self-contradiction-based detection method achieves a 20-30% improvement in F1 score over existing baselines on both ChatGPT and Llama-2 models.
- On average, hallucination detection F1 score increases by 8.91% when using multiple reference comparisons over single-reference methods.
- The proportion of hallucinations in LLM outputs is estimated to range between 20% and 30% across tested models.
- ChatGPT-generated hallucinations are most frequent in topics like history, technology, culture, geography, and business, while Llama-2-chat hallucinates more in politics, sports, and geography.
- The number of self-contradictory pairs is significantly higher in hallucinatory references (mean conflict count: 2.75 for ChatGPT at T=0.9) than in factual ones (mean: 1.79), confirming the method’s discriminative power.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.