Transformers have been shown to emulate logical deduction over natural language theories (logical rules expressed in natural language), reliably assigning true/false labels to candidate implications. However, their ability to generate implications of a theory has not yet been demonstrated, and methods for reconstructing proofs of answers are imperfect. In this work we show that a generative model, called ProofWriter, can reliably generate both implications of a theory and the natural language proof(s) that support them. In particular, iterating a 1-step implication generator results in proofs that are highly reliable, and represent actual model decisions (rather than post-hoc rationalizations). On the RuleTaker dataset, the accuracy of ProofWriter's proofs exceed previous methods by +9% absolute, and in a way that generalizes to proof depths unseen in training and on out-of-domain problems. We also show that generative techniques can perform a type of abduction with high precision: Given a theory and an unprovable conclusion, identify a missing fact that allows the conclusion to be proved, along with a proof. These results significantly improve the viability of neural methods for systematically reasoning over natural language.
翻译:事实证明,变异器可以模仿自然语言理论(自然语言表达的逻辑规则)的逻辑推论,可靠地将真实/假标签划归候选者的影响。然而,他们产生理论影响的能力尚未显现出来,而重建答案证据的方法也不完善。在这项工作中,我们证明称为ProjectWriter的变异模型可以可靠地产生理论和自然语言证据的影响,支持这些理论和自然语言证据的影响。特别是,反复推导一个一步影响生成器的结果,其证据非常可靠,并代表实际的模型决定(而不是热量后合理化 ) 。在Server数据集中,校准Writer证据的准确性超过了先前的方法,达到百分之九的绝对值,而且能够普遍地证明培训过程和外部问题的深度。我们还表明,变异技术可以非常精确地进行一种类型的绑架:根据理论和无法令人相信的结论,找出一个缺失的事实,可以证明结论,同时提供证据。这些结果极大地提高了神经学方法对自然语言系统推理的可行性。