Presentation is loading. Please wait.

Presentation is loading. Please wait.

Chapter 2 Agents & Environments. © D. Weld, D. Fox 2 Outline Agents and environments Rationality PEAS specification Environment types Agent types.

Similar presentations


Presentation on theme: "Chapter 2 Agents & Environments. © D. Weld, D. Fox 2 Outline Agents and environments Rationality PEAS specification Environment types Agent types."— Presentation transcript:

1 Chapter 2 Agents & Environments

2 © D. Weld, D. Fox 2 Outline Agents and environments Rationality PEAS specification Environment types Agent types

3 © D. Weld, D. Fox 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 laser range finders for sensors various motors for actuators

4 © D. Weld, D. Fox Types of Agents: Immobots Intelligent buildings Autonomous spacecraft Softbots Jango.excite.com Askjeeves.com Expert Systems Cardiologist

5 © D. Weld, D. Fox Intelligent Agents Have sensors, effectors Implement mapping from percept sequence to actions Environment Agent percepts actions Performance Measure

6 © D. Weld, D. Fox 6 Rational agents An agent should strive to do the right thing, based on what it can perceive and the actions it can perform. The right action is the one that will cause the agent to be most successful Performance measure: An objective criterion for success of an agent's behavior E.g., performance measure of a vacuum-cleaner agent could be amount of dirt cleaned up, amount of time taken, amount of electricity consumed, amount of noise generated, etc.

7 © D. Weld, D. Fox Ideal rational agent Rationality vs omniscience? Acting in order to obtain valuable information For each possible percept sequence, does whatever action is expected to maximize its performance measure on the basis of evidence perceived so far and built-in knowledge.'' “For each possible percept sequence, does whatever action is expected to maximize its performance measure on the basis of evidence perceived so far and built-in knowledge.''

8 © D. Weld, D. Fox Autonomy An agent is autonomous to the extent that its behavior is determined by its own experience (with ability to learn and adapt) Why is this important?

9 © D. Weld, D. Fox 9 PEAS: Specifying Task Environments PEAS: Performance measure, Environment, Actuators, Sensors Must first specify the setting for intelligent agent design Consider, e.g., the task of designing an automated taxi driver: Performance measure Environment Actuators Sensors

10 © D. Weld, D. Fox 10 PEAS Agent: Automated taxi driver Performance measure: Safe, fast, legal, comfortable trip, maximize profits Environment: Roads, other traffic, pedestrians, customers Actuators: Steering wheel, accelerator, brake, signal, horn Sensors: Cameras, sonar, speedometer, GPS, odometer, engine sensors, keyboard

11 © D. Weld, D. Fox 11 PEAS Agent: Medical diagnosis system Performance measure: Healthy patient, minimize costs, lawsuits Environment: Patient, hospital, staff Actuators: Screen display (questions, tests, diagnoses, treatments, referrals) Sensors: Keyboard (entry of symptoms, findings, patient's answers)

12 © D. Weld, D. Fox Properties of Environments Observability: full vs. partial vs. non Deterministic vs. stochastic Episodic vs. nonepisodic Static vs. … vs. dynamic Discrete vs. continuous Travel agent WWW shopping agent Coffee delivery mobile robot

13 © D. Weld, D. Fox 13 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 Aim: find a way to implement the rational agent function concisely

14 © D. Weld, D. Fox Implementing ideal rational agent Table lookup agents Agent program Simple reflex agents Agents with memory Reflex agent with internal state Goal-based agents Utility-based agents

15 © D. Weld, D. Fox Simple reflex agents ENVIRONMENT AGENT Effectors Sensors what world is like now Condition/Action rules what action should I do now?

16 © D. Weld, D. Fox Reflex agent with internal state ENVIRONMENT AGENTEffectors Sensors what world is like now Condition/Action rules what action should I do now? What world was like How world evolves

17 © D. Weld, D. Fox Goal-based agents ENVIRONMENT AGENT Effectors Sensors what world is like now Goals what action should I do now? What world was like How world evolves what it’ll be like if I do acts A 1 -A n What my actions do

18 © D. Weld, D. Fox Utility-based agents ENVIRONMENT AGENT Effectors Sensors what world is like now Utility function what action should I do now? What world was like How world evolves What my actions do How happy would I be? what it’ll be like if I do acts A 1 -A n

19 © D. Weld, D. Fox Learning agents ENVIRONMENT AGENT Effectors Sensors Performance element Problem generator Learning element Critic feedback learning goals changes knowledge Performance standard

20 © D. Weld, D. Fox While driving, what’s the best policy? Always put blinker on before turning Never use your blinker Look in mirror, and use blinker only if you observe a car that can observe you What kind of reasoning? –logical, goal-based, utility-based? What kind of agent is necessary? –reflex, goal-based, utility-based?


Download ppt "Chapter 2 Agents & Environments. © D. Weld, D. Fox 2 Outline Agents and environments Rationality PEAS specification Environment types Agent types."

Similar presentations


Ads by Google