Are Pretrained Language Models Symbolic Reasoners Over Knowledge?

Nora Kassner, Benno Krojer, Hinrich Schütze
6/18/2020
cs.CL

Official code: BennoKrojer/reasoning-over-facts (13 stars, Python, last commit 2021-03-23).

Abstract

How can pretrained language models (PLMs) learn factual knowledge from the training set? We investigate the two most important mechanisms: reasoning and memorization.

Show full abstract

Prior work has attempted to quantify the number of facts PLMs learn, but we present, using synthetic data, the first study that investigates the causal relation between facts present in training and facts learned by the PLM. For reasoning, we show that PLMs seem to learn to apply some symbolic reasoning rules correctly but struggle with others, including two-hop reasoning. Further analysis suggests that even the application of learned reasoning rules is flawed. For memorization, we identify schema conformity (facts systematically supported by other facts) and frequency as key factors for its success.

View on arXivView PDF

Code Implementations(1)

This repository contains code for the paper "Are Pretrained Language Models Symbolic Reasoners over Knowledge?"

131Python, Jupyter NotebookOct 8, 20205 years ago

Similar Papers

Cite this paper

@article{kassner2020pretrained,
  title  = {Are Pretrained Language Models Symbolic Reasoners Over Knowledge?},
  author = {Nora Kassner and Benno Krojer and Hinrich Schütze},
  year   = {2020},
  eprint = {2006.10413},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2006.10413}
}

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.10413.svg)](https://codeofpaper.com/paper/2006.10413)

Discussion