Introduction to 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

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.
ICT IGCSE Expert Systems.
Rule Based Systems Alford Academy Business Education and Computing
Chapter 11 Artificial Intelligence and Expert Systems.
Introduction to Expert Systems
Artificial Intelligence
Lecture 04 Rule Representation
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
Marakas: Decision Support Systems, 2nd Edition © 2003, Prentice-Hall Chapter Chapter 7: Expert Systems and Artificial Intelligence Decision Support.
EXPERT SYSTEMS Part I.
Building Knowledge-Driven DSS and Mining Data
ES: Expert Systems n Knowledge Base (facts, rules) n Inference Engine (software) n User Interface.
Artificial Intelligence CSC 361
An expert system is a package that holds a body of knowledge and a set of rules on a subject that has been gained from human experts. An expert system.
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.
E XPERT S YSTEMS /S IMULATIONS By: Kevin Driscoll and Toby Laforest.
COM362 Knowledge Engineering Classic Case Studies 1 John MacIntyre
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.
11 C H A P T E R Artificial Intelligence and Expert Systems.
Chapter 1: Introduction to Expert Systems Expert Systems: Principles and Programming, Fourth Edition.
Course Instructor: K ashif I hsan 1. Chapter # 2 Kashif Ihsan, Lecturer CS, MIHE2.
IDDS: Rules-based Expert Systems
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.
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.
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.
Expert Systems. L EARNING O BJECTIVES : By the end of this topic you should be able to: explain what is meant by an expert system describe the components.
Clinical Decision Support 1 Historical Perspectives.
Expert Systems. Learning Objectives: By the end of this topic you should be able to: explain what is meant by an expert system describe the components.
 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.
ITEC 1010 Information and Organizations Chapter V Expert Systems.
Artificial Intelligence, simulation and modelling.
1 Chapter 13 Artificial Intelligence and Expert Systems.
Survey on Expert System Seung Jun Lee Dept. of Nuclear and Quantum Engineering KAIST Mar 3, 2003.
Expert System / Knowledge-based System Dr. Ahmed Elfaig 1.ES can be defined as computer application program that makes decision or solves problem in a.
Artificial Intelligence: Applications
EXPERT SYSTEMS BY MEHWISH MANZER (63) MEER SADAF NAEEM (58) DUR-E-MALIKA (55)
Expert Systems. Knowledge base Inference engine ReasoningControl User interface user Components of an rule based Expert System.
Expert Systems Directors : Prof. Zixing Cai &Miss WenSha
Advanced AI Session 2 Rule Based Expert System
Fundamentals of Information Systems
Lecture #1 Introduction
CHAPTER 1 Introduction BIC 3337 EXPERT SYSTEM.
Introduction Characteristics Advantages Limitations
Artificial Intelligence, P.I
Introduction to Expert Systems Bai Xiao
Artificial Intelligence
Component 11: Configuring EHRs
Architecture Components
Knowledge Representation
MANAGING KNOWLEDGE FOR THE DIGITAL FIRM
Intro to Expert Systems Paula Matuszek CSC 8750, Fall, 2004
Artificial Intelligence introduction(2)
MYCIN  MYCIN was an early backward chaining expert system that used artificial intelligence to identify bacteria causing severe infections, such as bacteremia.
KNOWLEDGE REPRESENTATION
Expert Systems.
TOPIC: Course Name Informational Technology Management Course Code
전문가 시스템(Expert Systems)
Knowledge-Based Systems
Presentation transcript:

Introduction to Artificial Intelligence Lecture # 3

Expert system Expert system is an artificial intelligence program that has expert-level knowledge about a particular domain and knows how to use its knowledge to respond properly. Domain refers to the area within which the task is being performed. Ideally the expert systems should substitute a human expert.  Edward Feigenbaum of Stanford University has defined expert system as “an intelligent computer program that uses knowledge and inference procedures to solve problems that are difficult enough to require significant human expertise for their solutions.” It is a branch of artificial intelligence introduced by researchers in the Stanford Heuristic Programming Project. One of the most important trends in computing is making computers behave intelligently. The software underneath this intelligent behavior is called an expert system, sometimes also called a knowledge based system, or knowledge system. An expert system is a computer program that reasons about a problem in much the same way, and with about the same performance, as specialists.

