Intelligent Agents
(more concrete study)
R&N: Chap. 2
Outline
ƒ Agents and environments
ƒ Rationality
ƒ PEAS (Performance measure, Environment,
Actuators, Sensors)
ƒ Environment types
ƒ Agent types
2
Agents
ƒ An agent is anything that can be viewed as
perceiving its environment through sensors
and acting upon that environment through
actuators
ƒ 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
3
Agents and environments
ƒ The agent function maps from percept
histories to actions: [f: P* Æ A]
ƒ The agent program runs on the physical
architecture to produce f
ƒ agent = architecture + program
4
Vacuum-cleaner world
ƒ Percepts: location and contents, e.g.,
[A, Dirty]
ƒ Actions: Left, Right, Suck, NoOp
5
A vacuum-cleaner agent
6
ƒ What is the right function?
ƒ Can it be implemented in a small agent program?
ƒ Partial tabulation of a simple agent function:
Percept sequence Action
[A;Clean] Right
[A;Dirty] Suck
[B;Clean] Left
[B;Dirty] Suck
[A;Clean], [A;Clean] Right
[A;Clean], [A;Dirty] Suck
…. ….
Rational agents
ƒ An 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
ƒ Performance measure: An objective criterion for
success of an agent's behavior
ƒ E.g., the performance measure of the vacuum-cleaner
agent example could be amount of dirt cleaned up,
amount of time taken, amount of electricity
consumed, amount of noise generated, etc.
7
Rational agents
ƒ Rational Agent: For each possible percept
sequence, a rational agent should select an
action that is expected to maximize its
performance measure, given the evidence
provided by the percept sequence and
whatever built-in knowledge the agent has.
8
Rational agents
ƒ Rationality is distinct from omniscience (all-knowing
with infinite knowledge)
ƒ Does rationality mean perfection?
ƒ Agents can perform actions in order to modify future
percepts so as to obtain useful information
(information gathering, exploration)
ƒ An agent is autonomous if its behavior is determined
by its own experience (with ability to learn and adapt)
9
Task Environment
ƒ PEAS: Performance measure, Environment, Actuators,
and Sensors
ƒ Must first specify the task environment for
intelligent agent design
ƒ Consider a more complex example: the task of
designing an automated taxi driver:
ƒ Performance measure
ƒ Environment
ƒ Actuators
ƒ Sensors
10
PEAS
ƒ Must first specify the setting for intelligent agent
design
ƒ Performance measure: Safe, fast, legal,
comfortable trip, maximize profits
ƒ Environment: Roads, other traffic, pedestrians,
customers, stray animals, road works, …
ƒ Actuators: Steering wheel, accelerator, brake,
signal, horn, voice synthesizer or display screen, …
ƒ Sensors: Cameras, sonar, speedometer, GPS,
odometer, engine sensors, keyboard or microphone
11
PEAS
Agent: Internet shopping agent
ƒ Performance measure?? price, quality,
appropriateness, efficiency
ƒ Environment?? current and future WWW sites,
vendors, shippers
ƒ Actuators?? display to user, follow URL, fill in
form
ƒ Sensors?? HTML pages (text, graphics, scripts)
12
PEAS
Agent: Internet shopping agent
ƒ Performance measure?? price, quality,
appropriateness, efficiency
ƒ Environment?? current and future WWW sites,
vendors, shippers
ƒ Actuators?? display to user, follow URL, fill in
form
ƒ Sensors?? HTML pages (text, graphics, scripts)
13
Types of Task Environments
ƒ Fully observable (vs. partially observable): An agent's
sensors give it access to the complete state of the
environment at each point in time.
ƒ Deterministic (vs. stochastic): The next state of the
environment is completely determined by the current
state and the action executed by the agent. (If the
environment is deterministic except for the actions
of other agents, then the environment is strategic)
ƒ 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.
17
Environment types
ƒ Static (vs. dynamic): The environment is
unchanged while an agent is deliberating. (The
environment is semidynamic if the
environment itself does not change with the
passage of time but the agent's performance
score does)
ƒ Discrete (vs. continuous): A limited number of
distinct, clearly defined percepts and actions.
ƒ Single agent (vs. multiagent): An agent
operating by itself in an environment.
18
Environment types: Examples
19
Crossword
puzzle
Chess with
clock
Internet
shopping
Taxi Driver
Observable Yes Yes! No No
Deterministic Yes Strategic Partly No
Episodic No No No No
Static Yes Semi Semi No
Discrete Yes Yes Yes No
Single-agent Yes No Yes!! No
ƒ Are the answers exact?
ƒ The environment type largely determines the agent design
ƒ The real world is (of course) partially observable, stochastic,
sequential, dynamic, continuous, multi-agent
Agent functions and programs
ƒ An agent is completely specified by the agent
function mapping percept sequences to actions
ƒ One agent function (or a small equivalence
class) is rational
ƒ The aim is to design the agent program that
implement the rational agent function concisely
ƒ This program shall run on a computing device
with sensors and actuators: architecture
20
A vacuum-cleaner agent
21
Table-driven to agent construction
ƒ Is it practical?
ƒ Consider the automated taxi
ƒ 30 frames/sec; 640x480 pixels with 24 bits for
color
ƒ The size of the lookup table > 10250B
entries!!!
ƒ 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
22
Agent types
ƒ Four basic types in order of increasing
generality:
ƒ Simple reflex agents
ƒ Model-based reflex agents
ƒ Goal-based agents
ƒ Utility-based agents
All these can be turned into learning agents
23
Simple reflex agents
24
function Reflex-Vacuum-Agent( [location,status]) re-
turns an action
if status = Dirty then return Suck
else if location = A then return Right
else if location = B then return Left
Model-based reflex agents
25
It keeps track of the current state of the world
using an internal model
Goal-based agents
26
It keeps track of the current state of the world
and a set of goals to achieve.
Utility-based agents
27
Learning agents
28
Summary
ƒ Agents interact with environments through actuators and sensors
ƒ The agent function describes what the agent does in all
circumstances
ƒ The performance measure evaluates the environment sequence
ƒ A perfectly rational agent maximizes expected performance
ƒ Agent programs implement (some) agent functions
ƒ PEAS descriptions define task environments
ƒ Environments are categorized along several dimensions:
ƒ observable? deterministic? episodic? static? discrete? single-agent?
ƒ Several basic agent architectures exist:
ƒ reflex, model-based, goal-based, utility-based
29

