Sie sind auf Seite 1von 16

Artificial Intelligence:

Applications
Expert Systems

Note: Coursework

Part B:
Best solutions are ones that allow similar problems
to be solved with the given set of planning operators.
Less good solutions may only contain actions for the
solution to the problem (so build in the solution).

Part C:
writePlan([LastAction | Others])
To write out in reverse write out all the Others
before writing out LastAction.
Then LastAction will be written last..

Coursework: Part B

To debug and test your plan operators:

Try varying the initial and final state Can your robot get into the other room?
Do your plan operators work if door is initially open?
Or if the wine is initially in the living room and Diana in
the kitchen?

Try working through the operators by hand


Write out the lists of facts true in the current state after
each action in your expected solution.
Carefully check that all the preconditions are exactly
met.

AI Applications: Intro

Currently many commercial applications in:


machine learning (e.g., data mining)
speech technology
image analysis (and vision)
intelligent agents in games, and in Web
services.

We will briefly look back at early applications,


then look at Web applications.

Expert Systems: Intro

Expert systems aimed to capture specialist


human expertise which was in short supply. Eg..,
Medical expertise
Computer configuration expertise.
Expertise for oil exploration.

Aim was to develop systems capturing this


expertise, so the knowledge could be deployed
where experts were unavailable.

Expertise

But what is expertise?


Much more than just facts..
Includes
knowledge of procedures, and when different procedures
apply.
strategies for finding solutions to problems.
Rules of thumb based on experience, allowing experts
to rapidly home in on likely solutions.
Knowledge of which unknown information we can easily
find the answer to.

Knowledge Engineering

Knowledge engineering is the process of


Extracting the knowledge from the human
expert.
Formalising it in such a way that it can be
applied.

We need to choose:
knowledge representation formalism
reasoning and problem solving strategy.

Expert System Architecture

Common approach is/was to have knowledge


represented as if-then rules.
Reasoning strategy might be forward or
backward chaining.
An early and simple system which used a
backward chaining rule-based system is
MYCIN.
Helped physicians diagnose bacterial
infections.

MYCIN

MYCINs knowledge base consisted of set


of IF-THEN rules, e.g.,
IF the infection is primary-bacteremia
AND the site of the culture is one of the sterile
sites
AND the suspected portal of entry is the
gastrointestinal tract
THEN there is suggestive evidence (0.7) that
infection is bacteroid.

MYCIN: Reasoning and Problem


Solving Strategy

MYCIN could use backward chaining to find out


whether a possible bacteria was to blame.
This was augmented with certainty factors that
allowed an assessment of the likelihood, if no one
bacteria was certain.
MYCINs problem solving strategy was simple:

For each possible bacteria:

Using backward chaining, try to prove that it is the case,


finding the certainty.

Find a treatment which covers all the bacteria above


some level of certainty.

MYCIN: Problem Solving

When trying to prove a goal through backward


chaining, system could ask user certain things.

Certain facts are marked as askable, so if they couldnt


be proved, ask the user.

This results in following style of dialogue:


MYCIN: Has the patient had neurosurgery?
USER: No.
MYCIN: Is the patient a burn patient?
USER: No.

MYCIN: It could be Diplococcus..

Modelling Human Diagnostic


Strategies.

Problem Solving Strategy used in MYCIN only


works when small number of hypotheses
(e.g., bacteria).
For hundreds of possible diseases, need a
better strategy.
Later medical diagnostic systems used an
approach based on human expert reasoning.

Diagnostic Reasoning: Internist

Internist is a medical expert system for general disease


diagnosis.
Knowledge in system consists of disease profiles,
giving symptoms associated with disease and strength
of association.
E.g., ECHINOCOCCAL CYST of LIVER
Finding
Strength
Cough
1
Fever
2
Jaundice 4

Problem Solving in Internist

Use initial data (symptoms) to suggest, or trigger


possible diseases.
Determine what other symptoms would be expected
given these diseases.
Gather more data to differentiate between these
hypotheses. Either:
If one hypothesis most likely, try to confirm it.
If many possible hypotheses, try to rule some out.
If a few hypotheses, try to discriminate between them.

Medical Expert Systems Today

Medical expert systems were quite effective in


evaluations comparing their performance with human
experts.
Rather few however are used in practice - Hard to
integrate into existing practices.
The successful ones:
Support the physicians decisions, rather than doing the
whole diagnosis.
Include many useful support materials, such as report
generating tools, reference material etc.

Summary: Expert Systems

Effective systems have been developed that


capture expert knowledge in areas like medicine.
Typically combine rule-based approaches, with
additional certainty/probabalistic reasoning, and
some top level control of the problem solving
process.
Not a huge take-up of systems, perhaps due to
failure to adequately consider how they would be
integrated into current practice.

Das könnte Ihnen auch gefallen