Expert system The expert systems is a branch of AI designed to work within a particular domain. As an expert is a person who can solve a problem with the domain knowledge in hands it should be able to solve problems at the level of a human expert. The source of knowledge may come from a human expert and/or from books, magazines and internet. As knowledge play a key role in the functioning of expert systems they are also known as knowledge-based systems and knowledge-based expert systems. The expert’s knowledge about solving the given specific problems is called knowledge domain of the expert.

So, ES is a computer application that performs a task that would otherwise be performed by a human expert. For example, there are expert systems that can diagnose human illnesses, make financial forecasts, and schedule routes for delivery vehicles. Some expert systems are designed to take the place of human experts, while others are designed to aid them. To design an expert system, one needs a knowledge engineer, an individual who studies how human experts make decisions and translates the rules into terms that a computer can understand.

PERFORMANCE Performance of the expert system is based on following methods:- Knowledge engineering:- Building an expert system is known as KNOWLEDGE ENGINEERING. In this knowledge gathers from subject matter experts and then codifying this knowledge according to the formalism. Persons doing this are called KNOWLEDGE ENGINEER.

COMPONENTS OF EXPERT SYSTEMS

COMPONENTS OF EXPERT SYSTEMS An expert system is divided into two sub-systems: knowledge base , reasoning/inference engine and rules. The knowledge base represents facts and rules. The inference engine applies the rules to the known facts to deduce new facts.  And rule is a conditional statement that links given conditions to actions or outcomes

Knowledge Representation Knowledge is represented in a computer in the form of rules (Production rule). Consists of an IF part and THEN part. IF part lists a set of conditions in some logical combination. If the IF part of the rule is satisfied; consequently, the THEN part can be concluded. Knowledge representation formalizes and organizes the knowledge. One widely used representation is the production rule, or simply rule. A rule consists of an IF part and a THEN part (also called a condition and an action). The IF part lists a set of conditions in some logical combination. In a rule-based expert system, the domain knowledge is represented as sets of rules that are checked against a collection of facts or knowledge about the current situation. When the IF portion of a rule is satisfied by the facts, the action specified by the THEN portion is performed. When this happens the rule is said to "fire" or "execute". A rule interpreter compares the IF portions of rules with e facts and executes the rule whose IF portion matches the facts.

Knowledge Representation If flammable liquid was leaked then call the fire department. If the material is acid and smells like vinegar then the leak material is acetic acid. If flammable liquid was spilled then call the fire department. If the material is acid and smells like vinegar then the spill material is acetic acid. These are rules that might exist in a crisis management expert system for containing oil and chemical spills.

Basic Concept of an Expert System Function The expert system consists of two major components: knowledge base and inference engine. Knowledge base contains the domain knowledge which is used by the inference engine to draw conclusions. The inference engine is the generic control mechanism that applies the obvious knowledge to the task-specific data to arrive at some conclusion. When a user supplies facts or relevant information of query to the expert system he receives advice or expertise in response. That is given the facts it uses the inference engine which in turn uses the knowledge base to infer the solution.

Knowledge base It is expert systems contain both factual and heuristic knowledge. Factual knowledge is that knowledge of task domain that is widely shared, typically found in textbooks or journals. Heuristic knowledge is less exhaustive, more experiential, more judgmental knowledge of performance.

Reasoning Two methods of reasoning when using inference rules: Backward chaining: it starts with list of goals and works backward if there is data which will allow it to conclude these goals. Forward chaining: it starts with data available and then concludes a desired goal.

CHARACTERISTICS OF EXPERT SYSTEMS High performance: They should perform at the level of a human expert. Adequate response time: They should have the ability to respond in a reasonable amount of time. Time is crucial especially for real time systems. Reliability: They must be reliable and should not crash. Understandable: They should not be a black box instead it should be able explain the steps of the reasoning process. It should justify its conclusions in the same way a human expert explains why he arrived at particular conclusion.

Some Prominent Expert Systems Dendral Mycin PXDES R1/Xcon Two early expert systems broke ground in the healthcare space for medical diagnoses: Dendral, which helped chemists identify organic molecules, and MYCIN, which helped to identify bacteria to recommend antibiotics and dosages. Dendral analyse mass spectra Dipmeter Advisor analysis of data gathered during oil exploration Mycin diagnose infectious blood diseases and recommend antibiotics (by Standford University) R1 (expert system)/XCon order processing

