Know and understand how an expert system is used to produce possible solutions for different scenarios

Published by Patrick Mutisya · 14 days ago

ICT 0417 – 6 ICT Applications: Expert Systems

6 ICT Applications – Expert Systems

Objective

Know and understand how an expert system is used to produce possible solutions for different scenarios.

1. What is an Expert System?

An expert system is a type of artificial intelligence (AI) software that mimics the decision‑making ability of a human expert. It captures specialised knowledge in a particular domain and applies logical reasoning to suggest solutions or recommendations.

2. Main Components

ComponentPurposeTypical Example
Knowledge BaseStores facts, rules, heuristics and relationships of the domain.Medical symptoms → disease rules.
Inference EngineApplies logical reasoning to the knowledge base to draw conclusions.Forward chaining, backward chaining algorithms.
User InterfaceAllows users to input data and receive explanations of the system’s reasoning.Question‑answer dialogue box.
Explanation FacilityProvides a trace of how a conclusion was reached.“Because symptom X and Y match disease Z.”
Knowledge Acquisition ModuleHelps experts input or update knowledge.Rule editor used by a doctor.

3. How Does an Expert System Work?

The system follows a cycle of input → reasoning → output.

  1. User Input: Data about the problem is entered (e.g., symptoms, error messages).
  2. Reasoning: The inference engine matches the input with rules in the knowledge base using either:

    • Forward chaining – starts with known facts and derives new facts until a solution is found.
    • Backward chaining – starts with a goal (possible solution) and works backwards to see if the facts support it.

  3. Output: The system presents one or more possible solutions, often with an explanation.

4. Reasoning Methods – Comparison

MethodProcessTypical Use
Forward ChainingData → Rules → New Data → … → SolutionDiagnostic systems where many symptoms lead to a diagnosis.
Backward ChainingGoal → Rules → Required Data → … → ConfirmationTroubleshooting where a specific fault is hypothesised first.

5. Example Scenarios

  • Medical Diagnosis: Input patient symptoms → system suggests possible illnesses with confidence levels.
  • Computer Troubleshooting: User reports error codes → system proposes step‑by‑step fixes.
  • Financial Planning: User provides income, expenses, goals → system recommends budgeting strategies.
  • Legal Advice: User describes a situation → system outlines relevant statutes and possible actions.

6. Benefits of Using Expert Systems

  • Provides expert advice 24/7 without the need for a human specialist.
  • Ensures consistency – the same input always yields the same reasoning.
  • Captures and preserves knowledge that might otherwise be lost.
  • Speeds up decision‑making and reduces errors.

7. Limitations

  • Knowledge base must be regularly updated; otherwise, advice becomes outdated.
  • Complex or ambiguous problems may be beyond the system’s capability.
  • High development cost for building a comprehensive knowledge base.
  • Users may over‑rely on the system and ignore professional judgement.

8. Role of Expert Systems in ICT Applications

Within the broader ICT landscape, expert systems are used to:

  1. Automate routine decision processes in business (e.g., loan approval).
  2. Support e‑learning platforms with personalised feedback.
  3. Enhance customer service via intelligent chatbots.
  4. Assist in network management by diagnosing faults and recommending fixes.

9. Summary Checklist

  • Identify the three core components: knowledge base, inference engine, user interface.
  • Explain forward vs. backward chaining with an example.
  • List at least two real‑world scenarios where expert systems are applied.
  • State one benefit and one limitation of expert systems.

10. Sample Examination Questions

  1. Define an expert system and name its three main components.
  2. Explain the difference between forward chaining and backward chaining. Give a suitable example for each.
  3. Describe how an expert system could be used to troubleshoot a printer that will not print.
  4. Discuss two advantages and two disadvantages of relying on expert systems in a business environment.

Suggested diagram: Flowchart showing the cycle of input → inference engine (forward/backward chaining) → output with explanation.