arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2006.06609cs.CLcs.AIcs.LG
收藏

思想跳跃:教授预先训练的模型系统地推理内隐知识

Leap-Of-Thought: Teaching Pre-Trained Models to Systematically Reason Over Implicit Knowledge

The Allen Institute for AI(艾伦人工智能研究所);Tel-Aviv University(特拉维夫大学);Bar-Ilan University(巴伊兰大学)

Alon Talmor, Oyvind Tafjord, Peter Clark, Yoav Goldberg, Jonathan Berant

摘要:

神经网络能在多大程度上系统地推理符号事实?有证据表明,大型预训练语言模型(LM)获得了一定的推理能力,但这种能力是难以控制的。最近,它已被证明,基于transformer的模型成功地在一致的推理明确的符号事实,在“封闭世界”的假设。然而,在开放域设置中,希望利用已经编码在预训练LM的参数中的大量隐式知识库。在这项工作中,我们提供了第一个证明,可以训练LM可靠地执行系统推理相结合的隐式,预先训练的知识和明确的自然语言语句。为此,我们描述了一个自动生成数据集的过程,该数据集教会模型新的推理技能,并证明模型学习有效地执行推理,其中涉及隐式分类和世界知识,链接和计数。最后,我们表明,“教学”模型的原因概括超出了培训分布:他们成功地组成了使用多种推理技巧在单个例子。我们的工作为开放域系统铺平了道路,该系统通过与用户交互来不断改进,用户可以通过添加简单的自然语言语句来立即纠正模型。

英文摘要:

To what extent can a neural network systematically reason over symbolic facts? Evidence suggests that large pre-trained language models (LMs) acquire some reasoning capacity, but this ability is difficult to control. Recently, it has been shown that Transformer-based models succeed in consistent reasoning over explicit symbolic facts, under a "closed-world" assumption. However, in an open-domain setup, it is desirable to tap into the vast reservoir of implicit knowledge already encoded in the parameters of pre-trained LMs. In this work, we provide a first demonstration that LMs can be trained to reliably perform systematic reasoning combining both implicit, pre-trained knowledge and explicit natural language statements. To do this, we describe a procedure for automatically generating datasets that teach a model new reasoning skills, and demonstrate that models learn to effectively perform inference which involves implicit taxonomic and world knowledge, chaining and counting. Finally, we show that "teaching" models to reason generalizes beyond the training distribution: they successfully compose the usage of multiple reasoning skills in single examples. Our work paves a path towards open-domain systems that constantly improve by interacting with users who can instantly correct a model by adding simple natural language statements.

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

↑