DefAn:用于大语言模型幻觉评估的确定性答案数据集
DefAn: Definitive Answer Dataset for LLMs Hallucination Evaluation
AI总结:
本文提出DefAn数据集,包含八领域超75,000条提示词,通过公开与隐藏两部分基准评估六种大语言模型的事实性幻觉、提示错位与一致性,揭示幻觉率高达59%-82%,为LLM幻觉评估提供全面基准。
摘要:
大语言模型(LLMs)已展现出卓越的能力,彻底改变了人工智能在日常应用中的集成方式。然而,它们容易产生幻觉,生成与既定事实相矛盾的断言、偏离提示词,并在同一提示词多次呈现时产生不一致的响应。由于缺乏全面且易于评估的基准数据集,解决这些问题颇具挑战性。现有的大多数数据集规模较小,且依赖多项选择题,不足以评估大语言模型的生成能力。为了衡量大语言模型中的幻觉现象,本文引入了一个包含八个领域、超过75,000条提示词的全面基准数据集。这些提示词旨在引出确定性、简洁且信息丰富的答案。该数据集分为两部分:一部分公开可用,用于测试和评估大语言模型性能;另一部分为隐藏部分,用于对各种大语言模型进行基准测试。在我们的实验中,我们测试了六种大语言模型——GPT-3.5、LLama 2、LLama 3、Gemini、Mixtral和Zephyr——结果显示,在公开数据集上,整体事实性幻觉比例在59%到82%之间,在隐藏基准中则为57%到76%。提示词错位幻觉在公开数据集中占6%到95%,在隐藏数据集中占17%到94%。平均一致性分别为21%到61%和22%到63%。分领域分析表明,当被要求提供具体数值信息时,大语言模型性能显著下降,而在人物、地点和日期查询上表现中等。我们的数据集证明了其有效性,并可作为大语言模型性能评估的全面基准。我们的数据集和大语言模型响应可在 https://github.com/ashikiut/DefAn 获取。
英文摘要:
Large Language Models (LLMs) have demonstrated remarkable capabilities, revolutionizing the integration of AI in daily life applications. However, they are prone to hallucinations, generating claims that contradict established facts, deviating from prompts, and producing inconsistent responses when the same prompt is presented multiple times. Addressing these issues is challenging due to the lack of comprehensive and easily assessable benchmark datasets. Most existing datasets are small and rely on multiple-choice questions, which are inadequate for evaluating the generative prowess of LLMs. To measure hallucination in LLMs, this paper introduces a comprehensive benchmark dataset comprising over 75,000 prompts across eight domains. These prompts are designed to elicit definitive, concise, and informative answers. The dataset is divided into two segments: one publicly available for testing and assessing LLM performance and a hidden segment for benchmarking various LLMs. In our experiments, we tested six LLMs-GPT-3.5, LLama 2, LLama 3, Gemini, Mixtral, and Zephyr-revealing that overall factual hallucination ranges from 59% to 82% on the public dataset and 57% to 76% in the hidden benchmark. Prompt misalignment hallucination ranges from 6% to 95% in the public dataset and 17% to 94% in the hidden counterpart. Average consistency ranges from 21% to 61% and 22% to 63%, respectively. Domain-wise analysis shows that LLM performance significantly deteriorates when asked for specific numeric information while performing moderately with person, location, and date queries. Our dataset demonstrates its efficacy and serves as a comprehensive benchmark for LLM performance evaluation. Our dataset and LLMs responses are available at \href{https://github.com/ashikiut/DefAn}{https://github.com/ashikiut/DefAn}.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。