构建首个系统性幻觉评测框架,揭示大模型生成内容的错误根源。
HALoGEN: Fantastic LLM Hallucinations and Where to Find Them
- 设计自动验证器,将生成内容拆解为原子事实并比对知识源
- 测试14个模型共15万条输出,发现幻觉率最高达86%
- 提出三类幻觉分类:记忆错误、训练数据错误、虚构内容
尽管生成式大语言模型能产出流畅高质量文本,但仍存在与已知世界知识或输入上下文不符的幻觉问题。人工逐条验证成本高,难以大规模评估。本文发布HALoGEN基准,包含10,923个覆盖编程、科学归因、摘要等九个领域的提示,以及针对每个场景的高精度自动验证器。该验证器将模型生成内容分解为原子事实,并与高质量知识源比对。基于此框架评估了14个模型约15万次生成结果,发现即使最优模型在某些领域幻觉率仍高达86%。进一步提出新型幻觉分类:类型A(训练数据记忆错误)、类型B(训练数据本身错误)、类型C(完全虚构)。本工作为深入理解模型幻觉成因提供基础,助力可信大模型发展。
原文摘要 · Abstract (English)
Despite their impressive ability to generate high-quality and fluent text, generative large language models (LLMs) also produce hallucinations: statements that are misaligned with established world knowledge or provided input context. However, measuring hallucination can be challenging, as having humans verify model generations on-the-fly is both expensive and time-consuming. In this work, we release HALoGEN, a comprehensive hallucination benchmark consisting of: (1) 10,923 prompts for generative models spanning nine domains including programming, scientific attribution, and summarization, and (2) automatic high-precision verifiers for each use case that decompose LLM generations into atomic units, and verify each unit against a high-quality knowledge source. We use this framework to evaluate ~150,000 generations from 14 language models, finding that even the best-performing models are riddled with hallucinations (sometimes up to 86% of generated atomic facts depending on the domain). We further define a novel error classification for LLM hallucinations based on whether they likely stem from incorrect recollection of training data (Type A errors), or incorrect knowledge in training data (Type B errors), or are fabrication (Type C errors). We hope our framework provides a foundation to enable the principled study of why generative models hallucinate, and advances the development of trustworthy large language models.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。