17/1/1 © pearson education limited 2002 artificial intelligence & expert systems lecture 1 ai,...

20
© Pearson Education Limited 2002 17/1/1 Artificial Intelligence & Expert Systems Lecture 1 AI, Decision Support, Architecture of expert systems Topic 17

Upload: dwight-wheeler

Post on 17-Jan-2018

220 views

Category:

Documents


0 download

DESCRIPTION

17/1/3 © Pearson Education Limited 2002 Life on Mars?! Evidence of intelligence –traffic management Basic system Not automated Intelligence High? Sophisticated system Automated Intelligence Low?

TRANSCRIPT

Page 1: 17/1/1 © Pearson Education Limited 2002 Artificial Intelligence & Expert Systems Lecture 1 AI, Decision Support, Architecture of expert systems Topic 17

© Pearson Education Limited 2002 17/1/1

Artificial Intelligence & Expert Systems

Lecture 1AI, Decision Support,

Architecture of expert systems

Topic 17

Page 2: 17/1/1 © Pearson Education Limited 2002 Artificial Intelligence & Expert Systems Lecture 1 AI, Decision Support, Architecture of expert systems Topic 17

© Pearson Education Limited 2002 17/1/2

Artificial intelligence

• Emulating human thought processes• Making a computer based system behave in the

same way as a human• Applications

– natural language processing - communicate with computer using English-like statements

– expert systems, decision support systems– neural networks– retinal scanning

Page 3: 17/1/1 © Pearson Education Limited 2002 Artificial Intelligence & Expert Systems Lecture 1 AI, Decision Support, Architecture of expert systems Topic 17

© Pearson Education Limited 2002 17/1/3

Life on Mars?!• Evidence of intelligence

– traffic managementBasic system

Not automated

Intelligence High?

Sophisticated system

Automated

Intelligence Low?

Page 4: 17/1/1 © Pearson Education Limited 2002 Artificial Intelligence & Expert Systems Lecture 1 AI, Decision Support, Architecture of expert systems Topic 17

© Pearson Education Limited 2002 17/1/4

Expert Systems

• Represent the knowledge & decision making skills of experts

• Encapsulate the knowledge of experts• Provide the tools for acquisition of knowledge• Examples

– medical diagnosis, legal advice, risk assessment (all require reasoning)

Page 5: 17/1/1 © Pearson Education Limited 2002 Artificial Intelligence & Expert Systems Lecture 1 AI, Decision Support, Architecture of expert systems Topic 17

© Pearson Education Limited 2002 17/1/5

Types of Decision

Page 6: 17/1/1 © Pearson Education Limited 2002 Artificial Intelligence & Expert Systems Lecture 1 AI, Decision Support, Architecture of expert systems Topic 17

© Pearson Education Limited 2002 17/1/6

Traditional vs Expert Systems

• Traditional– calculations on data– storage and retrieval of records– credits and debits– orders/deliveries/invoices

• Expert– medical diagnosis– legal advice

Page 7: 17/1/1 © Pearson Education Limited 2002 Artificial Intelligence & Expert Systems Lecture 1 AI, Decision Support, Architecture of expert systems Topic 17

© Pearson Education Limited 2002 17/1/7

Decision Support Systems

• Degree of structure in problems– 1 the data– 2 the problem-solving procedures– 3 the goals and constraints– 4 the flexibility of strategies among the procedures

• If problem exhibits all four (e.g. credit)– operational system, procedural logic

• If problem is type 3– classic expert system solution

• Others - hybrid solution

Page 8: 17/1/1 © Pearson Education Limited 2002 Artificial Intelligence & Expert Systems Lecture 1 AI, Decision Support, Architecture of expert systems Topic 17

© Pearson Education Limited 2002 17/1/8

Role of Expert

• Body of knowledge• Apply, often with incomplete information• Deliver solution, with explanation/justification• Inform debate, identify own limitations• Interact with people requiring expertise• Improve knowledge/expertise by learning

Page 9: 17/1/1 © Pearson Education Limited 2002 Artificial Intelligence & Expert Systems Lecture 1 AI, Decision Support, Architecture of expert systems Topic 17

© Pearson Education Limited 2002 17/1/9

What is an Expert System?

