Expert Systems expert system (or knowledge-based system): a program which encapsulates knowledge from some domain, normally obtained from a human expert.

Slides:



Advertisements
Similar presentations
Chapter 11 Software Evolution
Advertisements

EXPERT SYSTEMS AND KNOWLEDGE REPRESENTATION Ivan Bratko Faculty of Computer and Info. Sc. University of Ljubljana.
Expert Systems Reasonable Reasoning An Ad Hoc approach.
Expert Systems Reasonable Reasoning An Ad Hoc approach.
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.
Inferences The Reasoning Power of Expert Systems.
B. Ross Cosc 4f79 1 Knowledge acquisition (Ch. 17 Durkin) knowledge engineering: building expert systems knowledge acquisition: process of extracting knowledge.
B. Ross Cosc 4f79 1 Forward chaining backward chaining systems: take high-level goal, and prove it by reducing it to a null goal - to reduce it to null,
B. Ross Cosc 4f79 1 Uncertainty Knowledge can have uncertainty associated with it - Knowledge base: rule premises, rule conclusions - User input: uncertain,
Chapter 12: Expert Systems Design Examples
Computer Intelligence and Soft Computing
Chapter 11 Artificial Intelligence and Expert Systems.
Artificial Intelligence CAP492
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
AI – CS364 Hybrid Intelligent Systems Overview of Hybrid Intelligent Systems 07 th November 2005 Dr Bogdan L. Vrusias
Knowledge Acquisition CIS 479/579 Bruce R. Maxim UM-Dearborn.
Marakas: Decision Support Systems, 2nd Edition © 2003, Prentice-Hall Chapter Chapter 7: Expert Systems and Artificial Intelligence Decision Support.
EXPERT SYSTEMS Part I.
Introduction • Artificial intelligence: science of enabling computers to behave intelligently • Knowledge-based system (or expert system): a program.
Lead Black Slide. © 2001 Business & Information Systems 2/e2 Chapter 11 Management Decision Making.
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
ICT in Healthcare Expert Systems.
Neural Networks. Background - Neural Networks can be : Biological - Biological models Artificial - Artificial models - Desire to produce artificial systems.
Expert Systems Expert systems are AI programs that solve a highly technical problem in some domain Expert systems are AI programs that solve a highly technical.
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.
What is Artificial Intelligence? AI is the effort to develop systems that can behave/act like humans. Turing Test The problem = unrestricted domains –human.
Notes for Chapter 12 Logic Programming The AI War Basic Concepts of Logic Programming Prolog Review questions.
B. Ross Cosc 4f79 1 Commercial tools Size of system: –small systems 400 rules single user, PC based –larger systems narrow, problem-type specific or hybrid.
11 C H A P T E R Artificial Intelligence and Expert Systems.
Artificial Intelligence
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.
 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.
Decision Support Systems (DSS) Information Systems and Management.
Impact of ICT on Society – Part the first ICT 1_6.
Soft Computing Lecture 19 Part 2 Hybrid Intelligent Systems.
Chapter 15: KNOWLEDGE-BASED INFORMATION SYSTEMS. What is Knowledge? Data: Raw facts, e.g., Annual Expenses = $2 million Information: Data given context,
B. Ross Cosc 4f79 1 Neural Nets Neural network or connectionist network: –a set of connected cells or computational units, and one-way connections between.
Fundamentals of Information Systems, Third Edition1 The Knowledge Base Stores all relevant information, data, rules, cases, and relationships used by the.
Use of Expert Systems for Application Systems Development.
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.
B. Ombuki Cosc 3P71 1 Expert System: A quick introductory overview reference material: R & N (1 st Edition): pages 217 –223 Some material adapted from.
1 Chapter 13 Artificial Intelligence and Expert Systems.
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 James Jennings Introduction  What is an Expert system?  expert system is a computer system that emulates the decision-making ability.
EXPERT SYSTEMS BY MEHWISH MANZER (63) MEER SADAF NAEEM (58) DUR-E-MALIKA (55)
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
CHAPTER 1 Introduction BIC 3337 EXPERT SYSTEM.
Introduction Characteristics Advantages Limitations
Chapter 9. Rules and Expert Systems
DSS & Warehousing Systems
Introduction to Expert Systems Bai Xiao
Architecture Components
Intro to Expert Systems Paula Matuszek CSC 8750, Fall, 2004
Chapter 9. Rules and Expert Systems
Presentation transcript:

Expert Systems expert system (or knowledge-based system): a program which encapsulates knowledge from some domain, normally obtained from a human expert in that domain components: Knowledge base (KB): repository of rules, facts (productions) working memory: (if forward chaining used) inference engine: the deduction system used to infer results from user input and KB user interface: interfaces with user external control + monitoring: access external databases, control aircraft rudders,...

Expert Systems Why use expert systems: commercial viability: whereas there may be only a few experts whose time is expensive and rare, you can have many expert systems expert systems can be used anywhere, anytime expert systems can have more knowledge than experts expert systems can explain their line of reasoning commercially beneficial: the first commercial product of AI Weaknesses: expert systems are as sound as their KB; errors in rules mean errors in diagnoses automatic error correction, learning is difficult (although machine learning research may change this) little common sense reasoning: “idiot savantes”

Steps in expert system building expert system building is a software engineering task, but with a twist: knowledge base KB will be continually refined, corrected, updated expert system design & implementation steps 1. initial proposal - identification of problem, expert(s), benefits 2. create a prototype 3. knowledge engineering: interview expert for many weeks (months) 4. implement expert’s expertise in KB 5. test expert system; go to 3 (let expert see results) 6. put in production ; refine errors when found

Knowledge engineering Knowledge engineering: the extraction of knowledge from an expert, and encoding it into machine-inferrable form K.E. is the most difficult part of expert system implementation the knowledge engineer must extract detailed info from an expert; but s/he is not expected to understand it the expert relies on years of experience and intuition: asking them to deconstruct knowledge is difficult and frustrating can also be political factors many strategies for knowledge engineering multiple KE’s multiple experts watch expert in the field continual expert feedback on expert system performance

Explanation Recall AND/OR trees: when you are asking why a particular action was performed at a node in the tree... how questions: recite the children why questions: recite the parent repeated how or why: go down/up further in the tree thus backward chaining expert systems naturally support explanation can be done during inference: when user is asked for data, s/he can ask “why” and a reason is given after expert advice is given, user can ask “how”, “why”, and even “why not” (ie. why did some rule fail) a great tool for KB debugging! forward chaining: explanation not as structured; usually, rule ID’s are generated showing which rules fired; canned text possible too

Reactive systems Forward- and backward-chaining expert systems can be reactive: explicit actions can be carried out (in addition to, or instead of, ‘advice’ or diagnoses) most common reactions: add a new fact, delete an existing fact from working memory with forward chaining: since assertions in working memory will fire rules, you may need to delete some in order to stop a rule from firing, and thus moving the deduction forward one potential danger of forward-chaining systems: unstructured KB and inference dump a load of rules and facts into KB, working memory let the forward chaining execute until a solution obtained but this permits ad hoc expert system design

Probabilistic expert systems Expertise is often intuitive, and facts can have ‘degrees’ of truth much research has been devoted to inventing new models of probabilistic deduction: eg. Certainty factors fuzzy logic statistical / Bayesian deduction multi-valued logics: true, false, unknown typical rule: (eg). IF patient has a fever (CF 0.90) patient’s forehead is blue (CF .75) THEN illness is Cat Scratch Fever (CF .5) weakness: these certainty factors are not statistically sound values; rather “pulled out of the air” by expert or KE CF’s are combined during deduction; multiple results can arise how legitimate are they? “GIGO”

Other expert system paradigms 1. Neural nets & machine learning neural net: network of linked nodes; threshold functions fire nodes examples of desired behaviour are obtained from expert, and converted to numeric vectors for a neural network the network is trained with an example set; output values are refined until network gives desired behaviour final system accepts general questions (converted to numeric values) and output reflects appropriate diagnoses rules can be extracted from neural net as well strengths: a ‘bottom-up’ approach to KB (vs. structured) perhaps human expertise is similarly acquired? weaknesses: what the heck is going on in the net???

Other expert systems paradigms 2. Inductive inference & machine learning rather than extract rules explicitly from expert, it’s easier to get table of example behaviours (like with neural nets) inductive inference: generalizes from finite example set to whole domain using ideas from information theory, a refined decision tree (if-then-else) is derived from examples strengths: examples are intuitive (simplifies knowledge acquisition phase)) can often find interesting patterns unknown by experts generates ‘traditional’ rule-based KB’s weaknesses: example set must be representative noise can be bad

Examples expert systems 1. Medical expert systems medical expert systems are an active area humanitarian uses: remote areas can have world-class expertise, eg. a laptop and CD ROM medical science is complex; expert systems are intelligent advisors and assistants MYCIN - diagnoses bacterial blood infections uses certainty factors: ranked diagnoses are generated EMYCIN: empty MYCIN - the “shell” of MYCIN for use in other applications CADUCEUS: expert system with entire internal medicine KB: huge! it’s been active since 1970’s

Example expert systems 2. XCON configures VAX systems from user requirements DEC uses it; has increased throughput of system design 10,000 rules said to have replaced X system designers with 4X expert system maintainers! 3. DELTA/CATS diesel electric locomotive trouble shooter problem: system maintenance 4. Jonathan’s Wave commodities trading incorporates several expert’s approaches runs in Prolog and C lots of AI groups on Wall Street!

Example expert systems 5. Codecheck expert system to evaluate C source code complexity, formatting, standards and portability adherence identifies overly complex code (prime source of program problems!) 6. CHORAL expert system for harmonizing chorales in the style of J.S. Bach similar system: harmonic analysis of tonal music rules obtained from: studying composers music, musicologists some systems used for composition (with interesting results)

The state of the art Expert systems are now ubiquitous still lots of active research: probabilistic knowledge and deduction large system maintenance knowledge acquisition popular domains industrial, financial, medical legal: interpret laws “by the book” education: intelligent tutoring Some domains remain difficult to implement those requiring ‘artistic’ creativity and skill those requiring common sense: the idiot savante syndrome