Quantifying and Attributing the Hallucination of Large Language Models via Association Analysis

Li Du, Yequan Wang, Xingrun Xing, Yiqun Ya, Xiang Li +2 more
9/11/2023
cs.AIcs.CL

No confident code implementation found for this paper. 3 possible matches can be shown below.

Abstract

Although demonstrating superb performance on various NLP tasks, large language models (LLMs) still suffer from the hallucination problem, which threatens the reliability of LLMs. To measure the level of hallucination of LLMs, previous works first categorize the hallucination according to the phenomenon similarity, then quantify the proportion that model outputs contain hallucinatory contents. However, such hallucination rates could easily be distorted by confounders. Moreover, such hallucination rates could not reflect the reasons for the hallucination, as similar hallucinatory phenomena may originate from different sources. To address these issues, we propose to combine the hallucination level quantification and hallucination reason investigation through an association analysis, which builds the relationship between the hallucination rate of LLMs with a set of risk factors. In this way, we are able to observe the hallucination level under each value of each risk factor, examining the contribution and statistical significance of each risk factor, meanwhile excluding the confounding effect of other factors. Additionally, by recognizing the risk factors according to a taxonomy of model capability, we reveal a set of potential deficiencies in commonsense memorization, relational reasoning, and instruction following, which may further provide guidance for the pretraining and supervised fine-tuning process of LLMs to mitigate the hallucination.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 3 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{du2023quantifying,
  title  = {Quantifying and Attributing the Hallucination of Large Language Models via Association Analysis},
  author = {Li Du and Yequan Wang and Xingrun Xing and Yiqun Ya and Xiang Li and Xin Jiang and Xuezhi Fang},
  year   = {2023},
  eprint = {2309.05217},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2309.05217v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2309.05217.svg)](https://codeofpaper.com/paper/2309.05217)

Discussion