WikiContradict:一个用于评估大语言模型处理来自维基百科的真实世界知识冲突能力的基准
WikiContradict: A Benchmark for Evaluating LLMs on Real-World Knowledge Conflicts from Wikipedia
AI总结:
本研究针对大语言模型处理同源等信度检索段落知识冲突的能力不明问题,构建了含253个人工标注实例的WikiContradict基准,测试多类LLM在不同RAG场景下的表现,提出F值达0.8的自动评估方法并完成大规模评测,同时开源基准数据集。
摘要:
检索增强生成(RAG)已成为缓解大语言模型(LLM)存在的幻觉、信息过时等局限性的一种颇具前景的解决方案。然而,目前尚不清楚LLM如何处理不同的增强检索段落引发的知识冲突,尤其是当这些段落来自同一来源且可信度相同时的情况。在本研究中,我们针对基于维基百科中相互矛盾的段落而存在不同答案的问题,对LLM生成的回答开展了全面评估——维基百科是被大多数LLM广泛视为高质量预训练资源的数据集。具体而言,我们推出了WikiContradict基准,该基准包含253个经过人工标注的高质量实例,旨在评估LLM在接入包含真实世界知识冲突的检索段落时的性能表现。我们在不同的问答场景下对多种闭源和开源LLM进行了基准测试,场景包括单段落RAG以及含2个矛盾段落的RAG。通过对涉及5个LLM的WikiContradict实例子集开展严格的人工评估(累计超过3500次评判),我们揭示了这些模型的行为模式与局限性。例如,当提供两个包含矛盾事实的段落时,所有模型都难以生成能准确反映语境冲突性质的回答,尤其是针对需要推理的隐性冲突场景。由于人工评估成本高昂,我们还提出了一种自动化模型,可借助性能强劲的开源语言模型评估LLM的性能,其F1值达到0.8。利用这一自动化指标,我们对来自7个LLM的超过1500条回答在所有WikiContradict实例上的表现进行了评估。为推动后续研究,我们已在https://ibm.biz/wikicontradict上发布了WikiContradict基准。
英文摘要:
Retrieval-augmented generation (RAG) has emerged as a promising solution to mitigate the limitations of large language models (LLMs), such as hallucinations and outdated information. However, it remains unclear how LLMs handle knowledge conflicts arising from different augmented retrieved passages, especially when these passages originate from the same source and have equal trustworthiness. In this work, we conduct a comprehensive evaluation of LLM-generated answers to questions that have varying answers based on contradictory passages from Wikipedia, a dataset widely regarded as a high-quality pre-training resource for most LLMs. Specifically, we introduce WikiContradict, a benchmark consisting of 253 high-quality, human-annotated instances designed to assess LLM performance when augmented with retrieved passages containing real-world knowledge conflicts. We benchmark a diverse range of both closed and open-source LLMs under different QA scenarios, including RAG with a single passage, and RAG with 2 contradictory passages. Through rigorous human evaluations on a subset of WikiContradict instances involving 5 LLMs and over 3,500 judgements, we shed light on the behaviour and limitations of these models. For instance, when provided with two passages containing contradictory facts, all models struggle to generate answers that accurately reflect the conflicting nature of the context, especially for implicit conflicts requiring reasoning. Since human evaluation is costly, we also introduce an automated model that estimates LLM performance using a strong open-source language model, achieving an F-score of 0.8. Using this automated metric, we evaluate more than 1,500 answers from seven LLMs across all WikiContradict instances. To facilitate future work, we release WikiContradict on: https://ibm.biz/wikicontradict.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。