什么在事实记忆与回忆中起作用?面向语言模型知识探测的多维度基准
What Matters in Memorizing and Recalling Facts? Multifaceted Benchmarks for Knowledge Probing in Language Models
AI总结:
针对语言模型的事实幻觉问题,本研究提出多维度知识探测基准BELIEF(ICL)与多提示数据集MyriadLAMA,全面评估预训练语言模型的事实知识回忆能力,并探究影响事实记忆与回忆的关键因素,揭示了提示式知识探测的局限性。
摘要:
语言模型在处理事实知识时往往存在困难,会出现事实幻觉问题,因此评估模型回忆其参数化事实知识的能力至关重要。本研究提出了知识探测基准BELIEF(ICL),从多个维度评估基于编码器和基于解码器的预训练语言模型(PLMs)的知识回忆能力。BELIEF系列基准采用多提示数据集,评估PLM在事实知识回忆中的准确率、一致性与可靠性。为了让BELIEF系列基准实现更可靠的评估,我们半自动构建了提示多样性极高的MyriadLAMA数据集。我们在多种PLM(包括近期的大语言模型LLMs)上验证了BELIEF系列基准可全面评估PLM的知识回忆能力。随后我们探究了PLM记忆与回忆事实的关键影响因素,包括模型规模、预训练策略与语料、指令微调流程以及上下文学习设置。最后我们揭示了基于提示的知识探测的局限性。MyriadLAMA已公开。
英文摘要:
Language models often struggle with handling factual knowledge, exhibiting factual hallucination issue. This makes it vital to evaluate the models' ability to recall its parametric knowledge about facts. In this study, we introduce a knowledge probing benchmark, BELIEF(ICL), to evaluate the knowledge recall ability of both encoder- and decoder-based pre-trained language models (PLMs) from diverse perspectives. BELIEFs utilize a multi-prompt dataset to evaluate PLM's accuracy, consistency, and reliability in factual knowledge recall. To enable a more reliable evaluation with BELIEFs, we semi-automatically create MyriadLAMA, which has massively diverse prompts. We validate the effectiveness of BELIEFs in comprehensively evaluating PLM's knowledge recall ability on diverse PLMs, including recent large language models (LLMs). We then investigate key factors in memorizing and recalling facts in PLMs, such as model size, pretraining strategy and corpora, instruction-tuning process and in-context learning settings. Finally, we reveal the limitation of the prompt-based knowledge probing. The MyriadLAMA is publicized.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。