More Related Content

PPTX
Artificial intelligence Agents lecture slides
PPTX
CS4700-Agents_v3.pptx
PPTX
CS4700-Agents_v3 (1).pptxCS4700-Agents_v3 (1).pptx
PPT
m2-agents.ppt
PDF
Lec 2 agents
PDF
lec02_intelligentAgentsintelligentAgentsintelligentAgentsintelligentAgents
PPT
mosfet3inteliggent ageent preserve2ss.ppt
PPTX
rational agent it is a lecture for ai course
Artificial intelligence Agents lecture slides
CS4700-Agents_v3.pptx
CS4700-Agents_v3 (1).pptxCS4700-Agents_v3 (1).pptx
m2-agents.ppt
Lec 2 agents
lec02_intelligentAgentsintelligentAgentsintelligentAgentsintelligentAgents
mosfet3inteliggent ageent preserve2ss.ppt
rational agent it is a lecture for ai course

Similar to ai-slides-1233566181695672-2 (1).pdf (20)

PPT
Intelligent agent artificial intelligent CSE 315
PPT
Slide01 - Intelligent Agents.ppt
PPTX
Lecture 2 - Intelligent Agents.pptxxxjdke
PPTX
Intelligent agents
PDF
2_1_Intelligent Agent , Type of Intelligent Agent and Environment .pdf
PPTX
m2-agents.pptx
PPTX
Lecture 4 (1).pptx
PPT
M2 agents
PPT
Agents_AI.ppt
PDF
agents.pdf
PPT
Jarrar.lecture notes.aai.2011s.ch2.intelligentagents
PPT
Jarrar.lecture notes.aai.2011s.ch2.intelligentagents
PPT
PPTX
Artificial Intelligence
PPT
901470_Ch2.ppt901470_Ch2.ppt901470_Ch2.ppt901470_Ch2.ppt
PPT
901470_Ch Intelligent agent introduction2.ppt
PPT
Artificial intelligence and machine learning
PDF
Agents1
PPTX
Lecture 2 Agents.pptx
PPTX
Lecture 1 about the Agents in AI & .pptx
Intelligent agent artificial intelligent CSE 315
Slide01 - Intelligent Agents.ppt
Lecture 2 - Intelligent Agents.pptxxxjdke
Intelligent agents
2_1_Intelligent Agent , Type of Intelligent Agent and Environment .pdf
m2-agents.pptx
Lecture 4 (1).pptx
M2 agents
Agents_AI.ppt
agents.pdf
Jarrar.lecture notes.aai.2011s.ch2.intelligentagents
Jarrar.lecture notes.aai.2011s.ch2.intelligentagents
Artificial Intelligence
901470_Ch2.ppt901470_Ch2.ppt901470_Ch2.ppt901470_Ch2.ppt
901470_Ch Intelligent agent introduction2.ppt
Artificial intelligence and machine learning
Agents1
Lecture 2 Agents.pptx
Lecture 1 about the Agents in AI & .pptx
Ad