Expert system-MYCIN An early expert system developed in early 1970s at Stanford University <<Rule-Based Expert Systems: The MYCIN Experiments of the Stanford Heuristic Programming Project >> This expert system was designed to identify bacteria causing severe infections Now, we’ll get a knowledge of a very famous Expert system-MYCIN. (念PPT)

Reasoning & Problem solving strategy MYCIN could use backward chaining to find out whether a possible bacteria was to blame. “Certainty factor” is used for an assessment of the likelihood of one bacteria. MYCIN’s problem solving strategy was simple: For each possible bacteria: Using backward chaining, try to prove that it is the case, finding the certainty. Find a treatment which ” covers” all the bacteria above some level of certainty. 治疗疾病:Cure Disease

MYCIN: Problem Solving When trying to prove a goal through backward chaining, system could ask user certain questions. Certain facts are marked as “askable”, so if they couldn’t be proved, ask the user. The ask procedure is carried out in following style of dialogue: MYCIN: Has the patient had neurosurgery? USER: No. MYCIN: IS the patient a burn patient? … MYCIN: It could be Diplococcus.. Neuro-surgery [njuərəu ‘sə:dʒəri] 神经外科

Modeling Human Diagnostic Strategies Problem Solving Strategy used in MYCIN only works when small number of hypotheses (e.g., bacteria). For hundreds of possible diseases, need a better strategy. Later medical diagnostic systems used an approach based on human expert reasoning. Let’s have an analysis about the defects and development trend of MYCIN. (念PPT) Diagnostic [daiəg nɔstik] 诊断的

EXAMPLES OF ES IN MEDICAL -PXDES It is example of medical expert system. It is a lung disease, X-ray diagnosis. It takes our lungs picture from upper side of body which looks like a shadow. The shadow is used to determine the type and degree of harmness. These systems include three modes: The knowledge base The explanation interface The knowledge acquisition

Contd.. (1) KNOWLEDGE BASE:- It contains the data of X-ray representations of various stages of the disease.  (2) EXPLANATION INTERFACE:- It details the conclusion. (3) KNOWLEDGE ACQUISITION:- It allow medical experts to add or change information in the system.

Medical Expert Systems Today Medical expert systems were quite effective in evaluations comparing their performance with human experts. Support the physicians decisions, rather than doing the whole diagnosis. Include many useful support materials, such as report generating tools, reference material etc.

ADVANTAGES OF EXPERT SYSTEMS Availability: Expert systems are available easily due to mass production software. Cheaper: The cost of providing expertise is not expensive. Reduced danger: They can be used in any risky environments where humans cannot work with. Permanence: The knowledge will last long indefinitely. Multiple expertise: It can be designed to have knowledge of many experts. Explanation: They are capable of explaining in detail the reasoning that led to a conclusion. Fast response: They can respond at great speed due to the inherent advantages of computers over humans. Unemotional and response at all times: Unlike humans, they do not get tense, fatigue or panic and work steadily during emergency situations.

Expert System Technology There are several levels of ES technologies available. Two important things to keep in mind when selecting ES tools include: The tool selected for the project has to match the capability and sophistication of the projected ES, in particular, the need to integrate it with other subsystems such as databases and other components of a larger information system. 2. The tool also has to match the qualifications of the project team.

Expert System Technology Expert systems technologies include: 1. Specific expert systems These expert systems actually provide recommendations in a specific task domain. 2. Expert system shells - Collection of software packages & tools to design, develop, implement, and maintain expert systems. - are the most common vehicle for the development of specific ESs. A shell is an expert system without a knowledge base.

Expert System Technology A shell furnishes the ES developer with the inference engine, user interface, and the explanation and knowledge acquisition facilities. Expert system shells are the software containing an interface, an inference engine, and the formatted skeleton of a knowledge base. In essence, an expert system shell is an empty bowl to be filled with the expert knowledge elements that the inference engine may process for users. Domain-specific shells are actually incomplete specific expert systems, which require much less effort in order to field an actual system.

Contd.. 3. Expert system development environments - these systems expand the capabilities of shells in various directions. They run on engineering workstations, minicomputers, or mainframes; offer tight integration with large databases; and support the building of large expert systems. 4. High-level programming languages Several ES development environments have been rewritten from LISP into a procedural language more commonly found in the commercial environment, such as C or C++. ESs are now rarely developed in a programming language.

END OF LECTURE # 3