Expert System
Computer software that:
Emulates human expert
Deals with small, well defined domains of
expertise
Is able to solve real-world problems
Is able to act as a cost-effective consultant
Can explains reasoning behind any solutions it
finds
Should be able to learn from experience.
Expert System
An expert system is a system that employs
human knowledge captured in a computer to
solve problems that ordinarily require human
expertise.(Turban)
A computer program that emulates the
behaviour of human experts who are solving
real-world problems associated with a
particular domain of knowledge. (Pigford &
Braur)
What is an Expert?
solve simple problems easily.
ask appropriate questions (based on external stimuli sight, sound etc).
reformulate questions to obtain answers.
explain why they asked the question.
explain why conclusion reached.
judge the reliability of their own conclusions.
talk easily with other experts in their field.
learn from experience.
reason on many levels and use a variety of tools such as
heuristics, mathematical models and detailed simulations.
transfer knowledge from one domain to another.
use their knowledge efficiently
Expert System
Expert Systems manipulate knowledge while
conventional programs manipulate data.
An expert system is often defined by its
structure.
Knowledge Based System Vs Expert System
ES Development
Problem Definition.
System design(Knowledge Acquisition).
Formalization. (logical design,,,,, tree structures)
System Implementation. (building a prototype)
System Validation.
Definition
Knowledge-based expert systems or simply expert
systems
An expert system is software that attempts to
reproduce the performance of one or more
human experts, most commonly in a specific
problem domain (Wikipedia)
Use human knowledge to solve problems that
normally would require human intelligence
Embody some non-algorithmic expertise
Represent the expertise knowledge as data or
rules within the computer
Can be called upon when needed to solve
problems
Definition
Developed via specialized software tools called shells
Shells come equipped with an inference mechanism
Backward chaining
Forward chaining
Both
May or may not have learning components
They are tested by being placed in the same real world
problem solving situation
Key idea: problem solved by applying specific knowledge
rather than specific technique
Characteristics of Expert
System
Pigford & Baur
Inferential Processes
Uses various Reasoning Techniques
Heuristics
Decisions based on experience
and knowledge
Characteristics (cont)
Waterman
Expertise
Depth
Symbolic Reasoning
Self Knowledge
ability
to
manipulate
explain
ability
extend
Perform
atto
least
tohow
the
concepts
and
symbols
conclusions
are
made
and level
infer as
knowledge
same
an expert
Examples
Diagnostic applications, servicing:
People
Machinery
Play chess
Make financial planning decisions
Configure computers
Monitor real time systems
Underwrite insurance policies
Perform many other services which previously
required human expertise
Major Components
Knowledge base - a declarative representation
of the expertise, often in IF THEN rules
Working storage - the data which is specific to a
problem being solved
Inference engine - the code at the core of the
system
Derives recommendations from the knowledge
base and problem-specific data in working
storage
Notes on Components
Shell - a piece of software which contains:
The user interface
A format for declarative knowledge in the knowledge base
An inference engine
Major advantage of a customized shell: the format of the knowledge
base can be designed to facilitate the knowledge engineering process
Knowledge engineer and the system engineer might be the same
person
Depending on the size of the project
One of the major bottlenecks - knowledge engineering process:
The coding of the expertise into the declarative rule format can be
a difficult and tedious task
The semantic gap between the expert's representation of the
knowledge and the representation in the knowledge base should
be minimized
Goal-Driven Reasoning
Aim: to pick the best choice from many enumerated
possibilities
The knowledge is structured in rules
The rule breaks the problem into sub-problems
Difference between forward and backward chaining:
Uncertainty
Final answer is not known with complete
certainty
The expert's rules might be vague
The user might be unsure of answers to questions
Design
Decision making
Components of an
Expert System (1)
Knowledge base
Inference engine
Seeks information and relationships from the knowledge
base and provides answers, predictions, and suggestions in
the way a human expert would
Rule
A conditional statement that links given conditions to
actions or outcomes
Fuzzy logic
Components of an
Expert System (2)
Backward chaining
A method of reasoning that starts with conclusions and
works backward to the supporting facts
Forward chaining
A method of reasoning that starts with the facts and works
forward to the conclusions
Schematic
Explanation
facility
Knowledge
base
Inference
engine
Knowledge
base
acquisition
facility
User
interface
Experts
User
Explanation Facility
Explanation facility
A part of the expert system that allows a user or
decision maker to understand how the expert
system arrived at certain conclusions or results
Knowledge
base
Knowledge
acquisition
facility
Joe Expert
Identifying experts
Implementing results
Domain
The area of knowledge
addressed by the
expert system.
Domain expert
Knowledge user
The individual or group who uses and benefits from the
expert system
Knowledge engineer
Someone trained or experienced in the design,
development, implementation, and maintenance of an
expert system
Schematic
Expert
system
Knowledge engineer
Domain expert
Knowledge user
Ease of use
high
low
Traditional
programming
languages
Before 1980
1980s
Expert system
shells
1990s
Development
costs
low
Use
existing
package
low
high
Time to develop expert system
An assistant
A colleague
A true expert
Components of an Expert
System
Expert System
Knowledge
Base
User
Interface
Inference
Engine
User
Explanation
Ease of Modification
Transportability
Adaptive learning
Advantages
Limitations
Expertise hard to extract from experts
dont know how
dont want to tell
all do it differently
Limitations (cont)
Information:
Refinement and use of data to answer specific
question.
Knowledge:
Refined information
Sources of Knowledge
documented
books, journals, procedures
films, databases
undocumented
peoples knowledge and expertise
peoples minds, other senses
Types Knowledge
Type of Knowledge
Examples
Facts
Relations
mother of Paul
Rules
Concepts
If breathing>20 then
hyperventilating
For all X & Y
Procedures
Levels of Knowledge
Shallow level:
very specific to a situation Limited by IF-THEN
type rules. Rules have little meaning. No
explanation.
Deep Knowledge:
problem solving. Internal causal structure. Built
from a range of inputs
emotions, common sense, intuition
difficult to build into a system.
Categories of Knowledge
Declarative
descriptive, facts, shallow knowledge
Procedural
way things work, tells how to make inferences
Semantic
symbols
Episodic
autobiographical, experimental
Meta-knowledge
Knowledge about the knowledge
Good knowledge
Knowledge should be:
accurate
nonredundant
consistent
as complete as possible
(or certainly reliable enough
for conclusions to be drawn)
Knowledge Acquisition
Knowledge acquisition is the process by which
knowledge available in the world is transformed and
transferred into a representation that can be used by
an expert system. World knowledge can come from
many sources and be represented in many forms.
Knowledge acquisition is a multifaceted problem that
encompasses many of the technical problems of
knowledge engineering, the enterprise of building
knowledge base systems. (Gruber).
Knowledge Acquisition
Five stages:
Identification: - break problem into parts
Conceptualisation: identify concepts
Formalisation: representing knowledge
Implementation: programming
Testing: validity of knowledge
Knowledge Acquisition
The basic model of knowledge acquisition
requires that the knowledge engineer mediate
between the expert and the knowledge base.
The knowledge engineer elicits knowledge
from the expert, refines it in conjunction with
the expert and represents the knowledge in
the knowledge base using a suitable
knowledge structure.
Elicitation of knowledge done either manually
or with a computer.
Knowledge Acquisition
Manual:
interview with experts.
structured, semi structured, unstructured interviews.
track reasoning process and observing.
Semi Automatic:
Use a computerised system to support and help experts
and knowledge engineers.
Automatic:
minimise the need for a knowledge engineer or expert.
Knowledge Acquisition
Difficulties
Knowledge is not easy to acquire or maintain
More efficient and faster ways needed to acquire
knowledge.
System's performance dependant on level and quality
of knowledge "in knowledge lies power.
Transferring knowledge from one person to another is
difficult. Even more difficult in AI. For these reasons:
expressing knowledge
The problems associated with transferring the knowledge to
Other Problems
Other Reasons
experts busy or unwilling to part with
knowledge.
methods for eliciting knowledge not
refined.
collection should involve several sources
not just one.
it is often difficult to recognise the relevant
parts of the expert's knowledge.
experts change
Sam
Is a
Honda
Colour
Made in
Green
Japan
Vacation
Where
Albury
When
March
Cost
$1000
J = Passed assignment
K = Passed exam
Z = J and K