Source-linked AI summary

Hypertableau Reasoning for Description Logics

Boris Motik, Rob Shearer, Ian Horrocks

arXiv:1401.3485v1cs.LOcs.AI

TL;DR

Tableau reasoning is hindered by unnecessary nondeterminism and large model construction. The paper introduces a hypertableau and hyperresolution calculus with blocking and a refined nominal-introduction rule, and reports substantial practical gains in HermiT.

  • Problem

    Existing tableau reasoners still encounter ontologies they cannot handle, with unnecessary disjunction branching and large model expansion limiting scalability.

  • Method

    The paper preprocesses SHOIQ+ knowledge bases into DL-clauses and combines hyperresolution with blocking, anywhere pairwise blocking, and a refined nominal-introduction rule.

  • Results

    HermiT significantly reduces classification times on several real-world ontologies and can classify some ontologies that other reasoners cannot handle.

  • Takeaways & Limitations

    The results demonstrate practical potential for reduced nondeterminism and anywhere blocking in description-logic reasoning.

  • Takeaways & Limitations

    The translation of at-most restrictions can incur exponential blowup, making large numbers in number restrictions difficult for hypertableau algorithms.

Abstract

from arXiv · show

We present a novel reasoning calculus for the description logic SHOIQ^+---a knowledge representation formalism with applications in areas such as the Semantic Web. Unnecessary nondeterminism and the construction of large models are two primary sources of inefficiency in the tableau-based reasoning calculi used in state-of-the-art reasoners. In order to reduce nondeterminism, we base our calculus on hypertableau and hyperresolution calculi, which we extend with a blocking condition to ensure termination. In order to reduce the size of the constructed models, we introduce anywhere pairwise blocking. We also present an improved nominal introduction rule that ensures termination in the presence of nominals, inverse roles, and number restrictions---a combination of DL constructs that has proven notoriously difficult to handle. Our implementation shows significant performance improvements over state-of-the-art reasoners on several well-known ontologies.

1. Introduction

The paper targets two scalability problems in tableau reasoning—unnecessary nondeterminism and overly large models—using a hypertableau calculus with blocking and improved nominal handling.

  • Existing tableau reasoners remain unable to handle some practical ontologies despite extensive search-space optimizations.
  • Or-branching causes exponential behavior because tableau algorithms guess disjuncts and backtrack when choices lead to contradictions.
  • And-branching expands models through existential quantifiers, increasing memory use and potentially increasing or-branching.
  • The calculus addresses both complexity sources for SHOIQ+, with preprocessing intended to extend applicability to SROIQ and OWL 2.
  • Hyperresolution derives consequences only when all antecedent atoms match, restricting nondeterminism to cases satisfying the clause constraints.
  • The refined nominal introduction rule is simpler and more efficient for the difficult combination of nominals, inverse roles, and number restrictions.
  • HermiT’s deterministic GCI treatment reduces classification times, while anywhere blocking limits model sizes and handles ontologies other reasoners cannot.

2. Preliminaries

This section defines SHOIQ+ syntax and semantics, including roles, concepts, axioms, knowledge bases, interpretations, and basic inference problems.

  • A SHOIQ+ signature contains mutually disjoint sets of atomic roles, atomic concepts, and individuals, with inverse roles added to the role set.
  • SHOIQ+ concepts include Boolean operators, restrictions, nominals, local reflexivity, and at-least or at-most number restrictions.
  • A SHOIQ+ knowledge base is a triple consisting of an RBox, TBox, and ABox, with assertions for concepts, roles, equalities, and inequalities.
  • An interpretation assigns domain elements to individuals, sets to atomic concepts, and binary relations to atomic roles, then extends these assignments to complex expressions.
  • The basic inference problem is satisfiability, while subsumption can be reduced to satisfiability of a knowledge base augmented with a counterexample assertion.
  • Negation-normal form pushes negations inward and can be computed in time linear in the concept size.
  • SROIQ adds general role inclusions, whereas related logics restrict transitivity, nominals, inverse roles, local reflexivity, role properties, or number restrictions.

3. Motivation and Algorithm Overview

The paper motivates its algorithm by identifying tableau scalability problems and then relating its proposed remedies to existing approaches.

  • The section previews the causes of tableau scalability problems, the algorithmic responses, and relationships to related approaches.

3.1 Causes of Scalability Problems in Tableau Algorithms

Tableau procedures face nondeterministic disjunction handling and potentially enormous model expansion; blocking and hyperresolution address these problems by controlling branching and termination.

  • Tableau derivations: Tableau derivations transform an initial ABox through rule applications toward a model representation or a contradiction.
  • Tableau derivations: The existential rule introduces a fresh successor, while the GCI rule adds a disjunction for each individual.
  • 3.1.1 Or-Branching: Or-branching requires guesses and backtracking, making unsatisfiability checks expensive when alternative disjuncts must all be refuted.
  • 3.1.1 Or-Branching: A GCI such as ∃R.A ⊑A can instead be treated as a Horn clause whose bottom-up inferences deterministically derive consequences and expose contradiction.
  • 3.1.2 And-Branching: And-branching from existential and at-least rules can generate binary trees that are doubly exponential in input size.
  • 3.1.3 Blocking: Without nominals, derived ABoxes have forest-like structure: named individuals may connect arbitrarily, while blockable individuals form successor trees.
  • 3.1.3 Blocking: Ancestor pairwise blocking compares concept and bidirectional edge labels, and blocks rule applications to ensure termination.

3.2 The Hypertableau Algorithm at a Glance

The hypertableau algorithm preprocesses SHOIQ+ knowledge bases into DL-clauses and applies hyperresolution-style derivations, while blocking, pruning, and nominal introduction address termination and model growth.

  • Derivation Rules: Hyperresolution derives a consequent only when all antecedent atoms match derived consequences, reducing unnecessary nondeterminism compared with tableau processing of GCIs.On Horn clauses, these inferences are deterministic; general clauses retain only the necessary or-branching.
  • Derivation Rules: The calculus preprocesses a SHOIQ+ knowledge base into an ABox and DL-clauses used by the Hyp-rule.DL-clauses encode implications whose antecedents contain concept or role atoms and whose consequents may include disjunctions, existential restrictions, number restrictions, or equalities.
  • Derivation Rules: The translation of at-most restrictions can expand a compact O(log n)-bit concept into a DL-clause containing O(n^2) literals.The paper identifies this exponential blowup as an explicit form of the space requirements handled by specialized tableau rules.
  • Anywhere Pairwise Blocking: Anywhere pairwise blocking extends the possible blockers beyond an individual’s ancestors to curb and-branching while preserving termination through a strict ordering that prevents cyclic blocks.For K2, after exponentially many combinations are exhausted, a polynomial path can block subsequently created siblings in the best case.
  • Problems Due to Merging: Pruning before merging preserves termination because forest-shaped ABoxes identify which blockable subtree can be removed.Merging without pruning can reproduce an isomorphic ABox and cause a yo-yo nontermination pattern.
  • Nominals: The refined NI-rule introduces fresh root individuals for at-most-restricted neighbors, while restricting named-individual merges to named individuals keeps root chains anchored and enables termination.Annotated equalities record the relevant at-most restriction; the NI-rule also supports blocking and unraveling in the presence of inverse roles, number restrictions, and nominals.

3.3 Related Work

The paper contrasts hypertableau reasoning with absorption, caching, and first-order approaches, emphasizing deterministic handling of Horn knowledge bases and termination through anywhere blocking.

  • Hypertableau vs. Absorption: Absorption localizes nondeterminism in tableau calculi, but heuristic choices provide no guarantee of minimizing it, even for Horn knowledge bases.Binary and role absorption can fail or become nondeterministic depending on processing order.
  • Hypertableau vs. Absorption: Hypertableau preprocessing guarantees deterministic derivations for Horn knowledge bases by producing Horn DL-clauses.The calculus also captures all known absorption variants and can further localize nondeterminism with guard atoms.
  • Hypertableau vs. Absorption: Guard atoms eliminate the need for tableau choose-rules when applying number restrictions and make conclusions conditional on matching the required assertions.On Horn knowledge bases with number restrictions, including functional roles, the calculus exhibits no nondeterminism.
  • Hypertableau vs. Absorption: The calculus does not directly generalize negative absorption, although a transformation using a fresh concept can make the resulting clause deterministic.The transformation may create a form that is likewise not absorbable in tableau reasoning.
  • Relationship with Caching: Unlike caching approaches that require careful integration with blocking, anywhere blocking alone guarantees termination and achieves many caching effects with less complexity.The paper presents an optimization of anywhere blocking that functions as a simple form of general caching.
  • Relationship with First-Order Calculi: First-order model-generation methods may fail to terminate on infinite-model knowledge bases or under unlucky rule-application sequences, even with blocking transformations.The paper relates these limitations to the need for blocking techniques and the absence of a finite model property.

4. The Satisfiability Checking Algorithm

The algorithm preprocesses a SHOIQ+ knowledge base into an equisatisfiable form and then applies a hypertableau calculus to determine satisfiability. Blocking, normalization, transitivity encoding, and formal soundness, completeness, and termination results support the procedure.

  • The algorithm has preprocessing and hypertableau phases for checking satisfiability of a SHOIQ+ knowledge base.Preprocessing is described in Section 4.1 and the hypertableau phase in Section 4.2.
  • Preprocessing: Preprocessing transforms K into an equisatisfiable ABox and DL-clause set, after eliminating transitivity axioms through additional GCIs.The transitivity encoding produces Ω(K), which is satisfiable exactly when K is, and is computable in polynomial time.
  • Normalization: Normalization makes negations explicit and produces DL-clauses compatible with blocking, while preserving Horn-ness through polarity-sensitive concept replacements.The normalization results are formalized in Lemma 2 and use the function pos(C) to choose positive or negative literal replacements.
  • Blocking: Without suitable normalization, blocking can incorrectly declare a knowledge base satisfiable even though further DL-clause applications derive a contradiction.In the K8 example, additional derivations prevent c from being blocked and expose the contradiction.
  • Hypertableau calculus: The clausification is equisatisfiable and yields HT-clauses, whose derivations preserve the HT-ABox structure.The calculus establishes soundness through a clash-free branch and completeness when a derivation has a clash-free leaf.
  • Termination and complexity: Blocking bounds each derivation: introduced individuals are at most doubly exponential in |C, A|, and satisfiability is decidable in 2NExpTime in |K|.The branching factor is exponentially bounded, making each derivation finite.

5. Discussion

The discussion evaluates simpler blocking conditions and identifies where they are sound, efficient, or unsafe in the hypertableau setting. It also shows that blocking and nominal introduction can still permit doubly-exponential model construction.

  • Single Blocking: Atomic single blocking may construct smaller ABoxes and improve efficiency by limiting the information required for blocking.It compares only atomic concept labels, whereas full single blocking requires nearly identical concept occurrences.
  • Single Blocking: Atomic single blocking is sound for simple HT-clauses, and SHOQ+ preprocessing produces only such clauses.The soundness result applies to derivations ending in a clash-free ABox.
  • Single Blocking: Full single blocking can be unsound with multiple role atoms because blocking may terminate before both predecessor and successor structures are fully constructed.In K9, the blocked individual hides an expansion that would expose unsatisfiability.
  • Single Blocking: Full single blocking is sound only under restrictions including at most one antecedent role atom and at-least restrictions of the form ≥1 S.B.These restrictions prevent clauses from simultaneously examining both predecessors and successors of a blocked individual.
  • Subset Blocking: Full subset blocking can reduce ABox size, but preprocessing may be needed to remove implicit inverses, potentially increasing derivation-tree size.The trade-off is smaller ABoxes versus possibly larger derivation trees.
  • Number of Individuals: The calculus can generate doubly-exponentially many blockable or root individuals despite blocking, so its worst-case behavior is not optimal for SHOIQ+.K11 yields a binary tree of exponential depth, while K12 uses nominal introduction to produce doubly-exponential root growth.

