[Paper Review] A Token-level Reference-free Hallucination Detection Benchmark for Free-form Text Generation
This paper introduces HaDes, a reference-free, token-level hallucination detection benchmark for free-form text generation, using perturbed Wikipedia text and crowd-sourced annotations. It proposes a novel task to detect fine-grained hallucinations without relying on references, enabling real-time detection during generation through iterative model-in-the-loop annotation and comprehensive baseline models on ~11k instances.
Large pretrained generative models like GPT-3 often suffer from hallucinating non-existent or incorrect content, which undermines their potential merits in real applications. Existing work usually attempts to detect these hallucinations based on a corresponding oracle reference at a sentence or document level. However ground-truth references may not be readily available for many free-form text generation applications, and sentence- or document-level detection may fail to provide the fine-grained signals that would prevent fallacious content in real time. As a first step to addressing these issues, we propose a novel token-level, reference-free hallucination detection task and an associated annotated dataset named HaDes (HAllucination DEtection dataSet). To create this dataset, we first perturb a large number of text segments extracted from English language Wikipedia, and then verify these with crowd-sourced annotations. To mitigate label imbalance during annotation, we utilize an iterative model-in-loop strategy. We conduct comprehensive data analyses and create multiple baseline models.
Motivation & Objective
- To address the lack of reference-free, fine-grained hallucination detection in free-form text generation, where ground-truth references are often unavailable.
- To enable real-time hallucination detection during online generation by identifying hallucinated tokens using only preceding context.
- To create a balanced, high-quality dataset for token-level hallucination detection despite label imbalance in crowd-sourced annotations.
- To establish initial baselines using feature-based and pretrained models for future development of real-time hallucination mitigation systems.
- To provide a benchmark that supports both offline post-generation analysis and online real-time intervention in NLG systems.
Proposed method
- Perturb segments from English Wikipedia to simulate hallucinations, creating realistic training examples for hallucinated content.
- Use an iterative model-in-the-loop strategy to guide crowd-sourcing, improving annotation quality and addressing label imbalance in hallucination detection.
- Formulate the task as a binary classification at the token level: classify each span as either "hallucination" or "not hallucination".
- Design two settings: offline (bidirectional context) and online (unidirectional preceding context) to simulate real-world generation scenarios.
- Collect and annotate ~11,000 instances from Wikipedia using human annotators with model-provided suggestions to improve consistency.
- Train and evaluate multiple baseline models, including feature-based models and fine-tuned pretrained models, on the HaDes dataset.
Experimental results
Research questions
- RQ1Can a reference-free, token-level hallucination detection task be effectively formulated and annotated for free-form text generation?
- RQ2How can label imbalance in crowd-sourced hallucination annotation be mitigated during dataset creation?
- RQ3What are the key linguistic and factual characteristics of hallucinated spans in free-form text generation?
- RQ4How do different model architectures perform on the proposed token-level hallucination detection benchmark?
- RQ5To what extent can reference-free detection models detect hallucinations in real-time during online generation?
Key findings
- The HaDes dataset contains approximately 11,000 annotated instances of hallucinated and non-hallucinated spans, extracted from Wikipedia using a perturbation-based data collection strategy.
- The iterative model-in-the-loop annotation approach significantly improved annotation quality and reduced label imbalance in the dataset.
- Baseline models, including feature-based and fine-tuned pretrained models, achieved measurable performance on the token-level hallucination detection task, establishing initial benchmarks.
- The dataset reveals that hallucinations in free-form text are often subtle and localized, typically involving factual inconsistencies or implausible claims at the token level.
- The offline and online settings of the benchmark demonstrate that context-aware models can detect hallucinations with higher accuracy when bidirectional context is available.
- The results suggest that token-level detection is feasible and valuable for real-time intervention in NLG systems, especially when references are unavailable.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.