SlideShare ist ein Scribd-Unternehmen logo
1 von 39
Downloaden Sie, um offline zu lesen
Articial Intelligence
Intelligent Agents
Agents and environments
• Agent: An agent is anything that can be viewed as:
– perceiving its environment through sensors and
– acting upon that environment through actuators.
Agents and environments
• Agent: An agent is anything that can be viewed as:
– perceiving its environment through sensors and
– acting upon that environment through actuators.
• An agent program runs in cycles of: (1)perceive, (2)think,
and (3)act.
Agents and environments
• Agent: An agent is anything that can be viewed as:
– perceiving its environment through sensors and
– acting upon that environment through actuators.
• An agent program runs in cycles of: (1)perceive, (2)think,
and (3)act.
• Agent = Architecture + Program
Agents and environments
• Human agent:
– Sensors: eyes, ears, and other organs.
– Actuators: hands, legs, mouth, and other body parts.
• Robotic agent:
– Sensors: Cameras and infrared range finders.
– Actuators: Various motors.
Agents and environments
• Human agent:
– Sensors: eyes, ears, and other organs.
– Actuators: hands, legs, mouth, and other body parts.
• Robotic agent:
– Sensors: Cameras and infrared range finders.
– Actuators: Various motors.
• Agents everywhere!
– Thermostat
– Cell phone
– Vacuum cleaner
– Robot
– Alexa Echo
– Self-driving car
– Human
– etc.
Vacuum cleaner
A B
• Percepts: location and contents e.g., [A, Dirty]
• Actions: Left, Right, Suck, NoOp
• Agent function: mapping from percepts to actions.
Vacuum cleaner
A B
• Percepts: location and contents e.g., [A, Dirty]
• Actions: Left, Right, Suck, NoOp
• Agent function: mapping from percepts to actions.
Percept Action
[A, clean] Right
[A, dirty] Suck
[B, clean] Left
[B, dirty] Suck
Well-behaved 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.”
Rationality
• Rationality is relative to a performance measure.
• Judge rationality based on:
– The performance measure that defines the criterion of suc-
cess.
– The agent prior knowledge of the environment.
– The possible actions that the agent can perform.
– The agent’s percept sequence to date.
PEAS
• When we define a rational agent, we group these properties
under PEAS, the problem specication for the task environ-
ment.
• The rational agent we want to design for this task environment
is the solution.
• PEAS stands for:
– Performance
– Environment
– Actuators
– Sensors
PEAS
What is PEAS for a self-driving car?
• Performance:
• Environment:
• Actuators:
• Sensors:
PEAS
What is PEAS for a self-driving car?
• Performance: Safety, time, legal drive, comfort.
• Environment:
• Actuators:
• Sensors:
PEAS
What is PEAS for a self-driving car?
• Performance: Safety, time, legal drive, comfort.
• Environment: Roads, other cars, pedestrians, road signs.
• Actuators:
• Sensors:
PEAS
What is PEAS for a self-driving car?
• Performance: Safety, time, legal drive, comfort.
• Environment: Roads, other cars, pedestrians, road signs.
• Actuators: Steering, accelerator, brake, signal, horn.
• Sensors:
PEAS
What is PEAS for a self-driving car?
• Performance: Safety, time, legal drive, comfort.
• Environment: Roads, other cars, pedestrians, road signs.
• Actuators: Steering, accelerator, brake, signal, horn.
• Sensors: Camera, sonar, GPS, Speedometer, odometer, ac-
celerometer, engine sensors, keyboard.
PEAS
How about a vacuum cleaner?
iRobot Roomba series
PEAS
How about a vacuum cleaner?
iRobot Roomba series
• Performance: cleanness, efficiency: distance traveled to clean,
battery life, security.
• Environment:
• Actuators:
• Sensors:
PEAS
How about a vacuum cleaner?
iRobot Roomba series
• Performance: cleanness, efficiency: distance traveled to clean,
battery life, security.
• Environment: room, table, wood floor, carpet, different ob-
stacles.
• Actuators:
• Sensors:
PEAS
How about a vacuum cleaner?
iRobot Roomba series
• Performance: cleanness, efficiency: distance traveled to clean,
battery life, security.
• Environment: room, table, wood floor, carpet, different ob-
stacles.
• Actuators: wheels, different brushes, vacuum extractor.
• Sensors:
PEAS
How about a vacuum cleaner?
iRobot Roomba series
• Performance: cleanness, efficiency: distance traveled to clean,
battery life, security.
• Environment: room, table, wood floor, carpet, different ob-
stacles.
• Actuators: wheels, different brushes, vacuum extractor.
• Sensors: camera, dirt detection sensor, cliff sensor, bump sen-
sors, infrared wall sensors.
Environment types
• 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 en-
vironment is completely determined by the current state and
the action executed by the agent. (If the environment is de-
terministic 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.
Environment types
• Static (vs. dynamic): The environment is unchanged while
an agent is deliberating. (The environment is semi-dynamic
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 dened percepts and actions. E.g., checkers is an ex-
ample of a discrete environment, while self-driving car evolves
in a continuous one.
• Single agent (vs. multi-agent): An agent operating by itself
in an environment.
• Known (vs. Unknown): The designer of the agent may or
may not have knowledge about the environment makeup. If
the environment is unknown the agent will need to know how
it works in order to decide.
Environment types
Agent types
• Four basic types in order of increasing generality:
– Simple reflex agents
– Model-based reflex agents
– Goal-based agents
– Utility-based agents
• All of which can be generalized into learning agents that can
improve their performance and generate better actions.
Simple reflex agents
• Simple reflex agents select an action based on the current state
only ignoring the percept history.
• Simple but limited.
• Can only work if the environment is fully observable, that is
the correct action is based on the current percept only.
Agent
Environment
Sensors
What action I
should do nowCondition-action rules
Actuators
What the world
is like now
Vacuum (reflex) agent
A B
• Let’s write the algorithm for the Vacuum cleaner...
• Percepts: location and content (location sensor, dirt sensor).
• Actions: Left, Right, Suck, NoOp
Percept Action
[A, clean] Right
[A, dirty] Suck
[B, clean] Left
[B, dirty] Suck
Vacuum (reflex) agent
A B
• Let’s write the algorithm for the Vacuum cleaner...
• Percepts: location and content (location sensor, dirt sensor).
• Actions: Left, Right, Suck, NoOp
Percept Action
[A, clean] Right
[A, dirty] Suck
[B, clean] Left
[B, dirty] Suck
What if the vacuum agent is deprived from its location sen-
sor?
Model-based reflex agents
• Handle partial observability by keeping track of the part of the
world it can’t see now.
• Internal state depending on the percept history (best guess).
• Model of the world based on (1) how the world evolves in-
dependently from the agent, and (2) how the agent actions
affects the world.
Agent
Environment
Sensors
State
How the world evolves
What my actions do
Condition-action rules
Actuators
What the world
is like now
What action I
should do now
Goal-based agents
• Knowing the current state of the environment is not enough.
The agent needs some goal information.
• Agent program combines the goal information with the envi-
ronment model to choose the actions that achieve that goal.
• Consider the future with “What will happen if I do A?”
• Flexible as knowledge supporting the decisions is explicitly rep-
resented and can be modied.
Agent
Environment
Sensors
What action I
should do now
State
How the world evolves
What my actions do
Actuators
What the world
is like now
What it will be like
if I do action A
Goals
Utility-based agents
• Sometimes achieving the desired goal is not enough. We may
look for quicker, safer, cheaper trip to reach a destination.
• Agent happiness should be taken into consideration. We call
it utility.
• A utility function is the agent’s performance measure
• Because of the uncertainty in the world, a utility agent choses
the action that maximizes the expected utility.
Agent
Environment
Sensors
How happy I will be
in such a state
State
How the world evolves
What my actions do
Utility
Actuators
What action I
should do now
What it will be like
if I do action A
What the world
is like now
Learning agents
• Programming agents by hand can be very tedious. “Some
more expeditious method seem desirable” Alan Turing, 1950.
• Four conceptual components:
– Learning element: responsible for making improvements
– Performance element: responsible for selecting external ac-
tions. It is what we considered as agent so far.
– Critic: How well is the agent is doing w.r.t. a fixed perfor-
mance standard.
– Problem generator: allows the agent to explore.
Performance standard
Agent
Environment
Sensors
Performance
element
changes
knowledge
learning
goals
Problem
generator
feedback
Learning
element
Critic
Actuators
Agent’s organization
a) Atomic Representation: Each state of the world is a black-
box that has no internal structure. E.g., nding a driving route,
each state is a city. AI algorithms: search, games, Markov decision
processes, hidden Markov models, etc.
Agent’s organization
b) Factored Representation: Each state has some attribute-
value properties. E.g., GPS location, amount of gas in the tank.
AI algorithms: constraint satisfaction, and Bayesian networks.
Agent’s organization
c) Structured Representation: Relationships between the ob-
jects of a state can be explicitly expressed. AI algorithms: rst or-
der logic, knowledge-based learning, natural language understand-
ing.
Intelligent agents
• The concept of intelligent agent is central in AI.
• AI aims to design intelligent agents that are useful, reactive,
autonomous and even social and pro-active.
• An agent perceives its environment through percept and acts
through actuators.
• A performance measure evaluates the behavior of the agent.
• An agent that acts to maximize its expected performance mea-
sure is called a rational agent.
• PEAS: A task environment specification that includes Perfor-
mance measure, Environment, Actuators and Sensors.
Agent = Architecture + Program
Intelligent agents
• Four types of agents: Reflex agents, model-based agents, goal-
based agents, and utility-based agents.
• Agents can improve their performance through learning.
• This is a high-level present of agent programs.
• States representations: atomic, factored, structured. Increas-
ing expressiveness power.
Intelligent agents
• Four types of agents: Reflex agents, model-based agents, goal-
based agents, and utility-based agents.
• Agents can improve their performance through learning.
• This is a high-level present of agent programs.
• States representations: atomic, factored, structured. Increas-
ing expressiveness power.
Credit: Courtesy Percy Liang
Credit
• Artificial Intelligence, A Modern Approach. Stuart Russell and
Peter Norvig. Third Edition. Pearson Education.
http://aima.cs.berkeley.edu/

