Towards Unification of Hallucination Detection and Fact Verification for Large Language Models

Weihang Su, Jianming Long, Changyue Wang, Shiyu Lin, Jingyan Xu +3 more
12/2/2025
cs.CLcs.IR

Official code: oneal2000/UniFact (7 stars, last commit 2026-01-26).

Abstract

Large Language Models (LLMs) frequently exhibit hallucinations, generating content that appears fluent and coherent but is factually incorrect. Such errors undermine trust and hinder their adoption in real-world applications. To address this challenge, two distinct research paradigms have emerged: model-centric Hallucination Detection (HD) and text-centric Fact Verification (FV). Despite sharing the same goal, these paradigms have evolved in isolation, using distinct assumptions, datasets, and evaluation protocols. This separation has created a research schism that hinders their collective progress. In this work, we take a decisive step toward bridging this divide. We introduce UniFact, a unified evaluation framework that enables direct, instance-level comparison between FV and HD by dynamically generating model outputs and corresponding factuality labels. Through large-scale experiments across multiple LLM families and detection methods, we reveal three key findings: (1) No paradigm is universally superior; (2) HD and FV capture complementary facets of factual errors; and (3) hybrid approaches that integrate both methods consistently achieve state-of-the-art performance. Beyond benchmarking, we provide the first in-depth analysis of why FV and HD diverged, as well as empirical evidence supporting the need for their unification. The comprehensive experimental results call for a new, integrated research agenda toward unifying Hallucination Detection and Fact Verification in LLMs. We have open-sourced all the code, data, and baseline implementation at: https://github.com/oneal2000/UniFact/

View on arXivView PDF

Code Implementations(1)

oneal2000/UniFactOfficial100%

Unified Automated Evaluation for Hallucination Detection and Fact Verification

70Shell, PythonJun 23, 20258 months ago

Cite this paper

@article{su2025towards,
  title  = {Towards Unification of Hallucination Detection and Fact Verification for Large Language Models},
  author = {Weihang Su and Jianming Long and Changyue Wang and Shiyu Lin and Jingyan Xu and Ziyi Ye and Qingyao Ai and Yiqun Liu},
  year   = {2025},
  eprint = {2512.02772},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2512.02772v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2512.02772.svg)](https://codeofpaper.com/paper/2512.02772)

Discussion