More from ShivareddyGangam (20)

PPTX
Student Voting Application for Election – Using SMS (1).pptx
PDF
Project Management (2).pdf
PPT
PDF
The Product and Process(1).pdf
PPT
Unit24_TopologicalSort (2).ppt
PPT
Lecture1_jps (1).ppt
PPTX
2 semai.pptx
PDF
artificialintelligencea-200326090832.pdf
PDF
Software Project Risks Management (1).pdf
PDF
Introduction (1).pdf
PDF
Unit 3 (1) (1).pdf
PDF
Unit 1 (1).pdf
PPT
Strassen.ppt
PDF
Notion of Algorithms.pdf
PPT
11_Automated_Testing.ppt
PPTX
OS-Final-Transform-Manual-Testing-Processes-to-incorporate-Automatio....pptx
PDF
Project Management.pdf
PPT
chapter2.ppt
PDF
machinelearningengineeringslideshare-160909192132 (1).pdf
Student Voting Application for Election – Using SMS (1).pptx
Project Management (2).pdf
The Product and Process(1).pdf
Unit24_TopologicalSort (2).ppt
Lecture1_jps (1).ppt
2 semai.pptx
artificialintelligencea-200326090832.pdf
Software Project Risks Management (1).pdf
Introduction (1).pdf
Unit 3 (1) (1).pdf
Unit 1 (1).pdf
Strassen.ppt
Notion of Algorithms.pdf
11_Automated_Testing.ppt
OS-Final-Transform-Manual-Testing-Processes-to-incorporate-Automatio....pptx
Project Management.pdf
chapter2.ppt
machinelearningengineeringslideshare-160909192132 (1).pdf
Ad

Recently uploaded (20)

