Overview EXPERT SYSTEMS. What is an expert system?

Similar documents
Overview. cis32-spring2003-parsons-lect15 2

Sample Interaction: Explanation. Sample Interaction (cont d) Sample Interaction: Therapy. Sample Interaction: Diagnosis. How It Worked: Representation

Physicians and possibly medical students and paramedics.

Expert Systems. Artificial Intelligence. Lecture 4 Karim Bouzoubaa

Knowledge Based Systems

Knowledge is rarely absolutely certain. In expert systems we need a way to say that something is probably but not necessarily true.

Clinical Decision Support Systems. 朱爱玲 Medical Informatics Group 24 Jan,2003

AGENT-BASED SYSTEMS. What is an agent? ROBOTICS AND AUTONOMOUS SYSTEMS. Today. that environment in order to meet its delegated objectives.

CPS331 Lecture: Coping with Uncertainty; Discussion of Dreyfus Reading

STIN2103. Knowledge. engineering expert systems. Wan Hussain Wan Ishak. SOC 2079 Ext.: Url:

Harvard-MIT Division of Health Sciences and Technology HST.952: Computing for Biomedical Scientists. Data and Knowledge Representation Lecture 6

Expert Systems: Simple Examples and case study

Details of the Revised Therapy Algorithm

COMP329 Robotics and Autonomous Systems Lecture 15: Agents and Intentions. Dr Terry R. Payne Department of Computer Science

Coherence Theory of Truth as Base for Knowledge Based Systems

Chapter 2. Knowledge Representation: Reasoning, Issues, and Acquisition. Teaching Notes

INFERENCING STRATEGIES

Question: I m worried my child is using illegal drugs, what should I do about it?

Neurology Diagnosis System

Mastering Emotions. 1. Physiology

56 The Evolution of MYCIN s Rule Form

Artificial Intelligence Lecture 7

Inferencing in Artificial Intelligence and Computational Linguistics

Expert System Profile

1 What is an Agent? CHAPTER 2: INTELLIGENT AGENTS

Choosing Life: Empowerment, Action, Results! CLEAR Menu Sessions. Substance Use Risk 2: What Are My External Drug and Alcohol Triggers?

ISSN: (Online) Volume 2, Issue 1, January 2014 International Journal of Advance Research in Computer Science and Management Studies

You probably don t spend a lot of time here, but if you do, you are reacting to the most basic needs a human has survival and protection.

ELEPHANT IN THE OFFICE!

Set Up SOS Video Chat and Screen-Sharing

You can use this app to build a causal Bayesian network and experiment with inferences. We hope you ll find it interesting and helpful.

Artificial Intelligence

What Is A Knowledge Representation? Lecture 13

Interviewer: Tell us about the workshops you taught on Self-Determination.

The Five Types of Fear

Feeling. Thinking. My Result: My Result: My Result: My Result:

GPP 501 Microeconomic Analysis for Public Policy Fall 2017

Artificial Intelligence Programming Probability

An expert system (Autodoc) for diagnosing diseases and prescribing medication using visual basic.net

IE 5203 Decision Analysis Lab I Probabilistic Modeling, Inference and Decision Making with Netica

Practical Performance and Personal Exercise Programme (PEP)

Causal Knowledge Modeling for Traditional Chinese Medicine using OWL 2

RAL HEAL TH IMPROVEMENT CENTER

Bayesian Networks in Medicine: a Model-based Approach to Medical Decision Making

Stress is different for everyone While what happens in the brain and the body is the same for all of us, the precipitating factors are very

ESS/BUDAPEST CROSS NATIONAL PROJECT: Interviewer Note Template for ESS QUESTIONS ONLY


New Food Label Pages Diabetes Self-Management Program Leader s Manual

Agent-Based Systems. Agent-Based Systems. Michael Rovatsos. Lecture 5 Reactive and Hybrid Agent Architectures 1 / 19

Hypothesis-Driven Research

Babies and Bayes Nets II: Observations, Interventions and Prior Knowledge. Tamar Kushnir Alison Gopnik

What Is Science? Lesson Overview. Lesson Overview. 1.1 What Is Science?

Safeguarding adults: mediation and family group conferences: Information for people who use services

Artificial Intelligence: Its Scope and Limits, by James Fetzer, Kluver Academic Publishers, Dordrecht, Boston, London. Artificial Intelligence (AI)

Representation 1. Discussion Question. Roskies: Downplaying the Similarities of Neuroimages to Photographs

