Professional Documents
Culture Documents
Intelligence
2. Intelligent Agents
Outline
Agents and environments.
- The vacuum-cleaner world
The Concept of Rational Behavior.
PEAS (Performance measure, Environment,
Actuators, Sensors)
Environment Types.
Agent Types.
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
f : P* A
An agent can perceive its
own actions, but not always
it effects.
4 2. Intelligent Agens
Agents and Environments
5 2. Intelligent Agens
Agents and Environments
An agent is completely specified by the agent
function mapping from percept sequences to
actions:
[f: P* A]
8 2. Intelligent Agens
The vacuum-cleaner world
9 2. Intelligent Agens
The Concept of Rationality
A Rational Agent is one that does the right thing.
Every entry in the table is filled out correctly.
Rationality Omniscience
An omniscient agent knows the actual outcome of its
actions.
Rationality Perfection
Rationality maximizes expected performance, while
perfection maximizes actual performance.
Agent autonomy
Compensate for incorrect prior knowledge
Sensors: Keyboard.
Drawbacks:
Huge table
Take a long time to build the table
No autonomy
Even with learning, need a long time to learn the
table entries
Large reduction in
possible percept/action
situations(next page).
Implemented through
condition-action rules
If dirty then suck
41 2. Intelligent Agens
The Vacuum-Cleaner Agents
42 2. Intelligent Agens
Simple Reflex Agents
function SIMPLE-REFLEX-AGENT(percept) returns an action
state INTERPRET-INPUT(percept)
rule RULE-MATCH(state, rule)
action RULE-ACTION[rule]
return action
44 2. Intelligent Agens
Model-based Reflex Agents
function REFLEX-AGENT-WITH-STATE(percept) returns an action
46 2. Intelligent Agens
Utility-based Agents
Certain goals can be reached in
different ways.
Some are better, have a higher
utility.
Improves on goals:
Selecting between conflicting goals
Select appropriately between
several goals based on likelihood of
success.
47 2. Intelligent Agens
Learning Agents
All previous agent-
programs describe
methods for selecting
actions.
Yet it does not explain the
origin of these programs.
Learning mechanisms can be
used to perform this task.
Teach them instead of
instructing them.
Advantage is the robustness of
the program toward initially
unknown environments.
48 2. Intelligent Agens
Learning Agents
Learning element: introduce
improvements in performance
element.
Critic provides feedback on agents
performance based on fixed
performance standard.
Performance element: selecting
actions based on percepts.
Corresponds to the previous agent
programs
Problem generator: suggests
actions that will lead to new and
informative experiences.
Exploration vs. exploitation
49 2. Intelligent Agens