Lecture 1c Formal Intro To AI
Lecture 1c Formal Intro To AI
A FORMAL INTRODUCTION
What does
“artificial” intelligence
mean?
Programming a computer to successfully
perform tasks that are thought to require
intelligence
Playing chess
Proving theorems
Translating Russian into English
Walking across a room
Recognizing a familiar face
Understanding directions
2
DEFINITIONS OF AI
Study of how to make computers do things at
which, at the moment, people are better.
(Elain Rich) (Memorizing and intelligence)
4
Some more definitions
9
The Dartmouth
Conference
They all in their various fields, were using
computers to try to simulate various aspects
of human intelligence.
A new branch of computer science
crystallized at the conference, combining
elements of several different avenues of
research into a unified field.
There was no universal agreement about
what to call the new science.
However, Artificial Intelligence, the name
suggested by John McCarthy, one of the
conference organizers, has come to be
associated firmly with the field.
10
Can Machines Think?
Computers were used by Americans
and the British during World War II
to expedite complex tasks such as
numerical computations and code
breaking activities that previously
had been assumed to require
human intelligence.
11
Can Machines Think?
Notice that shift in the frontier of
“intelligence” in the last 50 years.
We have become so accustomed to
calculating machines that we now
consider that kind of activity to be
“mechanical”.
It was probably inevitable that
scientists working with the first
computers would speculate about
how intelligent these new electronic
marvels could become.
12
Can Machines Think?
Alan Turing, a mathematician, was working on
Project Ultra, the successful British effort to
break the German Code during World War II.
As part if his role in that project, Turing helped
design one of the first computers ever built.
Turing also wrote an article entitled
“Computing Machinery and Intelligence”,
which secured for him the distinction of being
generally recognized as the “father of AI”. He
proposed a question “Can machines think?”
Turing suggested a test, in the form of game,
that could help decide the issue. He called it
imitation game. (Replicating, human behavior)
13
The Turing Test
You are the “interrogator”; you can direct
questions to either Person A or Person B
through a keyboard to the screen, but
you do not know which is the man and
which is the woman. Only one of the
persons is obligated to reply truthfully,
the other person is actively engaged in
attempting to fool and confuse you,
using any deceitful tactics that will make
you guess incorrectly. The objective of
the game is to try to guess which person
is male and which is female solely by
analyzing the responses through a
keyboard. Screen communication.
14
The Turing Test
Next, and this is the critical part of
the Turing test, substitute a
computer for one of the people. Now
the human is obligated to give you
truthful, human-like responses; but
the computer is trying to fool you
into thinking that it is human!
15
The Turing Test
It is considered to be any situation
in which a human converses with an
unseen respondent and attempts to
determine if the dialogue is being
conducted with a human or a
computer. If a computer can fool
you into believing that you are
talking to a human, the computer
can be said to be intelligent.
17
Intelligent Test for
Computers
Alan Turing, a pioneer in the theory of
computation, once proposed an intelligent test for
computer programs [Turing 1950].
In one variant of the Turing Test, a human judge is
allowed to interrogate a program through some
sort of an interface such as a video terminal. If the
program can fool the human into believing that it
is another human responding rather than a
computer, then the program is judged intelligent.
You can imagine variants of this test in which you
manipulate a robot’s environment to see how
robot responds and judge the robot as intelligent
or not, depending on whether the robot responds
in accordance with how a human might in the
same situation.
18
What AI competitions exist?
19
HISTORY OF AI
Details Later
DISUCSSING NATURAL AND
ARTIFICIAL INTELLIGENCE
AI TREE
Computers are
Good at: • Bad at:
Number crunching – Writing poetry
Storing information – Composing music
Airline scheduling
– Understanding
Transmitting data
speech
Structured data
bases – Driving cars
Graphics – Enjoying peaches
– Learning new things
23
Artificial Intelligence
Human Intelligence!
24
INTELLIGENCE
Natural Artificial
God made Man made
Associated with Associated with
human machines
Human behavior To emulate human
Psychology behavior in terms of
Five senses computational
Symbolic data processes
Fuzzy ness
Various sensors
Numeric + Symbolic
Uncertainty to be
dealt with
25
Definition of Intelligent Agent:
26
How do we build an intelligent
agent?
27
Building Intelligent Agents:
First Challenge
Create a representation of the world in terms
computers can deal with
Numbers?
Text
Logic
Let’s assume everything about the task can
be represented – we have complete
knowledge
28
Building Intelligent Agents:
Second Challenge
29
Intelligent Agents
prior knowledge
experience
goals/values
observations
Building Intelligent Agents
prior knowledge
experience Agent actions
goals/values
observations
31
Intelligent Agent Skills include
Vision Processing
Planning
Robotics
Natural Language Understanding
Search Reasoning Machine Learning
Representation of the World
Symbols (Logic, Numbers)
32
AI programming Vs.
Conventional programming
AI CONVENTIONAL
Primarily symbolic
Primarily numeric
Heuristic, Solution
Algorithmic,
steps implicit Solution step
explicit
Control structure Information and
separate from
control integrated
knowledge base
Difficult to modify
Easy to modify
Correct answers
Satisfactory answers
required
acceptable
33
EL
EM
EN
NLP
A TS
I
O
F
Heuristic Knowledge
Search Rep.
T.Prov. ROBOTS
& MV
Languages Reasoning
& Tools & Logic
ES
34
AI: CENTRAL THEMES
THEMES
K. representation
Inference and control
Learn and adapt
Handling uncertainty
Reasoning
Knowledge/search
tradeoff,
Combinatorial
explosion
Problem
decomposition
35
WHAT IS INTELLIGENCE AND HOW IT
WORKS?
Intelligence is ability to
meet situations successfully
perceive inter relationship of facts
learn and understand from
Goals
experience We think because
acquire and retain knowledge there are things we
respond quickly and successfully
have to do
to a new situation
To respond to a situation very
Intelligence
flexibly Facts and rules
To make sense out of ambiguous
or contradictory messages Control
To recognize the relative Pruning
importance of different elements
of a situation Inferencing
To find similarities B/W situations
despite differences which may
separate them
To draw distinctions B/W situations
despite similarities which may link
them
36
Facts And
Rules
Intelligence
1) Collection of facts.
Goals:
Example
Wake up in the morning.
To go to office.
Reach in time.
Goals ----- ultimate goals.
42
Strong AI
It makes the bold claim that computers can be made to think on
a level (at least) equal to humans.
Weak AI
It simply states that some “thinking like” features can be added
to computers make them more useful tools like expert
systems, speech recognition software etc.
43
Intelligent Systems
Statistics
Artificial
Intelligence Theoretical
Physics
Signal Intelligent
Processing Systems Control
Theory
44
Robots
AI Technologies and
Applications
AI TECHNOLOGIES
T. PROVING
49
AI
Technologies
50
AI
Technologies
51
AI
Technologies
52
AI
Technologies
53
AI Technologies
Robotics
Expert Systems
Computer
VisionRecognition
Speech
Automatic
Programming
Natural Language
Processing
Planning and Decision
Support
Intelligent Computer Aided
Instruction
54
Generic Applications of AI
Knowledge Human Interaction:
Management:
•Speech understanding
• Intelligent Database
•Speech generation
access
Learning and Teaching:
• Knowledge
acquisition •Computer aided
instruction
• Text understanding
•Intelligent computer
• Text generation
aided instruction
• Machine translation
•Learning from experience
• Explanation
•Concept generation
• Logical operations on
•Operation and
databases
maintenance instruction
55
Generic Applications of AI
56
Generic Applications of AI
Space:
•Ground Operation Aids
•Planning and Scheduling Aids
•Diagnosis and Reconfiguration Aids
•Remote Operations of Spacecraft and
Space Vehicles
•Test Monitors
•Real-time Re-planning as required by
failures, changed conditions, or new
opportunities
•Automatic Subsystem Operations
62
Playing Chess