A Circumscriptive Formalization of the Qualification Problem
Proceedings of the Seventeenth International Joint Conference on Artificial Intelligence. Pages 139-143.
© 2001 International Joint Conferences on Artificial Intelligence
Abstract
The qualification problem refers to the difficulty that arises in formalizing actions, because it is difficult or impossible to specify in advance all the preconditions that should hold before an action can be executed. We study the qualification problem in the setting of the situation calculus and give a simple formalization using nested abnormality theories, a formalism based on circumscription. The formalization that we present allows us to combine a solution to the frame problem with a solution to the qualification problem.
- [Baker, 1991] Andrew Baker. Nonmonotonic reasoning in the framework of situation calculus. Artificial Intelligence, 49:5-23, 1991.
- [Elkan, 1995] Charles Elkan. On solving the qualification problem. In Working Notes of the Symposium on Extending Theories of Actions, 1995.
- [Gelfond and Lifschitz, 1993] Michael Gelfond and Vladimir Lifschitz. Representing action and change by logic programs. Journal of Logic Programming, 17:301-322, 1993.
- [Ginsberg and Smith, 1988] Matthew L. Ginsberg and David E. Smith. Reasoning about action I: a possible worlds approach. Artificial Intelligence, 35(2):165-195, 1988.
- [Giunchiglia et al., 1997] Enrico Giunchiglia, G. Neelakan- tan Kartha, and Vladimir Lifschitz. Representing action: indeterminacy and ramifications. Artificial Intelligence, 95:409-438, 1997.
- [Kartha and Lifschitz, 1994] G. Neelakantan Kartha and Vladimir Lifschitz. Actions with indirect effects. In Jon Doyle, Erik Sandewall, and Piero Torasso, editors, Proc. of the Fourth Int'l Conf. on Principles of Knowledge Repre- sentation and Reasoning, pages 341-350, 1994.
- [Kartha and Lifschitz, 1995] G. Neelakantan Kartha and Vladimir Lifschitz. A simple formalization of actions us- ing circumscription. In Proc. of IJCAI-95, pages 1970- 1975, 1995. IJCAI
- [Kartha, 1993] G. Neelakantan Kartha. Soundness and com- pleteness theorems for three formalizations of action. In Proc. of IJCAI-93, pages 724-729, 1993. IJCAI
- [Lifschitz, 1987] Vladimir Lifschitz. Formal theories of ac- tion (preliminary report). In Proc. of IJCAI-87, pages 966- 972, 1987. IJCAI
- [Lifschitz, 1991] Vladimir Lifschitz. Towards a metatheory of action. In James Allen, Richard Fikes, and Erik Sande- wall, editors, Proc. of the Second Int'l Conf. on Principles of Knowledge Representation and Reasoning, pages 376- 386, 1991.
- [Lifschitz, 1993a] Vladimir Lifschitz. Circumscription. In D.M. Gabbay, C.J. Hogger, and J.A. Robinson, editors, The Handbook of Logic in AI and Logic Programming, volume 3, pages 297-352. Oxford University Press, 1993.
- [Lifschitz, 1993b] Vladimir Lifschitz. Restricted mono- tonicity. In Proc. of the Eleventh National Conference of Artificial Intelligence, pages 432-437, 1993.
- [Lifschitz, 1995] Vladimir Lifschitz. Nested abnormality theories. Artificial Intelligence, 74:351-365, 1995.
- [Lin and Reiter, 1994] Fangzhen Lin and Raymond Reiter. State constraints revisited. Journal of Logic and Compu- tation, Special Issue on Actions and Processes, 4(5):655- 678, 1994.
- [Lin and Shoham, 1991] Fangzhen Lin and Yoav Shoham. Provably correct theories of action. In Proc. of the Ninth National Conference of Artificial Intelligence, pages 349- 354, 1991.
- [McCain and Turner, 1995] Norman McCain and Hudson Turner. A causal theory of ramifications and qualifications. In Proc. of IJCAI-95, pages 1978-1984, 1995.
- [McCarthy and Hayes, 1969] John McCarthy and Patrick Hayes. Some philosophical problems from the standpoint of artificial intelligence. In B. Meltzer and D. Michie, edi- tors, Machine Intelligence, volume 4, pages 463-502. Ed- inburgh University Press, Edinburgh, 1969.
- [McCarthy, 1977] John McCarthy. Epistemological prob- lems of artificial intelligence. In Proc. of IJCAI-77, pages 1038-1044, 1977. IJCAI
- [McCarthy, 1980] John McCarthy. Circumscription-a form of non-monotonic reasoning. Artificial Intelligence, 13(1- 2):27-39, 1980.
- [McCarthy, 1986] John McCarthy. Applications of circum- scription to formalizing common sense knowledge. Artifi- cial Intelligence, 28(1):89-116, 1986.
- [McCarthy, 1998] John McCarthy. Elaboration tolerance. In Fourth Symposium on Logical Formalizations of Common- sense Reasoning, 1998.
- [McIlraith, 2000] Sheila McIlraith. Integrating actions and state constraints: A closed form solution to the ramifica- tion problem (sometimes). Artificial Intelligence, 116:87- 121, 2000.
- [Sandewall, 1994] Erik Sandewall. Features and Fluents. The representation of Knowledge about Dynamical Sys- tems. Oxford University Press, 1994.
- [Shanahan, 1997] Murray Shanahan. Solving the Frame Problem. MIT Press, Cambridge, MA, 1997.
- [Thielscher, 1996] Michael Thielscher. Causality and the qualification problem. In L. C. Aiello, J. Doyle, and S. C. Shapiro, editors, Proceedings of the International Confer- ence on Principles of Knowledge Representation and Rea- soning (KR), Cambridge, MA, November 1996.
- Morgan Kaufmann. [Thielscher, 1997] Michael Thielscher. Ramification and causality. Artificial Intelligence, 89(1-2):317-364, 1997.
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
Two problems that are important in logical formalizations of commonsense reasoning are the frame problem and the qualification problem [McCarthy, 1977; 1980]. While the frame problem has received a lot of attention in the literature in recent years [Lin and Shoham, 1991; Lifschitz, 1991; Kartha and Lifschitz, 1994; Sandewall, 1994; McCain and Turner, 1995; Thielscher, 1997; Giunchiglia et al., 1997; Shanahan, 1997; McIlraith, 2000], the qualification problem has not been studied as carefully(see however the discussion in the section on related work). In this paper, we clearly define what we mean by the qualification problem and introduce a formalization of the problem using nested abnormality theories [Lifschitz, 1995]. This formalization has the advantage that solutions to the frame problem can be incorporated smoothly with the solution to the qualification problem. We also point out problematic aspects of the current approaches to the qualification problem.
The qualification problem [McCarthy, 1980] refers to the difficulty that one has in formalizing an action, because it is difficult or impossible to enumerate all the preconditions that need to be satisfied before the action can be performed. One of the more well known examples that illustrate this problem is the potato in the tailpipe example due to McCarthy. The example is as follows: The action of starting a car results in the engine running. However, there are many implicit preconditions to the action of starting the car, for instance that there is no potato in the tailpipe, the battery is not dead etc. The problem is how to formalize such examples without getting bogged down in the representation of all such preconditions.
Let us examine the example in a little more detail. The action of starting the car (without any qualifications) can be formalized in the situation calculus [McCarthy and Hayes, 1969] as follows:
To take into account various preconditions of the action StartCar, we could modify (1) by adding preconditions to its antecedent as in,
BM D3D0CSD7B4EngineRunningBN D7B5 CM BM D3D0CSD7B4PotatoInTailPipeBN D7B5 AR D3D0CSD7B4EngineRunningBNCACTD7D9D0D8B4StartCarBN D7B5B5BM (2)
However, note that we will be able to include in the language of our axiomatization only a subset of all the preconditions that can affect the outcome of an action, because we cannot foresee all of them. For instance, a factor that could affect the outcome of the action StartCar is the presence (or absence) of a mysterious ray. We would include facts about this ray in the language of our axiomatization only when we are given that this is a relevant fact.
Let us then start by fixing the language. Even then, it would be difficult to foresee all the circumstances (in the language) that can affect an action. Thus the qualification problem does not vanish when the language is fixed, but takes on a slightly different flavor. Now the key question becomes how one can axiomatize the domain of interest in such a way that on learning a new precondition for an action, one is able to incorporate this additional knowledge in a modular fashion in the axiomatization. Note that adding preconditions to the antecedent, as we have done in axiom (2) is not very modular.
Thus, it seems that there are really two related, but distinct aspects to the qualification problem.
- The problemof how to smoothly incorporate various additions to the language of an axiomatization. The addition into the axiomatization of the facts pertaining to the mysterious ray and its effect on starting the car is an instance of this. Note that here the language of the axiomatization changes as a result of incorporating the change. This aspect of the qualification problem is related to McCarthy's notion of elaboration tolerance 1 [McCarthy,
1 According to McCarthy, "a formalism is elaboration tolerant to
1998]. This aspect is also related to the problem of how to move between axiomatizations (in different languages) that axiomatize a domain in different levels of detail.
- The problem of how to represent the qualifications to an action, when the language of the axiomatization is fixed. The chief issues here are
- (a) Whether we can easily incorporate the fact that another circumstance (in the language) qualifies an action without drastically modifying the original axiomatization. For instance, we would like to achieve this by adding a new sentence into the language. Again, this is because of our desire for an elaboration tolerant solution.
- (b) To see whether the conclusions that are sanctioned formally agree with our intuitions.
Note that the two aspects share a desire for elaboration tolerance, so that a solution for one aspect is likely to contribute to a solution for the other. The current paper deals only with the second of the two aspects of the qualification problem.
The rest of the paper is organized as follows. In the next section, we explain our formalization and give an example of the kind of results that can be proved using our formalization. We then survey related work, summarize the key contributions of this work and point out directions for future work.
2 Formalization
Since our aim is to convey the key ideas, we will explain our formalization via an example, but will indicate at the appropriate places how one would generalize. The example we use is a slightly extended version of the potato in the tailpipe example from [Thielscher, 1996]. The example consists of extending the basic potato in the tailpipe scenario with another action, PutPotato. The result of this action is to put the potato in the tailpipe, unless this action is qualified. This action is qualified if the potato is so heavy that it cannot be lifted.
Following McCarthy [McCarthy, 1986], here are some axioms that capture the scenario:
the extent it is convenient to modify a set of facts expressed in the formalism to take into account new phenomena or changed circumstances".
Here BTCQ is an abnormality predicate that will be minimized. The advantage of this representation is that as we think of new qualifications, they can be easily incorporated into the theory by means of axioms such as (5) and (6).
However, it should be noted that we are rarely interested in solving the qualification problem in isolation. We also need to ensure that the truth values of the fluents do not change without a reason, so that we are able to obtain the intuitively expected results. To see this, let CC be the theory consisting of axioms (3), (4), (5), (6) and (7). Let CC BC be the theory obtained by minimizing BTCQ in CC. We would like CC BC to entail the formula BMBTCQB4PutPotatoBN CB BC B5 and consequently BM D3D0CSD7B4HeavyPotatoBN CB BC B5. Although, intuitively we would then conclude that the fluent HeavyPotato remains false after executing an action in CB BC (since there are no actions that change the truth value of that fluent), CC BC is not strong enough to entail formulae such as BM D3D0CSD7B4HeavyPotatoBNCACTD7D9D0D8B4StartCarBN CB BC B5B5, BM D3D0CSD7B4HeavyPotatoBNCACTD7D9D0D8B4PutPotatoBN CB BC B5B5 etc. This shows that we need to combine a solution to the frame problem with a solution to the qualification problem to enable us to draw the intuitively expected conclusions.
The formalism that we use that helps us in tackling the frame problem and the qualification problem in sequence, without the solutions interfering with each other is the formalism of nested abnormality theories (NATs) [Lifschitz, 1995]. The main feature of NATs is that the effect of a circumscription can be restricted to a part of the theory called a block. Formally, a block is of the form CUBV BD BN BM BM BM BN BV D1 BM A8 BD BN BM BM BM BN A8 D2 CV, where BV BD BN BM BM BM BNBV D1 are function and/or predicate constants and A8 BD BN BM BM BM BNA8 D2 are axioms, possibly containing an abnormality predicate BTCQ. The block corresponds to the circumscription of BTCQ in the theory consisting of A8 BD BN BM BM BM BN A8 D2 , with BV BD BN BM BM BM BNBV D1 allowed to vary. Note that each of A8 BD BN BM BM BM BNA8 D2 itself may be a block.
Formally, the semantics of NATs is defined by a map CV that translates blocks into sentences of the underlying language. We define CV as follows:
where
Here CIRC stands for the circumscription of BTCQ in CVA8 BD CM BM BM BM CM CVA8 D2 with BV BD BN BM BM BM BN BV D1 allowed to vary (see [Lifschitz, 1993a] for the formal definitions). For a sentence A8 that does not include BTCQ, CVA8 is is equivalent to A8.
Since we need to consider the frame problem, we will need to axiomatize the commonsense law of inertia, according to which the truth values of fluents persist unless they are abnormal. Using ideas from [Kartha and Lifschitz, 1995], we formalize this as
and denote it by LI. Here D3D0CSD7 CA is a new predicate, explicitly defined outside the block solving the frame problem as
The role of this predicate for solving the frame problem can be explained roughly as follows-by "factoring away" the result function, we are able to focus attention only on the situation D7 and the situation that we obtain after action CP is performed in D7. For more details and intuitions, the reader is referred to [Kartha and Lifschitz, 1995].
In our formalization, we will formalize the effect of performing an action using the D3D0CSD7 CA predicate. Thus, for instance, the axioms (3) and (4) will become
BM D3D0CSD7B4EngineRunningBN D7B5 CM BMBTCQB4StartCarBN D7B5 AR