PPTX
2025 High Blood Pressure Guideline Slide Set.pptx
PDF
Skin Care and Cosmetic Ingredients Dictionary ( PDFDrive ).pdf
PPTX
BSCE 2 NIGHT (CHAPTER 2) just cases.pptx
PPTX
Thinking Routines and Learning Engagements.pptx
PPTX
Reproductive system-Human anatomy and physiology
PDF
faiz-khans about Radiotherapy Physics-02.pdf
PDF
Disorder of Endocrine system (1).pdfyyhyyyy
PDF
Fun with Grammar (Communicative Activities for the Azar Grammar Series)
PDF
Chevening Scholarship Application and Interview Preparation Guide
PDF
The TKT Course. Modules 1, 2, 3.for self study
PPTX
PLASMA AND ITS CONSTITUENTS 123.pptx
PDF
Myanmar Dental Journal, The Journal of the Myanmar Dental Association (2013).pdf
PPTX
Integrated Management of Neonatal and Childhood Illnesses (IMNCI) – Unit IV |...
PDF
fundamentals-of-heat-and-mass-transfer-6th-edition_incropera.pdf
PPTX
Power Point PR B.Inggris 12 Ed. 2019.pptx
PDF
FYJC - Chemistry textbook - standard 11.
PPTX
Cite It Right: A Compact Illustration of APA 7th Edition.pptx
PPTX
UNIT_2-__LIPIDS[1].pptx.................
PDF
Horaris_Grups_25-26_Definitiu_15_07_25.pdf
PDF
Solved Past paper of Pediatric Health Nursing PHN BS Nursing 5th Semester
2025 High Blood Pressure Guideline Slide Set.pptx
Skin Care and Cosmetic Ingredients Dictionary ( PDFDrive ).pdf
BSCE 2 NIGHT (CHAPTER 2) just cases.pptx
Thinking Routines and Learning Engagements.pptx
Reproductive system-Human anatomy and physiology
faiz-khans about Radiotherapy Physics-02.pdf
Disorder of Endocrine system (1).pdfyyhyyyy
Fun with Grammar (Communicative Activities for the Azar Grammar Series)
Chevening Scholarship Application and Interview Preparation Guide
The TKT Course. Modules 1, 2, 3.for self study
PLASMA AND ITS CONSTITUENTS 123.pptx
Myanmar Dental Journal, The Journal of the Myanmar Dental Association (2013).pdf
Integrated Management of Neonatal and Childhood Illnesses (IMNCI) – Unit IV |...
fundamentals-of-heat-and-mass-transfer-6th-edition_incropera.pdf
Power Point PR B.Inggris 12 Ed. 2019.pptx
FYJC - Chemistry textbook - standard 11.
Cite It Right: A Compact Illustration of APA 7th Edition.pptx
UNIT_2-__LIPIDS[1].pptx.................
Horaris_Grups_25-26_Definitiu_15_07_25.pdf
Solved Past paper of Pediatric Health Nursing PHN BS Nursing 5th Semester

