SlideShare ist ein Scribd-Unternehmen logo
1 von 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

Weitere ähnliche Inhalte

Was ist angesagt?

Artificial Intelligence Chapter two agents
Artificial Intelligence Chapter two agentsArtificial Intelligence Chapter two agents
Artificial Intelligence Chapter two agentsEhsan Nowrouzi
 
Artificial Intelligence Searching Techniques
Artificial Intelligence Searching TechniquesArtificial Intelligence Searching Techniques
Artificial Intelligence Searching TechniquesDr. C.V. Suresh Babu
 
Intelligence Agent - Artificial Intelligent (AI)
Intelligence Agent - Artificial Intelligent (AI)Intelligence Agent - Artificial Intelligent (AI)
Intelligence Agent - Artificial Intelligent (AI)mufassirin
 
2-Agents- Artificial Intelligence
2-Agents- Artificial Intelligence2-Agents- Artificial Intelligence
2-Agents- Artificial IntelligenceMhd Sb
 
intelligent agent (1).pptx
intelligent agent (1).pptxintelligent agent (1).pptx
intelligent agent (1).pptxShivareddyGangam
 
Interactions in Multi Agent Systems
Interactions in Multi Agent SystemsInteractions in Multi Agent Systems
Interactions in Multi Agent SystemsSSA KPI
 
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
 
Types of environment in Artificial Intelligence
Types of environment in Artificial IntelligenceTypes of environment in Artificial Intelligence
Types of environment in Artificial IntelligenceNoman Ullah Khan
 
Multi-agent systems
Multi-agent systemsMulti-agent systems
Multi-agent systemsR A Akerkar
 
Problem solving agents
Problem solving agentsProblem solving agents
Problem solving agentsMegha Sharma
 

Was ist angesagt? (20)

Artificial Intelligence Chapter two agents
Artificial Intelligence Chapter two agentsArtificial Intelligence Chapter two agents
Artificial Intelligence Chapter two agents
 
Agents_AI.ppt
Agents_AI.pptAgents_AI.ppt
Agents_AI.ppt
 
Intelligent agents
Intelligent agentsIntelligent agents
Intelligent agents
 
Artificial Intelligence Searching Techniques
Artificial Intelligence Searching TechniquesArtificial Intelligence Searching Techniques
Artificial Intelligence Searching Techniques
 
AI Lecture 2 (intelligent agents)
AI Lecture 2 (intelligent agents)AI Lecture 2 (intelligent agents)
AI Lecture 2 (intelligent agents)
 
Intelligence Agent - Artificial Intelligent (AI)
Intelligence Agent - Artificial Intelligent (AI)Intelligence Agent - Artificial Intelligent (AI)
Intelligence Agent - Artificial Intelligent (AI)
 
2-Agents- Artificial Intelligence
2-Agents- Artificial Intelligence2-Agents- Artificial Intelligence
2-Agents- Artificial Intelligence
 
Intelligent Agents
Intelligent Agents Intelligent Agents
Intelligent Agents
 
Intelligent agent
Intelligent agentIntelligent agent
Intelligent agent
 
Agents1
Agents1Agents1
Agents1
 
Problem Solving
Problem Solving Problem Solving
Problem Solving
 
intelligent agent (1).pptx
intelligent agent (1).pptxintelligent agent (1).pptx
intelligent agent (1).pptx
 
Interactions in Multi Agent Systems
Interactions in Multi Agent SystemsInteractions in Multi Agent Systems
Interactions in Multi Agent Systems
 
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
 
Types of environment in Artificial Intelligence
Types of environment in Artificial IntelligenceTypes of environment in Artificial Intelligence
Types of environment in Artificial Intelligence
 
AI_Unit I notes .pdf
AI_Unit I notes .pdfAI_Unit I notes .pdf
AI_Unit I notes .pdf
 
Multi-agent systems
Multi-agent systemsMulti-agent systems
Multi-agent systems
 
Hill climbing algorithm
Hill climbing algorithmHill climbing algorithm
Hill climbing algorithm
 
AI - Intelligent Agents
AI - Intelligent AgentsAI - Intelligent Agents
AI - Intelligent Agents
 
Problem solving agents
Problem solving agentsProblem solving agents
Problem solving agents
 

Andere mochten auch (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
 

Ähnlich wie 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
 

Ähnlich wie 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
 
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
 
agents in ai ppt
agents in ai pptagents in ai ppt
agents in ai ppt
 

Kürzlich hochgeladen

Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 

Kürzlich hochgeladen (20)

Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 

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