Famous Expert Systems Before expert systems ("in the beginning...")

Slides:



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

Configuration management
EXPERT SYSTEMS AND KNOWLEDGE REPRESENTATION Ivan Bratko Faculty of Computer and Info. Sc. University of Ljubljana.
Rules, page 1 CSI 4106, Winter 2005 Representing knowledge with rules Points Definitions Production systems Conflict resolution strategies Examples A financial.
© Chinese University, CSE Dept. Software Engineering / Software Engineering Topic 1: Software Engineering: A Preview Your Name: ____________________.
B. Ross Cosc 4f79 1 Frames Knowledge bases can be enhanced by using principles from frame knowledge representation (similar to object orientation) This.
Expert System Shells - Examples
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,
Chapter 12: Expert Systems Design Examples
Chapter 6: Design of Expert Systems
Introduction to Expert Systems
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.
Building Knowledge-Driven DSS and Mining Data
Oct 30, 2001 Richard Fateman1 Do Math Making Computers Do Math Prof. Richard Fateman Fall, 2001 University of California, Berkeley.
Artificial Intelligence CSC 361
Sepandar Sepehr McMaster University November 2008
1 Backward-Chaining Rule-Based Systems Elnaz Nouri December 2007.
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.
Rule-Based Expert Systems. Expert Systems  Acknowledge that computers do not posses general knowledge (common sense)  Attempt to train computer in a.
Intelligent Decision Support Systems By Dr.S.Sridhar,Ph.D., RACI(Paris),RZFM(Germany),RMR(USA),RIEEEProc. web-site :
Introduction to Expert Systems. 2 Objectives Learn the meaning of an expert system Understand the problem domain and knowledge domain Learn the advantages.
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.
COMPUTER PROGRAMMING Source: Computing Concepts (the I-series) by Haag, Cummings, and Rhea, McGraw-Hill/Irwin, 2002.
RUP Implementation and Testing
Presented by Mohammad Saniee December 2, 2003
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.
Chapter 1: Introduction to Expert Systems Expert Systems: Principles and Programming, Fourth Edition.
Artificial Intelligence
Course Instructor: K ashif I hsan 1. Chapter # 2 Kashif Ihsan, Lecturer CS, MIHE2.
School of Computer Science and Technology, Tianjin University
MathCore Engineering AB Experts in Modeling & Simulation WTC.
Expert Systems An Introduction to Expert Systems and CLIPS by Charles Weddle.
 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.
Introduction From: Chapter 1, Building Expert Systems in Prolog, htm.
CSC 554: Knowledge-Based Systems Part-1 By Dr. Syed Noman Hasany Assistant Professor, CoC Qassim University.
Jess: A Rule-Based Programming Environment Reporter: Yu Lun Kuo Date: April 10, 2006 Expert System.
CS62S: Expert Systems Requirements Specification and Design Based on Chap. 12: The Engineering of Knowledge-based Systems: Theory and Practice, A. J. Gonzalez.
Overview Of Expert System Tools Expert System Tools : are all designed to support prototyping. Prototype : is a working model that is functionally equivalent.
Evaluating a UI Design Expert inspection methods Cognitive Walkthrough
Course Instructor: K ashif I hsan 1. Chapter # 3 Kashif Ihsan, Lecturer CS, MIHE2.
3.2 Semantics. 2 Semantics Attribute Grammars The Meanings of Programs: Semantics Sebesta Chapter 3.
Dendral: A Case Study Lecture 25.
CS 127 Introduction to Computer Science. What is a computer?  “A machine that stores and manipulates information under the control of a changeable program”
1 Knowledge Acquisition and Learning by Experience – The Role of Case-Specific Knowledge Knowledge modeling and acquisition Learning by experience Framework.
Clinical Decision Support 1 Historical Perspectives.
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
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.
Week 1 Reference (chapter 1 in text book (1)) Dr. Fadi Fayez Jaber Updated By: Ola A.Younis Decision Support System.
Survey on Expert System Seung Jun Lee Dept. of Nuclear and Quantum Engineering KAIST Mar 3, 2003.
Artificial Intelligence: Applications
Decision Support and Business Intelligence Systems (9 th Ed., Prentice Hall) Chapter 12: Artificial Intelligence and Expert Systems.
Artificial Intelligence
Expert Systems Directors : Prof. Zixing Cai &Miss WenSha
CHAPTER 1 Introduction BIC 3337 EXPERT SYSTEM.
Introduction Characteristics Advantages Limitations
Introduction to Expert Systems Bai Xiao
Architecture Components
Chapter 6: Design of Expert Systems
© 2005 Prentice Hall, Decision Support Systems and Intelligent Systems, 7th Edition, Turban, Aronson, and Liang 10-1 Chapter 10 Intelligent Decision Support.
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.
Generic Tasks In the 80’s, KB engineering used approaches like this:
Presentation transcript:

