7 Expert Systems Architecture And Components

DSS and Expert System ยท Unit 7

Expert Systems Architecture and Components

Exam-focused notes for Expert Systems Architecture and Components (DSS and Expert System, BIT405): what the TU syllabus asks and how it has actually been tested, with 1 solved past questions from this unit.

Expert Systems Architecture and Components in short

Every expert system has the same basic parts: a knowledge base, an inference engine, a working memory, an explanation facility and a user interface. This chapter explains what each part does.

Expert Systems Architecture and Components: notes

Architecture of Expert Systems

Domain expert -> Knowledge acquisition -> KNOWLEDGE BASE
                                              |
User <-> User interface <-> INFERENCE ENGINE <-> Working memory (facts)
                                   |
                           Explanation subsystem

Main components:

  • Knowledge base: Stores facts and rules about the domain.
  • Inference engine: Reasons over the knowledge to reach conclusions.
  • Working memory (blackboard): Holds facts about the current case.
  • Explanation subsystem: Shows how and why a result was reached.
  • User interface: Lets the user enter data and see results.
  • Knowledge acquisition facility: Helps add and edit knowledge.

An expert system shell is an ES with the knowledge base removed. A builder fills in the knowledge for a new domain.

What this unit covers

  • Architecture of Expert Systems
  • Knowledge base structure
  • Inference engine
  • Explanation subsystem
  • User interface components

Architecture of Expert Systems

0 ยท 10 marks

Define and elaborate on the features of Expert Systems. Discuss the architecture and components of Expert Systems, along with the individuals who interact with them. What are the advantages and disadvantages of Expert Systems?[10]

Show solved answer

Expert Systems: Definition, Features, Architecture, and Evaluation

Definition

An Expert System is a computer program that captures and uses the knowledge of human experts to solve specific problems in a particular domain. It mimics the decision-making ability of human experts by applying stored knowledge and inference mechanisms to provide intelligent solutions, recommendations, or diagnoses.


Features of Expert Systems

  1. Domain-Specific Knowledge: Operates within a narrow, well-defined domain (e.g., medical diagnosis, mineral exploration)

  2. Knowledge Representation: Uses explicit representation of expert knowledge in the form of rules, facts, and heuristics

  3. Inference Engine: Applies logical reasoning to derive conclusions from known facts and rules

  4. Explanation Capability: Can explain its reasoning and justify conclusions to users

  5. Interactive Nature: Engages in dialogue with users to gather information and provide solutions

  6. Non-Algorithmic Problem Solving: Solves problems that don't have straightforward algorithmic solutions

  7. Symbolic Processing: Works with symbols and logical relationships rather than numerical computation


Architecture of Expert Systems

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚      USER INTERFACE / I/O SYSTEM        โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                   โ”‚
        โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
        โ”‚                     โ”‚
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”   โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚  KNOWLEDGE     โ”‚   โ”‚  INFERENCE ENGINE โ”‚
โ”‚  BASE          โ”‚   โ”‚  (Reasoning)      โ”‚
โ”‚                โ”‚   โ”‚                   โ”‚
โ”‚ - Rules        โ”‚   โ”‚ - Forward Chainingโ”‚
โ”‚ - Facts        โ”‚   โ”‚ - Backward        โ”‚
โ”‚ - Heuristics   โ”‚   โ”‚   Chaining        โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜   โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                              โ”‚
                    โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
                    โ”‚  WORKING MEMORY  โ”‚
                    โ”‚  (Current Facts) โ”‚
                    โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Key Components:

  1. Knowledge Base: Stores domain-specific knowledge

    • Production rules (IF-THEN statements)
    • Facts about the domain
    • Heuristic knowledge
  2. Inference Engine: The reasoning mechanism

    • Applies rules to facts
    • Derives new conclusions
    • Controls problem-solving strategy
  3. Working Memory: Temporary storage

    • Current facts and assumptions
    • Intermediate results
    • User-provided information
  4. User Interface: Facilitates human-system interaction

    • Accepts user queries and data
    • Displays results and explanations
    • Provides explanation facilities
  5. Explanation System: Justifies conclusions

    • Shows which rules were applied
    • Traces reasoning steps

Individuals Interacting with Expert Systems

  1. End Users: Domain professionals who use the system to solve problems or get advice

  2. Knowledge Engineers: Elicit knowledge from experts and encode it into the system

  3. Domain Experts: Provide specialized knowledge and validate system performance

  4. System Developers: Design and maintain the technical infrastructure

  5. Knowledge Base Managers: Update and maintain the knowledge base over time


Advantages of Expert Systems

AdvantageDescription
AvailabilityExpert knowledge available 24/7; not dependent on expert's availability
ConsistencyProvides consistent advice; eliminates human fatigue and mood variations
Cost ReductionReduces need for expensive expert consultations
Knowledge PreservationCaptures and preserves expert knowledge before retirement
Training ToolServes as educational resource for training novices
SpeedProvides rapid problem-solving and decision-making
Handling UncertaintyCan work with incomplete or uncertain information
ScalabilityCan be replicated and deployed across multiple locations

Disadvantages of Expert Systems

DisadvantageDescription
Knowledge Acquisition BottleneckDifficult and time-consuming to extract knowledge from experts
Limited DomainRestricted to narrow, well-defined domains; lacks general knowledge
BrittlenessFails or performs poorly outside its trained domain
Maintenance DifficultyUpdating and maintaining knowledge base is complex
Lack of Common SenseCannot apply common-sense reasoning like humans
High Development CostExpensive to develop, especially for knowledge acquisition
Explanation LimitationsMay not provide satisfactory explanations for all decisions
No LearningTraditional systems don't learn from new experiences automatically
Dependency on ExpertsQuality depends entirely on quality of expert knowledge captured
InflexibilityDifficult to adapt to changing requirements or new domains

Conclusion

Expert Systems represent a significant advancement in AI by capturing human expertise in computational form. While they excel in specific domains and provide consistent, rapid solutions, their limitations in knowledge acquisition, domain flexibility, and learning capabilities require careful consideration during development and deployment.

Open this answer on its own page โ†’