Expert Systems_General
Expert Systems_General
https://www.geeksforgeeks.org/expert-systems/
“An Expert is a man who has made all the mistakes which can be made in a very narrow field”
-Niels Bohr
Expert Systems solve problems that are normally solved by human “experts”.
To solve expert level problems, expert systems need access to a substantial domain
knowledge base, which must be built as effectively as possible.
Exploit one or more reasoning mechanisms to apply their knowledge to the problems
they are given.
They need a mechanism for explaining what they have done to the users who rely on
them.
Expert Systems - they represent AI in a very broad sense.
The most widely used way of representing domain knowledge in expert systems is
as a set of production rules, which are often coupled with a frame system that
defines the objects that occur in the rules.
All the rules we show are English Version of the actual rules that the systems use.
Difference among these rules illustrates some of the important differences in the
ways that expert systems operate.
Expert Systems in AI
Expert systems are a crucial subset of artificial intelligence (AI) that simulates the
decision-making ability of a human expert. These systems use a knowledge base filled with
domain-specific information and rules to interpret and solve complex problems. For example,
a medical expert system can analyse a patient’s symptoms and suggest possible diagnoses
or treatments. Similarly, a financial expert system can evaluate market trends and
recommend investment strategies.
The key idea behind expert systems is to preserve and replicate human expertise. This is
especially useful in fields where expert knowledge is scarce or expensive.
1. Preserving Expertise: They capture the knowledge of human experts and store it in a
digital format. This ensures that valuable expertise isn’t lost when an expert retires or
leaves.
2. Improving Decision-Making: By relying on data and rules, expert systems provide
consistent and unbiased recommendations.
3. Saving Time and Money: They automate tasks that would otherwise require human
intervention, reducing costs and increasing efficiency.
4. Accessibility: Expert systems make expert-level knowledge available to non-experts,
democratizing access to specialized information.
For instance, in the 1970s, the MYCIN system was developed to diagnose bacterial
infections. While it was never used in real hospitals, it demonstrated how expert systems
could assist doctors in making accurate diagnoses.
In a financial expert system, the knowledge base might include rules for detecting fraudulent
transactions, such as "If a transaction exceeds $10,000 and occurs in a foreign country, flag
it for review."
Forward Chaining: Starts with available data and works toward a conclusion. For
example, "If the temperature is high and the patient has a cough, diagnose a respiratory
infection."
Backward Chaining: Starts with a goal and works backward to find supporting evidence.
For example, "If the goal is to diagnose diabetes, check for symptoms like frequent
urination and high blood sugar."
The user interface is the bridge that allows users to interact with the expert system. It’s
designed to be intuitive and user-friendly, ensuring that even non-experts can use the
system effectively. Users provide a query (problem or question), and the system processes
the request. The system then delivers advice or recommendations back to the user.
This transparency is especially important in fields like healthcare and finance, where
decisions can have significant consequences.
Example: A medical expert system might explain, "I diagnosed pneumonia because the
patient has a fever, cough, and abnormal chest X-ray."
The knowledge acquisition module is responsible for updating and expanding the
knowledge base. It ensures that the system stays current with the latest information and
trends. Without regular updates, the system’s knowledge base can become outdated, reducing
its effectiveness.
The working mechanism of an expert system begins when a non-expert user submits
a query through the user interface.
This query is then processed by the inference engine, which applies logical
rules and reasoning techniques to analyze the input.
The inference engine interacts with the knowledge base, retrieving relevant facts, rules,
and heuristics contributed by expert users.
Based on this structured knowledge, the system derives conclusions and formulates an
appropriate response.
Finally, the expert system provides advice or recommendations to the user, assisting
in decision-making or problem-solving without requiring direct human
expert intervention.
Forward Chaining and Backward Chaining, which are two fundamental methods for
processing information and solving problems in an expert system:
1. Forward Chaining
This is a data-driven reasoning approach where the system starts with the available facts and
applies rules to infer new facts or conclusions. It's typically used to predict outcomes or
determine what will happen next. An example given is predicting stock market movements.
Forward Chaining
2. Backward Chaining
This is a goal-driven reasoning approach where the system starts with a hypothesis or a goal
(something to prove) and works backward to determine which facts or conditions would
support that conclusion. It's often used to diagnose issues by determining the cause of an
observed effect. The examples provided include diagnosing medical conditions like stomach
pain, blood cancer, or dengue.
Backward Chaining
1. Input: A patient reports symptoms like fever, cough, and fatigue through the user
interface.
2. Processing: The inference engine analyzes the symptoms using rules from the knowledge
base.
3. Output: The system suggests a possible diagnosis, such as pneumonia.
4. Explanation: The explanation module provides a detailed explanation, such as "The
diagnosis is based on the presence of fever, cough, and abnormal chest X-ray results."
5. Update: The knowledge acquisition module adds new data, such as recent research on
pneumonia treatments, to keep the system up-to-date.
Bonus: Knowledge Engineering is the term used to define the process of building an Expert
System and its practitioners are called Knowledge Engineers. The primary role of a
knowledge engineer is to make sure that the computer possesses all the knowledge required
to solve a problem. The knowledge engineer must choose one or more forms in which to
represent the required knowledge as a symbolic pattern in the memory of the computer.
Depending on their structure and application, expert systems can be categorized into different
types.
There have been several significant real-world expert systems developed over the years.
Some of them are given below:
3. R1/XCON: R1, also known as XCON, was developed in the late 1970s by Digital
Equipment Corporation (DEC) and is one of the most commercially successful expert
systems.
R1/XCON was used to configure orders for new computer systems. It would select the
appropriate hardware and software components based on the customer’s requirements.
4. PXDES: PXDES is an expert system designed for the medical field, particularly in the
diagnosis of lung cancer.
PXDES could analyze patient data, including imaging results, to determine both the type
and the stage of lung cancer. It helps in deciding the best course of treatment based on the
patient’s specific condition.
5. CaDet: CaDet is a clinical support system developed to assist in the early detection of
cancer.
CaDet can identify potential signs of cancer in its early stages by analyzing patient data
and symptoms. It works by comparing patient data with known patterns and indicators of
cancer.
Significance: Early detection by CaDet enhances survival rates by enabling prompt
treatment
DXplain suggests possible diseases based on the symptoms and findings provided by a
doctor. It acts as a reference tool, offering a differential diagnosis list that doctors can use
to check their own diagnoses.
Significance: DXplain broadens diagnostic possibilities, helping medical professionals
consider rare conditions.
1. Medical Diagnosis: Expert systems assist doctors by analyzing symptoms and medical
history to suggest possible diagnoses or treatment options. For example, MYCIN, an
early expert system, helped identify bacterial infections and recommend antibiotics.
2. Financial Services: In finance, expert systems are used for credit scoring, fraud
detection, and investment advice. They analyze financial data and patterns to make
informed decisions.
3. Technical Support: Expert systems can troubleshoot and provide solutions for technical
issues. They guide users through problem-solving steps based on pre-defined rules and
knowledge.
4. Manufacturing: In manufacturing, expert systems help optimize production processes,
perform quality control, and manage inventory by analyzing data and making
recommendations.
Conclusion
Expert systems are a crucial aspect of AI, providing intelligent decision-making capabilities
across various domains. By emulating human expertise, they offer valuable insights,
consistent solutions, and efficiency. Despite their limitations, expert systems continue to
evolve and play a significant role in advancing AI technologies.
***