A Modest, but Semantically Well Founded, Inheritance Reasoner
Proceedings of the Eleventh International Joint Conference on Artificial Intelligence. Commonsense Reasoning. Pages 1104-1108.
© 1989 International Joint Conferences on Artificial Intelligence
Abstract
A modest exception allowing inheritance reasoner is presented. The reasoner allows restricted, but semantically well founded, defeasible property inheritance. Furthermore, it gives a well defined and easily understood semantic interpretation to all of the assertions encoded in it. The semantics allows a knowledge engineer to decide what knowledge can be encoded in the system, and gives him understandable formal guarantees about the quality of the conclusions that will be generated. For this reason the system is a more practical, usable inheritance reasoner than others that have appeared in the literature. The system has been fully implemented in a short ( < 75 lines) Prolog program which executes all the examples presented, among others. Furthermore, although the system performs a restricted form of inheritance reasoning it can still represent and solve most of the inheritance "puzzles" that have appeared in the literature, including the recent heterogeneous inheritance problems.
- Hector Geffner and Judea Pearl. Sound defeasible inference. Technical Report CSD870058, Cognitive Systems Laboratory, U .C.L.A., Los Angeles, CA. 90024-1596, U.S.A., 1987.
- David S. Touretzky. The Mathematic& of Inheri- tance Sy&tem&. Research Notes in Artificial Intelli- gence. Pitman, London, 1986.
- John F. Horty, Richmond H. Thomason, and David S. Touretzky. A skeptical theory of in- heritance in nonmonotonic semantic networks. In AAAI-87, pages 358-363, 1987.
- Erik: Sandewall. Nonmonotonic inference rules for multiple inheritance with exceptions. Proceeding& of the IEEE, 74(10):1345-1353, October 1986.
- David W. Etherington. Formalizing nonmonotonic reasoning systems. Artificial Intelligence, 31:41-85, 1987.
- R. Reiter and G Criscuolo. On inter_ acting defaults. In IJCAI-81, pages 270-276, 1981.
- J.F. Horty and R.H. Thomason. Mixing strict and defeasible inference. In AAAI-88, pages 427-432, 1988.
- E. Neufeld and D. Poole. Probabilistic semantics and defaults. In Proceedings of the Fourth Workshop on Uncertainty in Artificial Intelligence, 1988.
- L.K. Schubert and F.J Pelletier. Problems in the representation of the logical form of bare plurals, generics, habituals and mass terms. In E. LeP- ore, editor, New Directions in Semantics. Academic Press, 1988.
- L.K. Schubert and F.J Pelletier. Generically speak- ing. In Chierchia and Turner, editors, Property The- ory, Type Theory, and Semantics. Reidel, 1988.
- Greg Carlson. Generic terms and generic sentences. Journal of Philosophical Logic, 11:145-182, 1982.
- David S. Touretzky, John F. Horty, and Rich- mond H. Thomason. A clash of intuitions: The current state of nonmonotonic multiple inheritance systems. In IJCAI-87, pages 476-482, 1987. IJCAI
- Ronald J. Brachman. I lied about the trees. AI Magazine, 6(3):80-93, 1985.
- Jane Terry Nutter. Uncertainty and probability. In Proceedings of the 10th IJCAI, pages 373-379, 1987. IJCAI
- Henry E. Kyburg, Jr. The reference class. Philoso- phy of Science, 50(3):374-397, September 1983.
- Fahiem Bacchus. Representing and Reasoning With Probabilistic Knowledge. MIT-Press, Cambridge, Massachusetts, 1989 (forthcoming).
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
This paper presents an exception allowing inheritance reasoner which uses a semantically well defined notion of defeasible typicality. The system is heterogeneous, i.e., it allows both strict and defeasible assertions and has a inference engine which takes into account the differing semantic properties of these two types of assertions. The inferences that it can generate are carefully divided onto deductive and inductive inferences. It is shown that the deductive inferences are sound with respect to the given semantics. The inductive inferences cannot, of course, be shown to be sound (else they would be deductive!); however, a reasonable and intuitive semantic justifica tion can be given for these inferences. Hence, there is some global guarantee imparted to all conclusions gen erated by the system.
*This research was supported by a grant from the Univer sity of Waterloo, and by NSERC grant #41848
The system gives defeasible typicality assertions a par ticular semantic interpretation. In order to justify this interpretation we start with a brief discussion of the na ture of typicality assertions. Then we describe the sys tem itself, giving the syntax of the expressions that we can encode in the system and their formal semantic in terpretation. After this the inference procedure is pre sented. This procedure is broken into two parts, a de ductive component, which we show to be sound, and an inductive component for which we give a semantic jus tification. We end the description of the system with some examples of its operation. We make reference to, and draw comparisons with, other inheritance reasoners in various places.
2 Types of Typicality
Many different inheritance reasoners have appeared in the literature, e.g., [1, 2, 3, 4, 5, 6, 7, 8]. This work has addressed the issue of exception allowing inheritance rea soning. For example, the defeasible inference that Clyde is gray since he is an elephant and elephants are typically gray. As has been discussed in the literature, such typi cality assertions cannot be modeled as universally quan tified assertions. There may be particular elephants, or even entire subclasses of elephants, that are not gray. These exceptional cases would falsify a universal but do not invalidate the typicality assertions.
Clearly then, typicality assertions do not have the same semantics as universally quantified assertions. A natural question is then: what is the semantics of these typicality assertions? For example, what does the as sertion "elephants are typically gray" mean about the relation between the set of elephants and the· set of gray objects?
Such defeasible typicality assertions are a subclass of a wider class of assertions known as generics. Specifying the exact meaning of generics is a complex problem and work on this problem has appeared (e.g., Schubert and Pelletier [9, 10], Carlson [11]). This work has revealed that such statements can possess rather complex inten sional as well as extensional meaning. That is, the mean ing of such statements cannot be fully captured simply by a relationship between the sets of objects that are the extensions of the predicates.
This poses a difficulty for designers of defeasible in heritance systems. Without a well defined semantics for the typicality assertions it is very difficult, maybe even impossible, to design an inheritance reasoner which will give ju&tifiable inferences in all cases. Note, we do not mean that the system should give correct or sound in ferences in all cases. This is clearly impossible-we are dealing with defeasible inference. In some cases these inferences will be wrong. However, even if we may oc casionally be wrong we would still like to have some global justification for all of the inferences that the sys tem makes. That is, we want some reason to believe that the inferences made are reasonable, or rational. It is very difficult to see how we can give any global justi fication to our inferences without knowing exactly what our. knowledge means.
A symptom of this problem has already been noted by Touretzky et al. [12]. They noted that in many inheri tance systems seemingly reasonable inference procedures produced questionable conclusjons in certain cases. It can be argued that these anomalies are a result of using the same inference procedure on assertions which have different meanings. That is, it would seem that these systems can deal with certain types of typicality asser tions but not with other types.
For example, Brachman [13] has pointed out that there is a difference between prototypical properties, which are characteristic of a kind, and properties which typically apply to instances of a kind. For example, "birds lay eggs" is a prototypical property of birds, but we would not want to assume by default that a given bird was an egg-layer. The property "birds fty," on the other hand, is one that we can reasonably assume is possessed by a given bird.
Most work in inheritance systems has ignored this is sue. Instead it has been assumed that the typicality as sertions represented in them will be of the "right" type. That is, it is assumed that no one will encode asser tions like "birds lay eggs" in the inheritance net. If they did they would end up with the conclusion that Tweety lays eggs once it is asserted that Tweety is a bird. This conclusion is clearly not reasonable unless we have some other information that makes it reasonable to assume that Tweety is a female bird.
But how is a user of these systems to know if the typicality assertions he wishes to encode in the system are of the "right" type? Unfortunately, this is not so easy since these systems do not give any precise definition of what is the "right" type. That is, these systems do not give any understandable semantic interpretation to the typicality assertions. 1 Hence, the user has to be content with possible "clashes of intuition."
The system proposed in this paper takes a conservative approach. Given that the full semantics of typicality as sertions is very complex and as yet not fully understood, we choose to capture only a particular type of typicality assertion, a type which can be given a clear semantics.
1 Some systems possess no semantics at all, while others give purely formal semantics, e.g., lattice based semantics [2]. The problem with such purely formal semantics is that it gives no guidance for deciding if our intuitive understanding of a particular typicality assertion matches its formal seman tic interpretation.
And we will examine what kinds of inferences can be justified from this semantics.
As a result there will be typicality assertions that can not be dealt with by the proposed system; we are willing to be less general in order that we can be more confident in our conclusions. However, it turns out that the system is still able to perform most of the inheritance reasoning that has been put forward as reasonable for an excep tion allowing inheritance system. This is perhaps not too surprising since, as noted above with the "birds lay eggs" example, inheritance reasoning seem only to apply to a limited subset of typicality assertions anyway.
The system gives a very precise and understandable interpretation to all of the knowledge encoded in it. Us ing this formal interpretation (semantics) we can give clear cut justifications to the conclusions generated by the system. Hence, a user can decide whether or not the knowledge for his application fits the particular interpre tation given by the system, and if it does he will be able to use the system and will have certain guarantees on the reasonableness of the conclusions generated by the system.
The system interprets the defeasible typicality asser tions as being statistical assertions. For example, it in terprets the assertion "birds fty" as meaning that most birds fty. 2 It will be shown how such a statistical fact can be used to justify the inference that a given bird can fty if we do not have any knowledge about what type of bird it is. Clearly many typicality assertions do have a statistical interpretation. This was noted in early work by Rieter and Criscuolo [6], and also in work on generics which indicates that a statistical interpretation is part of the meaning of such assertions [9]. Although the statisti cal interpretation was considered and rejected by Rieter and Criscuolo, and also later by Sandewall [4], it would seem that this rejection was premature, since this system can perform a wide range of inheritance reasoning.
Geffner and Pearl [1] as well as Neufeld and Poole [8] have both considered probabilistic versions of inheri tance. However, neither has used the statistical majority interpretation used here. Geffner and Pearl use proba bilities infinitesimally close to 1 and 0. This means that their semantics provides no guidance to a user in de ciding if his knowledge fits the interpretation used by their system. Clearly in the real world no properties are actually related via infinitesimal probabilities. Neufeld and Poole interpret typicality assertions as meaning that the unconditional probability is less than the conditional probability. These semantics are can be understood in terms of what it asserts about the world, but it seems to be more related to prototypical assertions, e.g., their system will sanction the inference "Tweety lays eggs." Now we present the details of the system.
2 Here, I take this to be a simple statistical fact about birds. Nutter [14] gives an unconvincing argument that dur ing nesting season there are more non-flying birds than fly ing birds. Clearly, not every species of bird nests at the same time; so I rather doubt that there is any time of the year when there are more non-flying birds than flying birds. However, her argument does point out that there are various temporal dependencies which can play a role. We do not deal with temporal considerations here, but we can recognize that this is an important direction for future research.
3 Syntax and Semantics of the Encoded Knowledge
3.1 Syntax
We allow two types of user definable symbols, constant symbols (a, b, Tweety, ... ) and predicate symbols (P, R, elephant, ... ). Along with these are the following logical symbols, '=}' (all are), '-+' (most are), and ·...,· (negation). From these symbols we can generate formu las in the following manner:
- If 'c' is a constant symbol and 'P' is a predicate symbol, then 'c =} P' and 'c =} ...,p· are both valid formulas. 3 The first formula corresponds to the atomic assertion that 'c' has property 'P', e.g., clyde =} elephant while the second corresponds to its negation.
- If 'P1' and 'P2' are predicate symbols, then 'L1 =} L2', and 'L1-+ L2', are valid formulas, where L, is either P, or ...,p,.
3.2 Semantics
A model, M, of the inheritance knowledge consists of the following triple:
where 'D is a set of individuals, and 'R is a collection of sets of individuals. Each set in 'R represents a set of individuals which share a certain property, e.g., the set of birds, or the set of flying objects. Finally, J.l. repre sents a probability distribution over the field of subsets generated from the collection of sets in 'R. 4
3.3 Semantics of Formulas
Given some model, M, and some set of user defined sym bols we define an interpretation function, a, that maps the symbols onto semantic entities and assigns truth val ues to the formulas. In particular, a maps every constant symbol 'c' to an element in 'D, cu, every predicate sym bol 'P' to an element in R, pu, i.e., a set of individuals, and every negated predicate symbol '( ...,p)' to the com plement of 'pu ', i.e., 'D - pu.
We use the notation L, to denote any predicate symbol P, or its negation ...,p,. With a defined on the symbols we can assign truth to the formulas as follows:
- c =} L is true iff cu E LlT.
- L1 =} L2 is true iff Li ~ L2. So '=}' represents set containment (all are).
3 Note, 'c-> P' and 'c-> -.P' are not valid formulas. That is, the base set of properties that c possesses are assumed to be known with certainty.
4 This field of subsets is the smallest collection of sets which contains 'R., is closed under intersection, union, and complementation with respect to 'D, and contains 'D. Such a field is the minimum structure over which a probability distribution can be defined.
- L1 -+ L2 is true iff J.l.( Lin L2) + J.l.( Lr) ~ c, where c is some constant greater than 0.5. So'-+' represents the fact that "most" of the set Li is in the set L2, where "most" means at least lOOc% of the measure of Lf.
The system's behavior does not depend on the actual value of c, as long as it is greater strictly than 0.5.
4 Inference
Deduction
The inference performed by the system falls into two parts, deductive and inductive. Given the semantics of the formulas there is a large amount of monotonic de ductive inference that can be performed. · The conclu sions generated by deductive inference have the advan tage that they are guaranteed to be true if the original knowledge encoded in the system is true. That is, the deductive inferences are sound. The following rules spec ify the deductive component, where c is any constant symbol and the L, 's are any predicate symbols or their negations:
- We can deduce L =} L for any predicate symbol or its negation. Similarly, we can deduce ...,...,£ =} L and L =} ...,...,L.
- From {c =} Lt, L1 =} L2} deduce c =} L2. Similarly, from {L1 =} L2, L2 =} L3} deduce L1 =} L3.
- From {L1 =} ...,L2} deduce L2 =} ...,L1.
- From {L1-+ L2, L2 =} L3} deduce L1 -+ L3.
As an example of the inferences that can be performed by these rules suppose we have "royaLelephant =} elephant" as part of our knowledge base. By rule 1 and rule 2 we can deduce royaLelephant =} ...,...,elephant, then by rule 3 we can deduce -,elephant =} ...,royaLelephant. That is, the rules include the rule of contraposition.
Theorem 4.1 These are sound rules of inference. That is, under any interpretation if the premises are true so must be the conclusions.
Proof 1. Obvious.
- A member of a subset is a member of the superset. The relation ·~· is transitive.
- The complement of a subset must include every thing outside of of the superset. That is, the com plement of the superset is a subset of the comple ment of the subset.
- L~ is a subset of L~. Hence, any member of Lf that is in L~ must also be in L~. The relative measure of these elements of Li is at least c. Therefore the relative measure of the elements of Li that are in Lj must also be at least c. By the semantic definition we have that L1 -+ L3 must be true under a.
Induction
Deductive, monotonic, inference is not enough to gen erate conclusions like "Clyde is gray" from information like "Clyde is an elephant" and "most elephants are gray." Here we are concluding that an individual, Clyde, is a member of a set, gray, based on information that Clyde is a member of another set, elephant. If we knew that all elephant were gray this conclusion would be de ductively sound. However, since there are some non gray elephants it is quite possible that Clyde is not gray. Hence, this inference is not sound, i.e., it does not guar antee preservation of truth.
There is however a reasonable justification that can be given to this inference if we know that most elephants are gray. If all that we know is that Clyde is an elephant then we can reasonably assume that to the best of our knowledge Clyde was selected at random. That is, we have no reason to believe that Clyde is anyway special, he could be any elephant from the set of elephants. If Clyde was selected at random it is more likely than not that he would be gray, since most elephants are gray. This is the basis for the first inductive rule.
Randomization From {c => L 11 L1 -+ L2} infer c -+L, L 2 , which we read as "cis defeasibly an L 2 based on c being a random L1." 5
There are many situations, however, when we know more about the individual. We may know that Clyde is an African elephant. If we do not know anything about the proportion of African elephants that are gray we can inherit the statistical information from the superset, all elephants. This corresponds to assuming that the prop erty "African" gives no further information about gray once we know "elephant." This is a reasonable assump tion to make in the face of no further information since most properties in the world are not correlated, and it is the statistical analog of property inheritance as sumptions made in more traditional non-monotonic ap proaches. On the other hand we may know that Clyde is a royal elephant, and we may have information that the proportion of royal elephants that are gray is very dif ferent from the proportion of all elephants that are gray. In this case we have a preference for the more specific information.
Of course, this specificity, or subset, preference ap pears in almost every inheritance system. It is interest ing, however, to examine this preference in terms of the statistical semantics. The defeasible conclusion is gener ated by assuming that the individual is, to the best of our knowledge, indistinguishable from any other member of a base set. Say we have Tweety the bird, if we consider him to be indistinguishable from any other bird we have lost some information about him as a particular instance. If however we know that he is a penguin then he is not an arbitrary bird. Instead we know that he is a special kind of a bird, a penguin. So, if we were to consider him to be an arbitrary bird we would lose the information that he is a penguin. If instead we consider him to be an arbi trary penguin we still lose some information about him, but not as much: we still retain the knowledge that he is a penguin. Chosing the base class (the reference class) corresponds in a close way to deciding what knowledge is relevant to the defeasible conclusion. These notions are examined inmore detail in [16).
5 The set Lf has also been called a reference class (Kyburg [15]).
Subset Preference The defeasible inference 'c -+L 1 L' supersedes the inferences 'c -+L 2 P' and 'c -+L 2 ~P' if L1 => L2, where L is either P or ~P.
Finally, it may be the case that we can deductively show that an individual has a property. In this case we have the guarantee of soundness. Hence, we need not consider any defeasible inferences.
Certainty Preference The deductive inference 'c => L' supersedes the inferences 'c -+L 1 P' and 'c -+L, ~P' for any L1, where Lis either P or ~P.
The inferences made about relationships between properties are strictly deductive. There is no ambigu ity. Let P1 and P2 be the two properties. We can either deduce L1 => L2, L1 --+ L2, L2 => L1, L2 --+ L1, or no relation.
The inferences about the relation between an individ ual c and a given property P are more complex. The combination of deductive and inductive inferences can leave us in four different situations. Let L be P or ~P.
1. c => L.
- We may be left with a set of agreeing defeasible inferences none of which is superseded. That is, a set of inferences c -+ L, L with different L1 but with L fixed. In this case we conclude that the knowledge supports the defeasible inference c is an L.
- We may have a set of disagreeing defeasible infer ences none of which is superseded. That is, a set of inferences which includes c -+ L, P and c --+ L 2 ~P for some L1 , L2 · In this case we conclude that our knowledge is ambiguous about c's relation to P.
- We may be unable to derive any relation between c and P. In this case we conclude that we have no knowledge about the relation between c and P.
One final point about the system is that it does not sanction inheritance down more than one "--+" link. An examination of the semantics shows that such multiple defeasible inheritance can never be justified under this semantic interpretation. For example, we may have 99% of all Po's being P1's and 99% of all P1's being P2's and still have no P0 's being P2's. However, as the examples will show this limitation does not stop the system from performing a large amount of useful inheritance reason ing.
5 Examples
Example 5.1 It is ambiguous whether or not Nizon is a hawk or a dove, but he is probably politically motivated. {Ginsberg)
From the knowledge {Nizon => republican, Nizon => quaker, republican -+ 'hawk, quaker --+ dove, hawk=> ~dove, hawk=> politically_motivated, dove=> politically_motivated}, the system can produce the fol lowing conclusions, among others.
- republican --+ ~dove, (Rule 4). dove => ~hawk, (Rule 3). ~politically_motivated => ~hawk, (Rule 1, 2, and 3) From ~hawk nothing can be inferred about dove or ~dove.
- Nizon -+republican hawk and Nizon -+quoJ:er -.hawk are the only unsuperseded inferences about N izon and hawk. That is, based on Nixon being a republican we can defeasibly conclude that he is a hawk, while based on him being a quaker we can conclude that he is not a hawk:. Neither inference is superseded by the other. Hence, our knowledge is ambiguous about whether or not Nixon is a hawk:. Similarly for Nixon being a dove.
- N izon -+republican politically_motivated and Nizon -+quaker politically_motivated are the only unsuperseded inferences about N izon and politically_motivated. Since all of the infer ences agree we conclude that our knowledge supports the defeasible inference that N izon is politically_motivated.
Example 5.2 Hermann the Penn&ylvania Dutch &peaker. (Horty and Thoma&on {7}).
From the knowledge
{ Hermann=> pdutch..11peaker, pdutch..11peaker => German_&peaker, pdutch..11peaker-+ Pennsylvania_born, Pennaylvania_born => uaa_born, German_speaker--+ -.usa_born },
which says that Hermann is a Pennsylvania Dutch speaker, Pennsylvania Dutch speakers are German speakers (since Pennsylvania Dutch is a dialect of Ger man), most Pennsylvania Dutch speakers are born in Pennsylvania, every one born in Pennsylvania is born in the U.S.A., and most German speakers are not born in U.S.A., the system can generate the following conclu siOns.
- -.usa..born => -.Pennaylvania_born, i.e., no one who is not born in the U.S.A. can be born in Penn sylvania.
- Hermann -+cermanJpeaker -.usa_born and Hermann -+pdutchJpeaker u&a_born are the infer ences that relate Hermann to usa_born. However, we also have pdutch_speaker => German_speaker; hence by the subset preference, we are only left with Hermann -+pdutchJpeaker usa_born. Therefore we conclude that our knowledge supports the defeasible inference that Hermann is usa_born.
Horty and Thomason's system [7] also generates this last conclusion (although not the first). However, they give no semantic reason why their system sanctions this infer ence, rather it comes about from the way they designed their inferential calculus. The essential difficulty is that defeasible links are not given any semantic interpretation in their system. This system, on the other hand, gives an easy justification for this conclusion. If Hermann was considered to be an arbitrary German_speaker he would likely be -.usa..born. However, we know more about Hermann, namely that he is a speaker of a special dialect of German, pdutch; so it is not reasonable to con sider him to be an arbitrary German_speaker. We know nothing more about Hermann beyond the fact that he is a pdutch..11peaker; so in the face of a lack of any other knowledge it is reasonable to consider him to be an ar bitrary pdutch..11peaker, in which case it is likely that he is usa_born.
Example 5.3 Mo&t bird& are not penguina.
From the knowledge {bird -+ flier, penguin => bird, penguin => -.flier}, the system can conclude bird -+ -.penguin. This is another example of the surprising power of this simple reasoner.
6 Conclusions
We have presented a very simple inheritance reasoner that has a number of important features. Foremost among these features is a clear semantic commitment to a particular interpretation of defeasible typicality. On the surface it would appear that such a commitment re stricts the generality of the system. However, it turns out that because this particular interpretation can be treated so completely the resulting system is in some ways more general that other inheritance reasoners.
The only reason that we can give such a complete treatment of the reasoning possible under our particular interpretation is that clear formal semantics have been provided. These semantics have been used to guide the creation of a inferential calculus, rather than the much more difficult opposite approach of inventing a calculus and then searching for meaning. The success of the sys tem raises questions about exactly what kinds of infer ences other more complex inheritance reasoners are try ing to capture. And indicates that these systems might benefit from being more explicit about the meaning of the knowledge represented in them.
Acknowledgements
Thanks to Len Schubert, Henry Kyburg, and Scott Goodwin for useful comments on earlier drafts.
@inproceedings{ijcai1989p177,
title = {A Modest, but Semantically Well Founded, Inheritance Reasoner},
author = {Bacchus, Fahiem},
booktitle = {Proceedings of the Eleventh International Joint Conference on
Artificial Intelligence, {IJCAI-89}},
publisher = {International Joint Conferences on Artificial Intelligence},
editor = {N. S. Sridharan},
pages = {1104--1108},
year = {1989},
month = {8},
note = {Commonsense Reasoning},
url = {https://ijcai.org/proceedings/1989/177},
}
TY - CPAPER TI - A Modest, but Semantically Well Founded, Inheritance Reasoner AU - Bacchus, Fahiem T2 - Proceedings of the Eleventh International Joint Conference on Artificial Intelligence, IJCAI-89 PB - International Joint Conferences on Artificial Intelligence PY - 1989 SP - 1104 EP - 1108 UR - https://ijcai.org/proceedings/1989/177 ER -Copied
Machine-readable versions of this paper, for tools and AI agents: