Describe the components and structure of expert systems, and explain forward‑ and backward‑chaining reasoning.
7.1 What is an Expert System?
An expert system is a computer programme that mimics the decision‑making ability of a human expert in a particular domain. It captures specialised knowledge and applies reasoning techniques to solve problems that would normally require expert judgement.
7.2 Key Components (Cambridge Syllabus)
Knowledge‑Base – Stores the domain expertise (facts, rules, heuristics, frames, semantic networks, or fuzzy sets).
Inference Engine – Applies logical reasoning to the knowledge‑base to derive conclusions.
User Interface – Enables the user to enter problem data and to receive the system’s output (forms, dialogue boxes, natural‑language queries).
Explanation Facility – Shows the reasoning trace so the user can understand how a conclusion was reached (syllabus wording: “provides an explanation of the reasoning process”).
Knowledge‑Base Editor (knowledge acquisition facility) – Tools that allow experts to input, edit and update knowledge in the knowledge‑base (e.g., interview worksheets, rule editors, machine‑learning‑assisted capture).
7.3 Structure of an Expert System
The architecture can be visualised as a layered model (top‑down):
The inference engine uses forward chaining to match patient data with the rule. The explanation facility then displays the diagnosis together with the justification trace for the clinician.
7.12 Classroom Activity – Mini Case Study
Prompt: Design an expert system to suggest the best fertilizer for a given soil type. Identify the five components (knowledge‑base, inference engine, user interface, explanation facility, knowledge‑base editor), propose at least three IF‑THEN rules, and decide whether forward or backward chaining would be more appropriate.
This activity reinforces the syllabus requirements for component identification, knowledge representation, and reasoning style.