Artificial Intelligence
Artificial Intelligence
INTRODUCTION
Why Study AI?
Bellman, 1978
“[The automation of] activities that we associate with human
thinking, activities such as decision making, problem solving,
learning”
What is the definition of AI?
Haugeland, 1985
“The exciting new effort to make computers think machines with
minds, in the full and literal sense”
What is the definition of AI?
Kurzweil, 1990
“The art of creating machines that perform functions that require
intelligence when performed by people”
What is the definition of AI?
Nilsson, 1998
“Many human mental activities such as writing computer
programs, doing mathematics, engaging in common sense
reasoning, understanding language, and even driving an
automobile, are said to demand intelligence. We might say that
[these systems] exhibit artificial intelligence”
What is the definition of AI?
Schalkoff, 1990
“A field of study that seeks to explain and emulate intelligent
behavior in terms of computational processes”
What is the definition of AI?
Winston, 1992
“The study of the computations that make it possible to perceive,
reason, and act”
Approach 1: Acting Humanly
Agent must:
Have command of language
Be able to reason
Be able to learn
Philosophy
450 BC, Socrates asked for algorithm to distinguish pious from non-
pious individuals
Aristotle developed laws for reasoning
Mathematics
1847, Boole introduced formal language for making logical inference
Economics
1776, Smith views economies as consisting of agents maximizing their
own well being (payoff)
Neuroscience
1861, Study how brains process information
Psychology
1879, Cognitive psychology initiated
Linguistics
1957, Skinner studied behaviorist approach to language learning
History of AI
Environment
Actuators
Sensors
PEAS
Environment
Actuators
Sensors
Chess without a
clock
Discrete vs.
continuous
Single agent vs.
Environment Examples
Discrete vs. Robot part picking Fully Determi Episodic Semi Discret Single
nistic e
continuous
Single agent vs.
Environment Examples
Discrete vs. Robot part picking Fully Determi Episodic Semi Discret Single
nistic e
continuous
Interactive English
Single agent vs. tutor
Environment Examples
Discrete vs. Robot part picking Fully Determi Episodic Semi Discret Single
nistic e
continuous
Interactive English Partia Stochas Sequentia Dyn Discret Multi
Single agent vs. tutor l tic l amic e
Agent Types
SimpleReflexAgent(percept)
state = InterpretInput(percept)
rule = RuleMatch(state, rules)
action = RuleAction(rule)
Return action
Example: Vacuum Agent
Performance?
1 point for each square cleaned in time T?
#clean squares per time step - #moves per time step?
Environment: vacuum, dirt, multiple areas defined by square regions
Actions: left, right, suck, idle
Sensors: location and contents
[A, dirty]
Store previously-
observed
information
Can reason about
unobserved aspects
of current state
ReflexAgentWithState(percept)
state = UpdateDate(state, action, percept)
rule = RuleMatch(state, rules)
action = RuleAction(rule)
Return (action)
Reflex Vacuum Agent
Evaluation function
to measure utility
f(state) -> value
Useful for evaluating
competing goals
Learning Agents
Pathfinder Medical Diagnosis System