Skip to main content
QUICK REVIEW

[Paper Review] Deep Learning for Ontology Reasoning

Patrick Hohenecker, Thomas Lukasiewicz|arXiv (Cornell University)|May 29, 2017
Semantic Web and OntologiesComputer Science7 references30 citations
TL;DR

This paper proposes a deep learning-based approach to ontology reasoning using a recursive neural network (RTN) model, achieving high reasoning accuracy while being up to 100 times faster than traditional logic-based reasoners like RDFox. The method learns distributed embeddings for entities and relations, enabling efficient inference on large-scale ontological knowledge bases through vector-space computations on GPUs.

ABSTRACT

In this work, we present a novel approach to ontology reasoning that is based on deep learning rather than logic-based formal reasoning. To this end, we introduce a new model for statistical relational learning that is built upon deep recursive neural networks, and give experimental evidence that it can easily compete with, or even outperform, existing logic-based reasoners on the task of ontology reasoning. More precisely, we compared our implemented system with one of the best logic-based ontology reasoners at present, RDFox, on a number of large standard benchmark datasets, and found that our system attained high reasoning quality, while being up to two orders of magnitude faster.

Motivation & Objective

  • To address scalability and robustness issues in symbolic logic-based ontology reasoning by leveraging deep learning.
  • To develop a statistical relational learning model that handles incomplete, conflicting, or uncertain data more effectively than traditional formal reasoners.
  • To enable fast, scalable ontology reasoning using deep neural networks while maintaining high inference accuracy.
  • To evaluate the proposed method against state-of-the-art logic-based reasoners on large, real-world knowledge base benchmarks.

Proposed method

  • The method employs a recursive neural network (RTN) to learn distributed vector embeddings for entities and relations in ontological knowledge bases.
  • The RTN processes logical expressions as tree-structured computation graphs, recursively aggregating representations of sub-expressions to form higher-level embeddings.
  • Inference is performed by computing similarity scores between embedding vectors, enabling end-to-end differentiable reasoning over symbolic data.
  • The model is trained on ontologies alone, not full knowledge bases, allowing pre-training as a system setup step.
  • Reasoning is executed via efficient vector operations on GPU, contrasting with symbolic inference in logic-based systems.
  • The framework supports both unary (class membership) and binary (relation) predicate reasoning in a unified embedding space.

Experimental results

Research questions

  • RQ1Can a deep learning model based on recursive neural networks achieve reasoning performance comparable to logic-based reasoners on large-scale ontological knowledge bases?
  • RQ2How does the proposed method scale in terms of inference speed compared to state-of-the-art logic-based reasoners like RDFox?
  • RQ3To what extent can learned embeddings capture the semantics of complex logical relationships in expressive ontologies?
  • RQ4Can the model maintain high accuracy despite class and relation imbalance in real-world datasets?

Key findings

  • The proposed NeTS system achieved average F1 scores of 0.954 on the Claros dataset, 0.959 on DBpedia, 0.948 on LUBM, and 0.953 on OUBM, indicating strong reasoning accuracy.
  • On all four benchmark datasets, the model's average accuracy exceeded 96% for unary predicates and 95% for binary predicates, demonstrating robust performance.
  • NeTS was up to two orders of magnitude faster than RDFox during the materialization phase, with inference times of 28–11 seconds compared to RDFox's 2062–467 seconds.
  • While RDFox was faster at data import (e.g., 48s vs. 242s on Claros), NeTS's materialization speed advantage dominates in practice due to frequent data updates.
  • The training phase for the RTN model took 3–4 days per dataset, but this is considered a one-time setup cost separate from online inference.
  • The results show that deep learning-based reasoning can match or exceed logic-based reasoning in accuracy while significantly outperforming it in speed on large-scale knowledge bases.

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.