Skip to main content
QUICK REVIEW

[Paper 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 Science49 citations
TL;DR

The paper demonstrates that pre-trained language models can be trained to systematically reason over both implicit knowledge embedded in parameters and explicit natural language statements, enabling inference, counting, and multi-skill composition without retraining. It also shows potential for on-the-fly, one-shot corrections through natural language guidance.

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.

Motivation & Objective

  • Demonstrate that pre-trained language models can systematically reason over implicit knowledge combined with explicit statements.
  • Automatically generate training data from external knowledge sources to teach new inference skills.
  • Evaluate reasoning capabilities involving taxonomy, world knowledge, counting, and multi-skill composition.
  • Show that learned reasoning generalizes to compositions of multiple inference types beyond training distribution.
  • Discuss the implications for interactive, on-the-fly model improvement without re-training.

Proposed method

  • Automatically generate training data by sampling from ConceptNet, WordNet, and Wikidata to create explicit knowledge and hypotheses.
  • Fine-tune a pre-trained language model (RoBERTa-Large) on these datasets with a standard input format and binary cross-entropy loss.
  • Evaluate against baselines like ESIM with GloVe embeddings and a RuleT.+20Q model to assess the role of implicit knowledge.
  • Test implicit reasoning by combining hypernym/meronym knowledge with explicit rules to infer hypotheses.
  • Test counting by counting over explicit facts and implicit knowledge, assessing the model’s ability to count and reason with mixed evidence.
  • Investigate generalization by mixing multiple inference skills and testing on multi-skill tasks.

Experimental results

Research questions

  • RQ1Can a pre-trained language model reliably reason over combinations of implicit knowledge and explicit natural language statements?
  • RQ2To what extent can implicit taxonomic and world knowledge be leveraged for inference when augmented with explicit rules?
  • RQ3Is counting over both explicit and implicit facts feasible for LMs, and how does explicit information impact performance?
  • RQ4Does training for individual inference skills generalize to compositions requiring multiple skills?
  • RQ5Can interactive, one-shot natural-language corrections adapt models without retraining?

Key findings

  • RoBERTa achieves high accuracy on implicit reasoning (88.8%) when using implicit hypernym knowledge with explicit cues, indicating systematic use of pre-trained knowledge.
  • Performance improves when implicit beliefs are correct and can be substantially boosted by targeted interventions that add correct rules to explicit knowledge (e.g., 88.8% to 98.3%).
  • Models trained on hypernym/meronym reasoning can count member facts with high accuracy (e.g., 99.7% when the count is reached, K).
  • Counting accuracy improves when explicit counting facts are provided, and explicit knowledge helps the LM leverage prior background knowledge.
  • Models can generalize to multi-skill compositions, achieving 85.4% overall accuracy when trained on multiple datasets and tested on combined skill examples.
  • The approach enables potential one-shot, on-the-fly corrections by users providing natural language statements to fix errors.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.