4 Expert Systems

Decision Support System and Expert System · Unit 4 · 8 hrs

Expert Systems

Exam-focused notes for Expert Systems (Decision Support System and Expert System, CSC483): what the TU syllabus asks and how it has actually been tested, with 4 solved past questions from this unit.

Expert Systems in short

An expert system is the knowledge driven branch of decision support taken to its conclusion: a program that holds the expertise of a human specialist and applies it to a case. This chapter defines the idea, sets out the architecture and its components, identifies the people who interact with such a system, weighs its advantages against its limitations, describes the life cycle used to build one, and analyses where errors enter.

Expert Systems: notes

Definition and Features of Expert Systems

An expert system is a computer program, drawn from artificial intelligence, that emulates the decision making ability of a human expert in a narrow domain by reasoning over an explicit body of encoded knowledge, and that can explain the reasoning behind its conclusions.

Three properties separate an expert system from an ordinary program. Its knowledge is explicit and separate from the code, held in a knowledge base that a domain expert can inspect and revise without touching the program. Its reasoning is symbolic and heuristic rather than purely numerical, applying rules of thumb of the kind an experienced practitioner uses. And it can explain itself, answering why it asked a question and how it reached a conclusion.

The features normally listed are these.

  • Domain specific expertise at a high level. The system performs at or near expert level, but only inside a narrow domain, and has no common sense outside it.
  • Separation of knowledge base and inference engine, which is what makes the knowledge maintainable and the engine reusable across domains.
  • Symbolic reasoning over facts and rules rather than numeric computation alone.
  • Heuristic problem solving, using the practical shortcuts that experts actually use instead of exhaustive search.
  • Explanation capability, answering "why" and "how" so the user can judge whether to trust the conclusion.
  • Ability to reason under uncertainty, using certainty factors, probabilities or fuzzy logic where the facts or the rules are not definite.
  • Consistency and availability: the same case always receives the same reasoning, and the system does not tire, retire or take leave.
  • Incremental growth, since new rules can be added as the domain develops.
  • Interactive consultation, in which the system asks for the facts it needs rather than requiring everything up front.

Expert systems are distinguished from conventional programs in that a conventional program interleaves knowledge with control flow, processes data rather than knowledge, and cannot explain itself; and from a general DSS in that the expert system supplies the domain expertise, whereas a data or model driven DSS supplies information and analysis while the expertise remains with the user.

Classic examples include MYCIN for bacterial infection diagnosis and therapy, DENDRAL for inferring molecular structure, XCON for configuring computer systems, and PROSPECTOR for mineral exploration. Contemporary applications include credit and insurance underwriting, fault diagnosis in equipment and networks, help desk triage, tax and regulatory advice, and agricultural advisory systems.

Architecture and Components of Expert Systems

The architecture is built from six components, of which the first two are the critical pair.

Knowledge Base

The knowledge base is the core of the system and holds the domain specific knowledge supplied by human experts. It contains two kinds of content: facts, which are known truths about the domain, such as the statement that fever is a symptom of infection; and rules or heuristics, which encode expert reasoning as IF-THEN statements, such as a rule concluding that a patient has a high fever when the measured temperature is above 102 degrees Fahrenheit.

Knowledge is encoded using one of the standard representation schemes.

  • Production rules, IF-THEN pairs, which are the most common because they are modular, readable by the expert and easy to add to.
  • Frames, structured objects with named slots holding attributes and default values, which suit knowledge that is naturally organised around objects and their properties.
  • Semantic networks, graphs of concepts joined by labelled relationships, which express taxonomy and association compactly.
  • Predicate logic, which gives precise semantics and supports formal inference at the cost of readability.

Inference Engine

The inference engine is the reasoning component. It applies the rules in the knowledge base to the facts of the current case in order to derive new facts and reach a conclusion. Two control strategies are standard.

  • Forward chaining, which is data driven. It starts from the known facts, finds rules whose conditions those facts satisfy, fires them to assert new facts, and repeats until no further rule applies or a goal is reached. It suits monitoring, interpretation and configuration problems where the data arrives first.
  • Backward chaining, which is goal driven. It starts from a hypothesised conclusion, finds the rules that could establish it, and works backwards to the facts needed to satisfy them, asking the user for any fact it cannot derive. It suits diagnosis, where a small set of candidate conclusions is being tested.

