Techniqueadvanced
Blocking
Also called subset blocking, pairwise blocking.
Stops expanding a tableau node whose label is contained in that of an ancestor, so tableaux with general TBoxes terminate.
Blocking is the technique that makes tableau algorithms stop when the search could build an endless chain of new nodes. A node is blocked when an earlier node, usually an ancestor, already has every concept that the blocked node would get. The search then builds nothing below the blocked node, and the model reuses the blocking node in its place. It is what lets the tableau algorithm for ALC decide satisfiability with respect to a general TBox, and its forms differ by logic: subset blocking for ALC, equality blocking for inverse roles, and pairwise blocking for SHIQ.
In plain words
A search builds a chain of objects, and each one asks for a next one. Rules that apply to every object can make the chain go on forever. But each object is described by a list of facts taken from a fixed, finite stock. So after enough steps, a new object would get a list that an earlier object already has. Blocking stops there. It does not build the new object, and points the link back to the earlier one. The earlier object already meets every demand that the new one would have, so the loop is a correct part of the example. The search stops, because a chain of objects with different lists cannot be longer than the number of possible lists.
When it applies
- Tableaux that can loop. The rules can create new nodes without end. In ALC this happens with a general or cyclic TBox, because each node gets the concepts of the TBox again. In logics with transitive roles (the S in SHIQ) it happens even without a TBox, because a with transitive is passed on to each new -successor.
- Labels from a finite set. Each label is a subset of a fixed finite set of concepts, the closure of the input. So only finitely many labels exist.
- Models that may repeat. Two nodes with the same relevant information can be merged, or the part below one can be copied from the other. This holds for logics with the tree model property, where the model can be a tree that repeats itself.
Without a TBox, ALC needs no blocking: the role depth of the labels drops by one at each level, so the tree is finite.
The template
- Fix the closure. Let be the set of subconcepts of the input concept and of the TBox concepts, in negation normal form, with . Every label is a subset of .
- Choose a blocking condition. For a node and an earlier node , define when blocks . For ALC, use subset blocking: is an ancestor of and .
- Do not expand blocked nodes. The rules that create new nodes do not apply to a blocked node, or to a node below a blocked one.
- Prove termination. Along each path, the nodes that are not blocked have pairwise different labels (or pairs of labels). So a path has at most such nodes (or for pairs).
- Build the model. Send each edge into a blocked node to its blocker instead, or unravel the structure into an infinite tree. Check each : the edge goes to a node whose label holds every concept that had, so it holds .
Classic examples
The page of the tableau algorithm shows the smallest case, , where the root blocks its own child.
- Two names that need each other. Let and test the concept . Each node gets , and . The root completes to plus these three. Its child starts with plus the three, and completes to plus the three. The grandchild would start with plus the three, which is a subset of the root label, so the root blocks it. Trying the disjunctions in the order listed above and the left disjunct of each first, the run expands 2 nodes, blocks 1 and meets 3 clashes. The model is the cycle with and .
- A transitive role. With transitive and no TBox, the concept makes each new -successor hold , and again. Blocking stops the chain at the second successor, which has the same label as the first.
Variations
- Subset blocking. for an ancestor . It is sound for ALC and for logics with transitive roles but without inverse roles. A form of it is in the calculus of Buchheit, Donini and Schaerf (1993).
- Equality blocking. . It blocks later than subset blocking, but it stays sound for inverse roles (ALCI).
- Dynamic blocking. With inverse roles, a node can add concepts to its parent, so labels change after a block is set. Blocks are then checked again and can be broken (Horrocks and Sattler 1999).
- Pairwise blocking. with parent is blocked by with parent when , , and the edges and have the same roles. It is needed with inverse roles and number restrictions together, in SHIQ (Horrocks, Sattler and Tobies 1999). The model is then built by unravelling into an infinite tree, and SHIQ has no finite model property.
- Anywhere blocking. The blocker can be any node that was created earlier, not only an ancestor. This can stop the search sooner. The hypertableau calculus uses it (Motik, Shearer and Horrocks 2009).
- Caching. A related idea: store the result for each label that was seen, in any branch, and reuse it (memoization). Global caching gives tableaux that run in exponential time for ALC with general TBoxes.
Pitfalls
- Subset blocking with inverse roles. The blocker can hold a that, along the edge sent to it, asks for at the parent of the blocked node. The parent may not hold , so the model is wrong. Use equality or pairwise blocking there.
- Blocking named individuals. In a tableau for ABox consistency, the nodes for individuals of the ABox are never blocked. Only the new nodes can be.
- Expanding below a blocked node. Each node below a blocked node must also stay unexpanded. Otherwise the search can still go on without end.
- Expecting a fast search. Blocking alone allows paths of length . The plain search then takes double exponential time, more than the EXPTIME bound of the problem (ALC with general TBoxes is EXPTIME-complete).
Exercises
- Run the tableau with subset blocking on the concept and . How many nodes are expanded, and what is the model?
- Show that with and the concept , subset blocking expands 1 node and equality blocking expands 2. Which labels do the nodes have?
- Prove that with subset blocking, a path has at most nodes that are not blocked, where is the size of the closure.
- Explain why ALC with the empty TBox needs no blocking, and give the bound on the depth of the tree.
- With inverse roles, give a TBox and a concept for which subset blocking returns a structure that is not a model.
References
- Franz Baader, Ian Horrocks, Carsten Lutz and Ulrike Sattler, An Introduction to Description Logic, Cambridge University Press, 2017, Chapter 4, Section 4.2.3 (general knowledge base consistency and blocking) and Section 4.3 (blocking for ALCIN)
- Martin Buchheit, Francesco M. Donini and Andrea Schaerf, Decidable reasoning in terminological knowledge representation systems, Journal of Artificial Intelligence Research 1, 1993, pages 109 to 138 (a terminating calculus for general inclusions, general locator)
- Ian Horrocks, Ulrike Sattler and Stephan Tobies, Practical reasoning for expressive description logics, Proceedings of LPAR'99, LNAI 1705, Springer, 1999, pages 161 to 180 (the SHIQ tableau and pairwise blocking)
- Ian Horrocks and Ulrike Sattler, A description logic with transitive and inverse roles and role hierarchies, Journal of Logic and Computation 9(3), 1999, dynamic blocking for inverse roles (general locator)
- Boris Motik, Rob Shearer and Ian Horrocks, Hypertableau reasoning for description logics, Journal of Artificial Intelligence Research 36, 2009, anywhere blocking in the hypertableau calculus (general locator)
- Franz Baader, Diego Calvanese, Deborah L. McGuinness, Daniele Nardi and Peter F. Patel-Schneider (eds.), The Description Logic Handbook, second edition, Cambridge University Press, 2007, Chapter 2, Basic Description Logics, by Franz Baader and Werner Nutt, Section 2.3 (blocking for general inclusions)
Where this leads
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W2 basic |
|
Tag XYFY0N Edit this page History Report an error Markdown