Professional Documents
Culture Documents
Chap 2
Chap 2
Chap 2
Chapter 2
Outline
2
Agent interacting with Environment
3
Fig 2.3
4
Rational Agent
5
Rationality
Rationality Information-Gathering, learning, autonomy
Information-Gathering
Modify future percepts
Exploration unknown environment
Learning
Modify prior knowledge
Autonomy
Learn to compensate for partial and incorrect prior knowledge
Become independent of prior knowledge
Successful in variety of environment
importance of learning
6
Performance Measure, Environment,
Actuators, Sensors
To design a rational agent, we must specify task environment
which consists of PEAS (Performance Measure, Environment,
Actuators, Sensors)
Taxi Driver
Performance measure : safety, fast, legal, confortable trip, maximize profits
Environment : Roads, other traffic, pedestrains, customers
Actuators : steering, accelerator, brake, signal, horn, display
Sensors : cameras, sonar, speedometer, GPS, odometer, accelerometer,
engine sensors, keyboard or microphone to accept destination
7
Internet Shopping Agent
Performance Measure :
Environment :
Actuators :
Sensors :
8
Properties of Task Environments
Fully observable vs. Partially observable
Deterministic vs. Stochastic
Strategic : deterministic except for actions of other agents
Episodic vs. Sequential
Static vs. Dynamic
Discrete vs. Continuous
Single Agents vs. Multiagent
Competitive, cooperative
9
Task Environment Types
Internet Medical Taxi
8-puzzle Backgammon
Shopping diagnosis driving
Observable ?
Deterministic ?
Episodic ?
Static ?
Discrete ?
Single-agent ?
Real world is …
10
2-3. Structure of Intelligent Agents
11
Types of agents
Four basic types
Simple Reflex Agent
Reflex Agent with state
that keeps track of the world
Generality
Also called model-based reflex agent
Goal-based agent
Utility-based agent
12
(1) Simple Reflex Agent
characteristics
no plan, no goal
do not know what they want to achieve
do not know what they are doing
condition-action rule
If condition then action
13
Fig 2.9 Simple reflex agent
14
Fig 2.10 Simple Reflex Agent
15
(2) Model-based Reflex Agents
Characteristics
Reflex agent with internal state
Sensor does not provide the complete state of the world.
16
Fig 2.11 A model-based Agent
17
(3) Goal-based agents
Characteristics
Action depends on the GOAL . (consideration of future)
Goal is desirable situation
Choose action sequence to achieve goal
Needs decision making
fundamentally different from the condition-action rule.
Search and Planning
Appears less efficient, but more flexible
Because knowledge can be provided explicitly and modified
18
Fig 2.13 A model-based, Goal-based Agent
19
(4) Utility-based agents
Utility function
Degree of happiness
Quality of usefulness
map the internal states to a real number
(e.g., game playing)
Characteristics
to generate high-quality behavior
Rational decisions are made
Looking for higher Utility value
Expected Utility Maximizer
Explore several goals
20
Fig 2.14 A Model-based, Utility-based Agent
21
Learning Agents
Improve performance based on the percepts
4 components
Learning elements
Making improvement
Performance elements
Selecting external actions
Critic
Tells how well the agent doing based on fixed performance standard
Problem generator
Suggest exploratory actions
22
General Model of Learning Agents
23