UHGEval: Benchmarking the Hallucination of Chinese Large Language Models via Unconstrained Generation

Xun Liang, Shichao Song, Simin Niu, Zhiyu Li, Feiyu Xiong, Bo Tang, Yezhaohui Wang, Dawei He, Peng Cheng, Zhonghao Wang, Haiying Deng · DOI

TL;DR

UHGEval is a new large-scale benchmark designed to evaluate hallucinations in Chinese Large Language Models (LLMs) through unconstrained generation. By moving away from artificial, "constrained" hallucination prompts and focusing on organic news continuations, the researchers provide a more realistic assessment of how models fail in the wild, accompanied by a robust evaluation framework covering discriminative, selective, and generative tasks.

What Problem Does This Paper Address?

Hallucinations—where LLMs generate factually incorrect or nonsensical text—are a major barrier to their use in professional fields like journalism or medicine. While many benchmarks exist, the authors argue they suffer from two main flaws:

  1. Artificiality (Constrained Generation): Most benchmarks force models to hallucinate using specific prompts (e.g., "Try to answer wrongly") or by manually perturbing existing text. This doesn't reflect real-world scenarios where a model hallucinates spontaneously during normal use.
  2. Language Gap: There is a significant lack of high-quality, large-scale benchmarks specifically for the Chinese language, which presents unique challenges in word segmentation and lexicon complexity.

UHGEval addresses these by collecting "organic" hallucinations generated during unrestricted news article completion tasks.

Methods

The researchers developed a multi-stage pipeline to create the UHGEval dataset and evaluation framework:

  • Unconstrained Generation: Instead of prompting for errors, they fed the beginning of real Chinese news articles to five different LLMs (including ChatGLM2, Baichuan2, and Qwen) and let them generate continuations freely.
  • Hallucination Ranking: To find the "best" hallucinations for a benchmark, they looked for a balance between high fluency (using a reward model) and low factual correlation. They introduced a new metric, kwPrec (Keyword Precision), which uses an LLM to extract keywords and checks their existence in the reference text, focusing on factual rather than just expressional relevance.
Figure 3: Tokenization results for BLEU-4, ROUGE-L, and kwPrec, using newsid=num_000432 as an example. The meaning of the above sentence: Jiangsu is one of the most developed provinces in China for green food production.
  • Hybrid Annotation: They employed a two-stage labeling process: automatic checking by GPT-4 followed by a rigorous human re-check by experts with journalism backgrounds. They followed the "Least Hallucination Principle," identifying the minimal set of words that, if changed, would make the sentence factually correct.
Figure 2: The process of creating UHGEval. Steps 1 to 4 regarding the creation of the benchmark dataset are explained in Section 3; Step 5, concerning the evaluation framework, is detailed in Section 4. (In Chinese: Fig. 11)

Datasets

The primary contribution is the UHGEval dataset, which contains 5,141 annotated hallucinated continuations derived from tens of thousands of Chinese news articles (2015–2017). The data is categorized into four types:

  • DOC: Document-intensive (Politics, Law).
  • NUM: Number-intensive (Sports, Economy).
  • KNO: Knowledge-intensive (Science, Healthcare).
  • GEN: General news (Society, Entertainment).

Compared to existing Chinese benchmarks like ChineseFactEval (125 questions) or HalluQA (450 questions), UHGEval is significantly larger and more diverse.

Key Insights and Ideas

  • The "Seesaw Phenomenon": The authors observed that as models upgrade (e.g., GPT-4-0613 to GPT-4-1106), some capabilities improve while others regress. For instance, selective accuracy might increase while discriminative accuracy drops, suggesting that balancing multiple capabilities is a major challenge for developers.
  • Selective vs. Discriminative Tasks: Models generally perform better at selective evaluation (choosing the correct text from two options) than discriminative evaluation (judging if a single text is a hallucination). Providing a reference for contrast alleviates the burden of pure factual recall.
  • The Difficulty of Numbers: Number-intensive news (NUM) proved the most challenging for models. Encoding specific numbers with varied historical meanings is complex, leading to high hallucination rates in economic and sports reporting.
  • Keyword-Level Superiority: Accuracy is generally higher when evaluating at the keyword level rather than the sentence level. Fluent, well-structured sentences can "trick" models into missing errors that become obvious when isolated as keywords.

Key Results

The researchers evaluated 11 models (8 Chinese LLMs and 3 GPT series models) using their framework.

Figure 5: Evaluation framework
  • GPT-4 remains the leader in discriminative and selective tasks, showcasing superior foundational judgment.
  • InternLM-20B, Xinyu2-70B, and Aquila-34B achieved the best results in generative tasks.
  • Domain-Specific Success: Xinyu2-70B, which was specifically trained on Chinese news corpora, clinched second place in selective evaluation, proving the value of domain-specific pre-training.
  • Data Representation Matters: GPT models performed poorly in generative tasks for Chinese news, likely because Chinese data makes up less than 5% of the Common Crawl corpus used in their training.

Limitations and Future Work

  • Model Imbalance: Due to an initial oversight, the Baichuan model is overrepresented in the source of hallucinations (66%). However, empirical tests by the authors suggest this has an insignificant impact on the final evaluation rankings.
  • Framework Integration: While the framework supports APIs and vLLM, integrating custom Hugging Face models still requires some manual effort.
  • Constrained vs. Unconstrained Analysis: The authors plan to build a classifier to formally compare the distribution of hallucinations in unconstrained vs. constrained datasets to further prove the necessity of their approach.

Summary updated

BibTeX
@inproceedings{liang2024uhgeval,
  author = {Xun Liang and Shichao Song and Simin Niu and Zhiyu Li and Feiyu Xiong and Bo Tang and Yezhaohui Wang and Dawei He and Peng Cheng and Zhonghao Wang and Haiying Deng},
  title = {{UHGEval: Benchmarking the Hallucination of Chinese Large Language Models via Unconstrained Generation}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2024},
  doi = {10.18653/v1/2024.acl-long.288},
}
Figure