arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2406.07393cs.CL
收藏

大型语言模型在上下文外知识推理中能力受限

Large Language Models are Limited in Out-of-Context Knowledge Reasoning

Nanjing University(南京大学)

Peng Hu, Changjiang Gao, Ruiqi Gao, Jiajun Chen, Shujian Huang

AI总结:

本文聚焦大型语言模型的上下文外知识推理(OCKR)能力,通过构建合成数据集评估发现其能力受限,主要归因于知识检索困难,且跨语言迁移能力同样有限。

摘要:

大型语言模型(LLMs)拥有丰富的知识并在执行上下文内推理方面具备强大能力。然而,先前的研究对其上下文外推理能力提出了质疑,即从训练数据而非上下文或提示中推断信息的能力。本文聚焦于上下文外推理的一个重要方面:上下文外知识推理(OCKR),即将多个知识结合起来推断新知识。我们设计了一个包含七项代表性 OCKR 任务的合成数据集,以系统评估 LLMs 的 OCKR 能力。使用该数据集,我们评估了多个 LLMs,发现无论知识是在独立还是相邻的训练设置中训练的,它们在该方面的熟练程度都很有限。此外,训练模型使用推理示例进行推理并未带来显著提升,而训练模型执行显式知识检索有助于检索属性知识,但对关系知识无济于事,这表明模型有限的 OCKR 能力是由于知识检索困难所致。此外,我们将跨语言知识迁移视为 OCKR 的一种独特形式,并评估了该能力。结果表明,所评估的模型在跨语言迁移知识方面同样表现出有限的能力。

英文摘要:

Large Language Models (LLMs) possess extensive knowledge and strong capabilities in performing in-context reasoning. However, previous work challenges their out-of-context reasoning ability, i.e., the ability to infer information from their training data, instead of from the context or prompt. This paper focuses on a significant aspect of out-of-context reasoning: Out-of-Context Knowledge Reasoning (OCKR), which is to combine multiple knowledge to infer new knowledge. We designed a synthetic dataset with seven representative OCKR tasks to systematically assess the OCKR capabilities of LLMs. Using this dataset, we evaluated several LLMs and discovered that their proficiency in this aspect is limited, regardless of whether the knowledge is trained in a separate or adjacent training settings. Moreover, training the model to reason with reasoning examples does not result in significant improvement, while training the model to perform explicit knowledge retrieval helps for retrieving attribute knowledge but not the relation knowledge, indicating that the model's limited OCKR capabilities are due to difficulties in knowledge retrieval. Furthermore, we treat cross-lingual knowledge transfer as a distinct form of OCKR, and evaluate this ability. Our results show that the evaluated model also exhibits limited ability in transferring knowledge across languages.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