support support support STAND BY ENCOURAGE AFFIRM STRENGTHEN PROMOTE JOIN IN SOLIDARITY Phase 3 ASSIST of the SASA! Community Mobilization Approach

Appendix I Teaching outcomes of the degree programme (art. 1.3)

Neurology Diagnosis System

Materials Consultants

THE VOICE DOES MATTER

DAY 2 RESULTS WORKSHOP 7 KEYS TO C HANGING A NYTHING IN Y OUR LIFE TODAY!

MS&E 226: Small Data

Unit 1-Characteristics of Life, Scientific Method and Microscopes

You can use this app to build a causal Bayesian network and experiment with inferences. We hope you ll find it interesting and helpful.

Foundations of AI. 10. Knowledge Representation: Modeling with Logic. Concepts, Actions, Time, & All the Rest

Chapter 19. Confidence Intervals for Proportions. Copyright 2010 Pearson Education, Inc.

Design of the Autonomous Intelligent Simulation Model(AISM) using Computer Generated Force

P R I M H D s u m m a r y r e p o r t u s e r g u i d e - H o N O S C A Health of the nation outcome scales child and adolescent

Guiding Questions

Unit 5. Thinking Statistically

Audio: In this lecture we are going to address psychology as a science. Slide #2

FREQUENTLY ASKED QUESTIONS ABOUT MENTAL HEALTH ADVANCE DIRECTIVES GUIDE FOR CONSUMERS

Introduction to Machine Learning. Katherine Heller Deep Learning Summer School 2018

15 INSTRUCTOR GUIDELINES

III. WHAT ANSWERS DO YOU EXPECT?

Managing Values in Science and Risk Assessment

Knowledge-Based Decision-Making (KBDM) to reach an Informed Group Conscience

The PRIMHD Summary Report is organised into three major sections that provide information about:

Programming with Goals (3)

An Escalation Model of Consciousness

Survival Skills for Researchers. Study Design

Ways of counting... Review of Basic Counting Principles. Spring Ways of counting... Spring / 11

Cognitive Restructuring

Research Questions, Variables, and Hypotheses: Part 2. Review. Hypotheses RCS /7/04. What are research questions? What are variables?

Situation Reaction Detection Using Eye Gaze And Pulse Analysis

CAPL 2 Questionnaire

Assessing the Foundations of Conscious Computing: A Bayesian Exercise

Problem Set 2: Computer Psychiatrist

What is AI? The science of making machines that:

Multivariable Systems. Lawrence Hubert. July 31, 2011

SENG 412: Ergonomics. Announcement. Readings required for exam. Types of exam questions. Visual sensory system

Assignment 4: True or Quasi-Experiment

Models for Inexact Reasoning. Imprecision and Approximate Reasoning. Miguel García Remesal Department of Artificial Intelligence

The openehr approach. Background. Approach. Heather Leslie, July 17, 2014

To conclude, a theory of error must be a theory of the interaction between human performance variability and the situational constraints.

Public Policy Process GOALS, CONTINUED

Tapping World Summit 2009

Oscillatory Neural Network for Image Segmentation with Biased Competition for Attention

Lesson 17 Foods Help Your Body in Different Ways

Fever Diagnosis Rule-Based Expert Systems

Transcription:

EXPERT SYSTEMS Overview The last lecture looked at rules as a technique for knowledge representation. In a while we will go on to look at logic as a means of knowledge representation. First, however, we will look at one of the main applications of rules as a knowledge representation system. This is as the basis of rule-based expert systems. Rule-based expert systems were the big AI success story in the early 80s. At the time they were over-hyped, and since have fallen from favour. However, they are still used, and are worth learning about because of their historical importance. cis32-spring2003-parsons-lect15 2 What is an expert system? A expert system is a computing system that is capable of expressing and reasoning about some domain of knowledge. Typical domains are: internal medicine (INTERNIST) geology (PROSPECTOR) chemical analysis (DENDRAL) The purpose of the expert system is to be able to solve problems or offer advice in that domain. Expert systems can be distinguished from other kinds of AI program because: They deal with subjects of considerable complexity subjects that normally require a good deal of human expertise. provide expert-level solutions to complex problems. They must be fast and reliable; They must be capable of explaining and justifying solutions be understandable. They must be sufficiently flexible that new information may be easily accomodated. cis32-spring2003-parsons-lect15 3 cis32-spring2003-parsons-lect15 4

