Survey of Hallucination in Natural Language Generation

Ziwei Ji, Nayeon Lee, Rita Frieske, Tiezheng Yu, Dan Su, Yan Xu, Etsuko Ishii, Yejin Bang, Andrea Madotto, Pascale Fung · DOI · OpenReview

TL;DR

This paper provides a comprehensive survey of the hallucination problem in Natural Language Generation (NLG), a critical issue where models generate text that is unfaithful or nonsensical. It categorizes hallucinations, reviews existing metrics and mitigation strategies across various NLG tasks, and identifies key challenges and future research directions, offering a valuable resource for researchers in the field.

What Problem Does This Paper Address?

Natural Language Generation (NLG) has seen remarkable advancements, but a persistent challenge is "hallucination" – the generation of text that is not grounded in the source input or is factually incorrect. This phenomenon degrades system performance, raises safety concerns (e.g., in medical applications), and can even lead to privacy violations. While numerous studies have emerged to address hallucination, there's a lack of a unified overview that consolidates research across different NLG tasks. This paper aims to fill that gap by providing a comprehensive survey of the hallucination problem in NLG, from definitions and causes to evaluation metrics and mitigation techniques.

Methods

The paper doesn't propose new methods but rather surveys existing ones. It categorizes hallucinations into intrinsic (contradicting the source) and extrinsic (unverifiable by the source). It then reviews various approaches for:

  • Measuring Hallucination:
    • Statistical Metrics: Relying on n-grams and lexical overlap (e.g., PARENT, Knowledge F1).
  • Model-based Metrics: Utilizing neural models for deeper semantic understanding, including Information Extraction (IE)-based, Question Answering (QA)-based, and Natural Language Inference (NLI)-based metrics.
  • Faithfulness Classification Metrics: Task-specific datasets designed to improve classification.
  • LM-based Metrics: Leveraging language models to assess token support.
  • Human Evaluation: Still considered a gold standard due to the complexity of automatic metrics.
  • Mitigating Hallucination:
    • Data-Related Methods: Building faithful datasets, cleaning noisy data, and augmenting information.
  • Modeling and Inference Methods: Modifying model architectures (encoder, decoder), improving training strategies (planning/sketching, reinforcement learning, multi-task learning, controllable generation), and post-processing outputs.

Datasets

The paper discusses various datasets used in the context of hallucination research, often implicitly through the tasks they support. Specific datasets mentioned include:

  • WIKIBIO: Used for biographical note generation.
  • Wizard-of-Wikipedia: A knowledge-grounded dialogue dataset.
  • PersonaChat: Datasets for persona consistency research.
  • Natural Questions (NQ) and HotpotQA: Extractive QA datasets adapted for GQA.
  • TOTTO: An open-domain faithful table-to-text dataset.
  • RotoWire-FG (Fact-Grounding): A purified dataset for NBA game summaries.
  • MSCOCO: Used for image captioning evaluation.

The paper also notes the need for more datasets with explicit hallucination annotations, particularly for tasks like GQA and VL.

Key Insights and Ideas

  • Hallucination is pervasive: It affects nearly all NLG tasks, from summarization and translation to dialogue and image captioning.
  • Intrinsic vs. Extrinsic is a useful distinction: Understanding whether a hallucination directly contradicts the source or is simply unverifiable helps in developing targeted mitigation strategies.
  • Traditional metrics fall short: Standard NLG evaluation metrics like ROUGE and BLEU correlate poorly with human judgments of hallucination, necessitating the development of specialized metrics.
  • Data quality is paramount: Noisy or misaligned training data is a significant contributor to hallucinations, highlighting the importance of data curation and cleaning.
  • Model architecture and training play a crucial role: Modifications to encoders, decoders, and training objectives (like RLHF) are key to reducing hallucinations.
  • Extrinsic hallucinations are more challenging: They often require external knowledge verification, making them harder to detect and mitigate than intrinsic ones.
  • LLMs amplify the problem: The fluency and scale of LLMs make their hallucinations more insidious and harder to identify, requiring new approaches tailored to their unique characteristics.

Key Results

The paper is a survey, so it doesn't present new experimental results. However, it synthesizes findings from numerous studies, indicating:

  • State-of-the-art abstractive summarization systems can have hallucinated content in up to 25% of their generated summaries, even while achieving high ROUGE scores.
  • Human evaluation remains critical for assessing hallucination due to the limitations of automatic metrics.
  • Various mitigation methods have shown promise in reducing hallucination rates in specific tasks, but no single solution is universally effective.

Limitations and Future Work

The authors acknowledge several limitations and propose future research directions:

  • Fine-grained Metrics: Developing metrics that can distinguish between intrinsic and extrinsic hallucinations at a granular level.
  • Fact-Checking Systems: Automating fact-checking for extrinsic hallucinations, which currently relies heavily on manual verification or limited knowledge sources like Wikipedia.
  • Generalization: Creating task-agnostic metrics that are robust across different domains and NLG tasks.
  • Human Cognitive Perspective: Designing automatic metrics that better align with human perception of importance and salience.
  • Robust Data Pre-processing: Developing generalizable methods for handling data issues across various NLG tasks.
  • Numeral Hallucination: Focusing specifically on mitigating errors related to numbers (dates, quantities) which are critical in many applications.
  • Extrinsic Hallucination Mitigation: More research is needed to effectively address extrinsic hallucinations, which are more challenging.
  • Hallucination in Long Text: Developing models capable of processing and generating long texts without introducing contradictions.
  • Reasoning and Controllability: Enhancing models' reasoning abilities and enabling control over the level of hallucination.
  • Vision-Language Generation: This area is still nascent, requiring more research on detection, metrics, and mitigation, especially for multimodal LLMs.
  • LLM Understanding: A deeper theoretical understanding of why LLMs hallucinate is needed, beyond empirical observations.
  • Knowledge Boundary Estimation: Teaching LLMs to express uncertainty and admit when they don't know is crucial.
  • Minimizing Alignment Tax: Developing strategies to mitigate hallucinations without sacrificing model creativity or performance on other tasks.

Summary updated

BibTeX
@article{ji2022survey,
  author = {Ziwei Ji and Nayeon Lee and Rita Frieske and Tiezheng Yu and Dan Su and Yan Xu and Etsuko Ishii and Yejin Bang and Andrea Madotto and Pascale Fung},
  title = {{Survey of Hallucination in Natural Language Generation}},
  journal = {ACM Computing Surveys},
  year = {2022},
  doi = {10.1145/3571730},
}
Figure