Skip to main content
QUICK REVIEW

[Paper Review] Reasoning over RDF Knowledge Bases using Deep Learning

Monireh Ebrahimi, Md Kamruzzaman Sarker|arXiv (Cornell University)|Nov 9, 2018
Semantic Web and OntologiesComputer Science21 references11 citations
TL;DR

This paper proposes a memory network-based deep learning model that emulates symbolic deductive reasoning over RDF knowledge graphs, using positional encoding and normalized representations to achieve high precision and recall in logical inference. The model generalizes across domains without retraining, outperforming non-normalized baselines and demonstrating strong transferability and robustness to out-of-vocabulary entities.

ABSTRACT

Semantic Web knowledge representation standards, and in particular RDF and OWL, often come endowed with a formal semantics which is considered to be of fundamental importance for the field. Reasoning, i.e., the drawing of logical inferences from knowledge expressed in such standards, is traditionally based on logical deductive methods and algorithms which can be proven to be sound and complete and terminating, i.e. correct in a very strong sense. For various reasons, though, in particular, the scalability issues arising from the ever-increasing amounts of Semantic Web data available and the inability of deductive algorithms to deal with noise in the data, it has been argued that alternative means of reasoning should be investigated which bear high promise for high scalability and better robustness. From this perspective, deductive algorithms can be considered the gold standard regarding correctness against which alternative methods need to be tested. In this paper, we show that it is possible to train a Deep Learning system on RDF knowledge graphs, such that it is able to perform reasoning over new RDF knowledge graphs, with high precision and recall compared to the deductive gold standard.

Motivation & Objective

  • To address the limitations of traditional symbolic reasoning in scalability and robustness to noisy data in large RDF knowledge graphs.
  • To develop a deep learning model that emulates deductive reasoning rather than relying on similarity-based induction.
  • To enable zero-shot transfer of reasoning capabilities to new domains without retraining or fine-tuning.
  • To improve generalization for out-of-vocabulary entities through normalized representation learning.
  • To investigate the feasibility of learning long-horizon reasoning paths in knowledge graphs using neural architectures.

Proposed method

  • Employing end-to-end memory networks (MemN2N) to perform multi-hop attention over explicit knowledge stored in memory, mimicking logical inference steps.
  • Introducing a normalization technique for entity and relation embeddings to improve representation stability and reasoning performance.
  • Applying positional encoding to preserve the order of subject-predicate-object in RDF triples, enhancing structural awareness.
  • Training the model end-to-end on RDF triples using a scoring objective to predict logical entailments (entailed vs. non-entailed).
  • Using t-SNE and PCA visualizations to analyze learned embeddings and assess their geometric and semantic clustering.
  • Conducting ablation studies by removing positional encoding to evaluate its impact on model performance.

Experimental results

Research questions

  • RQ1Can a deep learning model trained on one RDF knowledge graph perform accurate logical reasoning on a completely different domain without retraining?
  • RQ2How does positional encoding affect the model's ability to learn and generalize from RDF triple structure?
  • RQ3To what extent can a neural model emulate symbolic deductive reasoning rather than relying on geometric similarity?
  • RQ4How does normalization of embeddings influence reasoning performance and robustness to out-of-vocabulary entities?
  • RQ5What is the model's capacity for learning long-horizon reasoning paths, and how does data distribution affect this?

Key findings

  • The proposed model achieves 95% F-measure on the OWL-Centric Dataset, outperforming non-normalized baselines and demonstrating strong generalization across domains.
  • Removing positional encoding leads to a significant drop in accuracy (e.g., 73% to 52% on synthetic data), confirming its importance for structural reasoning.
  • The model generalizes effectively to zero-shot domains, maintaining high precision and recall without retraining or fine-tuning.
  • Despite limited training data for long paths, the model shows potential for reasoning over 10+ hops due to the inherent capacity of memory networks.
  • The ablation study reveals that the model misclassifies all zero-padded tokens as negative when positional encoding is removed, highlighting its role in structural awareness.
  • Visualizations show that normalized embeddings form meaningful clusters in semantic space, supporting effective reasoning.

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.