1988-Focusing the ATMS

1988-Focusing the ATMS

From: AAAI-88 Proceedings. Copyright ©1988, AAAI (www.aaai.org). All rights reserved. Focusing the ATMS Kenneth II. Forbus Qualitative Reasoning Group, University of Illinois 1304 W. Springfield Avenue, Urbana, Illinois, 61801 Johan de Kleer Xerox Palo Alto Research Center 3333 Coyote Hill Road, Palo Alto CA 94304 Abstract this strategy leads to much wasted effort. Consider an in- telligent design aid for VLSI. If the initial design called Many problems having enormous search spaces can nevertheless be solved because only a very small frac- for CMOS, the program might begin elaborating and ex- tion of that space need be traversed to find the needed ploring the various alternatives under this assumption. If solution(s). The ability of assumption-based truth external factors force the design to use gallium arsenide in- maintenance systems to rapidly switch and compare stead, it should stop working on the CMOS version of the contexts is an advantage for such problems, but ex- isting ATMS techniques generally perform badly on design. The CMOS design has not become inconsistent, it them. This paper describes a new strategy, the has simply become irrelevant (at least for the time being). implied-by strategy, for using the ATMS that effi- Yet a program based on the simple consumer architecture ciently supports problem solving in domains which will continue to pursue both. are infinite and where the inference engine must re- tain tight control in the course of problem solving. The idea of assumption-based dependency-directed back- We describe the three mechanisms required to im- tracking ( ADDB) outlined in [4] provides some help, but plement this strategy: focus environments, implied-by not enough. Representing alternatives via explicit, con- consumers, and contradiction conaumera. We compare ditional control disjunctions allows new alternatives to the implied-by strategy to previous ATMS strate- be added during a search, unlike interpretation construc- gies, and demonstrate its effectiveness by perfor- mance comparisons in two simple domains. Finally, tion. But control still resides in the ATMS, with no pro- we discuss the implications for parallel processing and vision for exploiting domain-specific information availible future ATMS design. to the inference engine. Control disjunctions allow rules to be scheduled more efficiently, since only rules whose an- 1 ntroduction tecedents are consistent with the currently believed set of control assumptions are executed. However, this strategy For many problems, the search space is vastly larger than can still lead to inefficiencies, since rules which are irrele- the subset which needs to be explored to find an accept- vant but consistent can still be executed. While these re- able solution. Such problems include the design of en- strictions are tolerable for many problems, the techniques gineered systems, interpreting data from multiple sources, we describe here transcend them. We provide a more flex- solving textbook physics problems, and scientific discovery. ible and general ATMS/’ m f erence-engine interface which Problem solvers for such domains must carefully shepherd minimizes total problem-solving work in cases where only their resources, narrowly focusing attention on only a small a single (or small number) of solutions are sought. number of alternatives, while keeping track of the possibil- In this paper we describe a strategy, called the implied-by ity that their current focus could be wrong. strategy, for building ATMS-based problem solvers which Assumption-based truth maintenance provides signifi- can efficiently explore large search spaces. Three mecha- cant advantages for such problems, due to compact repre- nisms are needed to support this strategy. Focus environ- sentation of contexts which allows rapid context-switching ments provide the interface between the inference engine’s and comparison between alternatives. However, current center of attention and the ATMS. Implied-by consumers ATMS/inference-engine interfaces are oriented towards provide an antecedent rule mechanism that respects the finding all (or many) solutions, making them unsuitable for inference engine’s focus. Contradiction consumers provide such problems. Two central issues in such interfaces are a signaling mechanism for the ATMS to inform the in- (1) where control resides and (2) how rules are scheduled ference engine about inconsistencies. Each mechanism is for execution. The simplest ATMS-based search technique a straightforward extension of existing ATMS technology, for generating global solutions is interpretation construc- but together they combine to provide the power we seek. tion, a form of backtrack search. It assumes that (a) all sets of alternatives are known in advance, and (b) no new information is added during the course of problem solving. These assumptions are false for the kinds of domains de- We assume that the problem solver consists of the ATMS scribed above. The sets of choices that are relevant in a and an inference engine, whose job is to control the design, for instance, depend in part on earlier choices in problem-solving process, in part by deciding what assump- the design, and the set of potential choices is far too large tions and justifications are to be fed to the ATX3. We to elaborate explicitly before beginning a search. The ex- also assume that much of problem solver’s knowledge is isting consumer architecture ;3] schedules a rule for exe- encoded in the form of rules. The triggering of rules on cution whenever all its antecedents simultaneously hold in data is handled in the inference engine. When rules are some consistent context. For the domains of interest here, triggered, consumers are created and passed to the ATMS Forbus and de Kleer 193 to allow it to execute the rules under appropriate circum- are executed only when the union of their antecedents is stances. Such rules might implement modus ponens, or consistent with this focus. Should the focus become con- +apply an axiom-schema to assert the consequences of a tradictory, the ATMS does not inform the inference en- definition. gine but performs dependency-directed backtracking until Briefly, the basic ATMS is characterized as follows. Ev- a consistent new focus is found. Although effective for ery datum the problem solver reasons about is assigned an some tasks, this mechanism has two limitations. First, it ATMS node. The problem solver designates a subset of can be “distracted” by extraneous information, and thus the nodes to be assumptions - nodes which are presumed is ill-suited for infinite domains (See Section 4.2). Second, to be true unless there is evidence to the contrary. Ev- it is too inflexible for general problem solving. The ATMS ery important derivation made by the inference engine is is a domain-independent module, hence it cannot have as recorded as a justification: much information about the particular task demands as the inference engine does. The choice of focus, what to do xl, z2, . * n. when it becomes inconsistent, and what to try next, are Here zl, 22, . are the antecedent nodes and n is the con- more properly the concerns of the inference engine than an sequent node. An ATMS environment is a set of assump- automatic backtracking scheme. tions. A node n is said to hold in environment E if n can be propositionally derived from the union of E with the y Strategy current set of justifications (viewed as propositional Horn clauses). An environment is inconsistent (called nogood) if We assume the inference engine has some notion of task to the distinguished node I (i.e., false) holds in it. organize its activities. This can be a node in an AND/OR The ATMS is incremental, receiving a constant stream of tree, agenda item, etc. For simplicity, this discussion as- additional nodes, additional assumptions, additional justi- sumes that the inference engine works on only one task at fications and various queries concerffing the environments a time (we mention more general strategies in Section 5). in which nodes hold. To facilitate answering these queries Our strategy associates with each task a focus environ- the ATMS maintains with each node 72 a set of environ- ment, the set of assumptions underlying it. These assump- ments {EL, E2, . } called its label. Each node’s label has tions include both data of the problem and control assump- four properties: tions which indicate why the task is reasonable. In a natu- 1. n holds in each E,. ral deduction system, for instance, the focus environment can include statements about what is being sought, propo- 2. Ei is not nogood. sitions assumed by the user, and propositions assumed in 3. Every environment E in which n holds is a superset the course of a proof. of some E;. When the problem solver begins to work on a task, it 4. No & is a proper subset of any other. signals the ATMS that the environment associated with Given the label data structure the ATMS can efficiently that task is now the focus. We define a new class of con- answer the query whether n holds in environment E by sumers, implied-by consumers, which are to be executed checking whether E is a superset of some Ei. only when the union of their antecedents is implied by the Several ways have been developed to organize problem- current focus. By creating implied-by consumers, the in- solvers around an ATMS. These techniques differ primar- ference engine constrains the ATMS to respect its choice ily in where control resides and what discipline is used to of focus. All new information generated by the rules is a control rule executions. The simplest strategy is the IIV- consequence of the focus, and hence likely to be relevant. TERN strategy, where a rule is executed as soon as its Running the rules may provide the problem solver all or antecedents are bound, whether or not they can be consis- some of the information it needs to carry out that task.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    6 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us