HAD: HAllucination Detection Language Models Based on a Comprehensive Hallucination Taxonomy
Fan Xu, Xinyu Hu, Zhenghan Yu, Li Lin, Xu Zhang, Yang Zhang, Wei Zhou, Jinjie Gu, Xiaojun Wan
TL;DR
This work tackles hallucination in natural language generation by introducing a fine-grained, three-level taxonomy that captures 11 hallucination types across faithfulness and factuality. The authors build HAD, a unified pipeline that jointly classifies, localizes, and corrects hallucinations, trained on a large synthetic corpus (~90K samples) and validated on HADTest (2,248 samples). HAD achieves state-of-the-art results on multiple benchmarks (HaluEval, FactCHD, FaithBench) and demonstrates robust out-of-domain performance, with knowledge augmentation further enhancing factuality detection. The approach offers a versatile, task-agnostic framework for improving reliability of LLM outputs across diverse NLG tasks, while also highlighting limitations such as single-span handling and reliance on synthetic data.
Abstract
The increasing reliance on natural language generation (NLG) models, particularly large language models, has raised concerns about the reliability and accuracy of their outputs. A key challenge is hallucination, where models produce plausible but incorrect information. As a result, hallucination detection has become a critical task. In this work, we introduce a comprehensive hallucination taxonomy with 11 categories across various NLG tasks and propose the HAllucination Detection (HAD) models https://github.com/pku0xff/HAD, which integrate hallucination detection, span-level identification, and correction into a single inference process. Trained on an elaborate synthetic dataset of about 90K samples, our HAD models are versatile and can be applied to various NLG tasks. We also carefully annotate a test set for hallucination detection, called HADTest, which contains 2,248 samples. Evaluations on in-domain and out-of-domain test sets show that our HAD models generally outperform the existing baselines, achieving state-of-the-art results on HaluEval, FactCHD, and FaithBench, confirming their robustness and versatility.