Famous Expert Systems Before expert systems ("in the beginning...") • Detailed Operation Procedures (DOP's): used by aeronautics industry and NASA, they are expert knowledge codified in written form. - Not implemented on a computer. However, using a DOP is like manually following an algorithm by hand (ignizio p.49) • Heuristic programming: use heuristics to solve large, complex computational problems (early 1960's) - Controversy whether expert systems are just examples of heuristic programming

1. DENDRAL • First expert system • Project began at Stanford in mid 1960's, and is still being used. • Domain: Organic chemistry - mass spectrometry • Task: identify molecular structure of unknown compounds from mass spectra data • Input: Histogram giving mass number/intensity pairs • Output: Description of structure of the compound • Architecture: plan-generate-test with constrained heuristic search • Tools: production rules implemented in Lisp • Results: "Discovery" of knowledge engineering. Many published results.

DENDRAL Winston

DENDRAL Winston

DENDRAL Winston p. 200

DENDRAL Procedure: 1. Spectra data given as input 2. Preliminary analysis determines - necessary compounds -- spectra data - forbidden compounds -- spectra data, expert knowledge 3. Generate and test: a) structure enumerator: can generate all possible compounds - Takes necessary and forbidden lists, and creates a new possible compound - output is formula b) spectra synthesizer: generates spectra data for this compound c) matcher - matches synthesized spectra with actual one - compound with best fit is the one • Note: all compounds checked. Complexity reduced because of the pruning done in step 2

DENDRAL • Example rule for analyzer: Winston 201 • Matcher is involved: needs expert knowledge in knowing when some peaks are more important than others

2. MACSYMA • Developed at MIT since 1968 onwards • Domain: high-performance symbolic math (algebra, calculus, differential equations,...) • Task: carry out complex mathematical derivations • Input: formulae and commands (interactive) • Output: Solutions to tough problems • Method: Brute force (expert techniques are encoded as algorithm) • Architecture: programmed in Lisp (300,000 lines of code) • Results: Widely used, powerful system.

MACSYMA p.136-7 Harmon

3. Hearsay I and II • Developed at Carnegie-Mellon in late 1960's • Domain: speech understanding for simple database query • Task: Using specific vocabulary and grammar criteria, generate correct speech recognition • Input: Speech wave • Output: Ordered list of hypotheses of what was said, plus database query based on best guess • Architecture: Opportunistic, agenda-based reasoning, using "blackboard" to record hypotheses from multiple independent knowledge sources • (Definition: Blackboard: common working memory for independent systems) • Tools: Programmed in SAIL

HEARSAY • Results: - proved feasibility of automated speech recognition - pioneering effort in system architecture techniques - blackboard for multiple knowledge sources - power of symbolic computation over purely statistical ones - Spawned other expert system projects.

HEARSAY Harmon 138

HEARSAY Harmon 139

4. INTERNIST/CADUCEUS • Developed at U of Pittsburgh in early 1970's, and used ever since • Domain: diagnostic aid for all of internal medicine • Task: medical diagnosis given interactive input • Input: Answers to interactive queries • Output: ordered set of diagnoses • Architecture: forward chaining with with "scores" for diseases • Tools: programmed in Lisp • Results: widely used, still being developed.

INTERNIST p.141-144 Harmon

INTERNIST

