Skip to main content
QUICK REVIEW

[Paper Review] Zero-Resource Hallucination Prevention for Large Language Models

Junyu Luo, Cao Xiao|arXiv (Cornell University)|Sep 6, 2023
Topic ModelingComputer Science10 citations
TL;DR

The paper introduces Self-Familiarity, a zero-resource, pre-detection method that prevents hallucinations by evaluating the model’s familiarity with concepts in the input instruction through concept extraction, concept guessing, and aggregation. It outperforms baselines across four LLMs and offers interpretable, proactive prevention without external knowledge.

ABSTRACT

The prevalent use of large language models (LLMs) in various domains has drawn attention to the issue of "hallucination," which refers to instances where LLMs generate factually inaccurate or ungrounded information. Existing techniques for hallucination detection in language assistants rely on intricate fuzzy, specific free-language-based chain of thought (CoT) techniques or parameter-based methods that suffer from interpretability issues. Additionally, the methods that identify hallucinations post-generation could not prevent their occurrence and suffer from inconsistent performance due to the influence of the instruction format and model style. In this paper, we introduce a novel pre-detection self-evaluation technique, referred to as SELF-FAMILIARITY, which focuses on evaluating the model's familiarity with the concepts present in the input instruction and withholding the generation of response in case of unfamiliar concepts. This approach emulates the human ability to refrain from responding to unfamiliar topics, thus reducing hallucinations. We validate SELF-FAMILIARITY across four different large language models, demonstrating consistently superior performance compared to existing techniques. Our findings propose a significant shift towards preemptive strategies for hallucination mitigation in LLM assistants, promising improvements in reliability, applicability, and interpretability.

Motivation & Objective

  • Motivate robust, proactive hallucination mitigation in open-ended LLM applications without external knowledge or post-hoc detection.
  • Introduce a zero-resource pre-detection framework (Self-Familiarity) that withholds responses for unfamiliar concepts.
  • Develop a three-stage process (Concept Extraction, Concept Guessing, Aggregation) to assess instruction familiarity.
  • Create and utilize Concept-7, a dataset of hallucinatory instruction classifications across multiple domains to validate the approach.

Proposed method

  • Extract concepts from the instruction using Named Entity Recognition (NER).
  • Group adjacent concepts to form extended concepts and filter out common terms to reduce noise.
  • For each concept, generate an explanation with a standard prompt and mask the concept terms.
  • Infer the original concept from the masked explanation using constrained beam search to obtain a familiarity score per concept.
  • Aggregate concept-level scores into an instruction-level familiarity score with frequency-based weighting and a geometric decay scheme.
Figure 1: A hallucination example. Red color indicates the incorrect information.
Figure 1: A hallucination example. Red color indicates the incorrect information.

Experimental results

Research questions

  • RQ1Can a zero-resource, pre-detection approach with concept-level evaluation reduce hallucination risk in open-ended LLMs?
  • RQ2How can concept extraction, explanation-based guessing, and robust aggregation be combined to produce a reliable instruction-level familiarity signal?
  • RQ3Does Self-Familiarity generalize across different model architectures and instruction styles without relying on external knowledge?

Key findings

  • Self-Familiarity consistently outperforms baseline methods across four large language models on the Concept-7 dataset.
  • The approach provides a high Pearson correlation with gold explanations, indicating alignment with human-understood concept familiarity.
  • Abalation results show removing grouping, filtration, or ranking reduces performance, validating each component’s contribution.
  • Human-annotated evaluations corroborate GPT-4 based results, confirming robustness and interpretability of the method.
Figure 2: Example procedure of the Self-Familiarity .
Figure 2: Example procedure of the Self-Familiarity .

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.