Weitere ähnliche Inhalte

Was ist angesagt?

AI Lecture 4 (informed search and exploration)
AI Lecture 4 (informed search and exploration)AI Lecture 4 (informed search and exploration)
AI Lecture 4 (informed search and exploration)Tajim Md. Niamat Ullah Akhund
 
Artificial Intelligence -- Search Algorithms
Artificial Intelligence-- Search Algorithms Artificial Intelligence-- Search Algorithms
Artificial Intelligence -- Search Algorithms Syed Ahmed
 
Game Playing in Artificial Intelligence
Game Playing in Artificial IntelligenceGame Playing in Artificial Intelligence
Game Playing in Artificial Intelligencelordmwesh
 
Problem solving agents
Problem solving agentsProblem solving agents
Problem solving agentsMegha Sharma
 
Knowledge Representation & Reasoning
Knowledge Representation & ReasoningKnowledge Representation & Reasoning
Knowledge Representation & ReasoningSajid Marwat
 
Artificial Intelligence Searching Techniques
Artificial Intelligence Searching TechniquesArtificial Intelligence Searching Techniques
Artificial Intelligence Searching TechniquesDr. C.V. Suresh Babu
 
Artificial intelligence and knowledge representation
Artificial intelligence and knowledge representationArtificial intelligence and knowledge representation
Artificial intelligence and knowledge representationSajan Sahu
 
