Professional Documents
Culture Documents
LECTURE OBJECTIVES
Agents and environments
Rationality
PEAS (Performance measure, Environment, Actuators,
Sensors)
Environment types
Agent types
AGENTS
An agent is anything that can be viewed as perceiving its
environment through sensors and acting upon that
environment through actuators
Human agent:
Robotic agent:
GLOSSARY
Percept
agents perceptual inputs
Percept sequence
History of everything the agent has perceived
Agent function
Describes agents behaviour maps any percept to an
action
Agent program
Implements agent function
EXAMPLE: VACUUM-CLEANER
AGENT
INTELLIGENT AGENTS
The
Acting
Sensing
Understanding,
reasoning, learning
must
AI
be rational.
RATIONAL AGENT
An agent should strive to "do the right thing", based on
what it can perceive and the actions it can perform.
What is the right thing?
RATIONALITY CONTD
10
PEAS
Agent: Medical diagnosis system
Performance measure: Healthy patient, minimize
costs, lawsuits
Environment: Patient, hospital, staf
Actuators: Screen display (questions, tests, diagnoses,
treatments, referrals)
Sensors: Keyboard (entry of symptoms, findings,
patient's answers)
13
PEAS
Agent: Part-picking robot
Performance measure: Percentage of parts in correct
bins
Environment: Conveyor belt with parts, bins
Actuators: Jointed arm and hand
Sensors: Camera, joint angle sensors
14
PEAS
Agent: Interactive English tutor
Performance measure: Maximize student's score on
test
Environment: Set of students
Actuators: Screen display (exercises, suggestions,
corrections)
Sensors: Keyboard
15
e.g a taxi agent doesnt has sensor to see what other drivers are
doing/thinking .
ENVIRONMENT TYPES
Episodic
(vs. sequential):
The agent's experience is divided into atomic
"episodes" (each episode consists of the agent
perceiving and then performing a single action),
and the choice of action in each episode depends
only on the episode itself.
Next episode does not depend on the actions taken in previous
episodes.
E.g. an agent sorting defective parts in an assembly line is episodic
while a taxi driving agent or a chess playing agent are sequential
.
Static
Single
18
EXAMPLES
AGENT TYPES
Four basic types in order of increasing generality:
Simple reflex agents
Model-based reflex agents
Goal-based agents
Utility-based agents
Learning Agents
20
Triggers
The
Characteristics
21
22
Thus
Know about other car location in overtaking scenario for taxi driving
agent
When agent turns the steering clockwise, car turns right .
23
24
The taxi driving agent is not to hit the other car so will have
all rules set to support actions in diferent situations
GOAL-BASED AGENTS
26
27
UTILITY-BASED AGENTS
28
LEARNING AGENTS
A
Element
Performance
Element
Critic
Problem
Generator
29
For
Performance
Problem
LEARNING AGENTS
31
SUMMARY
An agent is something that perceives and acts
in an environment. The agent function
specifies the action taken by the agent in
response to any percept sequence.
The performance measure evaluates the
behaviour of the agent in the environment. A
rational agent acts to maximise the expected
value of the performance measure.
Task environments can be fully or partially
observable,
deterministic
or
stochastic,
episodic or sequential, static or dynamic,
32
discrete or continuous, and single-agent or
multiagent
SUMMARY
Simplex