Exact Learning of Lightweight Description Logic Ontologies

Boris Konev, Carsten Lutz, Ana Ozaki, Frank Wolter

Abstract

This paper investigates the theoretical feasibility of automatically learning ontologies in lightweight description logics (DLs) using Dana Angluin’s "Exact Learning" model. By interacting with a domain expert through membership and equivalence queries, the authors determine which DL fragments, such as DL-Lite and restricted versions of $\mathcal{EL}$, are efficiently learnable. The study identifies a significant "complexity wall" for the full $\mathcal{EL}$ logic, providing a rigorous foundation for future automated knowledge engineering tools.

Introduction

Building high-quality ontologies is a fundamental bottleneck in artificial intelligence. The traditional process requires a knowledge engineer to manually extract and formalize information from a domain expert, a task that is often slow, costly, and error-prone. This research explores whether this human-mediated process can be replaced by a machine learning algorithm that identifies a target ontology through a limited number of structured queries.

The authors frame this problem using the "Exact Learning" model. In this framework, a learner attempts to reconstruct a hidden ontology by posing two types of queries to an Oracle (representing the domain expert):

  1. Membership Queries: Asking if a specific logical statement (e.g., "Is every A a B?") holds in the target ontology.
  2. Equivalence Queries: Proposing a candidate ontology and receiving either confirmation of its correctness or a counterexample.

The primary objective is to identify which Description Logics (DLs) allow for learning algorithms that operate within polynomial query complexity and computation time.

Methodology and Formalisms

The study focuses on several "lightweight" DL families that underpin modern web standards:

  • DL-Lite: The basis for the OWL 2 QL profile, optimized for data access.
  • $\mathcal{EL}$: The foundation of OWL 2 EL, widely used in large-scale medical ontologies like SNOMED CT.
  • $\mathcal{EL}_{lhs}$: A restricted fragment of $\mathcal{EL}$ related to the OWL 2 RL profile.

To analyze these logics, the authors utilize sophisticated logical constructs, including canonical models and tree representations. By treating logical expressions as directed trees, the learning algorithms can leverage graph-based techniques such as homomorphisms and simulations to prune the search space.

Example of a TBox (ontology) containing axioms that the learning algorithm aims to identify.

Key Insights and Theoretical Results

The research categorizes the learnability of these logics based on query and computational complexity:

  • Polynomial Query Learnable: $DL-Lite^\exists_R$ and its Horn variant can be identified using a polynomial number of queries. However, the computation required between queries remains $NP$-complete.
  • Polynomial Time Learnable: The $\mathcal{EL}_{lhs}$ fragment (and its symmetric counterpart $\mathcal{EL}_{rhs}$) represents a "sweet spot" where both the number of queries and the processing time are efficient.
  • The Complexity Wall: A significant finding is that full $\mathcal{EL}$ is not polynomial query learnable. Despite being considered lightweight for reasoning, the interaction between existential restrictions on both sides of an axiom creates an exponential search space that cannot be efficiently navigated through queries.
Graph-based representation of logical expressions, illustrating the tree structures used to model and learn ontology fragments.

Conclusion and Future Work

This work establishes the theoretical boundaries of automated ontology learning. While fragments like $\mathcal{EL}_{lhs}$ are highly amenable to learning, the full $\mathcal{EL}$ logic presents fundamental challenges. Future research directions include investigating whether $DL-Lite$ can be learned in polynomial time, extending algorithms to include inverse roles, and exploring "data-driven" oracles where experts answer questions based on specific data instances rather than abstract logical rules.

Summary updated

BibTeX
@inproceedings{konev2014exact,
  author = {Boris Konev and Carsten Lutz and Ana Ozaki and Frank Wolter},
  title = {{Exact Learning of Lightweight Description Logic Ontologies}},
  booktitle = {KR},
  year = {2014},
}
Figure