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

Alon Talmor, Oyvind Tafjord, Peter Clark, Yoav Goldberg, Jonathan Berant
6/11/2020
cs.CLcs.AIcs.LG

Official code: alontalmor/LeapOfThought (49 stars, Python, MIT, last commit 2023-06-12).

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

MIT
490Python, JsonnetJun 11, 20203 years agoMIT

Similar Papers

Cite this paper

@article{talmor2020leapofthought,
  title  = {Leap-Of-Thought: Teaching Pre-Trained Models to Systematically Reason Over Implicit Knowledge},
  author = {Alon Talmor and Oyvind Tafjord and Peter Clark and Yoav Goldberg and Jonathan Berant},
  year   = {2020},
  eprint = {2006.06609},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2006.06609}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2006.06609.svg)](https://codeofpaper.com/paper/2006.06609)

Discussion