Skip to main content
QUICK REVIEW

[Paper Review] Optimizing Heuristics for Tableau-based OWL Reasoners

Razieh Mehri, Volker Haarslev|arXiv (Cornell University)|Oct 15, 2018
Semantic Web and OntologiesComputer Science9 references3 citations
TL;DR

This paper proposes a machine learning approach to optimize rule ordering in JFact, a tableau-based OWL reasoner, using binary SVM to predict high-performance heuristic configurations. By learning ontology-specific rule orderings, the method achieves an average speedup of two orders of magnitude over the worst-case rule ordering, significantly reducing reasoning time and avoiding timeouts.

ABSTRACT

Optimization techniques play a significant role in improving description logic reasoners covering the Web Ontology Language (OWL). These techniques are essential to speed up these reasoners. Many of the optimization techniques are based on heuristic choices. Optimal heuristic selection makes these techniques more effective. The FaCT++ OWL reasoner and its Java version JFact implement an optimization technique called ToDo list which is a substitute for a traditional top-down approach in tableau-based reasoners. The ToDo list mechanism allows one to arrange the order of applying different rules by giving each a priority. Compared to a top-down approach, the ToDo list technique has a better control over the application of expansion rules. Learning the proper heuristic order for applying rules in ToDo lis} will have a great impact on reasoning speed. We use a binary SVM technique to build our learning model. The model can help to choose ontology-specific order sets to speed up OWL reasoning. On average, our learning approach tested with 40 selected ontologies achieves a speedup of two orders of magnitude when compared to the worst rule ordering choice.

Motivation & Objective

  • To address the performance bottleneck in tableau-based OWL reasoners caused by suboptimal rule ordering in the ToDo list optimization technique.
  • To improve reasoning efficiency in JFact by learning ontology-specific heuristic rule orderings using machine learning.
  • To reduce reasoning time and prevent timeouts by selecting high-performance rule order configurations automatically.
  • To demonstrate that machine learning can effectively optimize heuristic-based reasoning techniques in complex description logics like OWL.

Proposed method

  • A binary SVM classifier is trained to distinguish between 'Good' (reasoning under 2 minutes) and 'Bad' (over 2 minutes or timeout) rule orderings for each ontology.
  • Features derived from ontology structure and metrics are used as input to the SVM model to predict optimal rule ordering configurations.
  • Cross-validation is used to rank the predictive accuracy of different rule order configurations, guiding selection among 'Good' options.
  • The model selects the highest-accuracy 'Good' configuration when multiple are available, minimizing risk of timeout.
  • The approach is evaluated across 40 diverse ontologies to assess generalization and performance gains.
  • The system integrates with JFact's ToDo list by dynamically choosing the best rule ordering based on learned predictions.

Experimental results

Research questions

  • RQ1Can machine learning effectively predict high-performance rule orderings for the ToDo list optimization in JFact?
  • RQ2What ontology features correlate most strongly with fast reasoning performance in the context of rule ordering?
  • RQ3How much performance improvement can be achieved by learning optimal rule orderings compared to fixed or worst-case orderings?
  • RQ4Can the learned model consistently avoid timeouts and reduce reasoning time across diverse ontologies?
  • RQ5Is the performance gain robust across ontologies with varying sizes, complexities, and nominal counts?

Key findings

  • The proposed learning model achieves an average speedup of 337.81 times compared to the worst-case rule ordering across 40 ontologies.
  • All 40 ontologies showed positive speedup, with no negative ratios, indicating consistent improvement over the worst ordering.
  • The model reduced reasoning time from over 8 minutes to under 1 minute in cases where the worst ordering caused timeouts.
  • The best-performing configurations were selected with high confidence using cross-validation accuracy rankings, improving reliability.
  • The method outperformed the standard JFact configuration in several cases and matched or exceeded it in many others.
  • The approach successfully avoided timeouts in all tested cases by selecting 'Good' rule orderings, even when multiple configurations were available.

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.