





Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
An introduction to rule-based expert systems, a type of computer program that uses domain knowledge for problem-solving. Expert systems have been applied in various fields such as medicine, geology, chemistry, and computers. They act as advisors, perform tasks requiring human expertise, and use symbolic processing and explanation. Rules, the backbone of expert systems, are conditional statements that establish conditions for actions.
Typology: Exams
1 / 9
This page cannot be seen from the preview
Don't miss anything!
Felisa Verdejo
Facultad de Informática, Universidad del País Vasco, Spain.
ABSTRACT The purpose of this article is to introduce readers to the basic principles of rule-based expert systems. Four topics are discussed in subsequent sections: (1) Definition; (2) Structure of an expert system; (3) State of the art and (4) Impact and future research.
l.WHAT IS AN EXPERT SYSTEM? The effort of many years of research in Artificial Intelligence (A.I.) has led to practical results. One of the most promising fields has come to be known as expert systems. An expert system is a computer program that solves problems by using specific domain knowledge-based reasoning. Expert systems have been developed mainly in areas such as medicine, geology, chemistry, and computers. They act as advisors on problems requiring judgmental knowledge to combine the relevant factors leading to a decision. Characteristics that define an expert system are:
. Ruled-based systems. Domain knowledge is expressed in a uniform way by means of rules and separated from the procedures that will use it. Most of the expert systems developed so far are rule based. The emphasis in this framework is not on the theoretical aspects but on its conceptual adequacy, applicability, and performance. In this paper we will focus on the rule-based approach.
2.1 Rules Roughly speaking a rule is a conditional statement either relating facts or establishing the conditions to perform some actions. One example of rule relating facts is the SACON rule outlined below "IF the material composing the sub-structure is one of the metals, AND the tolerable analysis error is between 5 and 30, AND the non-dimensional stress is greater than 0,9, AND the number of loading cycles to be applied is between 10 and 100 THEN fatigue is one of the stress behavior in the sub-structure." A representative rule of the form "condition -> action," extracted from XC0N follows : "IF the current subtask is assigning devices to unibus modules AND there is an unassigned dual port disk drive AND the type of controller it requires is known AND there are two of such controllers, neither of which has devices assigned to it AND the number of devices which these controllers can support is known THEN assign the disk drive to each controller AND note each controller supports one device."
2.2 Knowledge base
A knowledge base is formed by the set of rules that synthesize the body of human expertise in the problem domain. Some rules would express causal interconnection among facts with a true value in the logical sense. Others would suggest what knowledge is relevant to a class of problems. Some other rules would represent likely relations observed among phenomena involving words such as "often" or "sometimes". These criteria learned in general by experience and practise, are called rules of thumb or heuristics in A.I. terminology. When used in reasoning about a problem, they are manipulated with a degree of confidence. Conclusions are reached by making conjectures and increasing their evidence. The final advice includes a measure of belief for the suggested interpretation. 2.3 Data base The data base of an expert system contains the facts (known or inferred) about the current case being studied. The following are examples of facts: The material of the substructure is one of the metals. The tree has needles bundler together. J. Smith has a shiff neck. Starter turns engine slowly or not at all. There is a type-A porphyry copper deposit (2.65)
western larch-| ' - - needles three sided
"Tree is a larch" and "needles three sided" are again hypotheses (sub-goals) to be determined. Subgoals are tried succesively. In our exemple, to prove the hypothesis "tree is a larch", rule 3 might be selected.
larch - - - - - - neddles bundled toghether
^- - bundle more than six needles
At this stage rule 2 couH be applied. The system would ask the user "Has the tree needles or scales-like leaves?" After receiving confirmation the process continues until there are no more subgoals to attemp. When they are proven, the goal is then said to be concluded. Backward chaining strategy is goal oriented. It begins with a given hypothesis and looks for the conditions to be satisfied. The user is asked questions only if the system can no longer infer information from its knowledge base. B) Forward chaining. Rules have one of the two forms: IF
match the left-hand side (Situation/Premise) whitin the data base if the match is succesful the rule might be selected to apply the rule means
. to perform the action part possibly modifying the content of the data base (first form) . to add the consequent as a new fact. Actions in the second form are restricted to adding facts to the data base. Forward chaining strategy is data-driven. It begins with the data provided by the user, selecting rules by pattern-matching and executing the corresponding actions. Let us emphasize that systems based on rules following the pattern: IF
. Execute the first satisfied rule. . Express the way of selecting by rules (meta-rules). . Consider first the most/least used rule. . Select the rule with the larger number of facts (the more specific). . All the rules will be tried. By now we have introduced the basic architecture of a rule based expert system, here is a summary:
Organism-1 is a contaminent (.4) - - - - site is blood
l_ _ gram-stain is grampos
. Potential high benefits (intellectual or economical) due to the cost of building the knowledge base ; . Lack of appropiate hardware at reasonable cost. Prices are dropping but machines allowing highly efficient symbol processing are still expensive. Over the past decade a broad range of expert systems have been built to solve problems in different areas. The following list illustrates some of the applications: . Fault diagnosis . Medical diagnosis . Chemical data interpretation . Oil well log interpretation . Mineral exploration . Electronic troubleshooting . Signal interpretation . Speech undertanding . Computer configuration . Computer aid instruction . Planning experiments . Electronic design. Different attempts have been made to identify among the applications which are the generic tasks that would specify what an expert system does. A first characterization is to distinguih between analysis and synthesis. The analysis task consists of the identification or interpretation of data. Most of the systems are related to this task. What they do is classification problem solving, providing an answer from a preenumarated set of solutions. Problems of synthesis, such as planning or design, require that a solution be built up, usually verifying a number of constraints. These problems are difficult, but important research is going on and some significant results are being obtained. Often a domain task might be decomposed into a number of parts (either analytic or synthetic). An expert system for a practical application can combine both approaches. 3.2 Tools
An adequate software tool is a factor of great practical importance. Not only can it reduce the time of development but it can also help the designer to focus on the task- specific knowledge allowing him rapid prototyping to explore appropiate solutions. Several possibilities are offered:
4.IMPACT AND FUTURE RESEARCH Problems that resisted conventional software solutions have been sucessfully solved by expert-systems technology. This new approach has increased industrial expectation because of the high profits of replicating human expertise, specially in areas where there is a shortage of skilled personnel. For example, XCON (currently used by DEC corporation) has been saving the company 10 millions dollars a year. Artificial Intelligence has been characterized as the study of ill-defined problems to be transformed into defined ones. The attempt to formalize a domain, clarifying progressively the principles on which decisions are made, has also significant side-