arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.03368cs.CL
收藏

评估中文大型语言模型中的幻觉

Evaluating Hallucinations in Chinese Large Language Models

Shanghai AI Laboratory(上海人工智能实验室);Fudan University(复旦大学)

Qinyuan Cheng, Tianxiang Sun, Wenwei Zhang, Siyin Wang, Xiangyang Liu, Mozhi Zhang, Junliang He, Mianqiu Huang, Zhangyue Yin, Kai Chen, Xipeng Qiu

AI总结:

本文提出中文幻觉问答基准HalluQA,包含450个对抗性问题,通过GPT-4自动化评估24个大模型,发现多数模型非幻觉率低于50%,并分析了幻觉成因。

摘要:

在本文中,我们建立了一个名为HalluQA(中文幻觉问答)的基准,以测量中文大型语言模型中的幻觉现象。HalluQA包含450个精心设计的对抗性问题,涵盖多个领域,并考虑了中国的历史文化、习俗和社会现象。在HalluQA的构建过程中,我们考虑了两种类型的幻觉:模仿性错误和事实性错误,并基于GLM-130B和ChatGPT构建了对抗样本。在评估方面,我们设计了一种使用GPT-4判断模型输出是否产生幻觉的自动化评估方法。我们在24个大型语言模型上进行了广泛实验,包括ERNIE-Bot、Baichuan2、ChatGLM、Qwen、SparkDesk等。在这24个模型中,有18个的非幻觉率低于50%。这表明HalluQA极具挑战性。我们分析了不同类型模型中幻觉的主要类型及其成因。此外,我们还讨论了不同类型模型应优先关注哪些类型的幻觉。

英文摘要:

In this paper, we establish a benchmark named HalluQA (Chinese Hallucination Question-Answering) to measure the hallucination phenomenon in Chinese large language models. HalluQA contains 450 meticulously designed adversarial questions, spanning multiple domains, and takes into account Chinese historical culture, customs, and social phenomena. During the construction of HalluQA, we consider two types of hallucinations: imitative falsehoods and factual errors, and we construct adversarial samples based on GLM-130B and ChatGPT. For evaluation, we design an automated evaluation method using GPT-4 to judge whether a model output is hallucinated. We conduct extensive experiments on 24 large language models, including ERNIE-Bot, Baichuan2, ChatGLM, Qwen, SparkDesk and etc. Out of the 24 models, 18 achieved non-hallucination rates lower than 50%. This indicates that HalluQA is highly challenging. We analyze the primary types of hallucinations in different types of models and their causes. Additionally, we discuss which types of hallucinations should be prioritized for different types of models.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