Introduction
Hallucination—the generation of factually incorrect or nonsensical text—remains a significant hurdle for the deployment of Large Language Models (LLMs) in professional domains such as journalism and medicine. Existing benchmarks often rely on "constrained generation," where models are forced into errors through specific prompts or text perturbations. This approach fails to capture how models organically fail during standard text generation tasks. Furthermore, there is a distinct lack of high-quality, large-scale hallucination datasets tailored for the Chinese language.
To address these gaps, we introduce UHGEval, a large-scale benchmark designed to evaluate hallucinations in Chinese LLMs via "unconstrained generation." By allowing models to freely complete news articles, UHGEval provides a more realistic assessment of model reliability in real-world professional contexts.
Methodology
The UHGEval dataset is constructed through a multi-stage pipeline designed to capture and verify organic hallucinations.
Unconstrained Generation and Ranking
The process begins with snippets of real Chinese news (2015–2017). Five prominent Chinese LLMs—including ChatGLM2, Baichuan2, and Qwen—are tasked with continuing these stories without restrictive instructions. To identify the most effective benchmark candidates, generated texts are ranked based on Fluency (via a reward model) and Keyword Precision (kwPrec). The goal is to select "useful" hallucinations: text that is linguistically fluent but factually inaccurate.
Hybrid Labeling and Evaluation
UHGEval employs a "Machine-Label, Human-Check" approach to ensure high data quality. GPT-4 is initially used to identify potential errors, which are then rigorously verified by professional journalists from the Xinhua News Agency.
The evaluation framework assesses models across three distinct tasks:
- Discriminative: Identifying whether a given text contains a hallucination.
- Selective: Choosing the correct option between two alternatives.
- Generative: Writing a continuation that remains factually grounded.
The UHGEval Dataset
The resulting UHGEval dataset contains over 5,000 items across four key domains:
- DOC (Document-intensive): Politics and Law.
- NUM (Number-intensive): Economy and Sports.
- KNO (Knowledge-intensive): Science and Healthcare.
- GEN (General news): Entertainment and Accidents.
Compared to existing benchmarks like TruthfulQA or HaluEval, UHGEval offers significantly greater scale and linguistic diversity specifically for the Chinese domain.
Key Insights
- Organic Failure Analysis: Unconstrained generation allows for the analysis of a model's internal "hidden states" (logits) during failure, providing insights that are impossible to gain from manually edited datasets.
- The Seesaw Phenomenon: Model upgrades often result in a "seesaw" effect, where improvements in one task (e.g., selective evaluation) may lead to regressions in others (e.g., discriminative accuracy).
- Numerical Challenges: Hallucinations are most prevalent in number-intensive news, suggesting that current LLM architectures struggle with encoding specific historical numerical data.
- Granularity of Detection: Models generally perform better at detecting hallucinations at the keyword level. Highly fluent, well-structured sentences can often mask factual errors from the model's own discriminative logic.
Results and Performance
Evaluation of various models on the UHGEval benchmark revealed several key trends:
- GPT-4 Leadership: GPT-4 continues to lead in discriminative and selective tasks, demonstrating superior judgment capabilities.
- Strong Local Performance: Chinese-specific models, such as Xinyu2-70B and InternLM-20B, showed exceptional performance in generative tasks, occasionally outperforming the GPT series in producing factually grounded Chinese text.
- Domain Sensitivity: Models performed best in Knowledge-intensive and Document-intensive categories, likely due to the high representation of such facts in their training corpora.
Conclusion and Future Work
While UHGEval provides a robust framework for assessing Chinese LLM hallucinations, some limitations remain, such as the overrepresentation of specific models in the initial dataset. Future work will focus on balancing the dataset and moving beyond measurement toward explaining hallucinations by investigating the internal mechanics of models during unconstrained generation.
Summary updated