Professional Documents
Culture Documents
Introduction to AI 1
http://aima.cs.berkeley.edu
1 / 23
Outline
1 What is AI?
2 Rationality
2 / 23
What is AI?
Artificial Intelligence
Methods for applying computers to problems that require “intelligence”
Study of the fundamental limits of “intelligent” behavior by computers.
What is Intelligence?
3 / 23
Acting Humanly: The Turing Test
Problems:
Not reproducible
Not amenable to mathematical analysis
4 / 23
Acting Humanly: The Turing Test
4 / 23
Think Like Humans: Cognitive Science
5 / 23
Acting Rationally
5 / 23
Rational Agents
Adjust amount of reasoning according to available resources and importance
of the result.
An agent is an entity that perceives and acts
Abstractly, an agent is a function from percept histories to
actions:
f : P∗ → A
For any given class of environments and tasks, we seek
the agent (or class of agents) with the best performance
Computational limitations make perfect rationality
unachievable
→ design best program for given machine resources
6 / 23
Agents and Environments
f : P∗ → A
The agent program runs on the physical architecture to
produce f
7 / 23
Vacuum-Cleaner World
8 / 23
Vacuum-Cleaner World
agent: robot vacuum cleaner
environment: floors of your apartment
sensors:
dirt sensor: detects when floor in front of robot is dirty
bump sensor: detects when it has bumped into
something
power sensor: measures amount of power in battery
bag sensor: amount of space remaining in dirt bag
effectors:
motorized wheels
suction motor
plug into wall? empty dirt bag?
percepts: “Floor is dirty”
actions: “Forward, 0.5 ft/sec”
8 / 23
A Vacuum-Cleaner Agent
Avoiding Omniscience
An omniscient agent is one that can predict the future
perfectly. We don’t want this!
10 / 23
Rationality
10 / 23
Rationality
Rational = omniscient
percepts may not supply all relevant information
Rational = clairvoyant
action outcomes may not be as expected
11 / 23
Task Environments
12 / 23
Agent Types
3 Goal-based agents
4 Utility-based agents
13 / 23
Simple reflex agents
14 / 23
Model-based reflex agents
15 / 23
Goal-based agents
16 / 23
Utility-based agents
17 / 23
Learning agents
17 / 23
PEAS
19 / 23
PEAS
20 / 23
Internet Shopping Agent
Examples of agent types
Agent Type P E A S
Satellite image Correct image Downlink from Display Color pixel array
system categorization satellite categorization of
scene
23 / 23
State Representation
23 / 23