Artificial Intelligence · Unit 7
Expert Systems
Exam-focused notes for Expert Systems (Artificial Intelligence, BIT252): what the TU syllabus asks and how it has actually been tested, with 5 solved past questions from this unit.
Expert Systems in short
An expert system is a program that copies the decision-making skill of a human expert in one narrow field. This chapter explains what expert systems are, how they are built, and how they reach conclusions.
What this unit covers
- Expert system definition and purpose
- Expert system architecture
- Components of expert systems
- Development of expert systems
- Expert system operation and inference
Expert system architecture
2082 · 5 marks
How expert system works? Explain the architecture of expert system. [2+3]
Expert system definition and purpose
2079 · 5 marks
Define expert system. Describe its architecture. [5]
Show solved answerHide answer
Expert System: Definition and Architecture
Definition
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.
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
Components of expert systems
Development of expert systems
Make Unit 7 stick
Practice BIT252 with flashcards & quizzes