COM423 Lecture I - YL - 040942
COM423 Lecture I - YL - 040942
(COM423)
LECTURE NOTES
Explain the concept, history and application of expert systems
User Interface
Knowledge Base
Here are ten examples of expert systems, showcasing their application across various domains:
1. MYCIN:
o Domain: Medical Diagnosis
o Function: Assists in diagnosing bacterial infections and recommending
appropriate antibiotics based on patient data.
2. Dendral:
o Domain: Chemistry
o Function: Helps chemists identify the structure of organic molecules using mass
spectrometry data.
3. R1/XCON:
o Domain: Computer Configuration
o Function: Configures VAX computer systems by determining the optimal
hardware and software configurations.
4. CADUCEUS:
o Domain: Medical Diagnosis
o Function: Provides medical diagnostic support by analyzing symptoms and
medical history to suggest possible diseases.
5. CLIPS (C Language Integrated Production System):
o Domain: General Purpose
o Function: A tool for building expert systems that can be applied in various fields
like manufacturing, aerospace, and defense.
6. Prospector:
o Domain: Geology
o Function: Assists geologists in identifying potential locations for mineral and ore
deposits.
7. DART (Dynamic Analysis and Replanning Tool):
o Domain: Military Logistics
o Function: Used by the U.S. military for planning and optimizing logistics
operations, such as transportation and supply chain management.
8. SMARTS (System for Managing Automated Reasoning and Theorem-proving
Systems):
o Domain: Telecommunications
o Function: Manages and diagnoses network issues, optimizing network
performance and reliability.
9. PIE (Portable Intelligent Executive):
o Domain: Space Exploration
o Function: Used by NASA to support decision-making in space missions,
including the management of spacecraft and rover operations.
10. TEIRESIAS:
o Domain: Rule-based Systems
o Function: An expert system used for validating and refining the rules in other
expert systems, ensuring their accuracy and reliability.
Characteristics of Expert Systems in AI
1. High performance
The first and foremost characteristic of an expert system is to deliver high performance 24×7
2. Understandable
The expert system should be easy to comprehend for all the people using it.
3. Reliable
An expert system must be reliable in the sense that it is error-free so that it is trustable.
4. Highly Responsive
An expert system must be proactive and provide responses for each and every detail of the
problem.
An expert system comprises several key components that work together to mimic the decision-
making abilities of a human expert. These components include:
1. User Interface
The user interface allows users to interact with the expert system. It enables users to input data,
ask questions, and receive explanations or solutions. A user-friendly interface is crucial for the
effective use of an expert system, especially for users who may not be experts in the domain.
2. Inference Engine
The inference engine is the reasoning component of an expert system. It applies logical rules to
the knowledge base to draw conclusions or solve problems. The inference engine can operate in
two main modes:
Forward Chaining:
Forward chaining is a method of reasoning in expert systems that starts with the known facts and
applies inference rules to extract more data or reach a conclusion.
A. Diagnosis Prediction:
o Example: Medical expert systems predict possible diseases based on the observed
symptoms and patient data.
B. System Configuration Prediction:
o Example: In computer systems, expert systems predict the optimal configuration
of hardware and software based on the current requirements and constraints.
C. Process Control Prediction:
o Example: In manufacturing, expert systems predict the adjustments needed in the
production process to maintain quality and efficiency.
D. Fault Detection and Troubleshooting Prediction:
o Example: Expert systems predict the possible causes of machinery or system
failures and suggest troubleshooting steps.
E. Financial Forecasting Prediction:
o Example: Financial expert systems predict market trends, stock prices, and
investment opportunities based on current and historical data.
F. Resource Management Prediction:
o Example: In project management, expert systems predict resource allocation and
scheduling needs to ensure timely project completion.
G. Agricultural Yield Prediction:
o Example: Expert systems predict crop yields based on soil conditions, weather
patterns, and farming practices.
H. Environmental Impact Prediction:
o Example: Expert systems predict the environmental impact of industrial
activities, construction projects, or policy changes.
I. Supply Chain Optimization Prediction:
o Example: Expert systems predict supply chain demands, inventory levels, and
logistics needs to optimize operations.
J. Customer Behavior Prediction:
o Example: In marketing, expert systems predict customer preferences and
purchasing behavior based on demographic and transactional data.
Backward Chaining:
Backward chaining is a reasoning method used in expert systems that works backward from the
goal or conclusion to determine the conditions or facts that support it. This approach is
particularly useful for certain types of predictions and problem-solving scenarios.
B. Causal Predictions
C. Goal-oriented Predictions
H. Behavioral Predictions
3. Knowledge Base
The knowledge base is the core component of an expert system, containing domain-specific
knowledge. This knowledge is represented in the form of:
• Facts: Basic units of information about the domain, such as specific data points or conditions.
• Rules: Conditional statements that link facts together to derive new information or make
decisions. Rules are typically in the form of "IF-THEN" statements.
Types of Knowledge
i) Declarative Knowledge:
o Facts and information about objects, events, and their properties.
o Example: "Paris is the capital of France."
ii) Procedural Knowledge:
o Instructions or rules for performing tasks or solving problems.
o Example: Steps to solve a quadratic equation.
iii) Meta-Knowledge:
o Knowledge about knowledge, including strategies for acquiring, organizing, and
using knowledge.
o Example: Knowing which problem-solving method to apply in each situation.
iv) Heuristic Knowledge:
o Rules of thumb or educated guesses based on experience.
o Example: "If a plant's leaves are wilting, it probably needs water."
4. Explanation Facility
The explanation facility provides users with insights into how the expert system arrived at a
particular conclusion or recommendation. This component enhances the transparency and
trustworthiness of the system by explaining the reasoning process and the rules applied.
5. Knowledge Acquisition Module
The knowledge acquisition module is responsible for gathering and updating the knowledge
base. This process involves:
• Manual Input: Domain experts input their knowledge directly into the system.
• Automated Tools: Software tools and algorithms that extract knowledge from databases,
documents, and other sources.
• Learning Capabilities: Some expert systems incorporate machine learning techniques to
automatically update and refine the knowledge base based on new data.
6. Knowledge Representation
Knowledge representation involves the methods used to encode the knowledge in the knowledge
base. Common representation techniques include:
• Production Rules: "IF-THEN" rules that define the relationships between facts and actions.
• Frames: Data structures that represent stereotyped situations, organizing knowledge into
hierarchies of related concepts.
• Semantic Networks: Graph-based structures that depict relationships between concepts.
7. Working Memory
Working memory is a temporary storage area where the current state of the problem-solving
process is maintained. It holds the facts and intermediate results generated during the inference
process, allowing the system to keep track of progress and make decisions based on the most
recent information.
8. Agenda
The agenda is a control structure that manages the sequence in which rules are applied by the
inference engine. It prioritizes and schedules the execution of rules based on their relevance and
the current state of the working memory.
9. Knowledge Refinement
Knowledge refinement involves the continuous improvement and updating of the knowledge
base to ensure the expert system remains accurate and relevant. This process may involve:
• Reviewing and Updating Rules: Regularly checking and modifying rules to reflect new
knowledge and changing conditions.
• Incorporating User Feedback: Using feedback from users to identify and correct inaccuracies or
gaps in the knowledge base.
10. Integration Interface
The integration interface allows the expert system to interact with other software systems,
databases, and external data sources. This capability is essential for accessing real-time data and
integrating the expert system into larger information systems and workflows.
• Expert systems are being used in designing and manufacturing domain for the production
of vehicles and gadgets like cameras.
• In the knowledge domain, Expert Systems are used for delivering the required knowledge
to the client. The knowledge can be legal advice, tax advice, or something other than that.
• In the banking and finance sector, expert systems are widely used for the detection of
frauds.
• Expert Systems can also use in the diagnosis and troubleshooting of medical equipment.
• Apart from this, Expert Systems can also have use cases in Planning and Scheduling
tasks.
• Expert Systems are easily available as they are not so difficult to develop and are thus
easier to reproduce.
• Increased accuracy is a prominent advantage of Expert Systems.
• They can be of use at workstations where there is a risk to human lives.
• They can be made to work 24×7 without the need for any human intervention.
• Expert Systems offer a very speedy decision-making process which in most cases is
error-free.
Expert systems, which are a type of artificial intelligence designed to emulate the decision-
making abilities of a human expert, have several limitations: