BIT252 ยท 2079 ยท 5 marks
Define expert system. Describe its architecture.
Define expert system. Describe its architecture. [5]
Quick answer
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 and provide expert-level advice or decisions.
Expert System: Definition and Architecture
Definition
Note: Standard AI/Knowledge Engineering content is used here as no specific curriculum notes were found.
An expert system captures the knowledge of human specialists and makes it available to non-experts, enabling them to solve problems that would otherwise require human expertise (e.g., medical diagnosis, fault detection, financial planning).
Architecture of an Expert System
The major components of an expert system are:
+---------------------------+
| User Interface |
+---------------------------+
|
+---------------------------+
| Inference Engine |
+---------------------------+
| |
+----------+ +----------+
| Knowledge| | Working |
| Base | | Memory |
+----------+ +----------+
|
+----------+
|Knowledge |
|Acquisition|
| Module |
+----------+
|
[Domain Expert / Knowledge Engineer]
1. Knowledge Base
- Stores domain-specific knowledge in the form of:
- IF-THEN rules (production rules)
- Facts, heuristics, and procedures
- It is the core of the expert system
- Example:
IF fever > 102 AND cough = yes THEN diagnose = flu
2. Inference Engine
- The brain of the expert system
- Applies logical rules to the knowledge base to derive conclusions
- Uses two main reasoning strategies:
- Forward Chaining: Starts from known facts and derives conclusions (data-driven)
- Backward Chaining: Starts from a goal and works backward to find supporting facts (goal-driven)
3. Working Memory (Database)
- Stores temporary facts and intermediate results during a consultation session
- Updated dynamically as the inference engine processes rules
4. User Interface
- Allows the user to interact with the expert system
- Accepts queries and displays results/recommendations in a user-friendly manner
5. Explanation Module (Justifier)
- Explains how a conclusion was reached
- Answers questions like "Why?" and "How?" to build user trust
6. Knowledge Acquisition Module
- Facilitates the process of adding, updating, or modifying knowledge in the knowledge base
- Acts as an interface between the domain expert and the knowledge base
Summary Table
| Component | Role |
|---|---|
| Knowledge Base | Stores rules and facts |
| Inference Engine | Applies reasoning to derive conclusions |
| Working Memory | Holds temporary/session data |
| User Interface | Interaction with end user |
| Explanation Module | Justifies decisions |
| Knowledge Acquisition | Updates knowledge base |
Advantages
- Available 24/7, consistent, and does not forget
- Can handle complex, domain-specific problems
- Useful where human experts are scarce
Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.