expert system and neural networks

Embed Size (px)

Citation preview

  • 8/7/2019 expert system and neural networks

    1/32

    Expert Systems

    An expert system is a computer

    program that is designed to hold

    the accumulated knowledge of

    one or more domain experts tosolve problems

  • 8/7/2019 expert system and neural networks

    2/32

    Background History

    Expert systems first emerged from the

    research laboratories of U.S.universities

    during the 1960s and 1970s.

    They were developed as specialized

    problem solvers which emphasized the

    use of knowledge rather than data andgeneral search methods.

  • 8/7/2019 expert system and neural networks

    3/32

    Background history

    The first expert system to be completed

    was DENDRAL, developed at stanford

    university in the late 1960s.

    DENDRAL: Used to

    identify the structure

    of chemical compounds

    with consituent elements.

  • 8/7/2019 expert system and neural networks

    4/32

    Background history

    DENDRAL discovered a number of

    structures perviosly unknown to expert

    chemists.

    As researchers gained more experience

    with DENDRAL,led to the development

    of Meta-DENDRAL,a learningcomponent which was able to learn

    rules from positive examples, a form of

    inductive learning.

  • 8/7/2019 expert system and neural networks

    5/32

    Background history

    PROSPECTOR:

    Used by geologists

    to identify sites for

    drilling or mining

    PUFF:

    Medical system

    for diagnosis of

    respiratory dieses

  • 8/7/2019 expert system and neural networks

    6/32

    Background history

    DESIGN ADVISOR:Gives advice to

    designers of

    processor chips

    MYCIN:

    Medical system for

    diagnosing blood disorders.

    First used in 1979

  • 8/7/2019 expert system and neural networks

    7/32

    Background history

    The initial MYCINs knowledge base

    contained only 200 Rules and

    vocabulary of 2000 words.

    This number was gradually increased to

    more than 600 rules by the early 1980s.

    This improved MYCINs performanceleading to a 65% success record which

    compared favorably with experinced

    physicians with 60% success rate.

  • 8/7/2019 expert system and neural networks

    8/32

    Why we use Expert Systems?

    Campbell Soup uses large cookers to

    cook soups and other can products at

    eight plants located throghout thecountry.

    Some cookers hold up to 68,000 cans

    of food for short periods of cooking time.when maintenance problems occur with

    the cookers,fault must be found or food

    will spoil.

  • 8/7/2019 expert system and neural networks

    9/32

    Why we use Expert Systems?

    Company had been depending on a

    single expert to diagnose.

    Expert will retire in a few years takinghis expertise with him.

    so, company decided to develop an

    expert system.After some months company developed

    an expert system about 150 rules in KB

    to diagnose cooker problems.

  • 8/7/2019 expert system and neural networks

    10/32

    Why we use Expert Systems?

    Capture and preserve irreplaceablehuman expertise

    Provide expertise needed at a numberof locations at the same time

    Provide expertise needed for training of

    human experts

  • 8/7/2019 expert system and neural networks

    11/32

    Rule based sytem architecture

    In this system knowledge encoded in

    the form of production rules,i.e.if .then

    rules.e.g.

    Inference in production systems is

    done by process of chaining either

    1. forwad2.backward

  • 8/7/2019 expert system and neural networks

    12/32

    Nonproduction system

    architecture

    Instead of rules,thes systems employ

    more structured representation

    schemes like

    1.Neural networks 4.Desicion tree

    2.Blackboard system

    3.Analogical reasoning

    4.frame

    5.semantic network

  • 8/7/2019 expert system and neural networks

    13/32

    Blackboard system

    architecture

    One of the first blackboard system was

    HEARSAY used for speech

    understanding system.

    More recently ,systems have been

    developed to analyze complex scene

    and model human cognitive processes.

  • 8/7/2019 expert system and neural networks

    14/32

    Blackboard system

    architecture

    CHINESE ROOM PROBLEM(CONGNITION)

  • 8/7/2019 expert system and neural networks

    15/32

    Neural network architecture

    Neural network: information

    processing inspired by biological

    nervous systems, such as our brain.

    Structure: large number of highly

    interconnected processing elements

    working together

  • 8/7/2019 expert system and neural networks

    16/32

    Control and Coordination

    Reflex action

  • 8/7/2019 expert system and neural networks

    17/32

    Neuron

  • 8/7/2019 expert system and neural networks

    18/32

    Synapse

  • 8/7/2019 expert system and neural networks

    19/32

    Neuron vs node

  • 8/7/2019 expert system and neural networks

    20/32

    Training the Network -

    LearningTraining the Network - Learning

    Backpropagation Requires training set (input / output pairs)

    Starts with small random weights

    Error is used to adjust weights (supervised learning)

    Gradient descent on error

  • 8/7/2019 expert system and neural networks

    21/32

    Example: Voice Recognition

    Task: Learn to discriminate between

    two different voices saying Hello

    Data

    Sources

    Steve

    David Format

    Frequency distribution (60 bins)

  • 8/7/2019 expert system and neural networks

    22/32

    Network architecture

    Feed forward network

    60 input (one for each frequency bin)

    6 hidden

    2 output (0-1 for Steve, 1-0 for David)

  • 8/7/2019 expert system and neural networks

    23/32

    Presenting the data

    Steve

    David

  • 8/7/2019 expert system and neural networks

    24/32

    Presenting the dataSteve

    David

  • 8/7/2019 expert system and neural networks

    25/32

    Presenting the data (untrained network)Steve

    David

    0.43

    0.26

    0.73

    0.55

  • 8/7/2019 expert system and neural networks

    26/32

    Calculate errorSteve

    David

    0.43 0 = 0.43

    0.26 1 = 0.74

    0.73 1 = 0.27

    0.55 0 = 0.55

  • 8/7/2019 expert system and neural networks

    27/32

    Backprop error and adjust weightsSteve

    David

    0.43 0 = 0.43

    0.26 1 = 0.74

    0.73 1 = 0.27

    0.55 0 = 0.55

    1.17

    0.82

  • 8/7/2019 expert system and neural networks

    28/32

    Repeat process (sweep) for all training

    pairs

    Present data

    Calculate error

    Backpropagate error

    Adjust weights

    Repeat process multiple times

  • 8/7/2019 expert system and neural networks

    29/32

    Presenting the data (trained network)Steve

    David

    0.01

    0.99

    0.99

    0.01

  • 8/7/2019 expert system and neural networks

    30/32

    Results Voice Recognition

    Performance of trained network

    Discrimination accuracy between known Hellos

    100%

    Discrimination accuracy between new Hellos

    100%

  • 8/7/2019 expert system and neural networks

    31/32

    Problems with Expert Systems

    Limited domain

    Systems are not always

    up to date, and dontlearn

    No common sense

    Experts needed to setupand maintain system

  • 8/7/2019 expert system and neural networks

    32/32

    Legal and Ethical Issues

    Who is responsible if the advice is wrong?

    The user?

    The domain expert?

    The knowledge engineer?

    The programmer of the expert system shell?

    The company selling the software?