Skip to main content
QUICK REVIEW

[论文解读] Leap-Of-Thought: Teaching Pre-Trained Models to Systematically Reason Over Implicit Knowledge

Alon Talmor, Oyvind Tafjord|arXiv (Cornell University)|Jun 11, 2020
Topic ModelingComputer Science被引用 49
一句话总结

论文证明预训练语言模型可以被训练系统性地对隐式知识与显式自然语言陈述进行推理,从而实现推理、计数以及多技能组合,无需再训练。它还显示通过自然语言指导进行现场的一次性修正的潜力。

ABSTRACT

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.

研究动机与目标

  • 证明预训练语言模型可以系统性地对隐式知识与显式陈述相结合进行推理。
  • 自动从外部知识源生成训练数据以教授新的推理技能。
  • 评估涉及分类学、世界知识、计数和多技能组合的推理能力。
  • 展示所学推理能够推广到超出训练分布的多种推理类型的组合。
  • 讨论在不重新训练的情况下进行交互式、现场模型改进的意义。

提出的方法

  • 通过从 ConceptNet、WordNet 和 Wikidata 抽样生成显式知识和假设,自动生成训练数据。
  • 在这些数据集上用标准输入格式和二元交叉熵损失对预训练语言模型(RoBERTa-Large)进行微调。
  • 与基线如带有 GloVe 词嵌入的 ESIM、以及 RuleT.+20Q 模型进行比较,以评估隐式知识的作用。
  • 通过将上位词/下位词知识与显式规则结合来推断假设,以测试隐式推理。
  • 通过对显式事实和隐式知识进行计数来测试计数能力,评估模型在混合证据下的计数与推理能力。
  • 通过混合多种推理技能并在多技能任务上进行测试来研究泛化。

实验结果

研究问题

  • RQ1预训练语言模型是否能够可靠地对隐式知识与显式自然语言陈述的组合进行推理?
  • RQ2在附加显式规则的情况下,隐式的分类知识和世界知识在推理中能在多大程度上被利用?
  • RQ3对显式与隐式事实同时进行计数对于语言模型是否可行,显式信息对性能有何影响?
  • RQ4为单独推理技能进行训练是否能推广到需要多种技能组合的情景?
  • RQ5交互式、一次性自然语言纠正是否能够在不重新训练的情况下调整模型?

主要发现

  • 在使用隐式上位词知识及显式线索时,RoBERTa 在隐式推理方面取得了高准确度(88.8%),表明对预训练知识的系统性使用。
  • 当隐式信念正确时,性能提升显著,并且通过添加正确规则到显式知识的定向干预可以大幅提升(例如从 88.8% 提升到 98.3%)。
  • 在上位词/部分词推理上训练的模型在计数成员事实方面可以达到高准确性(例如当计数达到时为 99.7%,K)。
  • 当提供显式计数事实时,计数准确性提高,显式知识帮助语言模型利用先前的背景知识。
  • 模型可以推广到多技能组合,在对多个数据集进行训练、在综合技能示例上测试时达到总准确率 85.4%。
  • 该方法为用户通过提供自然语言陈述来现场修正错误提供了潜在的一次性、即时纠正的途径。

阅读本论文

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

在 Nubint 中阅读本论文

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