SlideShare a Scribd company logo
1 of 43
Intelligent Agent
What is an (Intelligent) Agent?
• An over-used, over-loaded, and misused term.
• Anything that can be viewed as perceiving its environment
through sensors and acting upon that environment through
its effectors to maximize progress towards its goals.
• Environment: Agents operate in an
environment
• Percepts:It is a complete set of inputs at a
given time
• Sensors:It can change the environment
through Effectors
• Acurator:It is something that control or move
things around
• Action: Operation involving an accurator is
called action.
What is an (Intelligent) Agent?
• PAGE (Percepts, Actions, Goals, Environment)
• Task-specific & specialized: well-defined goals
and environment
• The notion of an agent is meant to be a tool for
analyzing systems,
• It is not a different hardware or new programming
languages
Intelligent Agents and Artificial
Intelligence
• Example: Human mind as network of thousands or millions of
agents working in parallel. To produce real artificial intelligence,
this school holds, we should build computer systems that also
contain many agents and systems for arbitrating among the
agents' competing results.
• Distributed decision-making
and control
• Challenges:
– Action selection: What next action
to choose
– Conflict resolution
sensors
effectors
Agency
Rational Agents
Environment
Agent
percepts
actions
?
Sensors
Effectors
How to design this?
A Windshield Wiper Agent
How do we design a agent that can wipe the windshields
when needed?
• Goals?
• Percepts?
• Sensors?
• Effectors?
• Actions?
• Environment?
A Windshield Wiper Agent (Cont’d)
• Goals: Keep windshields clean & maintain visibility
• Percepts: Raining, Dirty
• Sensors: Camera (moist sensor)
• Effectors: Wipers (left, right, back)
• Actions: Off, Slow, Medium, Fast
• Environment: Inner city, freeways, highways, weather …
Interacting Agents
Collision Avoidance Agent (CAA)
• Goals: Avoid running into obstacles
• Percepts ?
• Sensors?
• Effectors ?
• Actions ?
• Environment: Freeway
Lane Keeping Agent (LKA)
• Goals: Stay in current lane
• Percepts ?
• Sensors?
• Effectors ?
• Actions ?
Interacting Agents
Collision Avoidance Agent (CAA)
• Goals: Avoid running into obstacles
• Percepts: Obstacle distance, velocity, trajectory
• Sensors: Vision, proximity sensing
• Effectors: Steering Wheel, Accelerator, Brakes, Horn, Headlights
• Actions: Steer, speed up, brake, blow horn, signal (headlights)
• Environment: Freeway
Lane Keeping Agent (LKA)
• Goals: Stay in current lane
• Percepts: Lane center, lane boundaries
• Sensors: Vision
• Effectors: Steering Wheel, Accelerator, Brakes
• Actions: Steer, speed up, brake
• Environment: Freeway
Conflict Resolution by Action
Selection Agents
• Override: CAA overrides LKA
• Arbitrate: if Obstacle is Close then CAA
else LKA
• Compromise: Choose action that satisfies both
agents
• Any combination of the above
• Challenges: Doing the right thing
The Right Thing = The Rational
Action
• Rational Action: The action that maximizes the expected
value of the performance measure given the percept
sequence to date
– Rational = Best ?
– Rational = Optimal ?
– Rational = Omniscience ?
– Rational = Clairvoyant ?
– Rational = Successful ?
The Right Thing = The Rational
Action
• Rational Action: The action that maximizes the expected
value of the performance measure given the percept
sequence to date
– Rational = Best Yes, to the best of its knowledge
– Rational = Optimal Yes, to the best of its abilities (incl. its
constraints)
– Rational  Omniscience (state of knowing everything)
– Rational  Clairvoyant (claims to have a supernatural ability to
perceive events in the future or beyond normal sensory contact.)
– Rational  Successful
Behavior and performance of IAs
• Perception (sequence) to Action Mapping: f : P*  A
– Ideal mapping: specifies which actions an agent ought to take at any
point in time
– Description: Look-Up-Table, Closed Form, etc.
• Performance measure: a subjective measure to characterize
how successful an agent is (e.g., speed, power usage, accuracy,
money, etc.)
• (degree of) Autonomy: to what extent is the agent able to make
decisions and take actions on its own?
Look up table
Distance Action
10 No action
5 Turn left 30
degrees
2 Stop
agent
obstacle
sensor
Closed form
• Output (degree of rotation) = F(distance)
• E.g., F(d) = 10/d (distance cannot be less than 1/10)
How is an Agent different from
other software?
• Agents are autonomous, that is, they act on behalf of the
user
• Agents contain some level of intelligence, from fixed rules to
learning engines that allow them to adapt to changes in the
environment
• Agents don't only act reactively, but sometimes also
proactively
How is an Agent different from
other software?
• Agents have social ability, that is, they communicate with the
user, the system, and other agents as required
• Agents may also cooperate with other agents to carry out
more complex tasks than they themselves can handle
• Agents may migrate from one system to another to access
remote resources or even to meet other agents
Task Environment(PEAS)
PEAS is a type of model on which an AI agent works upon. When
we define an AI agent or rational agent, then we can group its
properties under PEAS representation model. It is made up of
four words:
• P: Performance measure
• E: Environment
• A: Actuators
• S: Sensors
Here performance measure is the objective for the success of an
agent's behavior.
Let's suppose a self-driving car then PEAS
representation will be:
• Performance: Safety, time, legal drive, comfort
• Environment: Roads, other vehicles, road
signs, pedestrian
• Actuators: Steering, accelerator, brake, signal,
horn
• Sensors: Camera, GPS, speedometer,
odometer, accelerometer, sonar.
Example of Agents with their PEAS representation
Environment Types
• Characteristics
– Accessible vs. inaccessible
– Deterministic vs. nondeterministic
– Episodic vs. nonepisodic
– Hostile vs. friendly
– Static vs. dynamic
– Discrete vs. continuous
Environment Types
• Characteristics
– Accessible vs. inaccessible
• Sensors give access to complete state of the environment.
– Deterministic vs. nondeterministic
• The next state can be determined based on the current state
and the action.
– Episodic vs. nonepisodic (Sequential)
• Episode: each perceive and action pairs
• The quality of action does not depend on the previous
episode.
Environment Types
• Characteristics
– Hostile vs. friendly
– Static vs. dynamic
• Dynamic if the environment changes during deliberation
• Taxi driving is an example of a dynamic environment whereas
Crossword puzzles are an example of a static environment.
– Discrete vs. continuous
• discrete/continuous distinction applies to states, time,
percepts, or actions
• A chess game comes under discrete environment as there is a finite
number of moves that can be performed.
• A self-driving car is an example of a continuous environment.
Environment types
Environment Accessible Deterministic Episodic Static Discrete
Operating
System
Virtual
Reality
Office
Environment
Mars
Environment types
Environment Accessible Deterministic Episodic Static Discrete
Operating
System
Yes Yes No No Yes
Virtual
Reality
Office
Environment
Mars
Environment types
Environment Accessible Deterministic Episodic Static Discrete
Operating
System
Yes Yes No No Yes
Virtual
Reality
Yes Yes Yes/no No Yes/no
Office
Environment
Mars
Environment types
Environment Accessible Deterministic Episodic Static Discrete
Operating
System
Yes Yes No No Yes
Virtual
Reality
Yes Yes Yes/no No Yes/no
Office
Environment
No No No No No
Mars
Environment types
Environment Accessible Deterministic Episodic Static Discrete
Operating
System
Yes Yes No No Yes
Virtual
Reality
Yes Yes Yes/no No Yes/no
Office
Environment
No No No No No
Mars No Semi No Semi No
The environment types largely determine the agent design.
Structure of Intelligent Agents
• Agent = architecture + program
• Agent program: the implementation of f : P*  A, the
agent’s perception-action mapping
function Skeleton-Agent(Percept) returns Action
memory  UpdateMemory(memory, Percept)
Action  ChooseBestAction(memory)
memory  UpdateMemory(memory, Action)
return Action
• Architecture: a device that can execute the agent program
(e.g., general-purpose computer, specialized device, beobot,
etc.)
Agent types
• Simple-Reflex agents
• Model-based reflexive agents
• Goal-based agents
• Utility-based agents
• Learning agents
Simple-Reflex agents
• Simple reflex agents ignore the rest of the percept history and act only on
the basis of the current percept. Percept history is the history of all that an
agent has perceived till date. The agent function is based on the condition-
action rule. A condition-action rule is a rule that maps a state i.e, condition
to an action. If the condition is true, then the action is taken, else not. This
agent function only succeeds when the environment is accesible. For simple
reflex agents operating in non accessible environments, infinite loops are
often unavoidable. It may be possible to escape from infinite loops if the
agent can randomize its actions. Problems with Simple reflex agents are :
• Very limited intelligence.
• No knowledge of non-perceptual parts of state.
• Usually too big to generate and store.
• If there occurs any change in the environment, then the collection of rules
need to be updated.
• Benefits: robustness, fast response time
• Challenges: scalability, how intelligent?
and how do you debug them?
Model-based reflexive agent
• It works by finding a rule whose condition matches the current situation. A
model-based agent can handle non accessible environments by use of
model about the world. The agent has to keep track of internal
state which is adjusted by each percept and that depends on the percept
history. The current state is stored inside the agent which maintains some
kind of structure describing the part of the world which cannot be seen.
Updating the state requires information about :
• how the world evolves in-dependently from the agent, and
• how the agent actions affects the world.
Goal-based agents
• These kind of agents take decision based on how far they are currently
from their goal(description of desirable situations). Their every action is
intended to reduce its distance from the goal. This allows the agent a way
to choose among multiple possibilities, selecting the one which reaches a
goal state. The knowledge that supports its decisions is represented
explicitly and can be modified, which makes these agents more flexible.
They usually require search and planning. The goal-based agent’s behavior
can easily be changed.
Utility-based agents
• The agents which are developed having their end uses as building blocks
are called utility based agents. When there are multiple possible
alternatives, then to decide which one is best, utility-based agents are
used.They choose actions based on a preference (utility) for each state.
Sometimes achieving the desired goal is not enough. We may look for a
quicker, safer, cheaper trip to reach a destination. Agent happiness should
be taken into consideration. Utility describes how “happy” the agent is.
Because of the uncertainty in the world, a utility agent chooses the action
that maximizes the expected utility. A utility function maps a state onto a
real number which describes the associated degree of happiness.
Utility-based agents
Learning agents
learning agent in AI is the type of agent that can learn from its past
experiences or it has learning capabilities. It starts to act with basic
knowledge and then is able to act and adapt automatically through learning.
A learning agent has mainly four conceptual components, which are:
1. Learning element:It is responsible for making improvements by learning
from the environment
2. Critic: The learning element takes feedback from critics which describe
how well the agent is doing with respect to a fixed performance
standard.
3. Performance element:It is responsible for selecting external action
4. Problem Generator: This component is responsible for suggesting actions
that will lead to new and informative experiences.
Summary
• Intelligent Agents:
– Anything that can be viewed as perceiving its environment through sensors
and acting upon that environment through its effectors to maximize
progress towards its goals.
– PAGE (Percepts, Actions, Goals, Environment)
– Described as a Perception (sequence) to Action Mapping: f : P*  A
– Using look-up-table, closed form, etc.
• Agent Types: Reflex, state-based, goal-based, utility-based,learning
• Rational Action: The action that maximizes the expected value of
the performance measure given the percept sequence to date

