Structure Based Control Strategy
Proceedings of the Eighth International Joint Conference on Artificial Intelligence. Expert Systems. Pages 222-223.
© 1983 International Joint Conferences on Artificial Intelligence
Abstract
A contnol strategy is introduced. The tasks in the agenda are organized hierarchically, such that, in general, only tasks in the same level are allowed to compete with each other. KEY tasks with highest priority are also introduced to maintain the flexibility of control. This concept has been applied to a medical diagnosis expert system MDM, and it is implemented on UNIVAC 1100/10. The result is satisfactory.
- '• ll,P. (1979): "An Agenda Driven Theorem Prover. 11 ATP-53, The Uni. of Texas at Austin, Texas, u . s .A.
- Lenat,D. B. (1982): "AM: Discovery in Mathematics as Heuristic Search . 11 In Knowledge-Based System s in Artificial Intelligence, by Davis,R., Len at, D.B., McGraw-Hill, 1-225.
- Les ser,V. R., Erman,L.D. (1977): "A Retrospective View of the Hearsay-!! Architecture." Proc. 5th IJCAI, Cambridge, u.s.A., 790-8oo.
- Smith,D.E., Clayton,J .E. (1980): "A Frame-Based Production System Architecture". Proc. 1st AAAI, Stanford, U.S.A., 154-156.
- Tyson,W.M. (1981): "APRVR: A priority-Ordered Agenda Theorem Prover." ATP-66, The Uni. of Texas at Austin, Texas, u .s.A.
- Wang,J. (1981): "MDM: A Medical Decision Making Model." M.S. Thesis, Institute of Automation, Academia Sinica, Beijing, CHINA.
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.
ABSTRACT
A contnol strategy is introduced. The tasks in the agenda are organized hierarchically, such that, in general, only tasks in the same level are allowed to compete with each other. KEY tasks with highest priority are also introduced to maintain the flexibility of control. This concept has been applied to a medical diagnosis expert system MDM, and it is implemented on UNIVAC 1100/10. The result is satisfactory.
INTRODUCTION
This paper introduces a control method based on knowledge structures. The concept of agenda has been successfully applied to the expert sys- tems by several authors (1)(2)(3)(4)(5). The gen eral agenda method used so far has some drawbacks:
- The efficiency is low as the system is com plex.
- The formation of tasks is complicate.
- The formation of reasons is difficult.
The concept introduced in this paper is to attempt to overcome some of thesedrawbacks, especially the efficiency. The essential points of our concept are:
- We treat the reasoning process as a series of selection, evaluation, and generation of tasks. This is the same ·as in the ordinary agenda methods.
- The tasks in the agenda are organized hierar chically corresponding to the structure of knowledge, such that, in general, only tasks in the same level are allowed to compete with each other.
- There are some KEY tasks which have the highest priority, so that when one of them appears in the agenda, this task will be evaluated imme diately.
This control strategy is applied to a medical dia~ nosis expert system MDM with success(6). The sys tem is implemented on UNIVAC 1100/10.
STRUCTURE OF TASKS
System MDM has a hierarchical structure of knowledge. The form of it is
COURSE · FRAME · SLOT.
STRUCTURE BASED CONTROL STRATEGY
C.N.Lou and J .Wang Institute of Automation Academia Sinica Beijing, CHINA
TQe first level knowledge is COURSE. Different COURSEs may be defined by peoples with different expertise. The second level knowledge is FRAME, which are units of knowledge of the COURSE cor respondingly. The third level knowledge is SLOT, which are the properties of the corresponding FRAME. The set of slots of each FRAME is fixed for simplifying the treatment.
The structure of tasks corresponds to the structure of knowledge. The general form of the task is:
COURSE(x).FRM4E(y).SLOT(z).OPERATION(w).,
where x, y, z, w are variables. For tasks of dif ferent levels, the corresponding forms are:
COURSE(x).OPERATION(w) . COURSE(x).FRM4E(y).OPERATION(w).
COURSE(x).FRAME(y).SLOT(z).OPERATION(w).,
OPERATION consists of three elements, they are:
CHECK: to check the content of the task, and see whether it is necessary to evaluate further.
EVALUATION: to evaluate.
DICISION: according to the result obtained, decide the inference direction.
As an example,
COURSE(A).FRAME(B).SLOT(CAUSED-BY).CHECK.
is a task which means to see whether the cause of desease of FRAME B in COURSE A is necessary to be evaluated.
Besides, there are two special tasks which are used frequently. One is
TEST(x),
which asks to conduct some experimental test, and x is the title, e.g., WBC. The other one is
COURSE(x).FRAME(y).COUNT.,
which performs the calculation of reliability for the result obtained by the proceeding tasks so far, and the resultant should be returned.
HEURISTIC RULES
There are two categories of heuristic rules in system MDM :
- The rules that are subordinate to tasks: when a task is being evaluated, rules are se lected according to the environment , and its reasoning conclusion is the operation result of the task. E.g.,
- IF: 1) it is necessary to evaluate the cause of the desease, which is represented by an instance of a frame , and
- this in:.;tancc i :: no t cnnfi rmative,
THEN:· generate tasks:
- COURSE.FRAME. CAUSED-BY .EVAL.,
- COURSE.FRAME. CHECK.
This rul e i s attached to the task
COURSE(x) . FRAME(y ) . SLOT( CAUSED-BY) . CHECK .
As another example, a rule may form the j udge ment on the instance of a frame as reliable, unreliable, or the case in between.
- IF: 1) the score of a frame is below the threshold ,
- all t he contents in slot DG1 are unreliable,
THEN: thi s f r ame i s reliable.
- The rules which are subordinate to the system : which are devided into several groups, such as :
- ** initiation rules,
- ** rules for inheritence,
- ** rules that generate reasons ,
- **rules that generate tasks, etc ·.
The meaning of these rules will be given in the succeeding sections .
DISPATCHING TASKS
When using ordinary method, all task s put in the agenda compete with each other. The one with highest priority is to be selected and evaluated . The heuristic rule for the corresponding control is as:
- IF: 1) there are some tasks in the agenda whose priority values are above the threshold, and
- xi is the task with highest priority, THEN: evaluate Xi·
The control mechanism of our system is somewhat different. That is, it controls in a hierarchical way. The corresponding rule is:
- IF: 1) there is no KEY task in the agenda, and 2) at the moment, there are executable task s in several levels of agenda, among which, the Nth level is with the highest priority,
- Xi is the task in Nth level with highest priority,
THEN: evaluate Xi·
The priorities of different levels of t he agenda are given a priori, such that , level-3 with high est value , and 1 evel-1 , the lowest .
In general, there i ~ no competition between tasks in di f ference l evel s . The advantaees of this strategy are obvious . In short ,
- the efficiency of search is increased ,
- the formation of rea~o ns is simplified,
- the aims of competition between task s are more cl ear ,
There are some KEY tasks involved in t he sys tem, which are generated by some heuristic rules . When the KEY task appears in the aeenda, it will be evaluated immedi ately wi thout exception . One of t he purposes of introducing these KEY tasks is to establish the connections of tasks between dif f erent agenda level s . At critical moment, t he KEY task will change the direction of control of the whole operation.
There are two categories of KEY tasks:
- When a task has been evaluated, the resultant may transfer some tasks to be the KEY tasks , e . g.,
IF: a FRAME or a COURSE is confirmed, THEN: the DECI SION task r elated to this FR~lE or COURSE is a KEY task .
- All tasks in the agenda are with their pri orities below the threshold , but there might be some tasks, the evaluation of wh~ch will influence the final results of the operation. These tasks are assigned to be the KEY tasks. E. g.,
- IF: 1) in agenda, there is no task whose pri ority is above the threshold,
- there is still a DECISION task in the agenda,
THEN: this task is a KEY task.
We treat the reasoning process as a series of selection, evaluation, and generation of tasks. Each level of the agenda maintains a high threshold value. The condition for evaluating a task is that its priority is over this threshold. It also main tains a low threshold value. The condition for gen erating a new task is the score of its initial rea son being over this threshold.
REASONS FOR TASKS
There are two categories of reasons formed in the system:
- reasons formed in the new task as it is gen erated, e.g .· ,
IF: the new task EVALUATION is generated from the task CHECK,
THEN: add reason to the new task 200
- reasons caused by the environment, e.g.,
- IF: 1) in TEST, task s IIi th risk equal to zero are all evaluated,
- the instance of FRAHE(x) is not affirmative,
- there is still a CAUSED-BY task in the agenda,
THEN: add reason to the task CAUSED-BY 60 .
The summation of the values of different reasons of a task is the total score of that task.
INHERITANCE OF DEDUCTION INFORMATION
After the evaluation, the task will be cleared out . It is very important to preserve some of the information for further deduction. In MDM , there are some heuristic rules conducting this informa tion inheritance. The related information is stored in a frame-like structure as shown in Fig.1. It can be applied to the succeeding operations by matching the corresponding rules. For example,
THEN: inherit information PRODUCING, PRODUCED,
- IF: 1) task x generates task y, 2) y i s a deeper task, SCORE.
TASK NAME:
PRODUCING TASK, NAME: PRODUCED TASK, NAME: REASON:
SCORE RELATED TO:
Fig.1
RESULTS
The structure-based control strategy is applied to a medical diagnosis expert system MDM, which is implemented on UNIVAC 1100/10. The result is satis factory. The following i s a part of sequence of tasks generated. It shows the direction of infer ence controlled by this method.
RUN TASK: 13 PRIORITY: 80 RUN TASK NAME: SHOCK . SHOCK .DECISION KEY TASK: YES 1. PRODUCE DECISION 80 PRODUCED TASK: 25 RULE: 5 PRODUCED TASK NAME: SHOCK .CARDIOGENIC .CHECK THE REASON IS: 1. FRAME- -FRAME 160 RUN TASK: 14 RUN TASK NAME: SHOCK .SHOCK .TEST .DECISION KEY TASK: NO THE REASON IS: 1. PRODUCE DECISION 80 2. PRODUCE DECISION 80
3. COURSE- - FHA11E 210
- 4· A FRAME BE CERTAINED A~!D THIS FRAt~E IS PRODUCED 60
CONCLUSION
In this paper we introduce the concept of hie r archical structure to the agenda. The strategy constrains the competition between tasks , simpli fies the reason formation mechani sm, and preserves the flexibility of t he ordinary agenda by intro ducing the KEY tasks. This strategy i s especially important in developing complex systems, such as systems including knowledge acquisition, learning, and problem solving, with higher control effi ciency. This is the eventual aim of our work.
@inproceedings{ijcai1983p53,
title = {Structure Based Control Strategy},
author = {Lou, C. M. and Wang, J.},
booktitle = {Proceedings of the Eighth International Joint Conference on
Artificial Intelligence, {IJCAI-83}},
publisher = {International Joint Conferences on Artificial Intelligence},
editor = {Alan Bundy},
pages = {222--223},
year = {1983},
note = {Expert Systems},
url = {https://ijcai.org/proceedings/1983/53},
}
TY - CPAPER TI - Structure Based Control Strategy AU - Lou, C. M. AU - Wang, J. T2 - Proceedings of the Eighth International Joint Conference on Artificial Intelligence, IJCAI-83 PB - International Joint Conferences on Artificial Intelligence PY - 1983 SP - 222 EP - 223 UR - https://ijcai.org/proceedings/1983/53 ER -Copied
Machine-readable versions of this paper, for tools and AI agents:
Welcome
Future Conferences
AI Journal Division
IJCAI Proceedings
About IJCAI
IJCAI Awards