LISP |
Expert Systems |
|
||
Expert Systems |
Definition
An Expert System (ES) is a set of programs that manipulates some encoded knowledge to solve problems in a specialized domain that normally requires human expertise
OR
An ES is a computer application that solves complicated problems that would otherwise require human expertise.
Characterstic features of ES's
Block Diagram of a Typical ES
Components of a typical ES are:
Expert System Architectures
Rule Based System Architecture ( Production System )
This is the most common form of architecture used in expert and other knowledge based systems.This type of system uses knowledge encoded in the form of production rules. i.e., if..........then rules
IF : condition1 and condition2
THEN : take_action3
Each rule represents a small chunk of knowledge relating to the given domain of expertise.A number of related rules collectively may correspond to a chain of inferences which lead from some initially known facts to some useful conclusions.
Inference in production systems is achieved by a process of chaining through the rules recursively,either in a forward or backward direction until a conclusion is reached or until a failure occurs.The infering process is carried out recursively in 3 stages:
When the left side of a sequence of rules is instantiated first and the rules are executed from left to right,the process is called Forward Chaining or Data Driven Inference.
When the right side of the rules is instantiated first,the left hand side conditions become subgoals.These subgoals may in turn cause sub-subgoals to be established,and so on until facts are found to match the lowest subgoal condition.This is called Backward Chaining or Goal Driven Inference.
Non Production System Architectures
Instead of rules these systems employ more structured representation schemes like Sementic (Associative) Networks,Frames,Tree Structures (Decision tresss) or even Neural Networks.
Some of the Non Production System Architectures are
1. Sementic ( Associative ) Network Architectures
Sementic n/w representations are not a popular form of representation for standard ES's.More often these n/w representations are used in natural language or computer vision systems or in conjunction with some other form of representation.They are useful in depicting hierarchical knowledge structures where property inheritance is common.
Here the nodes represent objects,attributes,concepts or other basic entities and the arcs which are labelled describe the relationship between the nodes they connect.
Example: CASNET (Causal Associative Network) is used to diagnoise and recommend treatment for glaucoma,one of the leading causes of blindness.
2. Frame Architecture
Frames are structured sets of closely related knowledge such as on object or concept name,the objects main attribute and there corresponding values and possibly some attached procedures.The attributes,values and procedures are stored in specified slots and facets of the frame.
Individual frames are linked together in a network much like nodes in an associative n/w.Thus frames have many of the features of associative n/w's like property inheritance and default reasoning.
Example: PIP (Present Illness Program) was used to diagnoise patients using low costs,easily obtained information.
3. Decision Tree Architectures
Knowledge for ES may be stored in the form of a decision tree when the knowledge can be structured in a top to bottom manner.Initial & Intermediate nodes in the tree corresponds to the identities of the objects.Attribute values for an object determine a path to a leaf node in tree which contains the objects identification.
The KB which is the decision tree for an identification system can be constructed with a special tree building editor or with a learning module.New nodes or branches can be added to the tree when additional attributes are needed to further discriminate among new objects.As the system gains experience the values associated with the branches can be modified for more accurate results.
4. Black Board System Architecture
Blackboard architectures refer to a special type of KBS which uses a form of oppurtunistic reasoning.It uses both forward & backward chaining and chooses them dynamically at each stage in the problem solution process.Blackboard systems are composed of 3 functional components:
1.Knowledge Sources
2.Blackboard
3.Control Information
Example: HEARSAY a speech understanding system.
5. Analogical Reasoning Architectures
ES's based on analogical architectures solve new problems like humans,by finding a similar problem solution that is known and applying the known solution to the new problem,possibly with some modifications.
This would require a large KB having numerous problem solutions and other previously encountered situations or episodes.Each such situation should be stored as a unit in memory and be content indexed for rapid retreival.The inference mechanism must be able to extend known situations or solutions to fit the current problem and verify that the extendex solution is reasonable.