Professional Documents
Culture Documents
Email: asif@northern.edu.pk
Whatsapp# 03215551098
“The Ultimate goal of AI research (which we are very far from achieving) is to build an
intelligent human being.” Science Fiction has also been exploring the ultimate goal of AI (or
highlighting the AI researchers dream), by producing novels, and movies, such as Star Wars,
Terminator, and Short Circuit, which exhibit intelligent machines. Such endeavors predict to
some extent the future of AI. This dream person can be hypothesized to have certain simple
modules, as shown in the following model:
Knowledge Internal
Internal Base
Vision Robotics
Representation Representation
Reasoning
Deduction
Search
Planning
Internal Internal
Language Learning Speech
Representation Representation
The overall structure of the model is INPUT -> INTERNALS -> OUTPUT, where the INPUT
and the OUTPUT represent specialized areas of Artificial Intelligence which we will not be
addressing in this course. Our main focus will be on how this information is processed
internally, (i.e. INTERNALS) and how intelligent decisions are reached, which exhibit
Intelligence.
For this course we will keep the INPUT and OUTPUT modules simple by replacing them with
simple text based inputs and outputs, allowing easy transfer of knowledge from one side to
another. This would also relieve us from addressing difficult areas (Vision, Natural Language,
Robotics, and Speech processing/generation) which themselves require (as pre-requisites)
thorough knowledge of AI fundamental.
We can think of this approach as building a box (which includes all the internals) with primitive
form of inputs and outputs, and then later on adding more useful and productive inputs and
outputs, which resemble the real humans we are trying to mimic or clone:
-1- Artificial Intelligence
Muhammad Asif Lecture #1
Email: asif@northern.edu.pk
Whatsapp# 03215551098
... So the dream lives on ...
Elbow sw ivel
Shoulder
sw ivel
Yaw
Trunk
sw ivel
Pitch Roll
Artificial Intelligence is not the study of computers, but of intelligence in thought and
action. Computers are its tools, because its theories are expressed as computer
programs that enable machines to do things that would require intelligence if done by
people.
What is AI? ... Artificial Intelligence is the attempt to build computational models of
cognitive processes, or, to put it another way: in Artificial Intelligence we make
computers perform tasks that would be considered intelligent if done by a human.
“Artificial Intelligence” is the ability of machines to do things that people would say
require intelligence. Artificial Intelligence (AI) research is an attempt to discover and
describe aspects of human intelligence that can be simulated by machine.
Most of the work on building these kinds of systems [what are called artificial
intelligence systems] has taken place in the field of Artificial Intelligence (AI). This
work has had largely an empirical and engineering orientation.
Two fields devoted to knowledge-based systems are cognitive science and artificial
intelligence. Cognitive science is a merger of philosophy, linguistics, and philosophy
with a strong influence from computer science. Artificial intelligence (AI) is the
engineering counterpart; it pays more attention to programming tools and techniques
that to philosophical issues.
There are many ways to define the field of Artificial Intelligence. here is one:
Artificial Intelligence is the study of ideas that enable computers to be intelligent.
•
•
•
•
•
•
Expert Systems
Expert Systems
Advantages of Using Expert Systems
Expert Systems (or the general term Knowledge Based Systems) can be
distinguished from other kinds of AI programs:
Queries, Problems
Toolbuilder Domain
Expert
Extends
Builds and tests
Interviews
Expert
System Knowledge Expert
Building Engineer System End-User
Tools Builds,
(Lisp, Shells) Uses
refines,
tests
Adds
Data
Clerical
Staff
Expert Systems have not been around for very long. The following list places
some of the best-known systems in context:
DENDRAL’s job was to help interpret mass spectrometer data. Imagine you
have a mystery chemical; an electron beam can be used to smash the molecules,
which tend to break at certain characteristic places. The bits are charged, and
electric and magnetic fields can be used to steer the fragments to various
collection points, according to their weight and charge. The output of the
spectrometer is essentially a histogram of how much of what weight was found.
A complicating factor is that sundry of the bits tend to glue back together.
DENDRAL applies various kinds of chemical knowledge to the combinatorial
reasoning task of figuring out what the original chemical was.
MYCIN is the golden oldie of expert systems. It’s job was to figure out, from
simple and quickly obtainable data, what kinds of bacterial infection a newly-
admitted hospital patient might have and to recommend an appropriate set of
antibiotics that will cover all the possibilities, keeping him alive and in a stable
condition while the time-consuming lab tests were done. It only dealt with
bacterial infections, and only of certain kinds. It is worth remembering that
-9- Artificial Intelligence
Muhammad Asif Lecture #2
Email: asif@northern.edu.pk
Whatsapp# 03215551098
most of MYCIN’s knowledge was based on heuristics derived from consensus
of opinion at Stanford Medical School. So it is quite possible that MYCIN will
perform poorly if tested against experts from some other medical
establishments.
PUFF advises about the causes of obstructive airway disease. It was originally
implemented using EMYCIN, a shell developed from MYCIN. It was
eventually recreated in BASIC to run on an APPLE computer.
-10- Artificial Intelligence
Muhammad Asif Lecture #2
Email: asif@northern.edu.pk
Whatsapp# 03215551098
GUIDON was an attempt to use MYCIN’s knowledge base for teaching
MYCIN’s diagnostic skills. It was not a great success. MYCIN’s knowledge
was of a behaviourist kind, with the stimuli being particular patterns in the data
and the responses being the creation of new data. It didn’t have the kind of
causal knowledge needed to be able to explain why certain conclusions might
be expected to follow from certain data.
HASP processed data from sonar arrays on the sea-bed, to maintain a “current
best view” about what kinds of ships were in the vicinity and where they were
heading. It was developed for the US Navy, and worked well in the tests. It had
an architecture based on that of HEARSAY-II.