AI Mod-4
AI Mod-4
Knowledge base – a set of rules as representation of the expertise, mostly in IF THEN statements.
Working storage – the data which is specific to a problem being solved.
Inference engine – the code at the core of the system which derives recommendations from the knowledge
base and problem-specific data in working storage.
User interface – the code that controls the dialog between the user and the system.
There are certain major roles of individuals who interact with the expert system to fully exploit its
functionality and capability. They are the:
Domain expert – the individual or individuals whose expertises are solving the problems the system is
intended to solve;
Knowledge engineer – the individual who encodes the expert’s knowledge in a form that can be used by the
expert system;
User – the individual who will be consulting with the system to get advice which would have been provided
by the expert.
Majority of the expert systems are built with expert system shells which contains an inference engine and
user interface. The shell will be used by a knowledge engineer to build a system catered for specific problem
domain. Sometimes expert systems are also built with custom developed shells for certain applications. In
this scenario, there will be another additional individual
System engineer – the individual who builds the user interface, designs the declarative format of the
knowledge base, and implements the inference engine.
Depending on the size of the project, the knowledge engineer and the system engineer might be the same
person. For a custom built system, the design of the format of the knowledge base and the coding of the
domain knowledge are closely related. The format has a significant effect on the coding of the knowledge.
The generic components of a shell : the knowledge acquisition, the knowledge Base, the
reasoning, the explanation and the user interface are shown below. The knowledge base and
reasoning engine are the core components.
All these components are described in the next slide.
■ Knowledge Base
A store of factual and heuristic knowledge. Expert system tool provides one or more
knowledge representation schemes for expressing knowledge about the application domain.
Some tools use both Frames (objects) and IF-THEN rules. In PROLOG the knowledge is
represented as logical statements.
■ Reasoning Engine
Inference mechanisms for manipulating the symbolic information and knowledge in the
knowledge base form a line of reasoning in solving a problem. The inference mechanism can
range from simple modus ponens backward chaining of IF-THEN rules to Case-Based
reasoning.
Explanation subsystem
A subsystem that explains the system's actions. The explanation can range from how the
final or intermediate solutions were arrived at justifying the need for additional data.
User Interface
A means of communication with the user. The user interface is generally not a part of the
expert system technology. It was not given much attention in the past. However, the user
interface can make a critical difference in the pe eived utility of an Expert system.
Many techniques have been developed to deduce knowledge from an expert. They are
termed as knowledge acquisition techniques. They are:
a) Diagram Based Techniques
f) Sorting Techniques
In diagram based techniques the generation and use of concept maps, event diagrams and
process maps. This technique captures the features like “why, whe n, who, how and where”.
The matrix based techniques involve the construction of grids indicating such things as
problems encountered against possible solutions. Hierarchical techniques are used to build
hierarchical structures like trees. Protocol analysis technique is used to identify the type of
knowledge like goals, decisions, relationships etc. The protocol generation techniques
include various types of interviews like structured, semi-structured and unstructured.