大语言模型了解事实吗?
Do Large Language Models Know about Facts?
AI总结:
该研究针对大语言模型事实知识不准确、易过时的问题,构建了覆盖多维度的2万题Pinocchio基准,全面评估LLMs的事实能力,发现现有LLMs事实知识不足且存虚假相关性,为可信AI研究提供支撑。
摘要:
大语言模型(LLMs)近期在一系列自然语言处理任务中实现了显著的性能提升。其在预训练和指令微调阶段习得的事实知识可应用于问答、语言生成等多种下游任务。与显式存储事实知识的传统知识库(KBs)不同,LLMs将事实隐式存储在参数中。由于事实可能被错误归纳,或是随时间推移变得过时,LLMs生成的内容常存在不准确或偏离事实的问题。为此,我们设计了Pinocchio基准,旨在全面评估LLMs中事实知识的程度与范围。Pinocchio包含2万个多样化的事实问题,覆盖不同来源、时间线、领域、地区和语言。此外,我们探究了LLMs是否能够组合多个事实、随时间更新事实知识、对多条事实进行推理、识别细微的事实差异以及抵御对抗样本。针对不同规模和类型LLMs的大量实验表明,现有LLMs仍存在事实知识匮乏的问题,且受多种虚假相关性的困扰。我们认为这是实现可信人工智能的关键瓶颈。Pinocchio数据集与我们的代码将公开发布。
英文摘要:
Large language models (LLMs) have recently driven striking performance improvements across a range of natural language processing tasks. The factual knowledge acquired during pretraining and instruction tuning can be useful in various downstream tasks, such as question answering, and language generation. Unlike conventional Knowledge Bases (KBs) that explicitly store factual knowledge, LLMs implicitly store facts in their parameters. Content generated by the LLMs can often exhibit inaccuracies or deviations from the truth, due to facts that can be incorrectly induced or become obsolete over time. To this end, we aim to comprehensively evaluate the extent and scope of factual knowledge within LLMs by designing the benchmark Pinocchio. Pinocchio contains 20K diverse factual questions that span different sources, timelines, domains, regions, and languages. Furthermore, we investigate whether LLMs are able to compose multiple facts, update factual knowledge temporally, reason over multiple pieces of facts, identify subtle factual differences, and resist adversarial examples. Extensive experiments on different sizes and types of LLMs show that existing LLMs still lack factual knowledge and suffer from various spurious correlations. We believe this is a critical bottleneck for realizing trustworthy artificial intelligence. The dataset Pinocchio and our codes will be publicly available.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。