Expert Systems
Chapter 7
Computer programs that think like experts
Have You Asked a Computer for Advice?
WebMD Chatbots The Question
Medical symptom checker Customer service helpers Can computers truly act like experts?
What is an Expert System?
• An Expert System is a form of Artificial
Intelligence (AI).
• It is a computer system designed to
simulate human intelligence
• It tries to think, reason, and make decisions
like a human expert.
Expert System Components
Knowledge Base
User Interface Stores facts and rules
How users interact
Inference Engine
System's brain
Knowledge Editor
Updates system Explanation System
Shows reasoning
User Interface
Interaction Method User-Friendly
Text box or touchscreen input No programming skills
needed
Essential Gateway
Bridge between user and
system
Knowledge Base
What It Stores
Facts from experts
Decision rules
Factual knowledge
Heuristic knowledge
Rule Base Logic
IF... THEN Rules
Decision-making structure
Boolean Logic
AND / OR operations
System Output
Guided conclusions
Inference Engine
The Brain of the Expert System
01 02 03
Input Processing Step Organization Conclusion Reached
Uses knowledge + user input Organizes reasoning steps Arrives at final answer
Backward Chaining Forward Chaining
Goal → sub-goals Data → outcomes
Explanation System
Shows Reasoning
Explains how conclusion was reached
Builds Trust
Helps users trust the system
Transparency builds confidence
Key Advantages
24/7 100% ⚡
Always Available Consistent Faster
Same answers every Quicker than human
Never sleeps or takes time experts
breaks
🎯
Decision
Support
Guides professionals