001 - 1. Introduction To AI
001 - 1. Introduction To AI
001 - 1. Introduction To AI
Artificial Intelligence
CS 2203
CS 2203
Course classroom page:
[ schedule, lecture notes, tutorials, assignment,
important announcements]
A Modern Approach Prentice Hall, 2003, Second Edition
CS 2203
Today’s class
What is Artificial Intelligence?
A brief History
Intelligent agents
State of the art
CS 2203
What is Artificial Intelligence
(John McCarthy , Basic Questions)
CS 2203
What is Artificial Intelligence ?
• making computers that think?
• the automation of activities we associate with human thinking,
like decision making, learning ... ?
• the art of creating machines that perform functions that
require intelligence when performed by people ?
• the study of mental faculties through the use of computational
models ?
What is Artificial Intelligence ?
• the study of computations that make it possible to
perceive, reason and act ?
• a field of study that seeks to explain and emulate
intelligent behaviour in terms of computational processes ?
• a branch of computer science that is concerned with the
automation of intelligent behaviour ?
• anything in Computing Science that we don't yet know how
to do properly ? (!)
What is Artificial Intelligence ?
HUMAN RATIONAL
Systems that act like humans:
Turing Test
• “The art of creating machines that perform functions that
require intelligence when performed by people.”
(Kurzweil)
• “The study of how to make computers do things at which,
at the moment, people are better.” (Rich and Knight)
Systems that act like humans
?
• You enter a room which has a computer terminal. You
have a fixed period of time to type what you want into the
terminal, and study the replies. At the other end of the
line is either a human being or a computer system.
• If it is a computer system, and at the end of the period
you cannot reliably determine whether it is a system or a
human, then the system is deemed to be intelligent.
Systems that act like humans
HUMAN RATIONAL
Systems that think like humans:
cognitive modeling
• Humans as observed from ‘inside’
• How do we know how humans think?
• Introspection vs. psychological experiments
• Cognitive Science
• “The exciting new effort to make computers think …
machines with minds in the full and literal sense”
(Haugeland)
• “[The automation of] activities that we associate with
human thinking, activities such as decision-making,
problem solving, learning …” (Bellman)
What is Artificial Intelligence ?
HUMAN RATIONAL
Systems that think ‘rationally’
"laws of thought"
• Humans are not always ‘rational’
• Rational - defined in terms of logic?
• Logic can’t express everything (e.g. uncertainty)
• Logical approach is often not feasible in terms of
computation time (needs ‘guidance’)
• “The study of mental facilities through the use of
computational models” (Charniak and McDermott)
• “The study of the computations that make it
possible to perceive, reason, and act” (Winston)
What is Artificial Intelligence ?
HUMAN RATIONAL
Systems that act rationally:
“Rational agent”
• Rational behavior: doing the right thing
• The right thing: that which is expected to maximize
goal achievement, given the available information
• Giving answers to questions is ‘acting’.
• I don't care whether a system:
• replicates human thought processes
• makes the same decisions as humans
• uses purely logical reasoning
Systems that act rationally
• Logic only part of a rational agent, not all of
rationality
• Sometimes logic cannot reason a correct conclusion
• At that time, some specific (in domain) human
knowledge or information is used
• Thus, it covers more generally different situations of
problems
• Compensate the incorrectly reasoned conclusion
Systems that act rationally
• Study AI as rational agent –
2 advantages:
• It is more general than using logic only
• Because: LOGIC + Domain knowledge
• It allows extension of the approach with more scientific
methodologies
Rational agents
An agent is an entity that perceives and acts
Agent types
CS 2203
Agents
An agent is anything that can be viewed as
perceiving its environment through sensors and
acting upon that environment through actuators
Human agent: eyes, ears, and other organs for
sensors; hands,
legs, mouth, and other body parts for actuators
Robotic agent: cameras and infrared range finders
for sensors;
various motors for actuators
CS 2203
Agents and environments
CS 2203
Rational agents
An agent should strive to "do the right thing",
based on what it can perceive and the actions
it can perform. The right action is the one that
will cause the agent to be most successful
Performance measure: An objective criterion
for success of an agent's behavior
E.g., performance measure of a vacuum-
cleaner agent could be amount of dirt cleaned
up, amount of time taken, amount of electricity
consumed, amount of noise generated, etc.
CS 2203
Rational agents
CS 2203
Implementing agents
Table look-ups
Autonomy
All actions are completely specified
no need in sensing, no autonomy
example: Monkey and the banana
Structure of an agent
agent = architecture + program
Agent types
• medical diagnosis
• Satellite image analysis system
• part-picking robot
• Interactive English tutor
• cooking agent
• taxi driver
CS 2203
CS 2203
CS 2203
CS 2203
CS 2203
CS 2203
CS 2203
CS 2203
CS 2203
CS 2203
CS 2203
CS 2203
CS 2203
Agent types
Example: Taxi driver
Simple reflex
If car-in-front-is-breaking then initiate-breaking
Agents that keep track of the world
If car-in-front-is-breaking and on fwy then initiate-breaking
needs internal state
goal-based
If car-in-front-is-breaking and needs to get to hospital then go to
adjacent lane and plan
search and planning
utility-based
If car-in-front-is-breaking and on fwy and needs to get to hospital
alive then search of a way to get to the hospital that will make your
passengers happy.
Needs utility function that map a state to a real function (am I
happy?)
CS 2203
Summary
What is Artificial Intelligence?
modeling humans thinking, acting, should think,
should act.
History of AI
Intelligent agents
We want to build agents that act rationally
Real-World Applications of AI
AI is alive and well in various “every day” applications
• many products, systems, have AI components
Assigned Reading
Chapters 1 and 2 in the text R&N
CS 2203