26:198:722 Expert Systems Dr. Peter R. Gillett Associate Professor - - PowerPoint PPT Presentation

26 198 722 expert systems
SMART_READER_LITE
LIVE PREVIEW

26:198:722 Expert Systems Dr. Peter R. Gillett Associate Professor - - PowerPoint PPT Presentation

26:198:722 Expert Systems Dr. Peter R. Gillett Associate Professor Department of Accounting & Information Systems Faculty of Management Rutgers University Introduction to Expert Systems I What are Expert Systems I Overview of Artificial


slide-1
SLIDE 1

26:198:722 Expert Systems

  • Dr. Peter R. Gillett

Associate Professor Department of Accounting & Information Systems Faculty of Management

Rutgers University

slide-2
SLIDE 2

Introduction to Expert Systems

I What are Expert Systems I Overview of Artificial Intelligence I Heuristic Classification I Expert Systems Tools

slide-3
SLIDE 3

Introduction to Expert Systems

I What are Expert Systems?

F “An intelligent computer program that uses

knowledge and inference procedures to solve problems that are difficult enough to require significant human expertise for their solution” (Feigenbaum 1982)

slide-4
SLIDE 4

Introduction to Expert Systems

I What are Expert Systems?

F “Expert Systems are a class of computer

programs that can advise, analyze, categorize, communicate, consult, design, diagnose, explain, explore, forecast, form concepts, identify, interpret, justify, learn, manage, monitor, plan, present, retrieve, schedule, test, and tutor. They address problems normally thought to require human specialists for their solution” (Michaelson, Michie, & Boulanger 1985))

slide-5
SLIDE 5

Introduction to Expert Systems

I What are Expert Systems?

F “An Expert System is a computer system which

emulates the human decision-making ability of a human expert” (Giarratano & Riley 1989)

F “An expert system is a computer program that

represents and reasons with knowledge of some specialist subject with a view to solving problems

  • r giving advice”

(Jackson 1999)

slide-6
SLIDE 6

Introduction to Expert Systems

I What are Expert systems?

F “Expert System =

Knowledge Base + Inference Engine” (Cowell et al. 1999) I Note the important separation of the

knowledge from the rest of the system

I Is this an academic view v. an

implementor’s view?

slide-7
SLIDE 7

Introduction to Expert Systems

I What are Expert Systems?

F The most significant practical product to

emerge from 30 years of Artificial Intelligence Research?

F Knowledge-based systems NOT Artificial

Intelligence?

F Decision support systems (DSS) v.

Expert Systems (ES)?

slide-8
SLIDE 8

Introduction to Expert Systems

I What are Expert Systems?

F Characterization by function v. characterization by

technology

F Address higher level problems F Address unstructured problems F Performance comparable to level of human expert (not

necessarily emulation)

F Use a representation of knowledge and rules F Can apply heuristic reasoning F Can supply explanations of their reasoning F Are highly domain specific

slide-9
SLIDE 9

Introduction to Expert Systems

I Forms of knowledge used in ES:

F Descriptive knowledge (facts)

N overdrafts are a potential source of finance

F Prescriptive knowledge (rules)

N if long-term finance is needed and only limited security is

available, overdrafts are not a likely source of finance

F Heuristics (rules-of-thumb)

N bank managers in urban centers do not provide large

  • verdrafts to farmers

I Facts v. factoids

slide-10
SLIDE 10

Introduction to Expert Systems

I Expert Systems Components

F User interface F Knowledge acquisition module F Knowledge base F Inference engine

N control strategy N working memory

F Explanation facility F Other interfaces

slide-11
SLIDE 11

Introduction to Expert Systems

I Knowledge engineering

F Knowledge acquisition

NKnowledge elicitation

F Knowledge representation

NProduction rules NSemantic networks NFrames

slide-12
SLIDE 12

Introduction to Expert Systems

I Production rules

F Dominant paradigm for applications? F Especially where textbook knowledge or

heuristics are applied, can appear a very natural representation

F Can pose problems when the number of

rules grows excessively large

F A method for resolving rule conflicts is

needed

slide-13
SLIDE 13

Introduction to Expert Systems

I Frames

F “Object-oriented” approach F Knowledge represented by structured

groups of shared properties

F Useful when there is a good deal of default

  • r hierarchical knowledge

F Provide for inheritance of knowledge F Use “Is-A” links between frames

slide-14
SLIDE 14

Introduction to Expert Systems

I Semantic Networks

F Represent knowledge as a network of

nodes

F Useful when knowledge less hierarchical F Emphasize relationships rather than nodes

themselves

F Preceded frames, but are now less used

slide-15
SLIDE 15

Introduction to Expert Systems

I Inference Engines

F Control Strategies

NForward chaining NBackward chaining

F Search strategies

