This week
Expertise, experts and transferring expertise Some knowledge elicitation techniques Knowledge representation Examples and use of ES Structure of ES Benefits Limitations
Characteristics
learning
acquisition of information and rules for using the information
reasoning
using the rules to reach approximate or definite conclusions
self-correction
updating existing material in response to feedback
Applications include expert systems, tutoring systems, speech recognition, machine vision
Expert System
a decision-making computer package intended to
attain or surpass the levels of performance of a human expert in some highly specialised field
4
Expert System
expertise of a human expert is transferred to ES knowledge is stored and accessed as required makes inferences and arrives at a specific conclusion
differs from DSS: identifies best solution to a problem rather providing a range of possible solutions
advises the user
consists of
Expertise
Expertise
Includes
Theories Rules and procedures Rules (heuristics) about what to do in a given situation Global strategies for problem-solving Meta-knowledge (knowledge about knowledge) Facts
Turban (2001)
Expertise
o o o o
skill acquisition
performance becomes barely acceptable after experience of real situations recognises situations on perceived similarity to previous examples
11
increased experience recognises similarities views decision-making in a hierarchical manner improves performance choice of plan is not a simple matter
12
view altered by outcome of recent events certain features stand out - others ignored plan modified as necessary understanding the task becomes intuitive triggered naturally without explicit thought
13
proceeds without detached deliberation acts without conscious contemplation of options performance is fluid not interrupted by detached deliberation or analysis
14
15
Categories of expertise
Academic
Craftsman
Samurai
16
Categories of expertise
Practitioner
expertise based on organised principles and methods expertise gained from
theoretical knowledge developed from experience and practice
work environment may not offer fully coherent basis for development of expertise
such expertise is therefore rare
17
Categories of expertise
Academic
individual expected to
guide direct teach
18
Categories of expertise
Craftsman
expertise gained in routine activities individual solves similar problems rote learning of methods and procedures
19
Categories of expertise
Samurai
20
Knowledge acquisition
Knowledge acquisition techniques extend and enhance those used in systems analysis, such as
repertory grid analysis based on Kellys Personal Construct Theory - every person:
has a personal view of the world forms theories tests hypotheses analyses results structured interviews triads
21
Identification
Conceptualisation
Formalisation
Implementation
Testing
Buchanan, Barstow, Bechtal, Bennett, Clancey, Kulikowski, Mitchell and Waterman, Constructing an Expert System: in Building Expert Systems (1983), ed. Hayes-Roth F, Waterman DA and Lenat DB.
22
Experts
Expert activities
Recognising and formulating the problem Solving problem quickly and correctly Explaining the solution Learning from experience Restructuring knowledge Breaking rules if necessary Determining relevance Being aware of limitations
Turban (2001)
23
Transferring expertise
Expert
Expert system
Consultation
User
Transfer expertise from expert to ES to non-expert (user) Knowledge acquisition Knowledge representation Knowledge inferencing Knowledge transfer to user Turban (2001)
24
Structured interviews
Expert is interviewed
identifies important items in the domain identifies associated attributes creates a scale of characteristics (opposites) places items on scale solutions are placed on grid (table) ratings from scale may be reviewed
25
Triads
27
Triads example
left-wing
Ed Miliband
deceased
Ronald Reagan
female
Margaret Thatcher
Margaret Thatcher
Ronald Reagan
Margaret Thatcher
Ed Miliband
Ronald Reagan
Ed Miliband
right-wing
living
male
28
Knowledge representation
29
Semantic networks
Items linked
is-a relationships uses inheritance
employee
has-a
is-a manager
has-a
office
id-card
is 45 years old
works-in
Jim
sales
30
Association lists
Association list has attribute.value pairs: ((A . excellent)(B . good)(C . average) (D . weak)(E . borderline)(R . resit))
this alist shows the meaning of grades extracting the meaning of grade A will give excellent first attribute is used as key to extract value clumsy for large amounts of data
31
Search trees
Data can be stored on the tree Tree can be searched to find data
Jim
Pat
Mary
Search trees
Jim
continues until downward path exhausted then next downward path is tried
Liz until all paths taken or item is found
Pat
Mary
Alan
Ben
Dora
33
Search trees
Jim
Mary
Dora
34
Search trees
If tree becomes too large it is impossible to search the entire tree (time constraints) Unproductive paths must be pruned If searching for Marys staff, ignore staff working Liz for Pat Pat
Jim
Mary
Alan
Ben
Dora
35
Frames
Similar to a blank form (standard template) stereotypes used, other values specified
unit ( per annum) unit (month, year) calculate ((TAX-PAID) (tax)) unit (calculate (NI-CON)) unit (calculate (PENSION))
36
Facts
Data that is known to be true prolog can store data as facts in database
manages(jim, pat). manages(jim, mary). manages(pat, liz). manages(pat, alan). manages(mary, ben). manages(mary, dora).
37
Rules
Production rules
format:
pattern action typically in the form of ifthen rules in prolog: predicate is true if components satisfied
sibling(X,Y) :- parents(X, M, F), parents(Y, M, F). X is a sibling of Y if X has mother M and father F and Y has mother M and father F
38
Examples of ES (1)
MYCIN
o medical diagnosis, identifying treatment for blood disorders o symptoms entered o ES compares with known symptoms presents diagnosis prompts for further information o each rule has a certainty factor
Prospector
o o o o Evaluates mineral potential of geological area Assessing risk of investments uses probabilistic reasoning (based on Bayes theorem) can explain why it needs answers to specific questions
39
Examples of ES (2)
XCON
o o o o configures VAX computer systems for DEC rule-based expert system probabilistic information not necessary exact statement of requirements in each case
CLUES
Countrywides Loan Underwriting Expert System
o o o o
developed to ensure rapid, consistent, high-quality loan decisions CLUES has 400 rules refined until it agreed with 95% of human expert decisions human underwriter still examines all rejected loans productivity increased from 6 or 7 applications/day to 16/day
40
Examples of ES (3)
Examples of ES (4)
Areas for ES applications Finance insurance evaluation, credit analysis, tax planning, fraud detection and prevention, financial report analysis, financial planning, performance evaluation
Data processing Equipment selection and maintenance, network management
Marketing Customer relationship management, market analysis, product planning Human resources HR planning, performance evaluation, staff schedules, pension management Manufacturing 42 Production planning, quality management, product design, equipment repair (Turban et al, 2011)
Structure of ES
Main components
o Knowledge base o Inference engine o User interface
Other components
o Knowledge acquisition sub-system o Blackboard (workspace) o Explanation facility (justifier)
Human components
o o o
Knowledge base
Facts: what is known about the problem area (theories, details of the problem situation, etc.) Rules: rules of inference, logical deductions, if then etc.
Knowledge base
Knowledge acquisition Facts and Rules User
44
Inference engine
Inference engine
The brain of ES, control structure, rule interpreter Enables reasoning based on
knowledge base (facts and rules in problem domain) blackboard (input about the particular problem to be solved) forward chaining (data driven) follows the rules to arrive at a conclusion backward chaining (goal driven) starts with hypothesis to be confirmed or disproved
Inference engine
Interpreter Scheduler Consistency enforcer Knowledge base Blackboard (workspace)
45
Domain expert
qualities already discussed
Knowledge engineer
helps expert structure knowledge of domain builds ES / knowledge base in short supply
47
ES as a consultant or advisor
student
uses
ES as an instructor
ES
builder
uses
48
Benefits of ES
Financial savings
fewer human experts needed
Limitations of ES (1)
Knowledge not always readily available Expertise hard to extract from people Approach of experts may be different, but correct Difficult to model judgment under time pressure
50
Limitations of ES (2)
Experts vocabulary (jargon) often not well understood by others outside field of interest Help often required from knowledge engineers: rare and expensive - make ES expensive Low level of trust by end-users Knowledge transfer may be subject to bias
Turban (2001)
51
ES compared to DSS
Expert Systems
DSS
aim to provide specific solution require specialist development skills and tools
52
Behaviour and Information Technology, Vol. 5, No. 1, p. 15-29 Chaffey, D. (ed.), 2003, Business Information Systems, 2nd edition, FT Prentice Hall Expert Systems: chapter 6, pages 255-257 Clare, J, 1989, Knowledge Elicitation for Financial Dealers p.237246 in Diaper D (editor) Knowledge Elicitation: Principles, Techniques and Applications, Ellis Horwood Dreyfus, HL, 1987, Misrepresenting Human Intelligence p. 41-54 in Born RP (editor) Artificial Intelligence: The Case Against, Croom Helm Turban E, Sharda R and Delen D, 2011, Decision Support and 53 Business Intelligence Systems, 9th edition, Pearson
Kolodner, JL, 1983, Towards an Understanding of the Role of Experience in the Evolution from Novice to Expert, IJMMS 19, p497-518 Laudon, K. & Laudon, J., 2004, Management Information Systems, 8th ed., Pearson Prentice Hall Expert Systems: chapter 10, pages 327-333 Turban E. & Aronson J.E., 2001, Decision Support Systems and Intelligent Systems (6th edition), Prentice Hall Business Publishing Expert Systems: chapter 10, pages 407 - 428 Whiteley, D., 2004, Introduction to Information Systems, Palgrave Expert Systems: chapter 11, pages 161-168 http://www.enquirewithin.co.nz/ (accessed 14 November 2006) 54