Taxonomic Reasoning
Proceedings of the Ninth International Joint Conference on Artificial Intelligence. Automated Reasoning. Pages 191-192.
© 1985 International Joint Conferences on Artificial Intelligence
Abstract
In formalizing knowledge for common sense reasoning, one often needs to partition some domain. An instance of this from the Blocks World is the statement "All blocks are either held, on the table, or on another block." Although we can write this axiom in predicate calculus or in clause form for input to a theorem prover, such representations are highly space inefficient. In this paper we present a generalized clause form that allows for the compact representation of arbitrary partitions, along with a set of corresponding inference rules. Additionally, a theorem prover imp lem enting these rules is described that demonstrates their utility with certain kinds of common sense rule bases.
- Hayes. P.J. "Naive Ph ysics 1: Ontology for Liquids" . Working Pape r 63. lnstitut pour les Etudes Semantiques et Cognitives. Geneva. 1978.
- Hendrix. G.C. "Encoding Knowledge in Partioned Networks" , in Associative Networks. ed.
- Findler. N.Y. 1979.
- Robinson, J .A. "A Machine•Oriented Logic Based on the Resolution Principle" Journal of ACM 12 (1965) 23-41.
- Shapiro. S.C. "The SNePS Semantic Netwo rk Processing System". in Associative Networks, ed.
- Findler, N.Y. 1979.
- Stickel. M.E. "A NonCiausal Connection•Graph Resolution Theorem•Proving Program". Technical Note 268 SRI International. Menlo Park. CA Oct.l982.
- Tenenberg, J.D. "Reasoning Using Exclusion: An Extension of Clausal Form" . Technical Report 147 University of Rochester. Rochester. NY 1985.
References were extracted automatically from the PDF and may contain errors.
Full text extracted automatically from the PDF; figures, tables and equations may differ. The PDF is the version of record.
1. Introduction
Reasoning about taxonomies has received attention, most notably within graph-structured representations. Shapiro (1979) introduces the AND-OR operator ( ). which when applied to a set of n literals indicates that between i and j of them, inclusive, are true. This has a rather simple representation within a semantic network, although the details of its use and properties are embedded within the graph search procedures. Hendrix (1979) develops a partitioned associative network th rough the judicious use of subset and disjoint arcs. Stickel ( 1982) discusses taxonomic reasoning by using a search through a connection graph built from a set of assertions. The work described in this paper contrasts with those cited above in combining its use of purely declarative knowledge, its generality in allowing one to reason about non-!SA as well as ISA partitions, and its simple inference rules, which can be added to an existing declarative theorem prover to enable more efficient taxonomic reasoning.
2. Representation
Two examples that are typical of commonsense reasoning are "All liquids either rest on a surface, rest in a container, flow along a surface, flow within a conduit, or fall in free space" (Hayes 1978) and "For any two times t 1 and ~· either t1<~. t 1 = ~· or t1>S". These kinds of partitions are more general than typical !SA
This work was supported in part by an Office of Naval Research Dept. of the Navy grant number N00014-80-C0197 and the Rome Airforce Development Center
TAXONOMIC REASONING
Josh D. Tenenberg Dept. of Computer Science University of Rochester Rochester, NY 14627 (716) 275-5671 josh@ rochester
hierarchies. We can represent the latter statement using predicate calculus in conjunctive normal form (CNF) by <t~<s v tl =s v tt>S) 1\ l-<t ~<~) v -<tt =~)J 1\
[ -(tt = ~) v -(tt>S)l 1\ [ -(tt<~) v -(tt>S)J. where the first disjunction indicates that one of the conditions must hold, and the next three indicate that not more than one can hold. Unfortunately, as the number of partitions grows linearly, the CNF formula grows quadratically, as all partitions must be pairwise compared. We will introduce an n-ary exclusive-or operator, X, a syntactic variant of a connective used in (Hayes 1978) to capture this relationship among the partitions, and will write the above axiom
The truth table for X is true just when exactly one of the literals inside is true, false otherwise. Using this notation, the expression of axioms like the above require a linear amount of space relative to the number of atoms, rather than the quadratic amount previously needed. This notation can be generalized, and any expression of the form
where the Bi are literals will be called an X-bundle. The equivalent CNF formula. which will be called the Expand of X(B 1 , B", ... , Bn) is the conjunction of all members of the set
{8 1 v 8 2 v ... v Bn} u { -B, v -Bi 11 5 i < j 5 n}. The degree of an X-bundle is the number of literals within it, so that the above X -bundle has degree n. Note that an X-bundle of degree one is equivalent to the literal it contains, and will usually be identified with that literal.
An expression having the form
{a 1 v ~ v ... v an I ai E Expand(A)}.
where each of the ~ are X-bundles, rather than simple literals, will be called an X-clause. This form reduces to regular clausal form when the degree of each Ai is one. If only a single Ai has degree greater than one, we will call this a singular X -clause. A conjunction of X -clauses is in exclusive normal form (XNF), and as usual, we will think of this as a set. Any set of clauses in CNF is therefore trivially in XNF. Converting the X-clause A 1 v A 2 v ... v An where each A, is an X-bundle, to a CNF clause produces The space savings can thus theoretically be an exponential based on the number of X-bundles, although in practical cases using singular X -clauses (as defined above), the savings will be quadratic.
3. Inference Rules
A sound and complete set of inference rules for a set in XNF has been developed. and a presentation with proofs is given in (Tenenberg 1985). This set of rules was developed from looking at all of the ways in which an atom can occur twice in one parent clause, as in factoring, or in two parent clauses. as in binary resolution (Robinson 1965). Essentially, these inference rules involve unbundling the X-clauses slowly, peeling off the constituent X-bundles one at a time. Although all rules below are stated for propositions, the same rules apply to predicates. where the matching is between unifiable atoms.
The first rule generalizes binary resolution, and will be called X -resolution, which states that from the X clauses
X(B, Q v at and X(~B. ~) v a 2 we can infer
(The a 's indicate the remaining disjunction of X-bundles in the clause, and the underlined capital letters indicate the remaining literals in the X -bundle). With this rule
Hlock(A) and
Block(y) :J X(OnTable(y), Held( y). OnOther(y)).
entail X(OnTable(A). Held(A). OnOther(A)).
Additionally, using the same rule,
X(Arch(B), Block(B). Wall(B)) and
X(-Arch(B), Support(B). Tower(B))
entail
X(Biock(B). Wall(B). Support(B). Tower(B)). Likewise, from
X(Wall(y), Block(y), Arch(y)) and
Wall(z) :l Stationary(z)
we can infer
-Stationary(y) :l X(Block(y), Arch(y)).
The second rule, called exclusion, unifies atoms that are the same, rather than complementary, and stems from a very simple fact - if we know that exactly one of some set of conditions holds, and we also know that one of these conditions does in fact hold, then we can infer that all of the rest do not hold. For example, from the X-clauses
OnTable(A) and
X(OnTable(A), Held(A), OnOther(A))
we can infer both
-Held( A) and -OnOther(A).
The general form of this rule states that from the x clause parents
infer any member from the set of clauses
Using this rule in a more complex case. from the X clauses,
Block(y) :l X(Held(y), On I ablc(y ). OnOther(y)) and X(Held(B). WeighsA Ton( B)) when we unify on Held, we can infer the following three X-clauses
Block( fl) 1\ WeighsA Ton( B) :J
X(OnTable(B). OnOther(B)),
Block(B) 1\ OnTable(B) :J WeighsATon(B),
and Block(B) 1\ OnOther(B) :l WcighsATon(B).
To guarantee completeness, there are also four inference rules needed for the various ways in which atoms can co-occur within a single X-clause: (1) the same atom within the same X-bundle -- X(A.A,g, (2) the same atom in different X-bundles -- X(A,g v X(A.ID. (3) complementary atoms in the same X bundle -- X(A.~A,g, and (4) complementary atoms in different X-bundles -- X(A,g v X(~A .ID. These rules happen to be the worst computationally, but they also cover the least likely cases. A restricted version with better computational properties will be listed later.
4. Restricted Inference Rules
A prototype theorem prover was built to implement these rules. It soon became clear that adding entire sets of clauses to the data base from a single inference is costly due to the fact that each of these new clauses must be checked as possible parents in future deductions. although few if any are likely to be needed for a proof. To deal with this and other practical problems that were encountered, several restrictions were added. When an X -rule results in more than one child, this indicates that some X -bundle is being decomposed, effectively negating the benefit of the representation. Thus, the inferences are ordered to defer such decomposition for as long as possible, doing so only when all children will be unit clauses. Take as an example the four clauses "~A", "Bt"· "~C'', and "A v C v X(Bl' ... , BJ'. If we first exclude with 8 1 , the set {A v C v ~Bi I 2::; i::;n} is inferred, and ~A and ~c are now unifiable wtth each member. If we continue this way, there are, in the worst case, roughly 5n possible inferences that we can make within just this clause set. Had we written this clause set in CNF, it would have required on the order of n2/2 clauses, with greater than n 2 possible inferences. If, however, we use the X -rules with the restriction mentioned above, only 3 inferences are made: the resolutions with ~A, then with ~C, and the exclusion on this descendant clause with 8 1 ·
Another restriction is that only singular X -clauses are allowed in the database (clauses having at most one X bundle of degree greater than one), and inferences are performed only if they produce singular X -clause children. A selection strategy that combines unit resolution and set of support is used. Additionally, two types of subsumption are used. The first eliminates clauses subsumed by a unit clause, while the second eliminates parents whose children subsume them, a common occurence when using unit resolution on fully instantiated clauses. The complete set of rules that are implemented are below, with informal proofs of their correctness.
The first three deal with intra-clausal matching of atoms (the remaining X-bundles were left off of clauses for notational clarity). The rule for matching complementary atoms in different X -bundles was entirely eliminated, since it always produces a linear number of non-unit children.
- X(A. -A, !!k) 1-- {-Bi I 1 ~ i ~ k} Since one of A or -A must be true, all of the Bi's must be false.
- X( A. A, ID t-- X(ID and -A In this case, since only one of the literals within the bundle can be true, A must be false, and the true literal must be one of the B's.
- A v X(A, ID 1-- A v X(ID If A is true, the first A establishes the truth of the clause independent of the following X-bundle. If A is false, then one of the B's must be true.
The next two rules are special cases of X -resolution, and the third is a restriction on exclusion.
5. Implementation
This set of rules and strategy was quite powerful within several domains, although committing to unit resolution sacrificed completeness. Using only the set of general inference rules and strategy outlined above, with no domain specific rules, such as weighting of certain clauses or constants, there were several proofs that made only a few more inferences than the optimal proof tree. Figure 1 gives the proof tree that the theorem prover generated for a simple problem. All of the unit clauses were initially placed in the set of support, and the boldfaced clauses are subsumed by following clauses. Only one superfluous inference was made in a possible space of several hundred.

Another example was run using a commonsense rule base with 50 X-clauses, that contained an axiomatization of a highly partitioned domain, with such axioms as PlaysGolf(z) :J X(Pensioner(z). ExMovieStar(z))
Building(z) :J X(FastFoodJoint(z). Factory(z), Jail(z)). In typical proofs requiring 8-12 separate inferences, only 3 to 5 times this number of clauses was generated. Even writing such a database for a clausal theorem prover would require 115 clauses. with the same proofs requiring at least 10-15 separate inferences. This space savings combined with shorter proof depth is significant, when one considers that in general, search spaces for proofs grow exponentially, thus raising the hope that more proofs will be made tractable using this method.
6. Conclusion
A logical form with corresponding inference rules has been presented that is useful in representing and reasoning within partitioned domains. Not only are declarative data bases smaller to write using the methods presented here, but fewer deductions are typically needed for a proof than using standard resolution. Due to the simplicity of its clause form and inference rules and its similarity to resolution-type systems, this extension can be added to many existing theorem provers with a minimum of effort, enabling better reasoning capabilities within taxonomic domains.
Special thanks to Pat Hayes, whose wit, insights and criticism were invaluable, and Leo Hartman, who never seemed to lose curiosity nor tire of my long-winded explanations.
@inproceedings{ijcai1985p35,
title = {Taxonomic Reasoning},
author = {Tenenberg, Josh D.},
booktitle = {Proceedings of the Ninth International Joint Conference on
Artificial Intelligence, {IJCAI-85}},
publisher = {International Joint Conferences on Artificial Intelligence},
editor = {Aravind Joshi},
pages = {191--192},
year = {1985},
note = {Automated Reasoning},
url = {https://ijcai.org/proceedings/1985/35},
}
TY - CPAPER TI - Taxonomic Reasoning AU - Tenenberg, Josh D. T2 - Proceedings of the Ninth International Joint Conference on Artificial Intelligence, IJCAI-85 PB - International Joint Conferences on Artificial Intelligence PY - 1985 SP - 191 EP - 192 UR - https://ijcai.org/proceedings/1985/35 ER -Copied
Machine-readable versions of this paper, for tools and AI agents: