2079 3

CSC266 ยท 2079 ยท 10 marks

Define Expert System with example. What are stages of expert system development? Explain.

Define Expert System with example. What are stages of expert system development? Explain.[10]

Artificial IntelligenceChapter 6: Applications of AIDevelopment of Expert Systems

Quick answer

An Expert System is a computer program that simulates the judgment and behavior of a human expert or an organization that has expert knowledge and experience in a particular field. It is a knowledge-based system that uses a collection of knowledge (stored in a knowledge base) and an inference engine to solve complex problems that normally require human expertise.

Expert System: Definition, Example, and Stages of Development


1. Definition of Expert System

An expert system captures the knowledge of human specialists and makes it available to non-experts for decision making, diagnosis, or problem solving in a specific domain.

Key Components of an Expert System

ComponentDescription
Knowledge BaseStores domain-specific facts, rules, and heuristics
Inference EngineApplies logical rules to the knowledge base to derive conclusions
User InterfaceAllows interaction between the user and the system
Explanation FacilityExplains the reasoning behind conclusions
Knowledge Acquisition FacilityAllows updating and adding new knowledge

Example

Medical Diagnosis Expert System (MYCIN): MYCIN was one of the earliest expert systems developed at Stanford University. It was designed to diagnose bacterial infections and recommend antibiotics. A doctor could input patient symptoms and test results, and MYCIN would provide a diagnosis along with recommended treatment, mimicking the reasoning of a medical expert.

Other examples include:

  • R1/XCON - Used by Digital Equipment Corporation (DEC) for computer configuration (first successful commercial expert system, 1982)
  • DENDRAL - Used for chemical analysis
  • Tax advisory systems - Used in financial planning

2. Stages of Expert System Development

: "An expert system typically is developed and refined over a period of several years."

The following are the major stages of expert system development:


Stage 1: Problem Identification and Feasibility Study

  • The problem domain is identified and analyzed.
  • Experts and knowledge engineers determine whether the problem is suitable for an expert system solution.
  • Questions addressed:
    • Is the problem well-defined?
    • Is there a genuine need for an expert system?
    • Is the required expertise available?
  • A feasibility study is conducted to check technical, economic, and operational viability.

Stage 2: Knowledge Acquisition

  • This is the most critical and time-consuming stage.
  • Knowledge is gathered from human domain experts, books, databases, case studies, and documents.
  • The knowledge engineer (developer) interviews experts and extracts:
    • Facts about the domain
    • Rules and heuristics used by experts
    • Decision-making strategies
  • Challenges: Experts may find it difficult to articulate their implicit knowledge.

Stage 3: Knowledge Representation

  • The acquired knowledge is organized and represented in a form that the computer can process.
  • Common representation techniques:
    • Production Rules (IF-THEN rules)
    • Semantic Networks
    • Frames
    • Predicate Logic
  • Example of a production rule:
    IF  patient has fever AND cough
    THEN  suspect respiratory infection
    

Stage 4: Prototype Development

  • A small-scale prototype of the expert system is built using the represented knowledge.
  • This prototype is tested with simple cases to verify the basic structure and logic.
  • Tools used: Expert System Shells (e.g., CLIPS, JESS, Prolog)
  • The prototype helps identify gaps in knowledge and design flaws early.

Stage 5: Testing and Validation

  • The prototype is tested with real-world cases and compared against decisions made by actual human experts.
  • Validation ensures the system produces correct and reliable outputs.
  • Verification ensures the system is built correctly according to specifications.
  • Errors in rules or knowledge are identified and corrected.

Stage 6: Refinement and Expansion

  • Based on testing feedback, the knowledge base is refined and expanded.
  • New rules are added, incorrect rules are modified or removed.
  • The system is gradually scaled up from a prototype to a full system.
  • This stage may repeat multiple times (iterative process).

Stage 7: Integration and Deployment

  • The fully developed expert system is integrated into the working environment.
  • It is deployed for actual use by end users (non-experts).
  • User training and documentation are provided.
  • The system is connected to existing databases and organizational systems if needed.

Stage 8: Maintenance and Knowledge Update

  • The expert system is maintained over time.
  • The knowledge base is updated periodically as new knowledge becomes available or the domain changes.
  • Performance is monitored and improvements are made continuously. -: "It updates knowledge periodically if agent is able to acquire new knowledge."

Summary Diagram of Stages

Problem Identification
        |
        v
Knowledge Acquisition
        |
        v
Knowledge Representation
        |
        v
Prototype Development
        |
        v
Testing and Validation
        |
        v
Refinement and Expansion
        |
        v
Integration and Deployment
        |
        v
Maintenance and Update

Conclusion

Expert systems represent a significant milestone in Artificial Intelligence, as demonstrated by the success of systems like R1 at Digital Equipment Corporation which saved millions of dollars per year. The development of an expert system is an iterative, multi-stage process that requires close collaboration between knowledge engineers and domain experts to build a reliable, accurate, and maintainable system.

Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.