Beruflich Dokumente
Kultur Dokumente
(CoSc4142)
1
DILLA UNIVERSITY
DILLA INSTITUTE OF TECHNOLOGY
SCHOOL OF COMPUTING
CHAPTER TWO
INTELLIGENT AGENTS
Topics we will cover
2
Intelligent Agents
Introduction
Agents and Environments
Agent Types
Simple reflex agent
Goal-based agent
Utility-based agent
Learning agent
Important Concepts and Terms
Agents
3
Human agent:-
Eyes, ears, and other organs for sensors;
Robotic agent:-
Cameras and infrared range finders for sensors;
Percept Action
[A,Clean] Right
[A,Dirty] Suck
[B,Clean] Left
[B,Dirty] Suck
Note: this only uses the last percept of the percept history, so this
agent can not learn from experience.
Rational agents (1)
7
A rational agent should strive to "do the right thing",
Based on what it can perceive and
The actions it can perform.
The right action is the one that will cause the agent to
be most successful.
Rationality
PEAS:
Performance measure: A measure of how good the
behaviour of agents operating in the environment is?
Environment: What things are considered to be a part
of the environment and what things are excluded?
Actuators: How can an agent perform actions in the
environment?
Sensors:How can the agent perceive the environment?
Actuators:
Screen display (exercises, suggestions, corrections)
Sensors:
Keyboard (student's answers)
PEAS - Example 4: Part Picking Robot
15
Actuators:
Jointed arm and hand
Sensors:
Camera, joint angle sensors
Environment Types (1)
16
Table-lookup agent
Program determines action
by looking up percept Percept Action
sequence in a table,
[A,Clean] Right
e.g. vacuum cleaner
[A,Dirty] Suck
[B,Clean] Left
Drawbacks:
[B,Dirty] Suck
Huge table
Take a long time to build the table
No autonomy (needs to be told everything)
Even with learning, need a long time to learn the
table entries
Agent program for a vacuum-cleaner agent
22
Goal-based agents
Utility-based agents
Simple reflex agents
Goal-based agents
Goal based agents are the same
as model based agents, except
They contain an explicit
statement of the goals of the
agent.
These goals are used to
choose the best action at
any given time.
Goal based agents can therefore
choose an action which does
not achieve anything in the
short term, but in the long term
may lead to a goal being achieved.
Figure - A model-based, goal-based agent.
Utility-based agents
27
Utility-based agents
Goals can be useful, but are
sometimes too simplistic.
Utility based agents deal with this
by:
Assigning a utility to each
state of the world.
This utility defines how
happy the agent will be in
such a state.
Explicitly stating the utility
function also makes it easier to
define the desired behaviour of
utility based agents.
Figure - A model-based, utility-based agent.
Learning agents
28
Learning agents
A learning agent can be divided into
four conceptual components:
Performance Element can be
replaced with any of the 4
agent types described above.
The Learning Element is
responsible for suggesting
improvements to any part of the
performance element.
The input to the learning element
comes from the Critic.
The Problem Generator is Figure - A general model of learning agents.
responsible for suggesting
actions that will result in new
knowledge about the world being
acquired.
Summary
29
Categories of AI environment:
Fully-observable, partially-observable, etc.