Topic 3 Knowledge Acquisition
Topic 3 Knowledge Acquisition
ACQUISITION &
ANALYSIS
1
OVERVIEW
Durkin, (1994)
2
INTRODUCTION
Knowledge – a collection of facts, rules, and concepts
used to reason with.
Knowledge acquisition
A generic term – how to transfer of knowledge is achieved.
the process of acquiring, organizing, and studying knowledge.
the transfer and transformation of potential problem solving expertise from some
knowledge source to a program.
3
TYPES OF KNOWLEDGE
Declarative - knowing that something is true or false Example: Don’t put your
fingers in a pot of boiling water.
Procedural - knowing how to do something . Example: knowing how to boil a
pot of water.
Meta knowledge - Knowledge about the other types of knowledge and how to
use them. Example: if you want to know about heart attack, please read this
book
Heuristic - Rules of thumb that guide the reasoning process. Example: the
clouds looks dark and heavy, … heavy rain might fall…
Structural – Describe an expert overall mental model of the problem. Example:
in hierarchy, from concept to subconcept and object and they are related.
Tacit - knowledge is a something that cannot be expressed by language.
Example: knowing how to move your hand.
4
KNOWLEDGE
ELICITATION
Knowledge acquisition is the process of acquiring knowledge from
the expert.
Knowledge elicitation is the process of extracting and formalizing
the knowledge of a domain expert for use by an AI system.
5
KNOWLEDGE
ELICITATION
Knowledge Elicitation – the knowledge transfer is
accomplished by a series of interviews between a domain
expert and a knowledge engineer who then writes a computer
representing the knowledge.
6
KNOWLEDGE
ELICITATION
Knowledge acquisition is a difficult task.
7
KNOWLEDGE
ELICITATION - SOURCES
Source of knowledge:
Report
Books
Domain Expert
Database
Report
8
KNOWLEDGE
ELICITATION - SOURCES
Expert End-user
• The primary source of knowledge. • Important additional source of information.
• Need to capture the expert’s unique • View the problem from high level –
expertise. considering the major issues.
• View a problem from a low level – • Important when we need an initial general
considering only the important details. understanding of the problem.
10
KNOWLEDGE
ELICITATION TASKS
Knowledge elicitation tasks
Design
Previous activities should give us some new
understanding of the problem that can aid further
investigations.
Provides guidance in designing new techniques for
collecting additional knowledge.
11
DIFFICULTIES
One of the problems is the difficulty that experts have in
describing exactly
1) judgment,
2) experience, and
3) intuition. 12
DIFFICULTIES
Unaware of knowledge - An expert often compiles the problem-
solving knowledge into a compact form – often make mental leaps
over important issues.
Unable to verbalize knowledge - Difficult to verbalize the tasks.
Provides irrelevant knowledge.
Provides incomplete knowledge - Omission or unaware of knowledge
used.
Provides incorrect knowledge - Expert is uninformed or mistake
during introspection.
Provides inconsistent knowledge - Inconsistent with earlier statements.
13
DIFFICULTIES - COMMON
PROBLEMS
Problem in KA Methods/Solution
Incompatible data Data transport tools
Inconsistent data Eliminate different
representation
Missing data Check blank fields
• Provide problem
• Provide
Knowledge overview
knowledge
Engineer • Help define
interface
• Aid • Collect knowledge requirements
interpretati • Interpret and • Define explanation
on/ analysis analyze knowledge requirements
• Aid testing • Design new session • Help define in-
Domain • Manage project place
• operational
Expert • Maintain requirements
corporative effort End User
• Aid system
development
17
METHOD-INTERVIEW
Conducting interview
Guidelines for beginning interview
18
METHOD-INTERVIEW:
Type QUESTIONS
Purpose COMMONLY USEDForm
Direct Obtain specific information on some What does… mean?
known issue. Is … true?
Questions commonly used in an interview
What is the value of…?
Indirect Obtain general information on What issues are considered
concepts and problem solving for …?
strategies. How do you determine …?
What do you look for when
…?
Probes Probe deeper into an established Can you explain …?
issue Can you discuss …?
Prompts Direct interview into a new area Can you discuss …?
Can you return to …?
19
METHOD-INTERVIEW
Guidelines for forming a Good Question
Avoid multiple part questions.
Avoid leading questions – imply the expected answer and reflect your
possible bias on a given issue.
20
METHOD-INTERVIEW
Guidelines for forming a Good Question
Avoid universal questions – presumes that the issues applies to every
situation, when it may only apply to some unique set of events.
21
METHOD-INTERVIEW
Guidelines for ending an interview
22
METHOD-INTERVIEW
23
METHOD-CASE STUDY
Case study
Observational
Asking the expert to solve the problem - while you observe.
Retrospective
Expert is asked to review the case and explain in retrospect how
the problem was solved.
24
METHOD COMPARISON
General Observations in comparing elicitation
Case studies are better than interviewing techniques or
obtaining procedural knowledge.
Structured interviews are the best choice for uncovering
concepts, objects, and relationships.
Unstructured interviews are best for obtaining insight
into general concepts and problem solving methods.
The observational case study method is, in general,
better than the retrospective method for obtaining
problem details and avoiding knowledge elicitation
difficulties.
Familiar case studies are best for obtaining common
domain concepts and typical problem solving methods.
27
METHOD COMPARISON
28
KNOWLEDGE ANALYSIS
29
KNOWLEDGE ANALYSIS
30
KNOWLEDGE ANALYSIS
Analyzing the transcript
Question:
“How does this new information fit in with what is already known about
the problem?”
Answer:
Must address how this new information supports or relates to previously
known information.
Involves determining
How this new information is naturally linked to already known related concepts,
How it adds details to established information, or
How it uncovers new concepts or rules.
Ask the expert to review the result of this analysis to confirm the findings
and make adjustments.
31
KNOWLEDGE ANALYSIS
32
KNOWLEDGE ANALYSIS
Analyzing the transcript
Recording the knowledge
34
KNOWLEDGE ANALYSIS
Analyzing the transcript
Reviewing the knowledge
35
KNOWLEDGE ANALYSIS
Analyzing the transcript
Structuring the knowledge graphically
Approaches:
Cognitive maps
Inference networks
Flowcharts
Decision trees
36
KNOWLEDGE ANALYSIS
Analyzing the transcript
Cognitive Maps
38
KNOWLEDGE ANALYSIS
Analyzing the transcript
Inference Networks
39
KNOWLEDGE ANALYSIS
Analyzing the transcript
Inference Networks - Example a set of rules for rain prediction
Rule 7
IF Barometric pressure is falling
AND Wind conditions indicate rain
AND Temperature is moderate
THEN Weather prediction is rain
Rule 8
IF Wind is gusty
OR Wind direction is from the east
THENWind conditions is indicate rain
Rule 9
IF Wind speed is > 5 knots
THENWind is gusty
Rule 10
IF Temperature is between 60 and 80 degrees
THENTemperature is moderate
40
KNOWLEDGE ANALYSIS
Analyzing the transcript
Inference Networks - Example for rain prediction
Rule 7
Weather
prediction
is rain
Rule 8
AND Rule 10
Barometric Wind Temperature
pressure is conditions is moderate
falling indicate
rain
Rule 9
OR
Wind is Wind 60<Temp<80
gusty direction is
from the
east
41
Wind speed > 5 knots
EXERCISE
Represent the rules below using inference network diagram
42
KNOWLEDGE ANALYSIS
Analyzing the transcript
Flowcharts
Present a sequence of steps that will be performed.
Standard technique used by conventional programmers
– to show the sequence of operations of the program.
Links between the blocks show the natural order of the
execution of the blocks or branches to other points
within the program.
43
KNOWLEDGE ANALYSIS
Blood Disease
Diagnosis
Analyzing the transcript
Flowcharts
Obtain Initial
Data
YES
Ask Questions
Related to
hypothesis
44
KNOWLEDGE ANALYSIS
Analyzing the transcript
Decision Trees
45
KNOWLEDGE ANALYSIS
Analyzing the transcript
Decision Trees - Decision tree for diagnosing problems
Terminals
Battery Tighten
Voltage Terminals
> 12 < 12
Distributor Charger
Ok Bad Bad Ok