intelligent agents
play

Intelligent Agents Chapter 2 Intelligent Agents p.1/25 Outline - PowerPoint PPT Presentation

Intelligent Agents Chapter 2 Intelligent Agents p.1/25 Outline Agents and environments Rationality PEAS (Performance measure, Environment, Actuators, Sensors) Environment types Agent types Intelligent Agents p.2/25 Agents and


  1. Intelligent Agents Chapter 2 Intelligent Agents – p.1/25

  2. Outline Agents and environments Rationality PEAS (Performance measure, Environment, Actuators, Sensors) Environment types Agent types Intelligent Agents – p.2/25

  3. Agents and environments Agent Sensors Percepts Environment ? Actions Actuators Agents include humans, robots, softbots, thermostats, etc. The agent function maps from percept histories to actions: f : P ∗ → A The agent program runs on the physical architecture to produce f Intelligent Agents – p.3/25

  4. Vacuum-cleaner world A B Percepts: location and contents, e.g., [ A, Dirty ] Actions: Left , Right , Suck , NoOp Intelligent Agents – p.4/25

  5. A vacuum-cleaner agent 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? Intelligent Agents – p.5/25

  6. A vacuum-cleaner agent function R EFLEX -V ACUUM -A GENT [ location , status ] returns an action if status = Dirty then return Suck else if location = A then return Right else if location = B then return Left What is the right function? Can it be implemented in a small agent program? Intelligent Agents – p.6/25

  7. Rationality Fixed performance measure evaluates the environment sequence one point per square cleaned up in time T ? one point per clean square per time step, minus one per move? penalize for > k dirty squares? rational agent chooses whichever action maximizes the expected value of the performance measure given the percept sequence to date Rational � = omniscient Rational � = clairvoyant Rational � = successful Rational = ⇒ exploration, learning, autonomy Intelligent Agents – p.7/25

  8. PEAS To design a rational agent, we must specify the task environment Consider, e.g., the task of designing an automated taxi: Performance measure: Environment: Actuators: Sensors: Intelligent Agents – p.8/25

  9. PEAS To design a rational agent, we must specify the task environment Consider, e.g., the task of designing an automated taxi: Performance measure: safety, destination, profits, legality, comfort, . . . Environment: US streets/freeways, traffic, pedestrians, weather, . . . Actuators: steering, accelerator, brake, horn, speaker/display, . . . Sensors: video, accelerometers, gauges, engine sensors, keyboard, GPS, . . . Intelligent Agents – p.9/25

  10. Internet shopping agent Performance measure: Environment: Actuators: Sensors: Intelligent Agents – p.10/25

  11. Environment types Internet Solitaire Backgammon shopping Taxi Observable?? Deterministic?? Episodic?? Static?? Discrete?? Single-agent?? Fully Observable : access to the complete (relevant) state of the world Partially Observable : missing information Intelligent Agents – p.11/25

  12. Environment types Internet Solitaire Backgammon shopping Taxi Observable?? yes (?) yes no no Deterministic?? Episodic?? Static?? Discrete?? Single-agent?? Deterministic : the next state is completely determined by the current state and the action Stochastic : Changes not known Strategic : Deterministic except for the actions of the other agents Intelligent Agents – p.12/25

  13. Environment types Internet Solitaire Backgammon shopping Taxi Observable?? yes (?) yes no no Deterministic?? yes no partly no Episodic?? Static?? Discrete?? Single-agent?? Episodic : task divided into atomic episodes Sequential : Current decision may affect all future decisions Intelligent Agents – p.13/25

  14. Environment types Internet Solitaire Backgammon shopping Taxi Observable?? yes (?) yes no no Deterministic?? yes no partly no Episodic?? no no no no Static?? Discrete?? Single-agent?? Static : the world does not change while the agent is thinking Dynamic : changes Semidynamic : does not change but the performance is affected as time passes Intelligent Agents – p.14/25

  15. Environment types Internet Solitaire Backgammon shopping Taxi Observable?? yes (?) yes no no Deterministic?? yes no partly no Episodic?? no no no no Static?? yes semi no no Discrete?? Single-agent?? Discrete : time, percepts, and actions are discrete Continuous : time, percepts, and actions are continuous over time Intelligent Agents – p.15/25

  16. Environment types Internet Solitaire Backgammon shopping Taxi Observable?? yes (?) yes no no Deterministic?? yes no partly no Episodic?? no no no no Static?? yes semi no no Discrete?? yes yes yes no Single-agent?? Single-agent : one agent Multi-agent : competitive or cooperating agents Intelligent Agents – p.16/25

  17. Environment types Internet Solitaire Backgammon shopping Taxi Observable?? yes (?) yes no no Deterministic?? yes no partly no Episodic?? no no no no Static?? yes semi no no Discrete?? yes yes yes no Single-agent?? yes no yes (?) no The environment type largely determines the agent design The real world is (of course) partially observable, stochastic, sequential, dynamic, continuous, multi-agent Intelligent Agents – p.17/25

  18. Agent types Four basic types in order of increasing generality: simple reflex agents reflex agents with state goal-based agents utility-based agents All these can be turned into learning agents Intelligent Agents – p.18/25

  19. Simple reflex agents Agent Sensors What the world is like now Environment What action I Condition-action rules should do now Actuators Intelligent Agents – p.19/25

  20. Reflex agents with state Sensors State What the world How the world evolves is like now Environment What my actions do What action I Condition-action rules should do now Agent Actuators Intelligent Agents – p.20/25

  21. Goal-based agents Sensors State What the world How the world evolves is like now Environment What it will be like What my actions do if I do action A What action I Goals should do now Agent Actuators Intelligent Agents – p.21/25

  22. Utility-based agents � Sensors State What the world How the world evolves is like now Environment What it will be like What my actions do if I do action A How happy I will be Utility in such a state What action I should do now Agent Actuators Intelligent Agents – p.22/25

  23. Learning agents � Performance standard Sensors Critic feedback Environment changes Learning Performance element element knowledge learning goals Problem generator Actuators Agent Intelligent Agents – p.23/25

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend