Introduction
Description Logic (DL) reasoners are the primary engines for checking the consistency of Knowledge Bases in the Semantic Web. Most state-of-the-art reasoners utilize tableau or hypertableau algorithms to construct a "model"—a concrete interpretation proving the satisfiability of logical statements. However, recursive definitions in expressive logics like $SROIQ$ can lead to infinite model construction. To mitigate this, reasoners employ blocking techniques: if a new individual resembles an existing one, expansion is halted.
Traditional blocking conditions are often too strict, leading to two primary issues:
- Bloated Models: Reasoners generate massive "pre-models" before a block is triggered.
- Computational Overhead: Evaluating complex blocking conditions at every step is computationally expensive.
The Core Blocking Approach
This paper introduces core blocking, a two-stage optimization designed to reduce memory and time requirements.
- Aggressive Blocking: The reasoner uses a "core" subset of labels to trigger blocks much earlier than standard methods. This "optimistic" approach assumes a block is valid based on minimal information.
- Validation Loop: After constructing a smaller pre-model, the reasoner performs a rigorous validation. If a block is found to be invalid (potentially leading to contradictions), the affected area is "unblocked," and the search continues.
The authors define two policies: the Simple Core Policy, which considers assertions from existential restrictions, and the Complex Core Policy, which includes deterministic concepts to balance speed and accuracy.
Experimental Evaluation
The proposed method was implemented in the HermiT reasoner and tested against three challenging ontologies:
- DOLCE: A small but logically complex foundational ontology.
- GALEN: A large medical ontology known for deep nested structures.
- FMA (Foundational Model of Anatomy): A massive ontology with over 41,000 concepts, previously unclassifiable by HermiT due to memory constraints.
Key Results
The empirical evaluation demonstrated that "optimism pays off." By allowing the reasoner to be "wrong" quickly and correcting it later, overall performance improved drastically.
As shown in Figure 1, the reasoning time for DOLCE plummeted from approximately 41 seconds with standard pairwise blocking to less than 1 second with core blocking. This is primarily due to the reduction in the size of the generated pre-models.
Figure 2 illustrates that the average pre-model size for DOLCE dropped from 28,310 individuals to just 1,426 using the simple core policy. Similar results were observed for GALEN, where pre-model sizes for "hard" concepts were reduced by over 90%.
The most significant achievement was the classification of the FMA ontology. While standard blocking caused HermiT to exceed available memory, core blocking enabled successful classification in approximately 5.5 hours, maintaining a memory footprint as low as 64MB to 128MB in some tests.
Conclusion and Future Work
Core blocking effectively addresses the memory bottleneck in DL reasoning by keeping pre-model sizes manageable. While the validation phase can occasionally become a bottleneck (accounting for up to 86% of time in some GALEN tests), the overall gains in scalability are substantial. Future research will focus on optimizing the validation phase and integrating core blocking with blocking caches to further enhance performance.
Summary updated