AI-Unit 5
AI-Unit 5
AI-Unit 5
It is introduced by the
researchers at Stanford University, Computer Science Department.
Expert Systems
The expert systems are the computer applications developed to solve complex problems in a
particular domain, at the level of extra-ordinary human intelligence and expertise.
Characteristics of Expert Systems
High performance
Understandable
Reliable
Highly responsive
Advising
Instructing and assisting human in decision making
Demonstrating
Deriving a solution
Diagnosing
Explaining
Interpreting input
Predicting results
Justifying the conclusion
Suggesting alternative options to a problem
They are incapable of −
Knowledge Base
Inference Engine
User Interface
Let us see them one by one briefly −
Knowledge Base
Knowledge Acquisition
The success of any expert system majorly depends on the quality, completeness, and
accuracy of the information stored in the knowledge base.
The knowledge base is formed by readings from various experts, scholars, and
the Knowledge Engineers. The knowledge engineer is a person with the qualities of
empathy, quick learning, and case analyzing skills.
He acquires information from subject expert by recording, interviewing, and observing him at
work, etc. He then categorizes and organizes the information in a meaningful way, in the
form of IF-THEN-ELSE rules, to be used by interference machine. The knowledge engineer
also monitors the development of the ES.
Inference Engine
Use of efficient procedures and rules by the Inference Engine is essential in deducting a
correct, flawless solution.
In case of knowledge-based ES, the Inference Engine acquires and manipulates the
knowledge from the knowledge base to arrive at a particular solution.
In case of rule based ES, it −
Applies rules repeatedly to the facts, which are obtained from earlier rule
application.
Adds new knowledge into the knowledge base if required.
Resolves rules conflict when multiple rules are applicable to a particular case.
To recommend a solution, the Inference Engine uses the following strategies −
Forward Chaining
Backward Chaining
Forward Chaining
It is a strategy of an expert system to answer the question, “What can happen next?”
Backward Chaining
With this strategy, an expert system finds out the answer to the question, “Why this
happened?”
User Interface
User interface provides interaction between user of the ES and the ES itself. It is generally
Natural Language Processing so as to be used by the user who is well-versed in the task
domain. The user of the ES need not be necessarily an expert in Artificial Intelligence.
It explains how the ES has arrived at a particular recommendation. The explanation may
appear in the following forms −
No technology can offer easy and complete solution. Large systems are costly, require
significant development time, and computer resources. ESs have their limitations which
include −
Application Description
Process Control
Controlling a physical process based on monitoring.
Systems
Knowledge Domain Finding out faults in vehicles, computers.
There are several levels of ES technologies available. Expert systems technologies include −
Expert System Development Environment − The ES development
environment includes hardware and tools. They are −
o Workstations, minicomputers, mainframes.
o High level Symbolic Programming Languages such
as LISt Programming (LISP) and PROgrammation
en LOGique (PROLOG).
o Large databases.
Tools − They reduce the effort and cost involved in developing an expert
system to large extent.
o Powerful editors and debugging tools with multi-windows.
o They provide rapid prototyping
o Have Inbuilt definitions of model, knowledge representation,
and inference design.
Shells − A shell is nothing but an expert system without knowledge base. A
shell provides the developers with knowledge acquisition, inference engine,
user interface, and explanation facility. For example, few shells are given
below −
o Java Expert System Shell (JESS) that provides fully developed
Java API for creating an expert system.
o Vidwan, a shell developed at the National Centre for Software
Technology, Mumbai in 1993. It enables knowledge encoding in
the form of IF-THEN rules.
MYCIN: It was based on backward chaining and could identify various bacteria that
could cause acute infections. It could also recommend drugs based on the patient’s
weight. It is one of the best Expert System Example.
DENDRAL: Expert system used for chemical analysis to predict molecular structure.
PXDES: An Example of Expert System used to predict the degree and type of lung
cancer
CaDet: One of the best Expert System Example that can identify cancer at early
stages