Differentiable Reasoning on Large Knowledge Bases and Natural Language

Pasquale Minervini, Matko Bošnjak, Tim Rocktäschel, Sebastian Riedel, Edward Grefenstette
12/17/2019
cs.LGcs.CLcs.LO

Official code: uclnlp/gntp (58 stars, MIT, last commit 2020-01-11). 2 more implementations below.

Abstract

Reasoning with knowledge expressed in natural language and Knowledge Bases (KBs) is a major challenge for Artificial Intelligence, with applications in machine reading, dialogue, and question answering. General neural architectures that jointly learn representations and transformations of text are very data-inefficient, and it is hard to analyse their reasoning process. These issues are addressed by end-to-end differentiable reasoning systems such as Neural Theorem Provers (NTPs), although they can only be used with small-scale symbolic KBs. In this paper we first propose Greedy NTPs (GNTPs), an extension to NTPs addressing their complexity and scalability limitations, thus making them applicable to real-world datasets. This result is achieved by dynamically constructing the computation graph of NTPs and including only the most promising proof paths during inference, thus obtaining orders of magnitude more efficient models. Then, we propose a novel approach for jointly reasoning over KBs and textual mentions, by embedding logic facts and natural language sentences in a shared embedding space. We show that GNTPs perform on par with NTPs at a fraction of their cost while achieving competitive link prediction results on large datasets, providing explanations for predictions, and inducing interpretable models. Source code, datasets, and supplementary material are available online at https://github.com/uclnlp/gntp.

View on arXivView PDF

Code Implementations(3)

uclnlp/gntpOfficial100%
MIT
5814Shell, PrologNov 13, 20196 years agoMIT
uclnlp/ntpCommunity100%
TensorFlowApache-2.0

End-to-End Differentiable Proving

9117Shell, PythonFeb 2, 20187 years agoApache-2.0
deep-learningnips-2017prologtensorflow
uclnlp/ctpCommunity100%
MIT

Conditional Theorem Proving

5416Shell, PrologJul 13, 20205 years agoMIT

Similar Papers

Cite this paper

@article{minervini2019differentiable,
  title  = {Differentiable Reasoning on Large Knowledge Bases and Natural Language},
  author = {Pasquale Minervini and Matko Bošnjak and Tim Rocktäschel and Sebastian Riedel and Edward Grefenstette},
  year   = {2019},
  eprint = {1912.10824},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1912.10824}
}

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

Discussion