Architecture of an expert system: facts User Interface User results results facts Inference Engine Base knowledge updates Engineer updates Editor The knowledge base holds the expertise that the system can deploy. The knowledge-base is constructed by the knowledge engineer in consultation with the domain expert. For many expert systems knowledge representation is through the use of rules (could also be frames, semantic nets etc.) In use, some facts are added to the working memory, which represent observations about the domain. The inference engine allows permits new inferences to be made from the knowledge in the knowledge base. These new facts represent conclusions about the state of the domain given the observations. For a rule-based expert system, the inference engine would be a mechanism for carrying out forward and/or backward chaining. cis32-spring2003-parsons-lect15 5 cis32-spring2003-parsons-lect15 6 MYCIN One of the most important expert systems developed was MYCIN This is a system which diagnoses and treats bacterial infections of the blood. The name comes from the fact that most of the drugs used in the treatment of bacterial infections are called: Something mycin MYCIN is intended to be used by a doctor, to provide advice when treating a patient. The idea is that MYCIN can extend the expertise of the doctor in some specific area. Rules in MYCIN are of the form: 1. The gram stain of the organism is gramneg, and 2. The morphology of the organism is rod, and 3. The aerobicity of the organism is anaerobic there is suggestive evidence that the identity of the organism is bacteroides. cis32-spring2003-parsons-lect15 7 cis32-spring2003-parsons-lect15 8

Another example: 1. The identity of the organism is not known with certainty, and 2. The gram stain of the organism is gramneg, and 3. The morphology of the organism is rod, and 4. The aerobicity of the organism is aerobic there is strongly suggestive evidence that the identity of the organism is enterobactericeae. The antecdent is allowed to be a mixture of AND and OR conditions. An example of a rule with OR conditions is: 1. The therapy under consideration is: cephalothin, or clindamycin, or erythromycin, or lincomycin, or vancomycin and 2. Meningitis is a diagnosis for the patient It is definite that the therapy under consideration is not a potential therapy. Note that we have rules about treatment as well as about diagnosis. cis32-spring2003-parsons-lect15 9 cis32-spring2003-parsons-lect15 10 We can also have OR in the consequent of the rule: The identity of the organism is bacteroides I recommend therapy chosen from among the following drugs: 1. clindamycin 2. chloramphenicol 3. erythromycin 4. tetracycline 5. carbenecillin MYCIN has a four stage task: How MYCIN works decide which organisms, if any, are causing significant disease. determine the likely identity of the significant organisms. decide which drugs are potentially useful. select the best drug, or set of drugs. The control strategy for doing this is coded as meta-knowledge. cis32-spring2003-parsons-lect15 11 cis32-spring2003-parsons-lect15 12

The relevant rule is: 1. There is an organism which requires therapy, and 2. Consideration has been given to possible other organisms which require therapy 1. Compile a list of possible therapies, and 2. Determine the best therapy. ELSE Indicate that the patient does not require therapy. This is applied in a mixture of forward and backward chaining: How do I decide if there is an organism requiring therapy? Well, Rule 90 tells me that organisms associated with significant disease require therapy. But I don t know about any organisms, so I ll ask the user... now I can apply RULE 90 to each of these... but I need to know if the organism is significant. Now I have a set of rules which tell me whether this is the case. Let s see, RULE 38 says that an organism from a sterile site is significant. I don t have any rules for saying if the site was sterile, so I ll ask the user... cis32-spring2003-parsons-lect15 13 cis32-spring2003-parsons-lect15 14 So MYCIN starts by trying to apply the control rule, and this generates sub-goals. The first of these is to determine if there is an organism which needs to be treated. This generates another sub-goal; whether the organism is significant. This provokes a question to the user. The answer allows other rules to be fired, and these lead to further questions. Eventually the part of the control rule is satisfied, and the part compiles a list of drugs, and chooses from it. A consultation with MYCIN As we saw in the last lecture, MYCIN chains back from its overall goal of deciding what organisms need treatment until it finds it lacks information, and then asks the user for it. Using MYCIN is thus an interactive process: 1. MYCIN starts running. 2. MYCIN asks a question. 3. The user answers it. 4. MYCIN asks another question. 5.... cis32-spring2003-parsons-lect15 15 cis32-spring2003-parsons-lect15 16

