Skip to content
OpenTrain AIFor AI Companies

Differentiable Reasoning on Large Knowledge Bases and Natural Language

Pasquale Minervini, Matko Bošnjak, Tim Rocktäschel, Sebastian Riedel, Edward GrefenstettePublished Dec 17, 2019
arXiv PDF
Researcher verdict
Starting point
Use as implementation starting point
Benchmark evidence
Missing
Not verified yet
Time to first repro
A few days
Plan setup time
Risk flags
1
Review before use

Abstract

Domain fit: AI-adjacent · Paper appears method- or tooling-adjacent to AI workflows with partial ecosystem coverage.

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.

Results and benchmarks

Freshness tier: cold
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.

Implementation

Historical official implementation (not recommended for new builds)

Why this implementation
Confidence: low

uclnlp/gntp is the closest maintained adjacent implementation (Official implementation from Papers with Code). It is not paper-verified; validate algorithm and evaluation setup against the paper before trusting reported metrics. Community adoption signal: 58 GitHub stars.

Open uclnlp/ntp
Reproduction risks
  • Adjacent implementations are not paper-verified
  • Recommended repository is adjacent and not paper-verified.
  • Adjacent implementation match confidence is low.
  • No direct maintained implementation is currently verified.
  • Only historical official repository was found: uclnlp/ntp.
  • No maintained paper-verified implementation met reliability thresholds.

Compare implementation paths

Compare maintenance quality, reproducibility coverage, and evidence confidence before choosing a reproduction baseline.

uclnlp/ntp
historical official
Maintenance
Stale
Confidence
High
Reproducibility
Moderate
Stars
91
Last push
Nov 21, 2018 (2835d)

Official implementation from Papers with Code · Repository link is mentioned in the paper metadata

  • No push in 12+ months
  • No CI pipeline detected
  • No tagged releases
uclnlp/gntp
alternative
Maintenance
Stale
Confidence
High
Reproducibility
Moderate
Stars
58
Last push
Jan 11, 2020 (2419d)

Official implementation from Papers with Code · Repository link is mentioned in the paper metadata

  • No push in 12+ months
  • No CI pipeline detected
  • No tagged releases
uclnlp/ctp
alternative
Maintenance
Stale
Confidence
High
Reproducibility
Moderate
Stars
54
Last push
Apr 30, 2021 (1944d)

Official implementation from Papers with Code · Matched via arXiv identifier search

  • No push in 12+ months
  • No CI pipeline detected
  • No tagged releases

Reproduction readiness

Time to first repro: days
Last checked: Aug 26, 2026

Setup required

Dependencies pinned, manual setup needed

  • uclnlp/ntp has requirements.txt but requires manual environment setup.
  • Last push was 2835 days ago, so expect possible dependency version conflicts.
  • No Dockerfile, so you will set up the environment manually.
  • No CI pipeline, so test coverage is unknown.
Open uclnlp/ntp

Hardware requirements

  • Expect multi-day setup/compute for meaningful reproduction based on current guidance.

Quick start

git clone https://github.com/uclnlp/ntp.git
pip install -r requirements.txt

Repositories and ecosystem

Closest related implementations

These are not paper-verified. Use them as reference points when no direct implementation is available.

  • uclnlp/gntp Adjacent · Confidence: Low · 58 stars

    Official implementation from Papers with Code

  • uclnlp/ctp Adjacent · Confidence: Low · 54 stars

    Official implementation from Papers with Code

Official

  • uclnlp/gntp
    Confidence: High

    uclnlp/gntp

    58 stars · 14 forks · Last push Jan 11, 2020 · MIT license

  • uclnlp/ctp
    Confidence: High

    Conditional Theorem Proving

    54 stars · 16 forks · Last push Apr 30, 2021 · MIT license

Community

No additional community repositories detected yet.

Hugging Face artifacts

No trustworthy direct or curated related Hugging Face artifacts were found yet. Use targeted searches to quickly locate candidate models, datasets, and demos.

Tip: start with models, then check datasets and spaces if you need evaluation data or demos.

Research context

Evaluation and human feedback data

Open this paper in HFEPX to review benchmark signals, evaluation modes, and human-feedback protocol context.

Open in HFEPX

Data includes links from Papers with Code ( CC-BY-SA-4.0 ).