More Related Content

Similar to 2.IntelligentAgents.ppt

Lecture 2 agent and environment
Lecture 2   agent and environmentLecture 2   agent and environment
Lecture 2 agent and environmentVajira Thambawita
 
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
 
W2_Lec03_Lec04_Agents.pptx
W2_Lec03_Lec04_Agents.pptxW2_Lec03_Lec04_Agents.pptx
W2_Lec03_Lec04_Agents.pptxJavaid Iqbal
 
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
 
mosfet3inteliggent ageent preserve2ss.ppt
mosfet3inteliggent ageent preserve2ss.pptmosfet3inteliggent ageent preserve2ss.ppt
mosfet3inteliggent ageent preserve2ss.pptdanymorales34
 
IntelligentAgents.ppt
IntelligentAgents.pptIntelligentAgents.ppt
IntelligentAgents.pptjuwel16
 
Types of Artificial Intelligence.ppt
Types of Artificial Intelligence.pptTypes of Artificial Intelligence.ppt
Types of Artificial Intelligence.pptGEETHAS668001
 
Intelligent agents.ppt
Intelligent agents.pptIntelligent agents.ppt
Intelligent agents.pptShilpaBhatia32
 

Similar to 2.IntelligentAgents.ppt (20)

Lecture 2 agent and environment
Lecture 2   agent and environmentLecture 2   agent and environment
Lecture 2 agent and environment
 
