Introduction to Expert Systems Kostas Kontogiannis.

Slides:



Advertisements
Similar presentations
FT228/4 Knowledge Based Decision Support Systems
Advertisements

Lahore University of Management Sciences, Lahore, Pakistan Dr. M.M. Awais- Computer Science Department 1 Lecture 12 Dealing With Uncertainty Probabilistic.
EXPERT SYSTEMS AND KNOWLEDGE REPRESENTATION Ivan Bratko Faculty of Computer and Info. Sc. University of Ljubljana.
CHAPTER 13 Inference Techniques. Reasoning in Artificial Intelligence n Knowledge must be processed (reasoned with) n Computer program accesses knowledge.
Rulebase Expert System and Uncertainty. Rule-based ES Rules as a knowledge representation technique Type of rules :- relation, recommendation, directive,
Reasoning System.  Reasoning with rules  Forward chaining  Backward chaining  Rule examples  Fuzzy rule systems  Planning.
Intelligent systems Lecture 6 Rules, Semantic nets.
Rule Based Systems Michael J. Watts
Rule Based Systems Alford Academy Business Education and Computing
Dealing with Uncertainty  The need to deal with uncertainty arose in “expert systems”  Code expertise into a computer system Example:  Medical diagnosis:
Chapter 11 Artificial Intelligence and Expert Systems.
1 Lecture 34 Introduction to Knowledge Representation & Expert Systems Overview  Lecture Objective  Introduction to Knowledge Representation  Knowledge.
1 Chapter 9 Rules and Expert Systems. 2 Chapter 9 Contents (1) l Rules for Knowledge Representation l Rule Based Production Systems l Forward Chaining.
Rules and Expert Systems
© C. Kemke1Reasoning - Introduction COMP 4200: Expert Systems Dr. Christel Kemke Department of Computer Science University of Manitoba.
Production Rules Rule-Based Systems. 2 Production Rules Specify what you should do or what you could conclude in different situations. Specify what you.
Marakas: Decision Support Systems, 2nd Edition © 2003, Prentice-Hall Chapter Chapter 7: Expert Systems and Artificial Intelligence Decision Support.
EXPERT SYSTEMS Part I.
Chapter 12: Intelligent Systems in Business
MSIS 110: Introduction to Computers; Instructor: S. Mathiyalakan1 Specialized Business Information Systems Chapter 11.
“Get outa here!”.
Building Knowledge-Driven DSS and Mining Data
Artificial Intelligence CSC 361
Sepandar Sepehr McMaster University November 2008
Expert Systems Infsy 540 Dr. Ocker. Expert Systems n computer systems which try to mimic human expertise n produce a decision that does not require judgment.
Fundamentals of Information Systems, Second Edition 1 Specialized Business Information Systems Chapter 7.
Artificial Intelligence Lecture No. 15 Dr. Asad Ali Safi ​ Assistant Professor, Department of Computer Science, COMSATS Institute of Information Technology.
Knowledge Acquisition. Concepts of Knowledge Engineering Knowledge engineering The engineering discipline in which knowledge is integrated into computer.
Chapter 14: Artificial Intelligence Invitation to Computer Science, C++ Version, Third Edition.
计算机科学概述 Introduction to Computer Science 陆嘉恒 中国人民大学 信息学院
CS62S: Expert Systems Based on: The Engineering of Knowledge-based Systems: Theory and Practice A. J. Gonzalez and D. D. Dankel.
11 C H A P T E R Artificial Intelligence and Expert Systems.
Copyright R. Weber INFO 629 Concepts in Artificial Intelligence Expert Systems Fall 2004 Professor: Dr. Rosina Weber.
Artificial Intelligence
Faculty of Arts Atkinson College ITEC 1010 A F 2002 Welcome Sixteenth Lecture for ITEC A Professor G.E. Denzel.
Introduction to Expert Systems. Other Resources Handout at ECE Office.
School of Computer Science and Technology, Tianjin University
Knowledge based Humans use heuristics a great deal in their problem solving. Of course, if the heuristic does fail, it is necessary for the problem solver.
Fundamentals of Information Systems, Third Edition2 Principles and Learning Objectives Artificial intelligence systems form a broad and diverse set of.
MNF IT-272 Kunstig intelligens - høst 2002 Forelesning 6. Emner: Kunnskapsintensiv problemløsning - kunnskapbaserte systemer, ekspertsystemer Regelbaserte.
1 CHAPTER 13 Decision Support Systems and Intelligent Systems, Efraim Turban and Jay E. Aronson 6th ed, Copyright 2001, Prentice Hall, Upper Saddle River,
Pattern-directed inference systems
CSE (c) S. Tanimoto, 2002 Expert Systems 1 Expert Systems Outline: Various Objectives in Creating Expert Systems Integration of AI Techniques into.
Principles of Information Systems, Sixth Edition Specialized Business Information Systems Chapter 11.
Fundamentals of Information Systems, Second Edition 1 Specialized Business Information Systems.
Principles of Information Systems, Sixth Edition Specialized Business Information Systems Chapter 11.
Chapter 13 Artificial Intelligence and Expert Systems.
Chapter 4 Decision Support System & Artificial Intelligence.
KNOWLEDGE BASED SYSTEMS
Inferencing in rule-based systems: forward and backward chaining.
International Conference on Fuzzy Systems and Knowledge Discovery, p.p ,July 2011.
Artificial Intelligence
Expert System Seyed Hashem Davarpanah University of Science and Culture.
ITEC 1010 Information and Organizations Chapter V Expert Systems.
Some Thoughts to Consider 5 Take a look at some of the sophisticated toys being offered in stores, in catalogs, or in Sunday newspaper ads. Which ones.
1 Chapter 13 Artificial Intelligence and Expert Systems.
Knowledge Engineering. Sources of Knowledge - Books - Journals - Manuals - Reports - Films - Databases - Pictures - Audio and Video Tapes - Flow Diagram.
Artificial Intelligence: Applications
Kozeta Sevrani - Sistemet e Informacionit11.1 Specialized Business Information Systems Chapter 11.
REASONING UNDER UNCERTAINTY: CERTAINTY THEORY
CHAPTER 1 Introduction BIC 3337 EXPERT SYSTEM.
Introduction Characteristics Advantages Limitations
Artificial Intelligence, P.I
Architecture Components
Knowledge Representation
CS62S: Expert Systems Based on:
Intro to Expert Systems Paula Matuszek CSC 8750, Fall, 2004
Artificial Intelligence and Expert Systems
EXPERT SYSTEMS AND KNOWLEDGE REPRESENTATION Ivan Bratko Faculty of Computer and Info. Sc. University of Ljubljana.
전문가 시스템(Expert Systems)
Presentation transcript:

Introduction to Expert Systems Kostas Kontogiannis

Other Resources Handout at ECE Office

What is an Expert System An Expert System is a computer program that simulates human intelligence and behavior in specific and limited domains It is composed of three major modules: –A Knowledge Base –An Inference Engine –A User Interface

Expert Systems are Good For Limited domains where expert knowledge is available Providing expert opinion in remote sites Enhance the performance of tasks by applying heuristic expert knowledge Planning, Troubleshooting, Robotic manipulation, Exploration, Process Control

Expert Systems Are Not Good For Representing temporal knowledge Representing spatial knowledge Performing commonsense reasoning Recognizing the limits of their ability Handling inconsistent knowledge

Conventional vs. Symbolic Programming Representations and use of data vs. Representations and use of knowledge Algorithmic processing vs. Heuristic processing Repetitive vs. Inferential process Effective manipulation of large data bases vs. Effective manipulation of large knowledge bases

Overall Architecture Inference Engine Knowledge Base InterfaceInterface Working Memory

Terminology Knowledge Engineering: The discipline of acquiring, encoding and using human domain knowledge to develop a computer application Expert System: A computer program that uses domain knowledge to perform a specific task usually human experts perform Knowledge Base: A set of rules and facts describing the domain of an application Inference Engine: A program that imposes a general control strategy on how the system is working Working Memory: A set of facts describing a particular consultation Interface: A program that links the user with the Expert System

Knowledge Base Models domain knowledge usually in the form of rules, frames, or semantic nets Probabilistic models and fuzzy models can be used to model uncertainty A typical Expert System has several hundred rules A Knowledge base can become very complex and its has to be consistent at all times Knowledge acquisition tools can be used to build and maintain a Knowledge Base

Rules IF the infection is pimary-bacteremia AND the site of the culture is one of the sterile sites AND the suspected portal of entry is the gastrointestinal tract THEN there is suggestive evidence (0.7) that infection is bacteroid.

Semantic Networks Ship Ocean Liner Oil Tanker EngineHull BoilerLiverpool Swimming Pool Queen Mary isa has-part isa has-part isa has-part

Frames Author: John Allen (default) Topic: Due Date: Length: 2 pages (default) Progress Report Author: Mary Smith Topic: Biological Classification Project Due Date: Sept. 30, 2000 Length:40 pages isa If-added If-removed If-needed