• Knowledge base• Separate knowledge from particular case• Separate knowledge from inference• Interactive user interface• Output = advice and decisions

Page 10: 17/1/1 © Pearson Education Limited 2002 Artificial Intelligence & Expert Systems Lecture 1 AI, Decision Support, Architecture of expert systems Topic 17

© Pearson Education Limited 2002 17/1/10

Domain-specific Knowledge Base

• Common-sense knowledge – moral, social attitudes, individual interests

• Procedural knowledge– e.g. Recipes - do this, do that until…

• Declarative knowledge– e.g. Regulations - if this, then that, unless...– No implied order to finding the solution

Page 11: 17/1/1 © Pearson Education Limited 2002 Artificial Intelligence & Expert Systems Lecture 1 AI, Decision Support, Architecture of expert systems Topic 17

© Pearson Education Limited 2002 17/1/11

Architecture of typical expert system

Page 12: 17/1/1 © Pearson Education Limited 2002 Artificial Intelligence & Expert Systems Lecture 1 AI, Decision Support, Architecture of expert systems Topic 17

© Pearson Education Limited 2002 17/1/12

Knowledge-acquisition subsystem

• Entering the domain-specific knowledge• Can enter rules directly (next week’s task)• Often accomplished using an expert system

shell• Analogous to rote learning• Compare to scientific discovery…

Page 13: 17/1/1 © Pearson Education Limited 2002 Artificial Intelligence & Expert Systems Lecture 1 AI, Decision Support, Architecture of expert systems Topic 17

© Pearson Education Limited 2002 17/1/13

Case-specific Knowledge Base

• facts specific to the particular situation• entered by keyboard...• or taken from external database…• or derived from knowledge base…• or gleaned from experience

Page 14: 17/1/1 © Pearson Education Limited 2002 Artificial Intelligence & Expert Systems Lecture 1 AI, Decision Support, Architecture of expert systems Topic 17

© Pearson Education Limited 2002 17/1/14

Inference Engine

• Apply domain-specific knowledge to particular facts of the situation to derive new conclusions

• Sound inference principles– modus ponens

• rule If it is raining then the ground is wet

• fact It is raining• derived new fact The ground is wet

Page 15: 17/1/1 © Pearson Education Limited 2002 Artificial Intelligence & Expert Systems Lecture 1 AI, Decision Support, Architecture of expert systems Topic 17

© Pearson Education Limited 2002 17/1/15

Inference Engine

• Sound inference principles– modus tollens

• rule If it is raining then the ground is wet

• fact The ground is not wet• derived new fact It is not raining

• Need a sound inference control strategy– which rules to apply (tutorial exercise)

Page 16: 17/1/1 © Pearson Education Limited 2002 Artificial Intelligence & Expert Systems Lecture 1 AI, Decision Support, Architecture of expert systems Topic 17

© Pearson Education Limited 2002 17/1/16

Knowledge base

Page 17: 17/1/1 © Pearson Education Limited 2002 Artificial Intelligence & Expert Systems Lecture 1 AI, Decision Support, Architecture of expert systems Topic 17

© Pearson Education Limited 2002 17/1/17

Explanation Subsystem

• ‘How’ questions– how was the conclusion reached– intermediate solutions

• ‘Why’ questions– why was a piece of information required

• Further explanation– what do you mean by…

• Consultation Trace

Page 18: 17/1/1 © Pearson Education Limited 2002 Artificial Intelligence & Expert Systems Lecture 1 AI, Decision Support, Architecture of expert systems Topic 17

© Pearson Education Limited 2002 17/1/18

Simple expert system

Page 19: 17/1/1 © Pearson Education Limited 2002 Artificial Intelligence & Expert Systems Lecture 1 AI, Decision Support, Architecture of expert systems Topic 17

© Pearson Education Limited 2002 17/1/19

Simple expert system

Page 20: 17/1/1 © Pearson Education Limited 2002 Artificial Intelligence & Expert Systems Lecture 1 AI, Decision Support, Architecture of expert systems Topic 17

© Pearson Education Limited 2002 17/1/20

Practical activities

Visit this Web Site...http://vip.pdc.dk/vipexamples/pie/pdcindex.htmBookmark it!

Download the Practical Activities(filename prolog.rtf)