1) Patient s name: (first-last) ** FRED BRAUN 2) Sex ** M 3) Age ** 55 4) Are there any illnesses for Fred Braun which may be related to the present illness, and from which organisms have been grown in the microbiology laboratory? ** Y -------- CULTURE-1 ---------- 5) From what site was the specimen for CULTURE-1 taken? ** BLOD = BLOOD 6) Please give the date and time when CULTURE-1 was obtained. ** JUN 20 1977 The frst organism isolated from the blood culture of 20-JUN-77 (CULTURE-1) will be referred to as: -------- ORGANISM-1 --------- cis32-spring2003-parsons-lect15 17 cis32-spring2003-parsons-lect15 18 7) Enter the laboratoryreported identity of ORGANISM-1 ** UNKNOWN 8) The stain (gram or Ziehl- Neelsen acid-fast) of ORGANISM-1 ** NEG 9) Is ORGANISM-1 rod or coccus ** ROD 10) What is the form of the individual organisms? ** FUSORM... It is important to cover for the following probable infections and associated organisms: INFECTION-1 is BACTEREMIA <ITEM-1> E.COLI <ITEM-2> KLEBSIELLA <ITEM-3> ENTEROBACTER <ITEM-4> KLEBSIELLA-PNEUMONIA cis32-spring2003-parsons-lect15 19 cis32-spring2003-parsons-lect15 20

Explanation in MYCIN An important feature of any expert system is that it can explain how it comes up with conclusions. This allows users to understand what the system is doing, and so see that it is doing sensible things. One of the advantages of rules is that they make it possible to generate good explanations. Essentially the explanation is just a presentation of the proof tree. We can illustrate this with an example explanation dialogue from MYCIN. 34) Was penicillinase added to CULTURE-1? ** Why? [3.0] This will aid in determining whether ORGANISM-1 is a contaminant. It has already been established that: [3.1] the site of CULTURE-1 is blood, and [3.2] the gram stain of ORGANISM-1 is grampos cis32-spring2003-parsons-lect15 21 cis32-spring2003-parsons-lect15 22 Therefore if [3.3] penicllinase was added to this blood culture then there is weakly suggestive evidence that ORGANISM-1 is a contaminant [RULE 39] ** Why? [4.0]... in order to determine whether there is significant disease associated with ORGANISM-1. It has already been established that: [4.1] this blood culture was taken from a sterile source cis32-spring2003-parsons-lect15 23 cis32-spring2003-parsons-lect15 24

Therefore if [4.2] ORGANISM-1 is not a contaminant then there is strongly suggestive evidence that there is significant disease associated with ORGANISM-1 When asked WHY, MYCIN: uses the current rule. If asked WHY again, MYCIN uses the rule which caused the current rule to fire Remember that MYCIN is chaining backwards from the overall goal of showing significant disease. This explanation can be continued by asking more WHY s. cis32-spring2003-parsons-lect15 25 cis32-spring2003-parsons-lect15 26 Other Kinds of Expert System How Expert Systems are Used Many expert systems are rule-based like MYCIN. However, there is no reason why expert systems cannot be based on other forms of knowledge representation: Frames Semantic networks Bayesian networks What makes a program an expert system is not its use of rules, but its expert level performance. As we saw, MYCIN was intended as an advisor. The idea behind many expert systems was similar: Capture expertise known to a few Make it available to many. During the expert systems boom many ESs were built which tried to replace experts. Such systems often ran into difficulties: how to construct them? how to field them? cis32-spring2003-parsons-lect15 27 cis32-spring2003-parsons-lect15 28

Problems with Expert Systems Problems with construction: aquisition bottleneck. Machine learning. Problems with representation: What does significant evidence mean? Handling uncertainty. Bayesian networks. Problems with acceptance Operational issues. Legal issues. Problems with domain Brittleness. Common sense knowledge and CYC. cis32-spring2003-parsons-lect15 29 cis32-spring2003-parsons-lect15 30 Why Expert Systems Aren t Agents Remember that agents have a direct connection with their environment: sensors Summary Environment??? effectors Agent Expert systems typically have a human mediator: facts User Interface User results results facts Inference Engine Base knowledge updates Engineer updates Editor This lecture introduced the idea of expert systems through the example of the MYCIN system. The lecture described how rules and meta-rules can be used to represent knowledge and control inference. The lecture also described how explanation may be performed, and discussed some of the problems that building and deploying expert systems may run into. cis32-spring2003-parsons-lect15 31 cis32-spring2003-parsons-lect15 32