Inference Engine Considering that the Knowledge Base encodes domain knowledge and expertise in terms of rules and facts there are three variations for the inference engine: –Forward Chaining or Data Driven (essentially Modus Ponens) –Backward Chaining or Hypothesis Driven –Mixed (i.e. Forward and Backward Chaining combined) Most Expert Systems assume that the Inference Engine strategy is monotonic Several Expert Systems allow for reasoning under uncertainty –Probabilistic (MYCIN, Bayes, Demster-Shafer) –Fuzzy –Non-monotonic (Truth Maintenance Systems)

Inference and Logic Modus Ponens: A1, A2, A1 & A2 => B B Modus Tolens: not A2, A1 => A2 not A1

Issues on Building Expert Systems Lack of Resources –Personnel –Expert System tools Inherent limitations of Expert System tools –Performing knowledge acquisition –Refining Knowledge Bases –Handling mixed representation schemes Expert Systems take long time to build

Pitfalls in Choosing Problems Difficult problem chosen and inadequate resources available The problem the Expert System is about to solve does not warrant the development effort The problem the Expert System addresses is very general or complex

Pitfalls on Resource Planning and Choosing Tools Adding personnel in order to speed up development time Management perceives that Expert Systems are “just another computer program” Difficult to model the domain using the chosen tool Knowledge engineer picks a tool that he/she is familiar without considering the problem specifics Decision to built the system using a conventional programming language The shell or tool that is used to build the system is not reliable

Pitfalls Dealing with Expert Interactions with expert are laborious with small payoff The expert can not find enough time for the interviews The experts can not understand the rules and the models used The rules provided by the expert are simplistic The expert is not excited about helping develop the system The expert is not familiar with computers and doubts that a computer program can address the problem So many experts involved, the Knowledge Engineer has difficulty modeling the domain

Pitfalls in the Development Process The expert knowledge and the inference strategy are not distinct After initial development the Knowledge Engineer finds that important parts of the domain are not addressed The system has been built using a shell that does not provide explanation facilities The system contains a very large number of specialized rules and its time related performance is poor The system during testing is found to be of low quality The users do not understand error messages and can not edit the rule base Addition of new rules produces more errors that it fixes

Uncertainty and Evidential Support In its simplest case, a Knowledge Base contains rules of the form : A & B & C => D where facts A, B, C are considered to be True (that is these facts hold with probability 1), and D is asserted in the Knowledge Base as being True (also with probability 1) However for realistic cases, domain knowledge has to be modeled in way that accommodates uncertainty. In other words we would like to encode domain knowledge using rules of the form: A & B & C => D (CF:x1) where A, B, C are not necessarily certain (i.e. CF = 1)

Issues in Rule-Based Reasoning Under Uncertainty Many rules support the same conclusion with various degrees of Certainty A1 & A2 & A3 => H (CF=0.5) B1 & B2 & B3 => H (CF=0.6) (If we assume all A1, A2, A3, B1, B3, B3 hold then H is supported with CF(H) = CFcombine(0.5, 0.6)) The premises of a rule to be applied do not hold with absolute certainty (CF, or probability associated with a premise not equal to 1) Rule: A1 => H (CF=0.5) However if during a consultation, A1 holds with CF(A1) = 0.3 the H holds with CF(H) = 0.5*0.3 = 0.15

The Certainty Factor Model The potential for a single piece of negative evidence should not overwhelm several pieces of positive evidence and vice versa the computational expense of storing MB’s and MD’s should be avoided and instead maintain a cumulative CF value Simple model: CF = MB - MD CFcombine = X + Y*(1-X) The problem is that a single negative evidence overwhelms several pieces of positive evidence

The Revised CF Model MB - MD 1 - min(MB, MD) CF = { X + Y(1 - X) X, Y > 0 X + Y 1 - min(|X|, |Y|) One of X, Y < 0 - CFcombine(-X, -Y) X, Y < 0 CFcombine(X,Y) =

Additional Use of CFs Provide methods for search termination A B C D E In the case of branching in the inference sequencing paths should be kept distinct R1R2R3R4

Cutoff in Complex Inferences ABC DE F 0.9 R3 0.7 R4 R5 R1 R2 We should maintain to paths for cutoff (0.2), one being (E, D, C, B, A) and the other (F, C, B, A). If we had one path then E, D, C would drop to 0.19 and make C unusable later in path F, C, B, A.