Transformers as Soft Reasoners over Language

By Peter Clark, Oyvind Tafjord, Kyle Richardson. 2020

465 citations recorded by the source corpus.

Beginning with McCarthy's Advice Taker (1959), AI has pursued the goal of providing a system with explicit, general knowledge and having the system reason over that knowledge. However, expressing the knowledge in a formal (logical or probabilistic) representation has been a major obstacle to this research. This paper investigates a modern approach to this problem where the facts and rules are provided as natural language sentences, thus bypassing a formal representation. We train transformers to reason (or emulate reasoning) over these sentences using synthetically generated data. Our models, that we call RuleTakers, provide the first empirical demonstration that this kind of soft reasoning over language is learnable, can achieve high (99%) accuracy, and generalizes to test data requiring substantially deeper chaining than seen during training (95%+ scores). We also demonstrate that the models transfer well to two hand-authored rulebases, and to rulebases paraphrased into more natural language. These findings are significant as it suggests a new role for transformers, namely as limited "soft theorem provers" operating over explicit theories in language. This in turn suggests new possibilities for explainability, correctability, and counterfactual reasoning in question-answering.

Subfields: Artificial Intelligence, Natural Language Processing

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Mohit Bansal
  2. Yejin Choi
  3. Hannaneh Hajishirzi
  4. Luke S. Zettlemoyer
  5. Percy Liang
  6. Jianfeng Gao
  7. Noah A. Smith
  8. Xiang Ren

In Natural Language Processing

  1. Yejin Choi
  2. Mohit Bansal
  3. Hannaneh Hajishirzi
  4. Luke S. Zettlemoyer
  5. Peter Clark
  6. Ashish Sabharwal
  7. Jonathan Berant
  8. Xiang Ren

Citations in the corpus