Skip to main content
QUICK REVIEW

[论文解读] Do Large Language Models Know about Facts?

Xuming Hu, Junzhe Chen|arXiv (Cornell University)|Oct 8, 2023
Topic ModelingComputer Science被引用 8
一句话总结

本论文介绍 Pinocchio,一个包含 20K 问题的基准,用以评估大型语言模型在跨领域、任务和语言中的事实知识存储与推理能力,并使用多样化的提示策略。

ABSTRACT

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.

研究动机与目标

  • 评估 LLMs 在预训练与指令微调中对事实知识的记忆与推理程度
  • 考察多样化事实类别下的性能:多面性、结构性、对抗性、时序性、真实世界、领域特定与多语言
  • 评估提示策略(零-shot、少量示例、有/无链式推理)以及模型家族(预训练、指令微调、RLHF)
  • 研究多跳推理、结构化数据处理、时序更新、对抗鲁棒性与多语言迁移等挑战

提出的方法

  • 通过汇集来自七个领域和语言的 20,713 道事实性选择题来构建 Pinocchio
  • 将问题组织成七大任务类别,以覆盖不同来源、时间线、领域、区域与语言
  • 用三个事实性标签(Yes/No/Not Sure Enough)对问题进行标注,并通过元评审与评注者间一致性检查进行质量控制
  • 在多种提示设置(Zero-shot、Zero-shot with CoT、Few-shot、Few-shot with CoT)下,评估十个可访问的 LLM,覆盖预训练、指令微调与 RLHF
  • 分析跨任务、提示、模型规模与多语言设置的表现,以识别事实知识与推理方面的差距
  • 进行关于多跳推理、结构化数据处理、时序更新、对抗鲁棒性和标签粒度的详细分析

实验结果

研究问题

  • RQ1当前 LLMs 在多样来源与语言中的事实知识存储到何种程度?
  • RQ2提示策略与模型对齐(指令微调、RLHF)如何影响事实准确性与推理?
  • RQ3LLMs 能否处理多-hop 与结构化证据、时效性事实、对抗性输入与多语言迁移?
  • RQ4在高风险应用中,LLMs 的事实知识与推理的主要瓶颈是什么?

主要发现

  • 具备指令微调与 RLHF 的 LLMs 在平均水平上优于未微调模型,但仍存在显著的事实性差距。
  • 少量示例配合 Chain-of-Thought(CoT)的提示通常提升事实准确性,尤其对经过微调的模型提升显著,尽管收益随模型而异。
  • 当任务需要更多跳数、结构化数据推理、时序更新或多语言迁移时,表现会下降。
  • 时序性与真实世界的事实性问题尤其困难,体现出对过时或未更新的训练数据的依赖。
  • 对抗性设计的问题会显著降低模型性能,手工对抗性编辑尤具挑战性。
  • 如自一致性与自我改进等提示策略可缓解部分错误,但并非普遍有效。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。