6. Algorithm Optimizations

The section presents classification optimizations that exploit deterministic derivations, reusable blockers, and model caching. These techniques reduce repeated subsumption work while relying on scope conditions such as the absence of nominals.

  • Classification: A concept C subsumes A when C(a) is derived without depending on a nondeterministic choice.The converse holds for deterministic derivations: every subsumer must appear in the individual’s label.
  • Classification: A nonblocked individual labeled with C but not D certifies that K does not entail C ⊑D.This provides a direct negative subsumption test from a clash-free derivation.
  • Classification: Deterministic hypertableau classification can use a linear number of calls instead of a quadratic number of subsumption checks.For each atomic concept A, the computed label of a clash-free individual contains its subsumers.
  • Model Reuse: Previously computed nonblocked individuals can serve as blockers in subsequent satisfiability checks for TBoxes and RBoxes without nominals.The disjoint-union model argument supports this reuse when nominals are absent.
  • Model Reuse: The optimization is a simple form of model caching and was key to the reported results.Only selected concept and edge labels need to be retained rather than the entire prior ABox.

7. Implementation and Evaluation

HermiT implements the hypertableau calculus and evaluates it against Pellet and FaCT++ on 392 ontologies. Results show benefits from reduced nondeterminism and anywhere blocking, but performance remains limited on ontologies requiring specialized optimizations.

  • Evaluation setup: HermiT was implemented as a prototype reasoner and compared with Pellet and FaCT++ on 392 test ontologies.Tests measured classification time under fixed hardware, memory, and timeout limits.
  • Limitations: HermiT could not process SNOMED CT and was uncompetitive on ontologies where specialized optimizations were needed.The evaluation deliberately focused on realistic problems rather than artificial tests or cases mainly measuring specialized techniques.
  • Results: Reduced nondeterminism mainly explains HermiT’s advantage on first-group ontologies, where several classifications use a linear number of concept satisfiability tests.Anywhere blocking had little impact in this group because HermiT and HermiT-Anc performed similarly.
  • Results: Anywhere blocking significantly improves performance on second-group ontologies by preventing construction of large models.HermiT-Anc was significantly slower, while Pellet exhausted memory on all ontologies in this group.
  • Limitations: HermiT was significantly slower on third-group ontologies because nominals prevent caching blocking labels and require repeated processing of the entire ABox.Other reasoners reuse completion graphs between subsequent runs, whereas HermiT currently does not reuse this computation.
  • Implications: The results demonstrate practical potential for hypertableau reasoning and suggest that anywhere blocking can also improve tableau reasoners without major redesign.The authors note that many tableau optimizations can likewise be incorporated into HermiT.

8. Conclusion

The paper concludes that hyperresolution with anywhere blocking and a refined nominal-introduction rule improves practical DL reasoning. However, very large cyclic ontologies such as full GALEN can still exhaust HermiT’s memory, while extension to SROIQ remains future work.

  • Conclusion: The proposed algorithm combines hyperresolution, anywhere blocking, and a refined nominal-introduction rule to reduce nondeterminism and generated-model sizes.The refinement addresses interactions among nominals, inverse roles, and number restrictions and also applies to tableau algorithms.
  • Conclusion: The combined calculus and optimizations significantly improve practical DL reasoning, enabling HermiT to classify several complex ontologies uniquely among the tested reasoners.This is the paper’s reported overall performance conclusion.
  • Limitations: Full GALEN still defeats HermiT because cyclic axioms lead to extremely large ABoxes and eventual memory exhaustion.The authors describe nondeterministic reuse of generated individuals as a promising technique for alleviating this problem.
  • Future work: The authors plan to extend the technique to SROIQ, the logic underlying OWL 2.SROIQ adds more expressive role-inclusion axioms.
Loading 1401.3485v1…