AI Basic.pptx
AI Basic.pptxAI Basic.pptx
AI Basic.pptx
 
Agents1
Agents1Agents1
Agents1
 
Unit-1.pptx
Unit-1.pptxUnit-1.pptx
Unit-1.pptx
 
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 2
Lecture 2Lecture 2
Lecture 2
 
W2_Lec03_Lec04_Agents.pptx
W2_Lec03_Lec04_Agents.pptxW2_Lec03_Lec04_Agents.pptx
W2_Lec03_Lec04_Agents.pptx
 
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
 
mosfet3inteliggent ageent preserve2ss.ppt
mosfet3inteliggent ageent preserve2ss.pptmosfet3inteliggent ageent preserve2ss.ppt
mosfet3inteliggent ageent preserve2ss.ppt
 
IntelligentAgents.ppt
IntelligentAgents.pptIntelligentAgents.ppt
IntelligentAgents.ppt
 
Artificial Intelligence - An Introduction
Artificial Intelligence - An IntroductionArtificial Intelligence - An Introduction
Artificial Intelligence - An Introduction
 
Intelligent Agents
Intelligent Agents Intelligent Agents
Intelligent Agents
 
M2 agents
M2 agentsM2 agents
M2 agents
 
Types of Artificial Intelligence.ppt
Types of Artificial Intelligence.pptTypes of Artificial Intelligence.ppt
Types of Artificial Intelligence.ppt
 
agents.pdf
agents.pdfagents.pdf
agents.pdf
 
Lec 2-agents
Lec 2-agentsLec 2-agents
Lec 2-agents
 