(Ch#1) artificial intelligence
(Ch#1) artificial intelligence(Ch#1) artificial intelligence
(Ch#1) artificial intelligenceNoor Ul Hudda Memon
 
Artificial intelligence(04)
Artificial intelligence(04)Artificial intelligence(04)
Artificial intelligence(04)Nazir Ahmed
 
Unit2: Agents and Environment
Unit2: Agents and EnvironmentUnit2: Agents and Environment
Unit2: Agents and EnvironmentTekendra Nath Yogi
 
Intelligent agent
Intelligent agentIntelligent agent
Intelligent agentGeeta Jaswani
 
AI_Session 11: searching with Non-Deterministic Actions and partial observati...
AI_Session 11: searching with Non-Deterministic Actions and partial observati...AI_Session 11: searching with Non-Deterministic Actions and partial observati...
AI_Session 11: searching with Non-Deterministic Actions and partial observati...Asst.prof M.Gokilavani
 
Intelligent Agent PPT ON SLIDESHARE IN ARTIFICIAL INTELLIGENCE
Intelligent Agent PPT ON SLIDESHARE IN ARTIFICIAL INTELLIGENCEIntelligent Agent PPT ON SLIDESHARE IN ARTIFICIAL INTELLIGENCE
Intelligent Agent PPT ON SLIDESHARE IN ARTIFICIAL INTELLIGENCEKhushboo Pal
 
Turing Test in Artificial Intelligence.pptx
Turing Test in Artificial Intelligence.pptxTuring Test in Artificial Intelligence.pptx
Turing Test in Artificial Intelligence.pptxRSAISHANKAR
 
Artificial Intelligence Chapter two agents
Artificial Intelligence Chapter two agentsArtificial Intelligence Chapter two agents
Artificial Intelligence Chapter two agentsEhsan Nowrouzi
 

Was ist angesagt? (20)

AI Lecture 4 (informed search and exploration)
AI Lecture 4 (informed search and exploration)AI Lecture 4 (informed search and exploration)
AI Lecture 4 (informed search and exploration)
 
Artificial Intelligence -- Search Algorithms
Artificial Intelligence-- Search Algorithms Artificial Intelligence-- Search Algorithms
Artificial Intelligence -- Search Algorithms
 
Game Playing in Artificial Intelligence
Game Playing in Artificial IntelligenceGame Playing in Artificial Intelligence
Game Playing in Artificial Intelligence
 
AI: AI & Problem Solving
AI: AI & Problem SolvingAI: AI & Problem Solving
AI: AI & Problem Solving
 
Problem solving agents
Problem solving agentsProblem solving agents
Problem solving agents
 
Knowledge Representation & Reasoning
Knowledge Representation & ReasoningKnowledge Representation & Reasoning
Knowledge Representation & Reasoning
 
Artificial Intelligence Searching Techniques
Artificial Intelligence Searching TechniquesArtificial Intelligence Searching Techniques
Artificial Intelligence Searching Techniques
 
Artificial intelligence and knowledge representation
Artificial intelligence and knowledge representationArtificial intelligence and knowledge representation
Artificial intelligence and knowledge representation
 
(Ch#1) artificial intelligence
(Ch#1) artificial intelligence(Ch#1) artificial intelligence
(Ch#1) artificial intelligence
 
Intelligent agents
Intelligent agentsIntelligent agents
Intelligent agents
 
Artificial intelligence(04)
Artificial intelligence(04)Artificial intelligence(04)
Artificial intelligence(04)
 
Unit2: Agents and Environment
Unit2: Agents and EnvironmentUnit2: Agents and Environment
Unit2: Agents and Environment
 
Intelligent agent
Intelligent agentIntelligent agent
Intelligent agent
 
AI Lecture 3 (solving problems by searching)
AI Lecture 3 (solving problems by searching)AI Lecture 3 (solving problems by searching)
AI Lecture 3 (solving problems by searching)
 
AI_Unit I notes .pdf
AI_Unit I notes .pdfAI_Unit I notes .pdf
AI_Unit I notes .pdf
 
AI_Session 11: searching with Non-Deterministic Actions and partial observati...
AI_Session 11: searching with Non-Deterministic Actions and partial observati...AI_Session 11: searching with Non-Deterministic Actions and partial observati...
AI_Session 11: searching with Non-Deterministic Actions and partial observati...
 
Intelligent Agent PPT ON SLIDESHARE IN ARTIFICIAL INTELLIGENCE
Intelligent Agent PPT ON SLIDESHARE IN ARTIFICIAL INTELLIGENCEIntelligent Agent PPT ON SLIDESHARE IN ARTIFICIAL INTELLIGENCE
Intelligent Agent PPT ON SLIDESHARE IN ARTIFICIAL INTELLIGENCE
 
Turing Test in Artificial Intelligence.pptx
Turing Test in Artificial Intelligence.pptxTuring Test in Artificial Intelligence.pptx
Turing Test in Artificial Intelligence.pptx
 
Intelligent agents
Intelligent agentsIntelligent agents
Intelligent agents
 
Artificial Intelligence Chapter two agents
Artificial Intelligence Chapter two agentsArtificial Intelligence Chapter two agents
Artificial Intelligence Chapter two agents
 

Ähnlich wie Agents1

mosfet3inteliggent ageent preserve2ss.ppt
mosfet3inteliggent ageent preserve2ss.pptmosfet3inteliggent ageent preserve2ss.ppt
mosfet3inteliggent ageent preserve2ss.pptdanymorales34
 
Unit-1.pptx
Unit-1.pptxUnit-1.pptx
Unit-1.pptxDharaDarji5
 
m2-agents.pptx
m2-agents.pptxm2-agents.pptx
m2-agents.pptxRitwikNayan
 
M2 agents
M2 agentsM2 agents
M2 agentsYasir Khan
 
AI Basic.pptx
AI Basic.pptxAI Basic.pptx
AI Basic.pptxDharaDarji5
 
Lec 2 agents
Lec 2 agentsLec 2 agents
Lec 2 agentsEyob Sisay
 
agents.pdf
agents.pdfagents.pdf
agents.pdfsamisamco1
 
INTELLIGENT AGENTS.pptx
INTELLIGENT AGENTS.pptxINTELLIGENT AGENTS.pptx
INTELLIGENT AGENTS.pptxvipulkondekar
 
2.IntelligentAgents.ppt
2.IntelligentAgents.ppt2.IntelligentAgents.ppt
2.IntelligentAgents.pptGopiSuresh8
 
1.1 What are Agent and Environment.pptx
1.1 What are Agent and Environment.pptx1.1 What are Agent and Environment.pptx
1.1 What are Agent and Environment.pptxSuvamvlogs
 
Intelligent Agents
Intelligent AgentsIntelligent Agents
Intelligent Agentsmarada0033
 
Intelligent (Knowledge Based) agent in Artificial Intelligence
Intelligent (Knowledge Based) agent in Artificial IntelligenceIntelligent (Knowledge Based) agent in Artificial Intelligence
Intelligent (Knowledge Based) agent in Artificial IntelligenceKuppusamy P
 
Lecture 1 about the Agents in AI & .pptx
Lecture 1 about the Agents in AI & .pptxLecture 1 about the Agents in AI & .pptx
Lecture 1 about the Agents in AI & .pptxbk996051
 
W2_Lec03_Lec04_Agents.pptx
W2_Lec03_Lec04_Agents.pptxW2_Lec03_Lec04_Agents.pptx
W2_Lec03_Lec04_Agents.pptxJavaid Iqbal
 
Intelligent agents.ppt
Intelligent agents.pptIntelligent agents.ppt
Intelligent agents.pptShilpaBhatia32
 

Ähnlich wie Agents1 (20)

mosfet3inteliggent ageent preserve2ss.ppt
mosfet3inteliggent ageent preserve2ss.pptmosfet3inteliggent ageent preserve2ss.ppt
mosfet3inteliggent ageent preserve2ss.ppt
 
Unit-1.pptx
Unit-1.pptxUnit-1.pptx
Unit-1.pptx
 
m2-agents.pptx
m2-agents.pptxm2-agents.pptx
m2-agents.pptx
 
M2 agents
M2 agentsM2 agents
M2 agents
 
AI Basic.pptx
AI Basic.pptxAI Basic.pptx
AI Basic.pptx
 
M2 agents
M2 agentsM2 agents
M2 agents
 
Lec 2 agents
Lec 2 agentsLec 2 agents
Lec 2 agents
 
agents.pdf
agents.pdfagents.pdf
agents.pdf
 
Lecture 2 Agents.pptx
Lecture 2 Agents.pptxLecture 2 Agents.pptx
Lecture 2 Agents.pptx
 
Lecture 2
Lecture 2Lecture 2
Lecture 2
 
Unit 1.ppt
Unit 1.pptUnit 1.ppt
Unit 1.ppt
 
INTELLIGENT AGENTS.pptx
INTELLIGENT AGENTS.pptxINTELLIGENT AGENTS.pptx
INTELLIGENT AGENTS.pptx
 
2.IntelligentAgents.ppt
2.IntelligentAgents.ppt2.IntelligentAgents.ppt
2.IntelligentAgents.ppt
 
1.1 What are Agent and Environment.pptx
1.1 What are Agent and Environment.pptx1.1 What are Agent and Environment.pptx
1.1 What are Agent and Environment.pptx
 
AI week 2.pdf
AI week 2.pdfAI week 2.pdf
AI week 2.pdf
 
Intelligent Agents
Intelligent AgentsIntelligent Agents
Intelligent Agents
 
Intelligent (Knowledge Based) agent in Artificial Intelligence
Intelligent (Knowledge Based) agent in Artificial IntelligenceIntelligent (Knowledge Based) agent in Artificial Intelligence
Intelligent (Knowledge Based) agent in Artificial Intelligence
 
Lecture 1 about the Agents in AI & .pptx
Lecture 1 about the Agents in AI & .pptxLecture 1 about the Agents in AI & .pptx
Lecture 1 about the Agents in AI & .pptx
 
W2_Lec03_Lec04_Agents.pptx
W2_Lec03_Lec04_Agents.pptxW2_Lec03_Lec04_Agents.pptx
W2_Lec03_Lec04_Agents.pptx
 
Intelligent agents.ppt
Intelligent agents.pptIntelligent agents.ppt
Intelligent agents.ppt
 

Mehr von Amar Jukuntla

Singly linked list
Singly linked listSingly linked list
Singly linked listAmar Jukuntla
 
Types of files
Types of filesTypes of files
Types of filesAmar Jukuntla
 
Problem Solving
Problem Solving Problem Solving
Problem Solving Amar Jukuntla
 
Nature of open source
Nature of open sourceNature of open source
Nature of open sourceAmar Jukuntla
 
Linux Directory System: Introduction
Linux Directory System: IntroductionLinux Directory System: Introduction
Linux Directory System: IntroductionAmar Jukuntla
 
Introduction to Data Structures
Introduction to Data StructuresIntroduction to Data Structures
Introduction to Data StructuresAmar Jukuntla
 
First Order Logic resolution
First Order Logic resolutionFirst Order Logic resolution
First Order Logic resolutionAmar Jukuntla
 
First Order Logic
First Order LogicFirst Order Logic
First Order LogicAmar Jukuntla
 
Need of object oriented programming
Need of object oriented programmingNeed of object oriented programming
Need of object oriented programmingAmar Jukuntla
 

Mehr von Amar Jukuntla (18)

Singly linked list
Singly linked listSingly linked list
Singly linked list
 
Types of files
Types of filesTypes of files
Types of files
 
Hashing
HashingHashing
Hashing
 
Planning
Planning Planning
Planning
 
Unit 2
Unit 2Unit 2
Unit 2
 
Problem Solving
Problem Solving Problem Solving
Problem Solving
 
Introduction
IntroductionIntroduction
Introduction
 
DFS
DFSDFS
DFS
 
Sorting
SortingSorting
Sorting
 
Sorting
SortingSorting
Sorting
 
Nature of open source
Nature of open sourceNature of open source
Nature of open source
 
Linux Directory System: Introduction
Linux Directory System: IntroductionLinux Directory System: Introduction
Linux Directory System: Introduction
 
Introduction to Data Structures
Introduction to Data StructuresIntroduction to Data Structures
Introduction to Data Structures
 
Learning
LearningLearning
Learning
 
First Order Logic resolution
First Order Logic resolutionFirst Order Logic resolution
First Order Logic resolution
 
First Order Logic
First Order LogicFirst Order Logic
First Order Logic
 
A*
A*A*
A*
 
Need of object oriented programming
Need of object oriented programmingNeed of object oriented programming
Need of object oriented programming
 

KĂźrzlich hochgeladen

General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...Nguyen Thanh Tu Collection
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxDr. Sarita Anand
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jisc
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsKarakKing
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxDr. Ravikiran H M Gowda
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 

KĂźrzlich hochgeladen (20)

General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 

Agents1

  • 2. Agents and environments • Agent: An agent is anything that can be viewed as: – perceiving its environment through sensors and – acting upon that environment through actuators.
  • 3. Agents and environments • Agent: An agent is anything that can be viewed as: – perceiving its environment through sensors and – acting upon that environment through actuators. • An agent program runs in cycles of: (1)perceive, (2)think, and (3)act.
  • 4. Agents and environments • Agent: An agent is anything that can be viewed as: – perceiving its environment through sensors and – acting upon that environment through actuators. • An agent program runs in cycles of: (1)perceive, (2)think, and (3)act. • Agent = Architecture + Program
  • 5. Agents and environments • Human agent: – Sensors: eyes, ears, and other organs. – Actuators: hands, legs, mouth, and other body parts. • Robotic agent: – Sensors: Cameras and infrared range nders. – Actuators: Various motors.
  • 6. Agents and environments • Human agent: – Sensors: eyes, ears, and other organs. – Actuators: hands, legs, mouth, and other body parts. • Robotic agent: – Sensors: Cameras and infrared range nders. – Actuators: Various motors. • Agents everywhere! – Thermostat – Cell phone – Vacuum cleaner – Robot – Alexa Echo – Self-driving car – Human – etc.
  • 7. Vacuum cleaner A B • Percepts: location and contents e.g., [A, Dirty] • Actions: Left, Right, Suck, NoOp • Agent function: mapping from percepts to actions.
  • 8. Vacuum cleaner A B • Percepts: location and contents e.g., [A, Dirty] • Actions: Left, Right, Suck, NoOp • Agent function: mapping from percepts to actions. Percept Action [A, clean] Right [A, dirty] Suck [B, clean] Left [B, dirty] Suck
  • 9. Well-behaved 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.”
  • 10. Rationality • Rationality is relative to a performance measure. • Judge rationality based on: – The performance measure that denes the criterion of suc- cess. – The agent prior knowledge of the environment. – The possible actions that the agent can perform. – The agent’s percept sequence to date.
  • 11. PEAS • When we dene a rational agent, we group these properties under PEAS, the problem specication for the task environ- ment. • The rational agent we want to design for this task environment is the solution. • PEAS stands for: – Performance – Environment – Actuators – Sensors
  • 12. PEAS What is PEAS for a self-driving car? • Performance: • Environment: • Actuators: • Sensors:
  • 13. PEAS What is PEAS for a self-driving car? • Performance: Safety, time, legal drive, comfort. • Environment: • Actuators: • Sensors:
  • 14. PEAS What is PEAS for a self-driving car? • Performance: Safety, time, legal drive, comfort. • Environment: Roads, other cars, pedestrians, road signs. • Actuators: • Sensors:
  • 15. PEAS What is PEAS for a self-driving car? • Performance: Safety, time, legal drive, comfort. • Environment: Roads, other cars, pedestrians, road signs. • Actuators: Steering, accelerator, brake, signal, horn. • Sensors:
  • 16. PEAS What is PEAS for a self-driving car? • Performance: Safety, time, legal drive, comfort. • Environment: Roads, other cars, pedestrians, road signs. • Actuators: Steering, accelerator, brake, signal, horn. • Sensors: Camera, sonar, GPS, Speedometer, odometer, ac- celerometer, engine sensors, keyboard.
  • 17. PEAS How about a vacuum cleaner? iRobot Roomba series
  • 18. PEAS How about a vacuum cleaner? iRobot Roomba series • Performance: cleanness, eciency: distance traveled to clean, battery life, security. • Environment: • Actuators: • Sensors:
  • 19. PEAS How about a vacuum cleaner? iRobot Roomba series • Performance: cleanness, eciency: distance traveled to clean, battery life, security. • Environment: room, table, wood floor, carpet, different ob- stacles. • Actuators: • Sensors:
  • 20. PEAS How about a vacuum cleaner? iRobot Roomba series • Performance: cleanness, eciency: distance traveled to clean, battery life, security. • Environment: room, table, wood floor, carpet, different ob- stacles. • Actuators: wheels, different brushes, vacuum extractor. • Sensors:
  • 21. PEAS How about a vacuum cleaner? iRobot Roomba series • Performance: cleanness, eciency: distance traveled to clean, battery life, security. • Environment: room, table, wood floor, carpet, different ob- stacles. • Actuators: wheels, different brushes, vacuum extractor. • Sensors: camera, dirt detection sensor, cliff sensor, bump sen- sors, infrared wall sensors.
  • 22. Environment types • 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 en- vironment is completely determined by the current state and the action executed by the agent. (If the environment is de- terministic 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.
  • 23. Environment types • Static (vs. dynamic): The environment is unchanged while an agent is deliberating. (The environment is semi-dynamic 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 dened percepts and actions. E.g., checkers is an ex- ample of a discrete environment, while self-driving car evolves in a continuous one. • Single agent (vs. multi-agent): An agent operating by itself in an environment. • Known (vs. Unknown): The designer of the agent may or may not have knowledge about the environment makeup. If the environment is unknown the agent will need to know how it works in order to decide.
  • 25. Agent types • Four basic types in order of increasing generality: – Simple reflex agents – Model-based reflex agents – Goal-based agents – Utility-based agents • All of which can be generalized into learning agents that can improve their performance and generate better actions.
  • 26. Simple reflex agents • Simple reflex agents select an action based on the current state only ignoring the percept history. • Simple but limited. • Can only work if the environment is fully observable, that is the correct action is based on the current percept only. Agent Environment Sensors What action I should do nowCondition-action rules Actuators What the world is like now
  • 27. Vacuum (reflex) agent A B • Let’s write the algorithm for the Vacuum cleaner... • Percepts: location and content (location sensor, dirt sensor). • Actions: Left, Right, Suck, NoOp Percept Action [A, clean] Right [A, dirty] Suck [B, clean] Left [B, dirty] Suck
  • 28. Vacuum (reflex) agent A B • Let’s write the algorithm for the Vacuum cleaner... • Percepts: location and content (location sensor, dirt sensor). • Actions: Left, Right, Suck, NoOp Percept Action [A, clean] Right [A, dirty] Suck [B, clean] Left [B, dirty] Suck What if the vacuum agent is deprived from its location sen- sor?
  • 29. Model-based reflex agents • Handle partial observability by keeping track of the part of the world it can’t see now. • Internal state depending on the percept history (best guess). • Model of the world based on (1) how the world evolves in- dependently from the agent, and (2) how the agent actions affects the world. Agent Environment Sensors State How the world evolves What my actions do Condition-action rules Actuators What the world is like now What action I should do now
  • 30. Goal-based agents • Knowing the current state of the environment is not enough. The agent needs some goal information. • Agent program combines the goal information with the envi- ronment model to choose the actions that achieve that goal. • Consider the future with “What will happen if I do A?” • Flexible as knowledge supporting the decisions is explicitly rep- resented and can be modied. Agent Environment Sensors What action I should do now State How the world evolves What my actions do Actuators What the world is like now What it will be like if I do action A Goals
  • 31. Utility-based agents • Sometimes achieving the desired goal is not enough. We may look for quicker, safer, cheaper trip to reach a destination. • Agent happiness should be taken into consideration. We call it utility. • A utility function is the agent’s performance measure • Because of the uncertainty in the world, a utility agent choses the action that maximizes the expected utility. Agent Environment Sensors How happy I will be in such a state State How the world evolves What my actions do Utility Actuators What action I should do now What it will be like if I do action A What the world is like now
  • 32. Learning agents • Programming agents by hand can be very tedious. “Some more expeditious method seem desirable” Alan Turing, 1950. • Four conceptual components: – Learning element: responsible for making improvements – Performance element: responsible for selecting external ac- tions. It is what we considered as agent so far. – Critic: How well is the agent is doing w.r.t. a xed perfor- mance standard. – Problem generator: allows the agent to explore. Performance standard Agent Environment Sensors Performance element changes knowledge learning goals Problem generator feedback Learning element Critic Actuators
  • 33. Agent’s organization a) Atomic Representation: Each state of the world is a black- box that has no internal structure. E.g., nding a driving route, each state is a city. AI algorithms: search, games, Markov decision processes, hidden Markov models, etc.
  • 34. Agent’s organization b) Factored Representation: Each state has some attribute- value properties. E.g., GPS location, amount of gas in the tank. AI algorithms: constraint satisfaction, and Bayesian networks.
  • 35. Agent’s organization c) Structured Representation: Relationships between the ob- jects of a state can be explicitly expressed. AI algorithms: rst or- der logic, knowledge-based learning, natural language understand- ing.
  • 36. Intelligent agents • The concept of intelligent agent is central in AI. • AI aims to design intelligent agents that are useful, reactive, autonomous and even social and pro-active. • An agent perceives its environment through percept and acts through actuators. • A performance measure evaluates the behavior of the agent. • An agent that acts to maximize its expected performance mea- sure is called a rational agent. • PEAS: A task environment specication that includes Perfor- mance measure, Environment, Actuators and Sensors. Agent = Architecture + Program
  • 37. Intelligent agents • Four types of agents: Reflex agents, model-based agents, goal- based agents, and utility-based agents. • Agents can improve their performance through learning. • This is a high-level present of agent programs. • States representations: atomic, factored, structured. Increas- ing expressiveness power.
  • 38. Intelligent agents • Four types of agents: Reflex agents, model-based agents, goal- based agents, and utility-based agents. • Agents can improve their performance through learning. • This is a high-level present of agent programs. • States representations: atomic, factored, structured. Increas- ing expressiveness power. Credit: Courtesy Percy Liang
  • 39. Credit • Articial Intelligence, A Modern Approach. Stuart Russell and Peter Norvig. Third Edition. Pearson Education. http://aima.cs.berkeley.edu/