Skip to main content
QUICK REVIEW

[Paper Review] The Dawn After the Dark: An Empirical Study on Factuality Hallucination in Large Language Models

Junyi Li, Jie Chen|arXiv (Cornell University)|Jan 6, 2024
Topic ModelingComputer Science7 citations
TL;DR

The paper builds HaluEval 2.0 to study factuality hallucination in LLMs, proposes a two-step detection framework, analyzes hallucination sources across training and usage stages, and evaluates mitigation techniques.

ABSTRACT

In the era of large language models (LLMs), hallucination (i.e., the tendency to generate factually incorrect content) poses great challenge to trustworthy and reliable deployment of LLMs in real-world applications. To tackle the LLM hallucination, three key questions should be well studied: how to detect hallucinations (detection), why do LLMs hallucinate (source), and what can be done to mitigate them (mitigation). To address these challenges, this work presents a systematic empirical study on LLM hallucination, focused on the the three aspects of hallucination detection, source and mitigation. Specially, we construct a new hallucination benchmark HaluEval 2.0, and designs a simple yet effective detection method for LLM hallucination. Furthermore, we zoom into the different training or utilization stages of LLMs and extensively analyze the potential factors that lead to the LLM hallucination. Finally, we implement and examine a series of widely used techniques to mitigate the hallucinations in LLMs. Our work has led to several important findings to understand the hallucination origin and mitigate the hallucinations in LLMs. Our code and data can be accessed at https://github.com/RUCAIBox/HaluEval-2.0.

Motivation & Objective

  • Investigate why LLMs hallucinate (source) across pre-training, supervised fine-tuning, RLHF, and inference.
  • Develop and validate a reliable hallucination detection framework for LLM outputs.
  • Analyze the effectiveness of common mitigation strategies (RLHF, retrieval augmentation, self-reflexion, decoding, prompt design) Across domains.
  • Provide domain-specific insights on how data and training choices influence factuality in LLMs.

Proposed method

  • Construct HaluEval 2.0 containing 8,770 questions across biomedicine, finance, science, education, and open domain.
  • Propose a two-step detection framework: extract factual statements from responses, then judge their truthfulness using an LLM.
  • Evaluate a range of open-source and closed-source LLMs on the benchmark.
  • Systematically analyze factors at pre-training, SFT, prompt design, and inference that influence hallucination.
  • Assess detection reliability by comparing LLM judgments with human annotations on a subset of data.
  • Investigate mitigation techniques including RLHF, retrieval augmentation, self-reflexion, advanced decoding, and prompt improvements.

Experimental results

Research questions

  • RQ1What factors in pre-training, supervised fine-tuning, prompt design, and inference influence factuality hallucination in LLMs across domains?
  • RQ2How effective is the proposed two-step hallucination detection framework in identifying factual errors?
  • RQ3Which mitigation strategies best reduce hallucinations across domains, and how does effectiveness vary by domain?
  • RQ4How do open-source versus closed-source LLMs compare in their tendency to hallucinate and in recognizing hallucinations?

Key findings

  • Pre-training: more tokens have limited or oscillatory effects on hallucination; incorporating specialized data into pre-training can substantially reduce domain-specific hallucinations.
  • Fine-tuning: improved instructions help reduce hallucinations; balancing instruction complexity is beneficial, while overly complex prompts can increase hallucinations; RLHF effectiveness varies by domain.
  • Inference: diversity-oriented decoding can raise hallucinations in professional domains; token-by-token generation reinforces prior mistakes; quantization can increase hallucinations.
  • Prompt design: adding detail and leveraging in-context learning can decrease hallucinations; easier-to-read, formal, and specific language reduces hallucinations; reordering task descriptions can affect hallucination levels.
  • Closed-source models (e.g., ChatGPT, Claude 2) show lower hallucination rates but may hedge excessively in open-domain settings; open-source models display larger variance and higher domain-specific hallucinations, especially in open-domain questions.
  • The detection framework achieves high reliability against human judgments, with matching rates around 92-95% across domains in a human-annotated subset.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.