When several rules are eligible at once, the engine applies a conflict resolution strategy, choosing for example the most specific rule, the highest priority rule, or the rule that uses the most recently asserted fact. The engine also carries whatever mechanism the system uses for uncertainty, whether certainty factors, Bayesian probability or fuzzy inference.

What this unit covers

  • Definition and Features of Expert Systems
  • Architecture and Components of Expert Systems
  • Persons Who Interact with Expert Systems
  • Advantages and Disadvantages of Expert Systems
  • Expert Systems Development Life Cycle
  • Error Sources on Expert System Development

Error Sources on Expert System Development

2080 · 5 marks

Describe the source of errors in expert system development. [5]

Expert systems are knowledge-based systems that emulate the decision-making ability of a human expert. Errors can arise at multiple stages during their development, leading to incorrect or unreliable conclusions. --- - The process of extracting knowledge from domain experts is difficult and error...

Open this answer on its own page →

Persons Who Interact with Expert Systems

2080 · 5 marks

Discuss the types of persons interacting with expert systems. [5]

Show solved answer

Types of Persons Interacting with Expert Systems

Introduction

An expert system is an AI-based system that mimics the decision-making ability of a human expert. Several types of persons interact with an expert system, each having a distinct role and purpose.


Types of Persons Interacting with Expert Systems

1. Domain Expert

  • The domain expert is a highly skilled and knowledgeable person in a specific field (e.g., medicine, engineering, finance).
  • They provide their knowledge, experience, and problem-solving strategies to build the knowledge base.
  • They work closely with the knowledge engineer to encode their expertise into the system.
  • Example: A medical doctor providing diagnostic rules for a medical expert system.

2. Knowledge Engineer

  • The knowledge engineer is responsible for extracting, organizing, and representing the expert's knowledge in a form the system can use.
  • They design the knowledge base and inference rules.
  • They act as a bridge between the domain expert and the expert system.
  • They use knowledge acquisition techniques such as interviews, observation, and protocol analysis.

3. End User (Naive User)

  • The end user is the person who actually uses the expert system to solve problems or get advice.
  • They may have little or no technical knowledge about AI or the underlying system.
  • They interact through a user-friendly interface, providing inputs and receiving recommendations or explanations.
  • Example: A farmer using an agricultural expert system to identify crop diseases.

4. System Builder / Knowledge Base Builder

  • This person is responsible for constructing and maintaining the expert system using expert system shells or programming tools.
  • They handle the technical aspects such as coding, integration, and updating the system.
  • Sometimes the role overlaps with the knowledge engineer.

5. System Administrator / Manager

  • The system administrator oversees the overall operation and maintenance of the expert system.
  • They ensure the system is up-to-date, accurate, and functioning correctly.
  • They manage access control, system updates, and performance monitoring.

Summary Table

PersonPrimary Role
Domain ExpertProvides domain knowledge
Knowledge EngineerEncodes and structures knowledge
End UserUses the system for advice/decisions
System BuilderBuilds and maintains the system
System AdministratorManages and monitors the system

Conclusion

Each type of person plays a critical and complementary role in the development, maintenance, and use of an expert system. Effective collaboration among all these persons is essential for building a successful and reliable expert system.

Open this answer on its own page →

Architecture and Components of Expert Systems

2079 · 5 marks

Explain the architecture of expert systems in detail. [5]

An expert system is an AI-based computer program that simulates the knowledge and reasoning ability of a human expert in a specific domain to solve complex problems. --- The architecture of an expert system consists of the following major components: --- - The core component of an expert system. ...

Open this answer on its own page →

Expert Systems Development Life Cycle

2079 · 5 marks

Discuss expert system development life cycle. [5]

An expert system is a computer program that emulates the decision-making ability of a human expert in a specific domain. Developing an expert system follows a structured life cycle consisting of the following phases: --- - Identify the problem domain and determine whether it is suitable for an ex...

Open this answer on its own page →