NDepth first NBreadth first

F Conflict resolution

NRETE algorithm

slide-16
SLIDE 16

Introduction to Expert Systems

I Managing Uncertainty

F Unreliable sources of data and information F Abundance of irrelevant data F Imprecision of language and perception F Lack of understanding F Faulty equipment F Conflicting sources of data F Hidden or unknown variables F Unknown or poorly specified rules or procedures F Data difficult or expensive to obtain

slide-17
SLIDE 17

Introduction to Expert Systems

I Managing Uncertainty

F Classical probabilities F Bayesian inference F Certainty factors F Belief functions F Fuzzy logic, fuzzy sets, possibility theory F Non-monotonic logic

slide-18
SLIDE 18

Introduction to Expert Systems

I Advantages of Expert Systems

F Preserving, reproducing, or disseminating

expertise that is in short supply, is hard or expensive to obtain, or may otherwise be lost to an organization

F Releasing true human experts from involvement in

routine or straightforward decisions to concentrate

  • n the more involved or doubtful cases, or to

participate in research or training activities

slide-19
SLIDE 19

Introduction to Expert Systems

I Advantages of Expert Systems

F Providing improved reliability by avoiding stress,

fatigue or danger, responding more rapidly than humans, or combining expertise of multiple experts

F Assisting in training of non-experts F Enabling non-experts to perform at a reasonable

level of competence

F Handling complex unstructured problems

slide-20
SLIDE 20

Introduction to Expert Systems

I Advantages of Expert Systems

F Supporting a variety of decision-making styles F Improving timeliness by avoiding wait for human

experts

F Improving overall quality and consistency of

decision making and improving decision consensus

F Improving efficiency and saving money

slide-21
SLIDE 21

Introduction to Expert Systems

I Limitations of Expert Systems

F Difficulties in identifying suitable human experts

for development

F Difficulties in eliciting expertise from humans, who

may have problems in articulating their expertise

F Disagreements among experts F Shortage of knowledge engineering professionals F Decisions and explanations may seem

mechanical

F Consultations time-consuming relative to

perceived value

slide-22
SLIDE 22

Introduction to Expert Systems

I Pitfalls and problems

F Scope of implementation

N Willing, recognized experts available N Scope not over-ambitious (task takes a few minutes to a

few hours to complete)

N High payoff value for task N Task requires expertise rather than common sense

F Prototyping

N Throw away the Mark 1 version!

slide-23
SLIDE 23

Introduction to Expert Systems

I Pitfalls and problems

F Development tools

N High level languages

² Lisp, Prolog

N Shells

² “Expert systems with the knowledge base removed”

– Often include additional support tools – May be hard to find one that fits the actual problem

F Verification and validation

N Beware different uses of these terms!

slide-24
SLIDE 24

Introduction to Expert Systems

I Pitfalls and problems

F Gaining user acceptance N User interface is friendly and inviting N The system can explain the reasons for its conclusions or

advice

N Shallow expertise does not give users the impression that the

system is trivial

N Time taken for consultations is not disproportionate to the

perceived value of the advice rendered

slide-25
SLIDE 25

Introduction to Expert Systems

I Golden-Oldies

F (STRIPS) F DENDRAL F MYCIN (EMYCIN) F TEIRESIAS F PROSPECTOR F R1/XCON

slide-26
SLIDE 26

Introduction to Expert Systems

I Some business applications of ES

F Finance and banking

NStock portfolio management NDesigning information systems for retail banks NAsset-liability management NLoan approvals and auditing

F Production

NFault diagnosis in networks and equipment NComplex bidding in the construction industry

slide-27
SLIDE 27

Introduction to Expert Systems

I Some business applications of ES

F Accounting and auditing

NEstate planning and tax advice NExecuting and analyzing internal auditing NCharging back costs in computer time-sharing NAuditing advanced EDP systems

F Marketing and sales

NPackaging insurance products

slide-28
SLIDE 28

Introduction to Expert Systems

I Some business applications of ES

F General management

NAdvice on management by objectives NSelection and use of forecasting techniques NAnalysis of failing companies NScheduling of business trips and meetings

F Human resources

NMatching personnel to jobs NArranging compensation packages

slide-29
SLIDE 29

Introduction to Expert Systems

I Some business applications of ES

F Computers and Information Systems

NData center evaluation NSelection and maintenance of hardware and

software

slide-30
SLIDE 30

Introduction to Expert Systems

I Accounting applications of ES

F Audit

N Audit program development N Internal control evaluation N Risk analysis N Tax accrual and deferral N Disclosure compliance N Technical support (interpreting regulations)

F Computer support

N Software development N Software selection N Information transfer (e.g., file format conversion)

slide-31
SLIDE 31

Introduction to Expert Systems

I Accounting applications of ES

F Tax

N International tax planning N Personal income tax planning N Corporate tax planning N Compliance checking N Special issues (e.g., residency)

F Consulting

N Accounting expert systems for clients N Personal financial planning

slide-32
SLIDE 32

Introduction to Expert Systems

I Artificial Intelligence

F The part of computer science concerned

with designing intelligent computer systems, that is, systems that exhibit the characteristics we associate with intelligence in human behavior - understanding language, learning, reasoning, solving problems, and so on. (Barr & Feigenbaum)

slide-33
SLIDE 33

Introduction to Expert Systems

I Artificial Intelligence

F State space search

NGenerate-and-test

² Depth first (can be faster, may not terminate) ² Breadth first (finds the shortest solution path)

F Theorem proving F Heuristic search

NHill climbing NBest-first search (A*)

slide-34
SLIDE 34

Introduction to Expert Systems

I Artificial Intelligence

F SHRDLU F Knowledge representation schemes F Procedural v. declarative programming F Separation of inference and knowledge F ‘Neat’ v. ‘scruffy’ debate

slide-35
SLIDE 35

Introduction to Expert Systems

I Artificial Intelligence

F Some classic AI Applications

N Robotics N Machine learning N Computational linguistics N Natural language processing N Pattern recognition N Computer vision N Speech recognition N Uncertain reasoning

slide-36
SLIDE 36

Introduction to Expert Systems

I Heuristic Classification

F The Hayes-Roth classification of ES

N Interpretation systems N Prediction systems N Diagnosis systems N Design systems N Planning systems N Monitoring systems N Debugging systems N Repair systems N Instruction systems N Control systems

slide-37
SLIDE 37

Introduction to Expert Systems

I Heuristic Classification (Clancy)

F Analysis

N Interpret

² Identify

– Monitor – Diagnose

² Predict ² Control

F Synthesis

N Construct

² Specify ² Design

– Configure – Plan

² Assemble

– Modify

slide-38
SLIDE 38

Introduction to Expert Systems

I Classification problem solving

F Heuristic matching

NData abstraction

² Definitional ² Qualitative ² Generalization

NHeuristic matching NSolution refinement

F Solutions can be enumerated in advance F Covers a wide range of real applications

slide-39
SLIDE 39

Introduction to Expert Systems

I Classification problem solving

F Generic tasks (Chandrasekaran)

NHierarchical classification NHypothesis matching NKnowledge-directed information passing

slide-40
SLIDE 40

Introduction to Expert Systems

I Control search strategies

F Destructive modification F Pruning F Least commitment F Propose and revise F Backtracking

slide-41
SLIDE 41

Introduction to Expert Systems

I Knowledge acquisition strategies

F Differentiation F Frequency conditionalization F Symptom distinction F Symptom conditionalization F Path division F Path differentiation F Test differentiation F Test conditionalization

slide-42
SLIDE 42

Introduction to Expert Systems

I Epistemological frameworks

F Structural knowledge

Ndifferent levels of abstraction through which

  • ne can view the problem domain

F Strategic knowledge

Nknowledge about how to approach a problem

by choosing an ordering on methods and sub- goals which minimizes search effort

F Support knowledge

Na causal model of the domain of discourse

slide-43
SLIDE 43

Introduction to Expert Systems

I Expert system tools

F Support prototyping F Shells F High-level programming languages F Multiple-paradigm programming

environments (e.g., KEE, ART)

slide-44
SLIDE 44

Introduction to Expert Systems

I Expert system shells

F Need to be matched to the task F May be inflexible

Ndifficult to distinguish different kinds of

knowledge

Nacquiring new knowledge difficult Ndifficult to generate comprehensible

explanations

I High-level languages also impose constraints

slide-45
SLIDE 45

Introduction to Expert Systems

I Common implementation pitfalls

F Knowledge inextricably intertwined with

program

F Fundamental concepts missing F Inadequate explanation facilities F Too many rules make execution slow and

unwieldy

slide-46
SLIDE 46

Introduction to Expert Systems

I Tool selection

F Only the generality necessary to solve the

problem

F Let problem characteristics determine the tool F Built-in explanation facilities and user interface F Test early F Sophisticated tools are expensive F Time consuming to perform detailed comparative

evaluations of tools

F Terminology and notation differ

slide-47
SLIDE 47

Introduction to Expert Systems

I Maxims on expert system development

F Task should not be too hard for human experts F Define the task clearly F Decide early how you will evaluate the system F Work intensively with representative problems F Separate domain-specific from general knowledge F Rules that look big are F If rules are similar, try to unify F Group rules into rule sets F Adopt a programming style F Sacrifice efficiency for maintainability

slide-48
SLIDE 48

Introduction to Expert Systems

I Maxims on expert system development

F Throw away the Mark 1 prototype