CCSB354 ARTIFICIAL INTELLIGENCE

Slides:



Advertisements
Similar presentations
Modelling with expert systems. Expert systems Modelling with expert systems Coaching modelling with expert systems Advantages and limitations of modelling.
Advertisements

Chapter 11 user support. Issues –different types of support at different times –implementation and presentation both important –all need careful design.
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,
CS 484 – Artificial Intelligence1 Announcements Choose Research Topic by today Project 1 is due Thursday, October 11 Midterm is Thursday, October 18 Book.
Supporting Business Decisions Expert Systems. Expert system definition Possible working definition of an expert system: –“A computer system with a knowledge.
Inferences The Reasoning Power of Expert Systems.
ICT IGCSE Expert Systems.
Intelligent systems Lecture 6 Rules, Semantic nets.
4 Intelligent Systems.
Rule Based Systems Michael J. Watts
Expert System Human expert level performance Limited application area Large component of task specific knowledge Knowledge based system Task specific knowledge.
© C. Kemke1Expert Systems Tasks COMP 4200: Expert Systems Dr. Christel Kemke Department of Computer Science University of Manitoba.
© C. Kemke1Reasoning - Introduction COMP 4200: Expert Systems Dr. Christel Kemke Department of Computer Science University of Manitoba.
Chapter 11 Artificial Intelligence and Expert Systems.
Artificial Intelligence
1 5.0 Expert Systems Outline 5.1 Introduction 5.2 Rules for Knowledge Representation 5.3 Types of rules 5.4 Rule-based systems 5.5 Reasoning approaches.
Lecture 04 Rule Representation
CIS 430 ( Expert System ) Supervised By : Mr. Ashraf Yaseen Student name : Ziad N. Al-A’abed Student # : EXPERT SYSTEM.
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.
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
Introduction • Artificial intelligence: science of enabling computers to behave intelligently • Knowledge-based system (or expert system): a program.
MSIS 110: Introduction to Computers; Instructor: S. Mathiyalakan1 Specialized Business Information Systems Chapter 11.
Building Knowledge-Driven DSS and Mining Data
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.
Expert System Note: Some slides and/or pictures are adapted from Lecture slides / Books of Dr Zafar Alvi. Text Book - Aritificial Intelligence Illuminated.
Artificial Intelligence Lecture No. 15 Dr. Asad Ali Safi ​ Assistant Professor, Department of Computer Science, COMSATS Institute of Information Technology.
Intelligent Decision Support Systems By Dr.S.Sridhar,Ph.D., RACI(Paris),RZFM(Germany),RMR(USA),RIEEEProc. web-site :
DSS defined: It is a system which provides tools to managers to assist them in solving semi structured problem in their own personalized way. DSS is not.
CSNB234 ARTIFICIAL INTELLIGENCE
PLUG IT IN 5 Intelligent Systems. 1.Introduction to intelligent systems 2.Expert Systems 3.Neural Networks 4.Fuzzy Logic 5.Genetic Algorithms 6.Intelligent.
11 C H A P T E R Artificial Intelligence and Expert Systems.
Explanation Facility دكترمحسن كاهاني
Artificial Intelligence
Course Instructor: K ashif I hsan 1. Chapter # 2 Kashif Ihsan, Lecturer CS, MIHE2.
IDDS: Rules-based Expert Systems
Chapter 9: Rules and Expert Systems Lora Streeter.
 Architecture and Description Of Module Architecture and Description Of Module  KNOWLEDGE BASE KNOWLEDGE BASE  PRODUCTION RULES PRODUCTION RULES 
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.
Chapter 13 Artificial Intelligence and Expert Systems.
Overview Of Expert System Tools Expert System Tools : are all designed to support prototyping. Prototype : is a working model that is functionally equivalent.
Course Instructor: K ashif I hsan 1. Chapter # 3 Kashif Ihsan, Lecturer CS, MIHE2.
Expert System Note: Some slides and/or pictures are adapted from Lecture slides / Books of Dr Zafar Alvi. Text Book - Aritificial Intelligence Illuminated.
1 Computer Group Engineering Department University of Science and Culture S. H. Davarpanah
ES component and structure Dr. Ahmed Elfaig The production system or rule-based system has three main component and subcomponents shown in Figure 1. 1.Knowledge.
PLUG IT IN 5 Intelligent Systems. 1.Introduction to intelligent systems 2.Expert Systems 3.Neural Networks 4.Fuzzy Logic 5.Genetic Algorithms 6.Intelligent.
CCSB354 ARTIFICIAL INTELLIGENCE Chapter 8 Introduction to Expert Systems Chapter 8 Introduction to Expert Systems Instructor: Alicia Tang Y. C. (Chapter.
 Negnevitsky, Pearson Education, Introduction, or what is knowledge? Knowledge is a theoretical or practical understanding of a subject or a domain.
Of An Expert System.  Introduction  What is AI?  Intelligent in Human & Machine? What is Expert System? How are Expert System used? Elements of ES.
Artificial Intelligence
ITEC 1010 Information and Organizations Chapter V Expert Systems.
1 Knowledge-Based Decision Support : Artificial Intelligence and Expert Systems Chapter 10 g 曾文駒 g 柯文周.
1 Chapter 13 Artificial Intelligence and Expert Systems.
Expert Systems Chapter Artificial IntelligenceChapter 82 Expert System p. 547 MYCIN (1976) see section 8.2 backward chaining + certainty factor.
EXPERT SYSTEMS BY MEHWISH MANZER (63) MEER SADAF NAEEM (58) DUR-E-MALIKA (55)
By Muhammad Safdar MCS [E-Section].  There are times in life when you are faced with challenging decisions to make. You have rules to follow and general.
Decision Support and Business Intelligence Systems (9 th Ed., Prentice Hall) Chapter 12: Artificial Intelligence and Expert Systems.
Lecture 20. Recap The main components of an ES are –Knowledge Base (LTM) –Working Memory (STM) –Inference Engine (Reasoning)
Intelligent Systems Development
Advanced AI Session 2 Rule Based Expert System
Lecture #1 Introduction
CHAPTER 1 Introduction BIC 3337 EXPERT SYSTEM.
Introduction Characteristics Advantages Limitations
Architecture Components
Intro to Expert Systems Paula Matuszek CSC 8750, Fall, 2004
전문가 시스템(Expert Systems)
Presentation transcript:

CCSB354 ARTIFICIAL INTELLIGENCE Chapter 7 Introduction to Expert Systems (Chapter 8, Textbook) (Chapter 3 & Chapter 6, Ref. #1) Instructor: Alicia Tang Y. C.

EXPERT SYSTEM (ES) Definition ES is a set of computer programs that can advise, consult, diagnose, explain, forecast, interpret, justify, learn, plan and many more tasks that require ‘intelligence’ to perform.

From Oxford Science Publication An expert system is defined as “a computerized clone of a human expert”

EXPERT SYSTEMS: CHARACTERISTICS Perform at a level equivalent to that of a human expert. Highly domain specific. Adequate response time Can explain its reasoning. It can propagate uncertainties and provide alternate solutions through probabilistic reasoning or fuzzy rules .

AN EXPERT AND A SHELL ES SHELL EXPERT: A special purpose tool designed for certain types of applications in which user supply only the knowledge base (e.g. EMYCIN) It isolates knowledge-bases from reasoning engine Hence software portability can be improved EXPERT: An expert in a particular field is a person who possess considerable knowledge of his area of expertise Domain-specific

Shell Concept for Building Expert Systems KB e.g. rules Consultation Manager KB Editors & debugger shell Inference Engine Explanation Program KBMF

Comparison (I) Expert Systems Conventional Systems knowledge base is separated from the processing (inference) mechanism program may make mistake (we want it to make mistake!) the system can operate with only a few rules (as the first prototype) execution is done by using heuristic and logic changes in the rules are easy to accomplish Conventional Systems information & its processing are combined in one sequential program programs do not make mistake (but programmers do make it) the system operates only when it is completed execution is done on a step-by-step basis changes in programs are tedious

Comparison (II) Conventional Systems do not usually explain why or how conclusions were drawn need complete information to operate Efficiency is a major goal easily deal with quantitative data Expert Systems explanation is part of most ES can operate with incomplete or uncertain information Effective is the major goal easily deal with quantitative data

RIGHT TASKS FOR RIGHT SYSTEMS Facts that are known Expertise available but is expensive Those involved Analyzing large/diverse data E.g. Production scheduling & planning, diagnosing and troubleshooting, etc.

Generic Categories of Expert Systems (1) Diagnosis inferring system malfunctions from observations Interpretation inferring situation descriptions from observation Prediction inferring likely consequences of given situations

Generic Categories of Expert Systems (2) Design configuring objects under constraints Planning developing plans to achieve goals Repair executing a plan to administer a prescribed remedy Others Debugging, Monitoring & control, Instruction

BENEFITS OF EXPERT SYSTEMS (I) Expertise in a field is made available to many more people (even when human expert is not present). Top experts’ knowledge gets saved rather than being lost, when they retire “Systematic”; no factors forgotten. Easy to keep on adding new knowledge Allows human experts to handle more complex problems rapidly and reliably.

EXAMPLES of EXPERT SYSTEMS MYCIN USES RULE-BASED SYSTEM, GOAL-DRIVEN EMPLOYED CF TO DERIVE CONCLUSION PROSPECTOR INCOPORATED BAYES THEOREM (PROBABILITY) Interpret geologic data for minerals XCON RULE-BASED SYSTEM, DATA-DRIVEN REVEAL FUZZY LOGIC USED CENTAUR RULES AND FRAMES-BASED SYSTEM DENTRAL – interpret molecular structure HEARSAY I – for speech recognition

LIMITATIONS Systems are superficial Rapid degradation of performance Interfaces are crude (not impressive) No GUI Inability to adapt to more than one type of reasoning (in most cases)

TYPICAL STRUCTURE OF AN EXPERT SYSTEM Consultation Environment (Use) Development Environment (Knowledge Acquisition) User Expert Facts of the Case Recommendation, Explanation User Interface Explanation Facility Knowledge Engineer Inference Engine Facts of the Case Knowledge Acquisition Facility Working Memory Knowledge Base Domain Knowledge (Elements of Knowledge Base)

Key components of an Expert Systems Another view: Key components of an Expert Systems

Explanation Facility Why need it? It provides sound reasoning besides quality result. Common types question seeking for an explanation “How” a conclusion was reached? “Why” a particular question was asked?

Importance of Explanation It can influence the ultimate acceptance of an Expert System. It can serve as a debugging tool. It is used as a tutoring system for new knowledge engineer in a project team. Who needs explanation? our clients: in order to convince them to buy. the knowledge engineer: to check if all specifications are met?

Approaches Used (1) Canned Text Problem: Prepared in advance all questions and answers as text strings When a question is asked, the system will find explanation module and displays the corresponding answer Problem: Difficult to secure consistency when the KB size grows bigger It is only suitable for slow changing system

Approaches Used (2) Paraphrase Tree Traversing is used For examples, to answer “why..’ and ‘how..’ types of question The explanation module will look up a search tree to answer “WHY this happened..” The explanation module will look down the tree to see sub goals that were satisfied to achieve the goal state

Most expert systems are rule-based. Rule-based Systems Recall that: Most expert systems are rule-based.

FACTS AND RULES (revisited) A mammal is an animal A bird is an animal Adam is a man Ben drives a car RULES : If a person has RM1,000,000 then he is a millionaire. If an animal builds a nest and lays eggs then the animal is a bird.

Examples of rules: Rule 1: if you work hard and smart then you will pass all examinations Rule 2: if the food is good then give tips to the waiter Rule 3: if a person has US1,000,000 then he is a millionaire

Forward Chaining and Backward Chaining

Reasoning (Chaining) Systems Forward chaining it is used to predict the outcome from various facts Facts are conditions in a rule It is also used to find a suitable goal that all factors can be satisfied Backward chaining it is useful when trying to determine the reason once something has occurred It is used when the result for a problem is already found, and we want to know how

Inference Strategies (I) Conclusion (Goals) Many Possibilities Input Data (a) Forward Chaining

Inference Strategies (II) Conclusion (Goals) Input Data Few Possibilities (b) Backward Chaining

Exercise #1 You have seen what tasks are “just right” for ES and now you are required to answer the following question: List a “Too hard” task for computers and explain briefly why they are said too difficult. And, why?

For your information… supplementary topic

RULE-BASED VALIDATION There are essentially 5 types of inconsistency that may be identified, these are: Redundant rules Conflicting rule Subsumed Unnecessary Premise(IF) Clauses Circular rules

REDUNDANT RULES Rule 1 IFA = X AND B= Y THEN C = Z Rule 2 IF B=Y AND A=X THEN C=Z AND D=W Rule 1 is made redundant by rule 2.

CONFLICTING RULES Rule 1 IF A = X AND B= Y THEN C = Z Rule 2 IF A=X AND B=Y THEN C=W Rule 1 is subsumed by rule 2 thus becomes unnecessary.

SUBSUMED RULES Rule 1 if A = X AND B= Y THEN C = Z Rule 2 if A=X THEN C=Z to be revised.

UNNECESSARY PREMISE (IF) CLAUSES Rule 1 IF A = X AND B= Y THEN C = Z Rule 2 IF A=X AND NOT B=Y THEN C=Z Remove B=Y and NOT B=Y to have just one rule.

CIRCULAR RULES Rule 1 IF A = X THEN B = Y Rule 2 IF B=Y AND C=Z THEN DECISION=YES Rule 3 IF DECISION=YES THEN A = X Restructure these rules !

Example Select Auto is an expert system designed to assist a user to make a right decision of buying a new car. It will review prospective cars that match with users’ need and preference

The car is made in Quality is 1. the United State 2. foreign countries 3. Don’t know 2 Quality is 1. the highest concern 2. of high concern 3. of moderate concern 4. Don’t know 1

Price of the car is RULE NUMBER: 5 1. important 2. unimportant 3. don’t know WHY RULE NUMBER: 5 IF Price of a car is important and (2) The payment is in installments THEN The monthly payment is determined

Price of the car is 1. important 2. unimportant 3. don’t know The monthly payment is no more than 1. $100 2. $150 3. $200 4. $250 4

The most considered factor in making a decision to buy a car is 1. Price 2. Fuel economy 3. quality 1, 3

Result Values based on -100 to +100 system VALUE Toyota Corolla 51 Proton Perdana 43