ai-slides-1233566181695672-2 (1).pdf

  • 1. Intelligent Agents (more concrete study) R&N: Chap. 2
  • 2. Outline ƒ Agents and environments ƒ Rationality ƒ PEAS (Performance measure, Environment, Actuators, Sensors) ƒ Environment types ƒ Agent types 2
  • 3. Agents ƒ An agent is anything that can be viewed as perceiving its environment through sensors and acting upon that environment through actuators ƒ 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 3
  • 4. Agents and environments ƒ The agent function maps from percept histories to actions: [f: P* Æ A] ƒ The agent program runs on the physical architecture to produce f ƒ agent = architecture + program 4
  • 5. Vacuum-cleaner world ƒ Percepts: location and contents, e.g., [A, Dirty] ƒ Actions: Left, Right, Suck, NoOp 5
  • 6. A vacuum-cleaner agent 6 ƒ What is the right function? ƒ Can it be implemented in a small agent program? ƒ Partial tabulation of a simple agent function: Percept sequence Action [A;Clean] Right [A;Dirty] Suck [B;Clean] Left [B;Dirty] Suck [A;Clean], [A;Clean] Right [A;Clean], [A;Dirty] Suck …. ….
  • 7. Rational agents ƒ An 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 ƒ Performance measure: An objective criterion for success of an agent's behavior ƒ E.g., the performance measure of the vacuum-cleaner agent example could be amount of dirt cleaned up, amount of time taken, amount of electricity consumed, amount of noise generated, etc. 7
  • 8. Rational agents ƒ Rational Agent: For each possible percept sequence, a rational agent should select an action that is expected to maximize its performance measure, given the evidence provided by the percept sequence and whatever built-in knowledge the agent has. 8
  • 9. Rational agents ƒ Rationality is distinct from omniscience (all-knowing with infinite knowledge) ƒ Does rationality mean perfection? ƒ Agents can perform actions in order to modify future percepts so as to obtain useful information (information gathering, exploration) ƒ An agent is autonomous if its behavior is determined by its own experience (with ability to learn and adapt) 9
  • 10. Task Environment ƒ PEAS: Performance measure, Environment, Actuators, and Sensors ƒ Must first specify the task environment for intelligent agent design ƒ Consider a more complex example: the task of designing an automated taxi driver: ƒ Performance measure ƒ Environment ƒ Actuators ƒ Sensors 10
  • 11. PEAS ƒ Must first specify the setting for intelligent agent design ƒ Performance measure: Safe, fast, legal, comfortable trip, maximize profits ƒ Environment: Roads, other traffic, pedestrians, customers, stray animals, road works, … ƒ Actuators: Steering wheel, accelerator, brake, signal, horn, voice synthesizer or display screen, … ƒ Sensors: Cameras, sonar, speedometer, GPS, odometer, engine sensors, keyboard or microphone 11
  • 12. PEAS Agent: Internet shopping agent ƒ Performance measure?? price, quality, appropriateness, efficiency ƒ Environment?? current and future WWW sites, vendors, shippers ƒ Actuators?? display to user, follow URL, fill in form ƒ Sensors?? HTML pages (text, graphics, scripts) 12
  • 13. PEAS Agent: Internet shopping agent ƒ Performance measure?? price, quality, appropriateness, efficiency ƒ Environment?? current and future WWW sites, vendors, shippers ƒ Actuators?? display to user, follow URL, fill in form ƒ Sensors?? HTML pages (text, graphics, scripts) 13
  • 14. Types of Task Environments ƒ Fully observable (vs. partially observable): An agent's sensors give it access to the complete state of the environment at each point in time. ƒ Deterministic (vs. stochastic): The next state of the environment is completely determined by the current state and the action executed by the agent. (If the environment is deterministic except for the actions of other agents, then the environment is strategic) ƒ 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. 17
  • 15. Environment types ƒ Static (vs. dynamic): The environment is unchanged while an agent is deliberating. (The environment is semidynamic if the environment itself does not change with the passage of time but the agent's performance score does) ƒ Discrete (vs. continuous): A limited number of distinct, clearly defined percepts and actions. ƒ Single agent (vs. multiagent): An agent operating by itself in an environment. 18
  • 16. Environment types: Examples 19 Crossword puzzle Chess with clock Internet shopping Taxi Driver Observable Yes Yes! No No Deterministic Yes Strategic Partly No Episodic No No No No Static Yes Semi Semi No Discrete Yes Yes Yes No Single-agent Yes No Yes!! No ƒ Are the answers exact? ƒ The environment type largely determines the agent design ƒ The real world is (of course) partially observable, stochastic, sequential, dynamic, continuous, multi-agent
  • 17. Agent functions and programs ƒ An agent is completely specified by the agent function mapping percept sequences to actions ƒ One agent function (or a small equivalence class) is rational ƒ The aim is to design the agent program that implement the rational agent function concisely ƒ This program shall run on a computing device with sensors and actuators: architecture 20
  • 19. Table-driven to agent construction ƒ Is it practical? ƒ Consider the automated taxi ƒ 30 frames/sec; 640x480 pixels with 24 bits for color ƒ The size of the lookup table > 10250B entries!!! ƒ 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 22
  • 20. Agent types ƒ Four basic types in order of increasing generality: ƒ Simple reflex agents ƒ Model-based reflex agents ƒ Goal-based agents ƒ Utility-based agents All these can be turned into learning agents 23
  • 21. Simple reflex agents 24 function Reflex-Vacuum-Agent( [location,status]) re- turns an action if status = Dirty then return Suck else if location = A then return Right else if location = B then return Left
  • 22. Model-based reflex agents 25 It keeps track of the current state of the world using an internal model
  • 23. Goal-based agents 26 It keeps track of the current state of the world and a set of goals to achieve.
  • 26. Summary ƒ Agents interact with environments through actuators and sensors ƒ The agent function describes what the agent does in all circumstances ƒ The performance measure evaluates the environment sequence ƒ A perfectly rational agent maximizes expected performance ƒ Agent programs implement (some) agent functions ƒ PEAS descriptions define task environments ƒ Environments are categorized along several dimensions: ƒ observable? deterministic? episodic? static? discrete? single-agent? ƒ Several basic agent architectures exist: ƒ reflex, model-based, goal-based, utility-based 29