AutoHall: Automated Factuality Hallucination Dataset Generation for Large Language Models

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Cao, Zouying, Yang, Yifei, Li, XiaoJing, Zhao, Hai
Format: Preprint
Published: 2023
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866914172724314112
author Cao, Zouying
Yang, Yifei
Li, XiaoJing
Zhao, Hai
author_facet Cao, Zouying
Yang, Yifei
Li, XiaoJing
Zhao, Hai
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2310_00259
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle AutoHall: Automated Factuality Hallucination Dataset Generation for Large Language Models
Cao, Zouying
Yang, Yifei
Li, XiaoJing
Zhao, Hai
Computation and Language
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.
title AutoHall: Automated Factuality Hallucination Dataset Generation for Large Language Models
topic Computation and Language
url https://arxiv.org/abs/2310.00259