Knowledge Based System
Knowledge Based System
Knowledge Based System
A knowledge-based system (KBS) is a form of artificial intelligence (AI) that aims to capture the
knowledge of human experts to support decision-making. Examples of knowledge-based
systems include expert systems, which are so called because of their reliance on human
expertise.
The typical architecture of a knowledge-based system, which informs its problem-solving
method, includes a knowledge base and an inference engine. The knowledge base contains a
collection of information in a given field -- medical diagnosis, for example. The inference engine
deduces insights from the information housed in the knowledge base. Knowledge-based
systems also include an interface through which users query the system and interact with it.
Artificial Intelligence
Artificial Intelligence is a branch of Science which deals with helping machines find solutions to
complex problems in a more human-like fashion. This generally involves borrowing
characteristics from human intelligence, and applying them as algorithms in a computer friendly
way.
“Artificial intelligence is the study of how to make computers do things at which, at the
moment, people are better”.
“Artificial intelligence is the part of computer science concerned with designing intelligent
computer systems, that is, systems that exhibit the characteristics we associate with
intelligence in human behavior”.
Applications of AI
AI has been dominant in various fields such as −
Gaming − AI plays crucial role in strategic games such as chess, poker, tic-tac-
toe, etc., where machine can think of large number of possible positions based
on heuristic knowledge.
Natural Language Processing − It is possible to interact with the computer
that understands natural language spoken by humans.
Expert Systems − There are some applications which integrate machine,
software, and special information to impart reasoning and advising. They
provide explanation and advice to the users.
Vision Systems − These systems understand, interpret, and comprehend
visual input on the computer. For example,
o A spying aeroplane takes photographs, which are used to figure out
spatial information or map of the areas.
o Doctors use clinical expert system to diagnose the patient.
o Police use computer software that can recognize the face of criminal with
the stored portrait made by forensic artist.
Speech Recognition − Some intelligent systems are capable of hearing and
comprehending the language in terms of sentences and their meanings while a
human talks to it. It can handle different accents, slang words, noise in the
background, change in human’s noise due to cold, etc.
Handwriting Recognition − The handwriting recognition software reads the
text written on paper by a pen or on screen by a stylus. It can recognize the
shapes of the letters and convert it into editable text.
Intelligent Robots − Robots are able to perform the tasks given by a human.
They have sensors to detect physical data from the real world such as light,
heat, temperature, movement, sound, bump, and pressure. They have efficient
processors, multiple sensors and huge memory, to exhibit intelligence. In
addition, they are capable of learning from their mistakes and they can adapt to
the new environment.
Expert systems are a common form of artificial intelligence. They are used to assist
humans in the decision-making process, but they don't replace humans. Many of the
decision we make are based on past experience, but we have the added benefit of
reasoning and intuition. Expert systems ask questions, then give you advice and reasons
why you should take a certain course of action based on hard data, not on hunches. Again,
they don't make the final decision.
Most of the problems an expert system helps resolve can in fact be solved by a human. But
since the computer is faster or safer, businesses choose to use them instead.
Characteristics of Expert Systems
High performance
Understandable
Reliable
Highly responsive
Knowledge Base
Inference Engine
User Interface
Knowledge Base
It contains domain-specific and high-quality knowledge.
Knowledge is required to exhibit intelligence. The success of any ES majorly depends upon
the collection of highly accurate and precise knowledge.
What is Knowledge?
The data is collection of facts. The information is organized as data and facts about the
task domain. Data, information, and past experience combined together are termed as
knowledge.
Factual Knowledge − It is the information widely accepted by the Knowledge Engineers and
and guessing.
Knowledge representation
It is the method used to organize and formalize the knowledge in the knowledge base. It is
in the form of IF-THEN-ELSE rules.
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.
Applies rules repeatedly to the facts, which are obtained from earlier rule application.
Forward Chaining
Backward Chaining
Forward Chaining
It is a strategy of an expert system to answer the question, “What can happen next?”
Here, the Inference Engine follows the chain of conditions and derivations and finally
deduces the outcome. It considers all the facts and rules, and sorts them before concluding
to a solution.
This strategy is followed for working on conclusion, result, or effect. For example,
prediction of share market status as an effect of changes in interest rates.
Backward Chaining
With this strategy, an expert system finds out the answer to the question, “Why this
happened?”
On the basis of what has already happened, the Inference Engine tries to find out which
conditions could have happened in the past for this result. This strategy is followed for
finding out cause or reason. For example, diagnosis of blood cancer in humans.
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 −
The user interface makes it easy to trace the credibility of the deductions.
Its technology should be adaptable to user’s requirements; not the other way round.
Application Description
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.
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
an expert system.
o Vidwan, a shell developed at the National Centre for Software Technology, Mumbai in
Know and establish the degree of integration with the other systems and databases.
Realize how the concepts can represent the domain knowledge best.
performance.
End users test the prototypes of the ES.
Cater for new interfaces with other information systems, as those systems evolve.
Less Production Cost − Production cost is reasonable. This makes them affordable.
Speed − They offer great speed. They reduce the amount of work an individual puts in.
Steady response − They work steadily without getting motional, tensed or fatigued.