Intelligent agents.ppt
Intelligent agents.pptIntelligent agents.ppt
Intelligent agents.ppt
 
Agents_AI.ppt
Agents_AI.pptAgents_AI.ppt
Agents_AI.ppt
 
AI week 2.pdf
AI week 2.pdfAI week 2.pdf
AI week 2.pdf
 
Unit 1.ppt
Unit 1.pptUnit 1.ppt
Unit 1.ppt
 

Recently uploaded

Jordan_Amanda_DMBS202404_PB1_2024-04.pdf
Jordan_Amanda_DMBS202404_PB1_2024-04.pdfJordan_Amanda_DMBS202404_PB1_2024-04.pdf
Jordan_Amanda_DMBS202404_PB1_2024-04.pdfamanda2495
 
Pondicherry Escorts Service Girl ^ 9332606886, WhatsApp Anytime Pondicherry
Pondicherry Escorts Service Girl ^ 9332606886, WhatsApp Anytime PondicherryPondicherry Escorts Service Girl ^ 9332606886, WhatsApp Anytime Pondicherry
Pondicherry Escorts Service Girl ^ 9332606886, WhatsApp Anytime Pondicherrymeghakumariji156
 
一比一定(购)滑铁卢大学毕业证(UW毕业证)成绩单学位证
一比一定(购)滑铁卢大学毕业证(UW毕业证)成绩单学位证一比一定(购)滑铁卢大学毕业证(UW毕业证)成绩单学位证
一比一定(购)滑铁卢大学毕业证(UW毕业证)成绩单学位证wpkuukw
 
Call Girls Jalaun Just Call 8617370543 Top Class Call Girl Service Available
Call Girls Jalaun Just Call 8617370543 Top Class Call Girl Service AvailableCall Girls Jalaun Just Call 8617370543 Top Class Call Girl Service Available
Call Girls Jalaun Just Call 8617370543 Top Class Call Girl Service AvailableNitya salvi
 
Madhyamgram \ (Genuine) Escort Service Kolkata | Service-oriented sexy call g...
Madhyamgram \ (Genuine) Escort Service Kolkata | Service-oriented sexy call g...Madhyamgram \ (Genuine) Escort Service Kolkata | Service-oriented sexy call g...
Madhyamgram \ (Genuine) Escort Service Kolkata | Service-oriented sexy call g...HyderabadDolls
 
Just Call Vip call girls Fatehpur Escorts ☎️8617370543 Two shot with one girl...
Just Call Vip call girls Fatehpur Escorts ☎️8617370543 Two shot with one girl...Just Call Vip call girls Fatehpur Escorts ☎️8617370543 Two shot with one girl...
Just Call Vip call girls Fatehpur Escorts ☎️8617370543 Two shot with one girl...Nitya salvi
 
❤️ Call Girls Service Amritsar Call Girls (Adult Only) 💯Call Us 🔝 6378878445 ...
❤️ Call Girls Service Amritsar Call Girls (Adult Only) 💯Call Us 🔝 6378878445 ...❤️ Call Girls Service Amritsar Call Girls (Adult Only) 💯Call Us 🔝 6378878445 ...
❤️ Call Girls Service Amritsar Call Girls (Adult Only) 💯Call Us 🔝 6378878445 ...vershagrag
 
Design-System - FinTech - Isadora Agency
Design-System - FinTech - Isadora AgencyDesign-System - FinTech - Isadora Agency
Design-System - FinTech - Isadora AgencyIsadora Agency
 
TRose UXPA Experience Design Concord .pptx
TRose UXPA Experience Design Concord .pptxTRose UXPA Experience Design Concord .pptx
TRose UXPA Experience Design Concord .pptxtrose8
 
怎样办理伯明翰大学学院毕业证(Birmingham毕业证书)成绩单留信认证
怎样办理伯明翰大学学院毕业证(Birmingham毕业证书)成绩单留信认证怎样办理伯明翰大学学院毕业证(Birmingham毕业证书)成绩单留信认证
怎样办理伯明翰大学学院毕业证(Birmingham毕业证书)成绩单留信认证eeanqy
 
Raebareli Girl Whatsapp Number 📞 8617370543 | Girls Number for Friendship
Raebareli Girl Whatsapp Number 📞 8617370543 | Girls Number for FriendshipRaebareli Girl Whatsapp Number 📞 8617370543 | Girls Number for Friendship
Raebareli Girl Whatsapp Number 📞 8617370543 | Girls Number for FriendshipNitya salvi
 
Abortion pills in Riyadh +966572737505 <> buy cytotec <> unwanted kit Saudi A...
Abortion pills in Riyadh +966572737505 <> buy cytotec <> unwanted kit Saudi A...Abortion pills in Riyadh +966572737505 <> buy cytotec <> unwanted kit Saudi A...
Abortion pills in Riyadh +966572737505 <> buy cytotec <> unwanted kit Saudi A...samsungultra782445
 
