AI Chapter 6 ES
AI Chapter 6 ES
Chapter 6
Introduction to Expert Systems
Introduction:
Expert systems are a very successful application of artificial intelligence technology. Expert systems
were developed as research tools in the 1960s as a special type of AI to successfully deal with complex
problems in a domain such as medical disease diagnosis. Expert systems have greatly increased in
popularity since their commercial introduction in the early 1980s. Today, expert systems are used in
business, science, engineering, manufacturing, and many other fields in which there exists a well-defined
problem domain.
The basic idea is that if a human expert can specify the steps of reasoning by which a problem may be
solved, so it can be implemented as an expert system.
Expert systems have been combined with databases for human-like pattern recognition and automated
decision systems to yield knowledge discovery through data mining and thus produce an intelligent
database. One important application is in airport security systems that use face recognition of suspects as
a front-end to an expert system, which determines if there is justification in proceeding with further
notification of authorities.
Definitions:
“An expert system is a computer system that emulates or acts in all aspects with the decision making
capabilities of a human expert”.
“An expert system is an intelligent computer program that uses knowledge and inference procedures to
solve problems that are difficult enough to require significant human expertise for their solution”.
Areas of AI: Computer vision, Natural Language Processing & Understanding, Expert Systems,
An expert is a person who has expertise in a certain area. An expert can solve problems that most people
cannot solve at all or solve them much more efficiently. Expert systems make extensive use of
specialized knowledge to solve problems at the level of human expert. However, the term expert system
is often applied today to any system that uses expert system technology. Expert system technology may
include special expert system languages, programs, and hardware designed to aid in the development and
execution of expert systems. The knowledge in expert systems may be either expertise, or knowledge that
is generally available from books, magazines, and knowledgeable persons.
The above figure illustrates the basic concept of a knowledge-based expert system. The user supplies
facts or other information to the expert system and receives expert advice or expertise in response.
Internally, the expert system consists of two main components. The knowledge base contains the
knowledge with which the inference engine draws conclusions. These conclusions are the expert system’s
responses to the user’s queries for expertise.
Expertise: is the extensive, task-specific knowledge acquired from training, reading and experience.
Expertise is usually associated with a high degree of intelligence, but not always with the smartest
person
Expertise is usually associated with a vast quantity of knowledge
Experts learn from past successes and mistakes
Experts knowledge is well-stored, organized and retrievable quickly from an expert
Experts have excellent recall.
The elements of a typical expert system are shown in the above figure. In a rule-based system, the
knowledge base contains the domain knowledge needed to solve problems coded in the form of rules.
6. Knowledge acquisition facility – automatic way for the user to enter knowledge in the system
rather than by having the knowledge engineer explicitly code the knowledge.
7. Knowledge base – includes the rules of the expert system.
An expert’s knowledge about solving specific problems is called the knowledge domain of the expert.
For example, a medical expert system designed to diagnose infectious diseases will have a great deal of
knowledge about certain symptoms caused by infectious diseases. In this case the knowledge domain is
medicine and consists of knowledge about diseases, symptoms and treatments.
The problem domain is always a superset of the knowledge domain. Notice that in the above figure, the
knowledge domain is entirely included within the problem domain. The portion outside the knowledge
domain symbolizes the area in which there is not knowledge about all the problems within the problem
domain. For example, infectious diseases diagnostic system usually does not have knowledge about other
branches of medicine such as surgery or pediatrics.
Increased availability: Expertise is available on any suitable computer hardware. In a very real
sense, an expert system is the mass production of expertise.
Reduced cost: The cost of providing expertise per user is greatly lowered.
Reduced danger: Expert systems can be used in environments that might be hazardous for a
human.
Permanence: The expertise is permanent. Unlike human experts who may retire, quit, or die, the
expert system’s knowledge will last indefinitely.
Multiple expertise: The knowledge of multiple experts can be made available to work simultaneously
and continuously on a problem at any time.
Increased reliability: Expert systems increase confidence that the correct decision was made by
providing a second opinion to a human expert. The expert system should always agree with the expert.
Explanation: The expert system can explain in detail the reasoning that led to a conclusion. A human
may be too tired, unwilling, or unable to do this all the time.
Fast response: Depending on the software and hardware used, an expert system may respond faster and
be more available than a human expert.
Steady, unemotional and complete responses at all times: This may be very important in real-time and
emergency situations when a human expert may not operate at peak efficiency because of stress or
fatigue.
Intelligent tutor: The expert system may act as an intelligent tutor by letting the student run sample
programs and explaining the system’s reasoning.
Intelligent database: Expert systems can be used to access a database in an intelligent manner. Data
mining is an example.
The process of developing an expert system has an indirect benefit also since the knowledge of human
experts must be put into a explicit form for entering in the computer. Because the knowledge is then
explicitly known instead of being implicit in the expert’s mind.
Adequate response time: The system must perform in a reasonable time, comparable to or better than
the time required by an expert to reach a decision. The time constraints placed on the performance of an
expert system may be especially severe in the case of real-time systems, when a response must be made
within a certain time interval such as landing an aircraft in fog.
Good Reliability: The expert system must be reliable and not prone to crashes or else it will not be used.
Understandable: The system should be able to explain the steps of its reasoning while executing so that
it is understandable.
Flexibility: Because of the large amount of knowledge that an expert system may have, it is important to
have an efficient mechanism for adding, changing, and deleting knowledge.
With the acceptance of the knowledge based paradigm in the 1970s, a number of successful expert
systems were created. For example,
Before starting to build an expert system, it is essential to decide if an expert system is the appropriate
paradigm. That is, whether an expert system should be used instead of an alternative paradigm such as
conventional programming. The appropriate domain for an expert system depends on a number of
factors:
A major advantage of expert systems technology is dealing with unexpected input that does not
follow a predetermined pattern. That is, expert system reacts opportunistically to their input, whatever it
is. Conventional programs generally expect input to follow a certain sequence.
5. Can the expert explain the knowledge so that it is understandable by the knowledge engineer?
Even if the expert is willing to cooperate, there may be difficulty in expressing the knowledge in
explicit terms. As a simple example of this difficulty, can you explain in words how you move a finger?
Although you could say it’s done by contracting a muscle in the finger, the next question is – how do you
contract a finger muscle? The other difficulty in communication between expert and knowledge engineer
is that the knowledge engineer doesn’t know the technical terms of the expert.
• Separate the actual meanings of words with the reasoning process itself and make inferences
without relying on semantics.
• Need to reach valid conclusions based on facts only.
Typical expert system cannot generalize through analogy to reason about new situations in the
way people can.
A knowledge acquisition bottleneck results from the time-consuming and labor intensive task of
building an expert system.
High development costs
Difficult to maintain
Will not Produce accurate output for inadequate knowledge base
No common sense
Not always up-to-date, don’t learn
Limited domain
Limitations of technology
1. Transaction processing system (TPS) – based on Data (by processing of raw observation)
2. Management Information System(MIS),
Decision Support System (DSS) - based on Information (by analysis)
3. Knowledge Based System - based on Knowledge (by synthesis)
4. Wisdom Based System - based on Wisdom (by experience) - strategy makers apply
morale, principles and experience to generate policies.