SlideShare una empresa de Scribd logo
1 de 26
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
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
    ….                               ….

What is the right function?
Can it be implemented in a small agent program?
                                                  6
Rational agents
An agent should strive to quot;do the right thingquot;, 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 quot;episodesquot; (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
                Crossword    Chess with     Internet     Taxi Driver
                  puzzle       clock        shopping
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
                                                                    19
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



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




                                                       24
Model-based reflex agents




It keeps track of the current state of the world
              using an internal model




                                                   25
Goal-based agents




It keeps track of the current state of the world
           and a set of goals to achieve.




                                                   26
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

Más contenido relacionado

La actualidad más candente

Artificial intelligence and knowledge representation
Artificial intelligence and knowledge representationArtificial intelligence and knowledge representation
Artificial intelligence and knowledge representationSajan Sahu
 
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
 
Chapter 2 intelligent agents
Chapter 2 intelligent agentsChapter 2 intelligent agents
Chapter 2 intelligent agentsLukasJohnny
 
Reinforcement learning, Q-Learning
Reinforcement learning, Q-LearningReinforcement learning, Q-Learning
Reinforcement learning, Q-LearningKuppusamy P
 
Intelligence Agent - Artificial Intelligent (AI)
Intelligence Agent - Artificial Intelligent (AI)Intelligence Agent - Artificial Intelligent (AI)
Intelligence Agent - Artificial Intelligent (AI)mufassirin
 
Structure of agents
Structure of agentsStructure of agents
Structure of agentsMANJULA_AP
 
Uninformed search /Blind search in AI
Uninformed search /Blind search in AIUninformed search /Blind search in AI
Uninformed search /Blind search in AIKirti Verma
 
AI simple search strategies
AI simple search strategiesAI simple search strategies
AI simple search strategiesRenas Rekany
 
Game Playing in Artificial Intelligence
Game Playing in Artificial IntelligenceGame Playing in Artificial Intelligence
Game Playing in Artificial Intelligencelordmwesh
 
Artificial Intelligence Chapter two agents
Artificial Intelligence Chapter two agentsArtificial Intelligence Chapter two agents
Artificial Intelligence Chapter two agentsEhsan Nowrouzi
 
The Wumpus World in Artificial intelligence.pptx
The Wumpus World in Artificial intelligence.pptxThe Wumpus World in Artificial intelligence.pptx
The Wumpus World in Artificial intelligence.pptxJenishaR1
 
intelligent agent (1).pptx
intelligent agent (1).pptxintelligent agent (1).pptx
intelligent agent (1).pptxShivareddyGangam
 
AI_Session 10 Local search in continious space.pptx
AI_Session 10 Local search in continious space.pptxAI_Session 10 Local search in continious space.pptx
AI_Session 10 Local search in continious space.pptxAsst.prof M.Gokilavani
 

La actualidad más candente (20)

Artificial intelligence and knowledge representation
Artificial intelligence and knowledge representationArtificial intelligence and knowledge representation
Artificial intelligence and knowledge representation
 
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
 
Chapter 2 intelligent agents
Chapter 2 intelligent agentsChapter 2 intelligent agents
Chapter 2 intelligent agents
 
Reinforcement learning, Q-Learning
Reinforcement learning, Q-LearningReinforcement learning, Q-Learning
Reinforcement learning, Q-Learning
 
Intelligence Agent - Artificial Intelligent (AI)
Intelligence Agent - Artificial Intelligent (AI)Intelligence Agent - Artificial Intelligent (AI)
Intelligence Agent - Artificial Intelligent (AI)
 
Structure of agents
Structure of agentsStructure of agents
Structure of agents
 
Intelligent agents
Intelligent agentsIntelligent agents
Intelligent agents
 
Uninformed search /Blind search in AI
Uninformed search /Blind search in AIUninformed search /Blind search in AI
Uninformed search /Blind search in AI
 
AI simple search strategies
AI simple search strategiesAI simple search strategies
AI simple search strategies
 
Game Playing in Artificial Intelligence
Game Playing in Artificial IntelligenceGame Playing in Artificial Intelligence
Game Playing in Artificial Intelligence
 
Informed search
Informed searchInformed search
Informed search
 
Artificial Intelligence Chapter two agents
Artificial Intelligence Chapter two agentsArtificial Intelligence Chapter two agents
Artificial Intelligence Chapter two agents
 
The Wumpus World in Artificial intelligence.pptx
The Wumpus World in Artificial intelligence.pptxThe Wumpus World in Artificial intelligence.pptx
The Wumpus World in Artificial intelligence.pptx
 
Agent architectures
Agent architecturesAgent architectures
Agent architectures
 
intelligent agent (1).pptx
intelligent agent (1).pptxintelligent agent (1).pptx
intelligent agent (1).pptx
 
AI_Session 10 Local search in continious space.pptx
AI_Session 10 Local search in continious space.pptxAI_Session 10 Local search in continious space.pptx
AI_Session 10 Local search in continious space.pptx
 
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 - Intelligent Agents
AI - Intelligent AgentsAI - Intelligent Agents
AI - Intelligent Agents
 
Agent properties
Agent propertiesAgent properties
Agent properties
 
search strategies in artificial intelligence
search strategies in artificial intelligencesearch strategies in artificial intelligence
search strategies in artificial intelligence
 

Destacado (20)

Lecture 4- Agent types
Lecture 4- Agent typesLecture 4- Agent types
Lecture 4- Agent types
 
Nonparametric statistics
Nonparametric statisticsNonparametric statistics
Nonparametric statistics
 
non parametric statistics
non parametric statisticsnon parametric statistics
non parametric statistics
 
AI: AI & Problem Solving
AI: AI & Problem SolvingAI: AI & Problem Solving
AI: AI & Problem Solving
 
AI: Planning and AI
AI: Planning and AIAI: Planning and AI
AI: Planning and AI
 
Disol
DisolDisol
Disol
 
86263820 temas-selectos-de-quimica-2 (1)
86263820 temas-selectos-de-quimica-2 (1)86263820 temas-selectos-de-quimica-2 (1)
86263820 temas-selectos-de-quimica-2 (1)
 
Tipos reacciones
Tipos reaccionesTipos reacciones
Tipos reacciones
 
22 Electroquimica I 11 05 05
22 Electroquimica I 11 05 0522 Electroquimica I 11 05 05
22 Electroquimica I 11 05 05
 
CLASIFICACION DE REACCIONES QUIMICAS
CLASIFICACION DE REACCIONES QUIMICASCLASIFICACION DE REACCIONES QUIMICAS
CLASIFICACION DE REACCIONES QUIMICAS
 
AI: Learning in AI
AI: Learning in AI AI: Learning in AI
AI: Learning in AI
 
Tipos de reacciones de óxido reducción
Tipos de reacciones de óxido reducciónTipos de reacciones de óxido reducción
Tipos de reacciones de óxido reducción
 
Planning
PlanningPlanning
Planning
 
Reacciones quimicas inorganicas
Reacciones quimicas inorganicasReacciones quimicas inorganicas
Reacciones quimicas inorganicas
 
TIPOS DE REACCIONES QUÍMICAS
TIPOS DE REACCIONES QUÍMICASTIPOS DE REACCIONES QUÍMICAS
TIPOS DE REACCIONES QUÍMICAS
 
Tipos de reacciones químicas
Tipos de reacciones químicasTipos de reacciones químicas
Tipos de reacciones químicas
 
Clasificacion compuestos orgánicos
Clasificacion compuestos orgánicosClasificacion compuestos orgánicos
Clasificacion compuestos orgánicos
 
Presion atmosferica
Presion atmosfericaPresion atmosferica
Presion atmosferica
 
Tipos de reacciones en química orgánica
Tipos de reacciones en química orgánicaTipos de reacciones en química orgánica
Tipos de reacciones en química orgánica
 
COMPUESTOS QUIMICOS ORGANICOS E INORGANICOS
COMPUESTOS QUIMICOS ORGANICOS E INORGANICOSCOMPUESTOS QUIMICOS ORGANICOS E INORGANICOS
COMPUESTOS QUIMICOS ORGANICOS E INORGANICOS
 

Similar a Ai Slides

ai-slides-1233566181695672-2 (1).pdf
ai-slides-1233566181695672-2 (1).pdfai-slides-1233566181695672-2 (1).pdf
ai-slides-1233566181695672-2 (1).pdfShivareddyGangam
 
AI_02_Intelligent Agents.pptx
AI_02_Intelligent Agents.pptxAI_02_Intelligent Agents.pptx
AI_02_Intelligent Agents.pptxYousef Aburawi
 
Jarrar.lecture notes.aai.2011s.ch2.intelligentagents
Jarrar.lecture notes.aai.2011s.ch2.intelligentagentsJarrar.lecture notes.aai.2011s.ch2.intelligentagents
Jarrar.lecture notes.aai.2011s.ch2.intelligentagentsPalGov
 
Jarrar.lecture notes.aai.2011s.ch2.intelligentagents
Jarrar.lecture notes.aai.2011s.ch2.intelligentagentsJarrar.lecture notes.aai.2011s.ch2.intelligentagents
Jarrar.lecture notes.aai.2011s.ch2.intelligentagentsPalGov
 
Artificial intelligence introduction
Artificial intelligence introductionArtificial intelligence introduction
Artificial intelligence introductionmelchismel
 
introduction to inteligent IntelligentAgent.ppt
introduction to inteligent IntelligentAgent.pptintroduction to inteligent IntelligentAgent.ppt
introduction to inteligent IntelligentAgent.pptdejene3
 
AI Agents, Agents in Artificial Intelligence
AI Agents, Agents in Artificial IntelligenceAI Agents, Agents in Artificial Intelligence
AI Agents, Agents in Artificial IntelligenceKirti Verma
 

Similar a Ai Slides (20)

ai-slides-1233566181695672-2 (1).pdf
ai-slides-1233566181695672-2 (1).pdfai-slides-1233566181695672-2 (1).pdf
ai-slides-1233566181695672-2 (1).pdf
 
AI_02_Intelligent Agents.pptx
AI_02_Intelligent Agents.pptxAI_02_Intelligent Agents.pptx
AI_02_Intelligent Agents.pptx
 
Slide01 - Intelligent Agents.ppt
Slide01 - Intelligent Agents.pptSlide01 - Intelligent Agents.ppt
Slide01 - Intelligent Agents.ppt
 
Lecture 2
Lecture 2Lecture 2
Lecture 2
 
Jarrar.lecture notes.aai.2011s.ch2.intelligentagents
Jarrar.lecture notes.aai.2011s.ch2.intelligentagentsJarrar.lecture notes.aai.2011s.ch2.intelligentagents
Jarrar.lecture notes.aai.2011s.ch2.intelligentagents
 
Jarrar.lecture notes.aai.2011s.ch2.intelligentagents
Jarrar.lecture notes.aai.2011s.ch2.intelligentagentsJarrar.lecture notes.aai.2011s.ch2.intelligentagents
Jarrar.lecture notes.aai.2011s.ch2.intelligentagents
 
Lecture 2 Agents.pptx
Lecture 2 Agents.pptxLecture 2 Agents.pptx
Lecture 2 Agents.pptx
 
Lecture 02-agents
Lecture 02-agentsLecture 02-agents
Lecture 02-agents
 
Week 2.pdf
Week 2.pdfWeek 2.pdf
Week 2.pdf
 
Lec 2-agents
Lec 2-agentsLec 2-agents
Lec 2-agents
 
Artificial Intelligent Agents
Artificial Intelligent AgentsArtificial Intelligent Agents
Artificial Intelligent Agents
 
m2-agents.pptx
m2-agents.pptxm2-agents.pptx
m2-agents.pptx
 
m2-agents.ppt
m2-agents.pptm2-agents.ppt
m2-agents.ppt
 
Artificial intelligence introduction
Artificial intelligence introductionArtificial intelligence introduction
Artificial intelligence introduction
 
Unit-1.pptx
Unit-1.pptxUnit-1.pptx
Unit-1.pptx
 
introduction to inteligent IntelligentAgent.ppt
introduction to inteligent IntelligentAgent.pptintroduction to inteligent IntelligentAgent.ppt
introduction to inteligent IntelligentAgent.ppt
 
Intelligent agents
Intelligent agentsIntelligent agents
Intelligent agents
 
Agents_AI.ppt
Agents_AI.pptAgents_AI.ppt
Agents_AI.ppt
 
AI Agents, Agents in Artificial Intelligence
AI Agents, Agents in Artificial IntelligenceAI Agents, Agents in Artificial Intelligence
AI Agents, Agents in Artificial Intelligence
 
Lec 2 agents
Lec 2 agentsLec 2 agents
Lec 2 agents
 

Último

Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 

Último (20)

Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 

Ai Slides

  • 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 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 …. …. What is the right function? Can it be implemented in a small agent program? 6
  • 7. Rational agents An agent should strive to quot;do the right thingquot;, 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 quot;episodesquot; (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 Crossword Chess with Internet Taxi Driver puzzle clock shopping 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 19
  • 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 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 24
  • 22. Model-based reflex agents It keeps track of the current state of the world using an internal model 25
  • 23. Goal-based agents It keeps track of the current state of the world and a set of goals to achieve. 26
  • 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