Sweety Planet Packaging Design Process Book.pptx
Sweety Planet Packaging Design Process Book.pptxSweety Planet Packaging Design Process Book.pptx
Sweety Planet Packaging Design Process Book.pptxbingyichin04
 
High Profile Escorts Nerul WhatsApp +91-9930687706, Best Service
High Profile Escorts Nerul WhatsApp +91-9930687706, Best ServiceHigh Profile Escorts Nerul WhatsApp +91-9930687706, Best Service
High Profile Escorts Nerul WhatsApp +91-9930687706, Best Servicemeghakumariji156
 
NO1 Top Pakistani Amil Baba Real Amil baba In Pakistan Najoomi Baba in Pakist...
NO1 Top Pakistani Amil Baba Real Amil baba In Pakistan Najoomi Baba in Pakist...NO1 Top Pakistani Amil Baba Real Amil baba In Pakistan Najoomi Baba in Pakist...
NO1 Top Pakistani Amil Baba Real Amil baba In Pakistan Najoomi Baba in Pakist...Amil baba
 
Top profile Call Girls In eluru [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In eluru [ 7014168258 ] Call Me For Genuine Models We ...Top profile Call Girls In eluru [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In eluru [ 7014168258 ] Call Me For Genuine Models We ...gajnagarg
 
Top profile Call Girls In Mysore [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Mysore [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Mysore [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Mysore [ 7014168258 ] Call Me For Genuine Models We...gajnagarg
 
Essential UI/UX Design Principles: A Comprehensive Guide
Essential UI/UX Design Principles: A Comprehensive GuideEssential UI/UX Design Principles: A Comprehensive Guide
Essential UI/UX Design Principles: A Comprehensive GuideDesign Studio UI UX
 

Recently uploaded (20)

Jordan_Amanda_DMBS202404_PB1_2024-04.pdf
Jordan_Amanda_DMBS202404_PB1_2024-04.pdfJordan_Amanda_DMBS202404_PB1_2024-04.pdf
Jordan_Amanda_DMBS202404_PB1_2024-04.pdf
 
Pondicherry Escorts Service Girl ^ 9332606886, WhatsApp Anytime Pondicherry
Pondicherry Escorts Service Girl ^ 9332606886, WhatsApp Anytime PondicherryPondicherry Escorts Service Girl ^ 9332606886, WhatsApp Anytime Pondicherry
Pondicherry Escorts Service Girl ^ 9332606886, WhatsApp Anytime Pondicherry
 
一比一定(购)滑铁卢大学毕业证(UW毕业证)成绩单学位证
一比一定(购)滑铁卢大学毕业证(UW毕业证)成绩单学位证一比一定(购)滑铁卢大学毕业证(UW毕业证)成绩单学位证
一比一定(购)滑铁卢大学毕业证(UW毕业证)成绩单学位证
 
Call Girls Jalaun Just Call 8617370543 Top Class Call Girl Service Available
Call Girls Jalaun Just Call 8617370543 Top Class Call Girl Service AvailableCall Girls Jalaun Just Call 8617370543 Top Class Call Girl Service Available
Call Girls Jalaun Just Call 8617370543 Top Class Call Girl Service Available
 
Abortion Pills in Oman (+918133066128) Cytotec clinic buy Oman Muscat
Abortion Pills in Oman (+918133066128) Cytotec clinic buy Oman MuscatAbortion Pills in Oman (+918133066128) Cytotec clinic buy Oman Muscat
Abortion Pills in Oman (+918133066128) Cytotec clinic buy Oman Muscat
 
Hackathon evaluation template_latest_uploadpdf
Hackathon evaluation template_latest_uploadpdfHackathon evaluation template_latest_uploadpdf
Hackathon evaluation template_latest_uploadpdf
 
Madhyamgram \ (Genuine) Escort Service Kolkata | Service-oriented sexy call g...
Madhyamgram \ (Genuine) Escort Service Kolkata | Service-oriented sexy call g...Madhyamgram \ (Genuine) Escort Service Kolkata | Service-oriented sexy call g...
Madhyamgram \ (Genuine) Escort Service Kolkata | Service-oriented sexy call g...
 
Just Call Vip call girls Fatehpur Escorts ☎️8617370543 Two shot with one girl...
Just Call Vip call girls Fatehpur Escorts ☎️8617370543 Two shot with one girl...Just Call Vip call girls Fatehpur Escorts ☎️8617370543 Two shot with one girl...
Just Call Vip call girls Fatehpur Escorts ☎️8617370543 Two shot with one girl...
 
❤️ Call Girls Service Amritsar Call Girls (Adult Only) 💯Call Us 🔝 6378878445 ...
❤️ Call Girls Service Amritsar Call Girls (Adult Only) 💯Call Us 🔝 6378878445 ...❤️ Call Girls Service Amritsar Call Girls (Adult Only) 💯Call Us 🔝 6378878445 ...
❤️ Call Girls Service Amritsar Call Girls (Adult Only) 💯Call Us 🔝 6378878445 ...
 
Design-System - FinTech - Isadora Agency
Design-System - FinTech - Isadora AgencyDesign-System - FinTech - Isadora Agency
Design-System - FinTech - Isadora Agency
 
TRose UXPA Experience Design Concord .pptx
TRose UXPA Experience Design Concord .pptxTRose UXPA Experience Design Concord .pptx
TRose UXPA Experience Design Concord .pptx
 
怎样办理伯明翰大学学院毕业证(Birmingham毕业证书)成绩单留信认证
怎样办理伯明翰大学学院毕业证(Birmingham毕业证书)成绩单留信认证怎样办理伯明翰大学学院毕业证(Birmingham毕业证书)成绩单留信认证
怎样办理伯明翰大学学院毕业证(Birmingham毕业证书)成绩单留信认证
 
Raebareli Girl Whatsapp Number 📞 8617370543 | Girls Number for Friendship
Raebareli Girl Whatsapp Number 📞 8617370543 | Girls Number for FriendshipRaebareli Girl Whatsapp Number 📞 8617370543 | Girls Number for Friendship
Raebareli Girl Whatsapp Number 📞 8617370543 | Girls Number for Friendship
 
Abortion pills in Riyadh +966572737505 <> buy cytotec <> unwanted kit Saudi A...
Abortion pills in Riyadh +966572737505 <> buy cytotec <> unwanted kit Saudi A...Abortion pills in Riyadh +966572737505 <> buy cytotec <> unwanted kit Saudi A...
Abortion pills in Riyadh +966572737505 <> buy cytotec <> unwanted kit Saudi A...
 
Sweety Planet Packaging Design Process Book.pptx
Sweety Planet Packaging Design Process Book.pptxSweety Planet Packaging Design Process Book.pptx
Sweety Planet Packaging Design Process Book.pptx
 
High Profile Escorts Nerul WhatsApp +91-9930687706, Best Service
High Profile Escorts Nerul WhatsApp +91-9930687706, Best ServiceHigh Profile Escorts Nerul WhatsApp +91-9930687706, Best Service
High Profile Escorts Nerul WhatsApp +91-9930687706, Best Service
 
NO1 Top Pakistani Amil Baba Real Amil baba In Pakistan Najoomi Baba in Pakist...
NO1 Top Pakistani Amil Baba Real Amil baba In Pakistan Najoomi Baba in Pakist...NO1 Top Pakistani Amil Baba Real Amil baba In Pakistan Najoomi Baba in Pakist...
NO1 Top Pakistani Amil Baba Real Amil baba In Pakistan Najoomi Baba in Pakist...
 
Top profile Call Girls In eluru [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In eluru [ 7014168258 ] Call Me For Genuine Models We ...Top profile Call Girls In eluru [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In eluru [ 7014168258 ] Call Me For Genuine Models We ...
 
Top profile Call Girls In Mysore [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Mysore [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Mysore [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Mysore [ 7014168258 ] Call Me For Genuine Models We...
 
Essential UI/UX Design Principles: A Comprehensive Guide
Essential UI/UX Design Principles: A Comprehensive GuideEssential UI/UX Design Principles: A Comprehensive Guide
Essential UI/UX Design Principles: A Comprehensive Guide
 

2.IntelligentAgents.ppt

  • 2. What is an (Intelligent) Agent? • An over-used, over-loaded, and misused term. • Anything that can be viewed as perceiving its environment through sensors and acting upon that environment through its effectors to maximize progress towards its goals.
  • 3.
  • 4. • Environment: Agents operate in an environment • Percepts:It is a complete set of inputs at a given time • Sensors:It can change the environment through Effectors • Acurator:It is something that control or move things around • Action: Operation involving an accurator is called action.
  • 5. What is an (Intelligent) Agent? • PAGE (Percepts, Actions, Goals, Environment) • Task-specific & specialized: well-defined goals and environment • The notion of an agent is meant to be a tool for analyzing systems, • It is not a different hardware or new programming languages
  • 6. Intelligent Agents and Artificial Intelligence • Example: Human mind as network of thousands or millions of agents working in parallel. To produce real artificial intelligence, this school holds, we should build computer systems that also contain many agents and systems for arbitrating among the agents' competing results. • Distributed decision-making and control • Challenges: – Action selection: What next action to choose – Conflict resolution sensors effectors Agency
  • 8. A Windshield Wiper Agent How do we design a agent that can wipe the windshields when needed? • Goals? • Percepts? • Sensors? • Effectors? • Actions? • Environment?
  • 9. A Windshield Wiper Agent (Cont’d) • Goals: Keep windshields clean & maintain visibility • Percepts: Raining, Dirty • Sensors: Camera (moist sensor) • Effectors: Wipers (left, right, back) • Actions: Off, Slow, Medium, Fast • Environment: Inner city, freeways, highways, weather …
  • 10. Interacting Agents Collision Avoidance Agent (CAA) • Goals: Avoid running into obstacles • Percepts ? • Sensors? • Effectors ? • Actions ? • Environment: Freeway Lane Keeping Agent (LKA) • Goals: Stay in current lane • Percepts ? • Sensors? • Effectors ? • Actions ?
  • 11. Interacting Agents Collision Avoidance Agent (CAA) • Goals: Avoid running into obstacles • Percepts: Obstacle distance, velocity, trajectory • Sensors: Vision, proximity sensing • Effectors: Steering Wheel, Accelerator, Brakes, Horn, Headlights • Actions: Steer, speed up, brake, blow horn, signal (headlights) • Environment: Freeway Lane Keeping Agent (LKA) • Goals: Stay in current lane • Percepts: Lane center, lane boundaries • Sensors: Vision • Effectors: Steering Wheel, Accelerator, Brakes • Actions: Steer, speed up, brake • Environment: Freeway
  • 12. Conflict Resolution by Action Selection Agents • Override: CAA overrides LKA • Arbitrate: if Obstacle is Close then CAA else LKA • Compromise: Choose action that satisfies both agents • Any combination of the above • Challenges: Doing the right thing
  • 13. The Right Thing = The Rational Action • Rational Action: The action that maximizes the expected value of the performance measure given the percept sequence to date – Rational = Best ? – Rational = Optimal ? – Rational = Omniscience ? – Rational = Clairvoyant ? – Rational = Successful ?
  • 14. The Right Thing = The Rational Action • Rational Action: The action that maximizes the expected value of the performance measure given the percept sequence to date – Rational = Best Yes, to the best of its knowledge – Rational = Optimal Yes, to the best of its abilities (incl. its constraints) – Rational  Omniscience (state of knowing everything) – Rational  Clairvoyant (claims to have a supernatural ability to perceive events in the future or beyond normal sensory contact.) – Rational  Successful
  • 15. Behavior and performance of IAs • Perception (sequence) to Action Mapping: f : P*  A – Ideal mapping: specifies which actions an agent ought to take at any point in time – Description: Look-Up-Table, Closed Form, etc. • Performance measure: a subjective measure to characterize how successful an agent is (e.g., speed, power usage, accuracy, money, etc.) • (degree of) Autonomy: to what extent is the agent able to make decisions and take actions on its own?
  • 16. Look up table Distance Action 10 No action 5 Turn left 30 degrees 2 Stop agent obstacle sensor
  • 17. Closed form • Output (degree of rotation) = F(distance) • E.g., F(d) = 10/d (distance cannot be less than 1/10)
  • 18. How is an Agent different from other software? • Agents are autonomous, that is, they act on behalf of the user • Agents contain some level of intelligence, from fixed rules to learning engines that allow them to adapt to changes in the environment • Agents don't only act reactively, but sometimes also proactively
  • 19. How is an Agent different from other software? • Agents have social ability, that is, they communicate with the user, the system, and other agents as required • Agents may also cooperate with other agents to carry out more complex tasks than they themselves can handle • Agents may migrate from one system to another to access remote resources or even to meet other agents
  • 20. Task Environment(PEAS) PEAS is a type of model on which an AI agent works upon. When we define an AI agent or rational agent, then we can group its properties under PEAS representation model. It is made up of four words: • P: Performance measure • E: Environment • A: Actuators • S: Sensors Here performance measure is the objective for the success of an agent's behavior.
  • 21. Let's suppose a self-driving car then PEAS representation will be: • Performance: Safety, time, legal drive, comfort • Environment: Roads, other vehicles, road signs, pedestrian • Actuators: Steering, accelerator, brake, signal, horn • Sensors: Camera, GPS, speedometer, odometer, accelerometer, sonar.
  • 22. Example of Agents with their PEAS representation
  • 23. Environment Types • Characteristics – Accessible vs. inaccessible – Deterministic vs. nondeterministic – Episodic vs. nonepisodic – Hostile vs. friendly – Static vs. dynamic – Discrete vs. continuous
  • 24. Environment Types • Characteristics – Accessible vs. inaccessible • Sensors give access to complete state of the environment. – Deterministic vs. nondeterministic • The next state can be determined based on the current state and the action. – Episodic vs. nonepisodic (Sequential) • Episode: each perceive and action pairs • The quality of action does not depend on the previous episode.
  • 25. Environment Types • Characteristics – Hostile vs. friendly – Static vs. dynamic • Dynamic if the environment changes during deliberation • Taxi driving is an example of a dynamic environment whereas Crossword puzzles are an example of a static environment. – Discrete vs. continuous • discrete/continuous distinction applies to states, time, percepts, or actions • A chess game comes under discrete environment as there is a finite number of moves that can be performed. • A self-driving car is an example of a continuous environment.
  • 26. Environment types Environment Accessible Deterministic Episodic Static Discrete Operating System Virtual Reality Office Environment Mars
  • 27. Environment types Environment Accessible Deterministic Episodic Static Discrete Operating System Yes Yes No No Yes Virtual Reality Office Environment Mars
  • 28. Environment types Environment Accessible Deterministic Episodic Static Discrete Operating System Yes Yes No No Yes Virtual Reality Yes Yes Yes/no No Yes/no Office Environment Mars
  • 29. Environment types Environment Accessible Deterministic Episodic Static Discrete Operating System Yes Yes No No Yes Virtual Reality Yes Yes Yes/no No Yes/no Office Environment No No No No No Mars
  • 30. Environment types Environment Accessible Deterministic Episodic Static Discrete Operating System Yes Yes No No Yes Virtual Reality Yes Yes Yes/no No Yes/no Office Environment No No No No No Mars No Semi No Semi No The environment types largely determine the agent design.
  • 31. Structure of Intelligent Agents • Agent = architecture + program • Agent program: the implementation of f : P*  A, the agent’s perception-action mapping function Skeleton-Agent(Percept) returns Action memory  UpdateMemory(memory, Percept) Action  ChooseBestAction(memory) memory  UpdateMemory(memory, Action) return Action • Architecture: a device that can execute the agent program (e.g., general-purpose computer, specialized device, beobot, etc.)
  • 32. Agent types • Simple-Reflex agents • Model-based reflexive agents • Goal-based agents • Utility-based agents • Learning agents
  • 34. • Simple reflex agents ignore the rest of the percept history and act only on the basis of the current percept. Percept history is the history of all that an agent has perceived till date. The agent function is based on the condition- action rule. A condition-action rule is a rule that maps a state i.e, condition to an action. If the condition is true, then the action is taken, else not. This agent function only succeeds when the environment is accesible. For simple reflex agents operating in non accessible environments, infinite loops are often unavoidable. It may be possible to escape from infinite loops if the agent can randomize its actions. Problems with Simple reflex agents are : • Very limited intelligence. • No knowledge of non-perceptual parts of state. • Usually too big to generate and store. • If there occurs any change in the environment, then the collection of rules need to be updated. • Benefits: robustness, fast response time • Challenges: scalability, how intelligent? and how do you debug them?
  • 35. Model-based reflexive agent • It works by finding a rule whose condition matches the current situation. A model-based agent can handle non accessible environments by use of model about the world. The agent has to keep track of internal state which is adjusted by each percept and that depends on the percept history. The current state is stored inside the agent which maintains some kind of structure describing the part of the world which cannot be seen. Updating the state requires information about : • how the world evolves in-dependently from the agent, and • how the agent actions affects the world.
  • 36.
  • 37. Goal-based agents • These kind of agents take decision based on how far they are currently from their goal(description of desirable situations). Their every action is intended to reduce its distance from the goal. This allows the agent a way to choose among multiple possibilities, selecting the one which reaches a goal state. The knowledge that supports its decisions is represented explicitly and can be modified, which makes these agents more flexible. They usually require search and planning. The goal-based agent’s behavior can easily be changed.
  • 38.
  • 39. Utility-based agents • The agents which are developed having their end uses as building blocks are called utility based agents. When there are multiple possible alternatives, then to decide which one is best, utility-based agents are used.They choose actions based on a preference (utility) for each state. Sometimes achieving the desired goal is not enough. We may look for a quicker, safer, cheaper trip to reach a destination. Agent happiness should be taken into consideration. Utility describes how “happy” the agent is. Because of the uncertainty in the world, a utility agent chooses the action that maximizes the expected utility. A utility function maps a state onto a real number which describes the associated degree of happiness.
  • 42. learning agent in AI is the type of agent that can learn from its past experiences or it has learning capabilities. It starts to act with basic knowledge and then is able to act and adapt automatically through learning. A learning agent has mainly four conceptual components, which are: 1. Learning element:It is responsible for making improvements by learning from the environment 2. Critic: The learning element takes feedback from critics which describe how well the agent is doing with respect to a fixed performance standard. 3. Performance element:It is responsible for selecting external action 4. Problem Generator: This component is responsible for suggesting actions that will lead to new and informative experiences.
  • 43. Summary • Intelligent Agents: – Anything that can be viewed as perceiving its environment through sensors and acting upon that environment through its effectors to maximize progress towards its goals. – PAGE (Percepts, Actions, Goals, Environment) – Described as a Perception (sequence) to Action Mapping: f : P*  A – Using look-up-table, closed form, etc. • Agent Types: Reflex, state-based, goal-based, utility-based,learning • Rational Action: The action that maximizes the expected value of the performance measure given the percept sequence to date