5. MYCIN • Stanford U in mid 70's • Domain: Medical diagnosis for bacterial and meningitis infections • Task: interview physician, make diagnosis and therapy recommendations • Input: Answers to queries • Output: Ordered set of diagnoses and therapies • Architecture: rule-based exhaustive backward chaining with uncertainty • Tools: programmed in LISP (shell called EMYCIN -- empty MYCIN) • Results: not in general use, but was ground-breaking work in diagnostic consultation systems •

MYCIN p.16-20 Harmon

6. Prospector • Developed at SRI international in late 1970's • Domain: exploratory geology • Task: evaluate geological sites • Input: geological survey data • Output: maps and site evaluations • Architecture: rule-like semantic net with uncertainty • Tools: programmed in LISP, and is a descendant of MYCIN • Results: In one blind test, the program identified a previously undiscovered site, thus showing commercial viability of expert systems.

PROSPECTOR p. 146 Harmon

PROSPECTOR p. 145 Harmon

7. PUFF • Developed at Stanford in 1979 • Domain: Diagnosis of obstructive airway diseases using MYCIN's inference engine and a new knowledge base • Task: Take data from instruments and dialog, and diagnose type and severity of disease • Input: instruments, queries • Output: Written report for physician to review and annotate • Architecture: rule-based, exhaustive backward chaining with uncertainty • Tools: EMYCIN (Empty MYCIN) • Results: Reports correct 86% of the time. A 55-rule system is in daily use, running in Basic!

PUFF p.150 Harmon

PUFF p. 151 Harmon

8. XCON (R1) • Originally called R1, developed at Carnegie Mellon and DEC in late 70's • Domain: configure computer hardware • Task: configure VAX systems by projecting the need for subassemblies given a high-level description of the system • Input: Vax system description • Output: list of parts, accessories, and a plan for assembly • Architecture: forward-chained, rule-based, with almost no backtracking • Tools: OPS5, a production system tool • Results: In use by DEC and performs better than previous experts (since fired)

XCON p. 156 Harmon

XCON • as of 1991, XCON has 8000 (!) production rules • a serious problem has developed: maintenance • has been said that XCON replaced 75 experts with 150 XCON maintainers • shows the need for developing better maintenance systems for large expert systems (and other large software systems)

Some other famous systems • DELTA/CATS: - diagnose and repair diesel locomotives - developed in LISP, but ported to FORTRAN (a common phenomena) • DRILLING ADVISOR: - diagnose oil drilling problems - rule-based, exhaustive backward chaining with uncertainty, frames • GENESIS: - designs molecular genetics experiments and procedures - used by over 500 research scientists • GATES: - airline gate assignment and tracking system - used by TWA at JFK airport - implemented in Prolog on microcomputers - access database for 100 daily flights, and creates gate assignment in 30 seconds (experts took between 10 and 15 hours, with 1 hour per modification) ( possible extension: lost luggage!)

Conclusion p. 170 Harmon

A typical industrial system (Byte, Oct 1994) Picker International Problem domain: Picker produce sophisticated medical diagnostic machines needed a system for use by their service technicians tasks: intelligent service expert system: full explanation, graphical UI, hypertext user manual onsite access to main service DB of user site data capture site data: feedback for knowledge base improvements use site data to improve products, service effectiveness in future

System Built with Carnegie Group’s TestBuilder system shell system geared towards diagnostic systems systems are typically: hierarchical, rule-based, object-oriented (frames) multi-level explanation important rule-level: how, why deeper level: hypertext manuals (interactive, graphical) TestBuilder is interactive KB editor and tester Final system is compiled into DOS executable form TestView is run-time system Compared with general-purpose shells, this system is specialized inference focusses on problem right away, via menu’s or natural language input completeness sacrificed for efficient focus on possible problem

Conclusions from Pickers system Incremental design of system get prototype running on initial problems build onto it Can help if Knowledge engineer has domain knowledge caveat: here, KE is already “computer-oriented” caveat:problem domain well-adapted to Testbuilder paradigm On-site capture of new data permits continual update of system for “free” empirical data capture and DB useful for KB, as well as products themselves integrated standalone systems (eg. laptops) very handy! CD ROM’s also can prevent need to download data