Rutgers CS440, Fall 2003 Lecture 2: Intelligent Agents Reading: AIMA, Ch. 2.

Slides:



Advertisements
Similar presentations
Chapter 2: Intelligent Agents
Advertisements

Additional Topics ARTIFICIAL INTELLIGENCE
Artificial Intelligent
Intelligent Agents Chapter 2.
Intelligent Agents Chapter 2.
Intelligent Agents Russell and Norvig: 2
ICS-171: 1 Intelligent Agents Chapter 2 ICS 171, Fall 2009.
Intelligent Agents Chapter 2.
Intelligent Agents Chapter 2. Outline Agents and environments Agents and environments Rationality Rationality PEAS (Performance measure, Environment,
Intelligent Agents CPS
Agents and Intelligent Agents  An agent is anything that can be viewed as  perceiving its environment through sensors and  acting upon that environment.
January 11, 2006AI: Chapter 2: Intelligent Agents1 Artificial Intelligence Chapter 2: Intelligent Agents Michael Scherger Department of Computer Science.
AI CSC361: Intelligent Agents1 Intelligent Agents -1 CSC361.
ICS-271: 1 Intelligent Agents Chapter 2 ICS 279 Fall 09.
© Copyright 2008 STI INNSBRUCK Intelligent Systems Intelligent Agents – Lecture 9 Prof. Dieter Fensel (& Francois.
ICS-171: Notes 2: 1 Intelligent Agents Chapter 2 ICS 171, Fall 2005.
Intelligent Agents Chapter 2 ICS 171, Fall 2005.
Intelligent Agents Chapter 2.
Russell and Norvig: Chapter 2 CMSC421 – Fall 2006
ICS-171: Notes 2: 1 Intelligent Agents Chapter 2 ICS 171, spring 2007.
Rational Agents (Chapter 2)
Introduction to Logic Programming WS2004/A.Polleres 1 Introduction to Artificial Intelligence MSc WS 2009 Intelligent Agents: Chapter 2.
Rational Agents (Chapter 2)
Intelligent Agents Chapter 2. Outline Agents and environments Rationality PEAS (Performance measure, Environment, Actuators, Sensors) Environment types.
Intelligent Agents Chapter 2. Outline Agents and environments Rationality PEAS (Performance measure, Environment, Actuators, Sensors) Environment types.
CPSC 7373: Artificial Intelligence Jiang Bian, Fall 2012 University of Arkansas at Little Rock.
Intelligent Agents. Software agents O Monday: O Overview video (Introduction to software agents) O Agents and environments O Rationality O Wednesday:
Artificial Intelligence
CHAPTER 2 Intelligent Agents. Outline Agents and environments Rationality PEAS (Performance measure, Environment, Actuators, Sensors) Environment types.
© Copyright 2008 STI INNSBRUCK Introduction to A rtificial I ntelligence MSc WS 2009 Intelligent Agents: Chapter.
How R&N define AI Systems that think like humans Systems that think rationally Systems that act like humans Systems that act rationally humanly vs. rationally.
Chapter 2 Intelligent Agents. Chapter 2 Intelligent Agents What is an agent ? An agent is anything that perceiving its environment through sensors and.
Intelligent Agents Chapter 2 Some slide credits to Hwee Tou Ng (Singapore)
Lection 3. Part 1 Chapter 2 of Russel S., Norvig P. Artificial Intelligence: Modern Approach.
Outline Agents and environments Rationality PEAS (Performance measure, Environment, Actuators, Sensors) Environment types Agent types Artificial Intelligence.
Intelligent Agents Chapter 2. CIS Intro to AI - Fall Outline  Brief Review  Agents and environments  Rationality  PEAS (Performance measure,
Chapter 2 Agents & Environments. © D. Weld, D. Fox 2 Outline Agents and environments Rationality PEAS specification Environment types Agent types.
Intelligent Agents Chapter 2. Outline Agents and environments Rationality PEAS (Performance measure, Environment, Actuators, Sensors) Environment types.
Intelligent Agents Chapter 2. Agents An agent is anything that can be viewed as perceiving its environment through sensors and acting upon that environment.
Chapter 2 Hande AKA. Outline Agents and Environments Rationality The Nature of Environments Agent Types.
CE An introduction to Artificial Intelligence CE Lecture 2: Intelligent Agents Ramin Halavati In which we discuss.
CS 8520: Artificial Intelligence Intelligent Agents Paula Matuszek Fall, 2008 Slides based on Hwee Tou Ng, aima.eecs.berkeley.edu/slides-ppt, which are.
Intelligent Agents อาจารย์อุทัย เซี่ยงเจ็น สำนักเทคโนโลยีสารสนเทศและการ สื่อสาร มหาวิทยาลัยนเรศวร วิทยาเขต สารสนเทศพะเยา.
Intelligent Agents Chapter 2. Outline Agents and environments Rationality PEAS (Performance measure, Environment, Actuators, Sensors) Environment types.
Rational Agents (Chapter 2)
INTELLIGENT AGENTS. Agents  An agent is anything that can be viewed as perceiving its environment through sensors and acting upon that environment through.
Dr. Alaa Sagheer Chapter 2 Artificial Intelligence Ch2: Intelligent Agents Dr. Alaa Sagheer.
Intelligent Agents Chapter 2. Outline Agents and environments Rationality PEAS (Performance measure, Environment, Actuators, Sensors) Environment types.
Intelligent Agents Chapter 2. Outline Agents and environments Rationality PEAS (Performance measure, Environment, Actuators, Sensors) Environment types.
CSE 471/598 Intelligent Agents TIP We’re intelligent agents, aren’t we?
Chapter 2 Agents & Environments
CSC 9010 Spring Paula Matuszek Intelligent Agents Overview Slides based in part on Hwee Tou Ng, aima.eecs.berkeley.edu/slides-ppt, which are in turn.
Intelligent Agents Chapter 2 Dewi Liliana. Outline Agents and environments Rationality PEAS (Performance measure, Environment, Actuators, Sensors) Environment.
CPSC 420 – Artificial Intelligence Texas A & M University Lecture 2 Lecturer: Laurie webster II, M.S.S.E., M.S.E.e., M.S.BME, Ph.D., P.E.
Intelligent Agents. Outline Agents and environments Rationality PEAS (Performance measure, Environment, Actuators, Sensors) Environment types Agent types.
1 CSC AI Intelligent Agents. Outline Agents and environments Rationality PEAS (Performance measure, Environment, Actuators, Sensors) Environment.
How R&N define AI humanly vs. rationally thinking vs. acting
EA C461 – Artificial Intelligence Intelligent Agents
Rational Agents (Chapter 2)
Intelligent Agents Chapter 2.
Intelligent Agents Chapter 2.
Hong Cheng SEG4560 Computational Intelligence for Decision Making Chapter 2: Intelligent Agents Hong Cheng
Intelligent Agents Chapter 2.
Intelligent Agents Chapter 2.
Intelligent Agents Chapter 2.
EA C461 – Artificial Intelligence Intelligent Agents
Artificial Intelligence
Intelligent Agents Chapter 2.
Intelligent Agents Chapter 2.
Presentation transcript:

Rutgers CS440, Fall 2003 Lecture 2: Intelligent Agents Reading: AIMA, Ch. 2

Rutgers CS440, Fall 2003 What is an agent? An entity in an environment that perceives it through sensors and acts upon it through actuators. Modified from "A Kalman Filter Model of the Visual Cortex", by P. Rao, Neural Computation 9(4): , 1997 Environment Agent Percepts Actions sensor actuator Agents: human, robot, softbot, thermostat, etc. Agents act on environment to achieve a goal.

Rutgers CS440, Fall 2003 Agent function & program Agent’s choice of action is based on a sequence of percepts Agent is specified by an agent function f that maps sequences of percepts Y to actions a: Agent program implements agent function on a physical architecture “Easy” solution: table that maps every possible sequence Y to an action a Problem: not feasible

Rutgers CS440, Fall 2003 Example: Vacuum-cleaner world Percepts:location and contents, e.g., (A,dirty) Actions:move, clean, do nothing: LEFT, RIGHT, SUCK, NOP AB

Rutgers CS440, Fall 2003 Vacuum-cleaner world: agent function What is the right function? Can the function be implemented in a “short” program?

Rutgers CS440, Fall 2003 The “right” agent function – rational behavior Rational agent is the one that does the “right thing”: functional table is filled out correctly What is the “right thing”? Define success through a performance measure, r Vacuum-cleaner world: –+1 point for each clean square in time T –+1 point for clean square, -1 for each move –-1000 for more than k dirty squares Rational agent: An agent who selects an action that is expected to maximize the performance measure for a given percept sequence and its built-in knowledge Ideal agent: maximizes actual performance, but needs to be omniscient. Impossible! Builds a model of environment.

Rutgers CS440, Fall 2003 Properties of a rational agent Maximize expected performance Gathers information – does actions to modify future percepts Explores – in unknown environments Learns – from what it has perceived so far (dung beetle, sphex wasp) Autonomous – increase its knowledge by learning

Rutgers CS440, Fall 2003 Task environment To design a rational agent we need to specify a task environment = problem to which the agent is a solution P.E.A.S. =Performance measure Environment Actuators Sensors Example: automated taxi driver Performance measure: safe, fast, legal, comfortable, maximize profits Environment: roads, other traffic, pedestrians, customers Actuators: steering, accelerator, brake, signal, horn Sensors: cameras, sonar, speedometer, GPS

Rutgers CS440, Fall 2003 More PEAS examples College test-taker Internet shopping agent Mars lander The president …

Rutgers CS440, Fall 2003 Properties of task environments SolitaireBackgammonInternet shopping Taxi Observable (hidden) Deterministic (stochastic) Episodic (sequential) Static (Dynamic) Discrete (Continuous) Single-agent (multi-agent)

Rutgers CS440, Fall 2003 Properties of task environments (cont’d) SolitaireBackgammonInternet shopping Taxi Observable (hidden) Yes No Deterministic (stochastic) Episodic (sequential) Static (Dynamic) Discrete (Continuous) Single-agent (multi-agent)

Rutgers CS440, Fall 2003 Properties of task environments (cont’d) SolitaireBackgammonInternet shopping Taxi Observable (hidden) Yes No Deterministic (stochastic) YesNoPartlyNo Episodic (sequential) Static (Dynamic) Discrete (Continuous) Single-agent (multi-agent)

Rutgers CS440, Fall 2003 Properties of task environments (cont’d) SolitaireBackgammonInternet shopping Taxi Observable (hidden) Yes No Deterministic (stochastic) YesNoPartlyNo Episodic (sequential) No Static (Dynamic) Discrete (Continuous) Single-agent (multi-agent)

Rutgers CS440, Fall 2003 Properties of task environments (cont’d) SolitaireBackgammonInternet shopping Taxi Observable (hidden) Yes No Deterministic (stochastic) YesNoPartlyNo Episodic (sequential) No Static (Dynamic) YesSemi No Discrete (Continuous) Single-agent (multi-agent)

Rutgers CS440, Fall 2003 Properties of task environments (cont’d) SolitaireBackgammonInternet shopping Taxi Observable (hidden) Yes No Deterministic (stochastic) YesNoPartlyNo Episodic (sequential) No Static (Dynamic) YesSemi No Discrete (Continuous) Yes No Single-agent (multi-agent)

Rutgers CS440, Fall 2003 Properties of task environments (cont’d) SolitaireBackgammonInternet shopping Taxi Observable (hidden) Yes No Deterministic (stochastic) YesNoPartlyNo Episodic (sequential) No Static (Dynamic) YesSemi No Discrete (Continuous) Yes No Single-agent (multi-agent) YesNo

Rutgers CS440, Fall 2003 Structure of agents Goal of AI: give task environment, construct agent function, and design an agent program that implements agent function on a particular architecture Skeleton agent: function SKELETON-AGENT(percept t ) returns action t static: state, the agent’s memory of the world state t = Update-State(state t-1,…,percept t,action t-1 ) action t = Choose-Best-Action(state t ) state t = Update-Memory(state t,action t ) return action ytyt atat stst

Rutgers CS440, Fall 2003 Skeleton agent Graphical depiction (we will see more of it later in the semester) atat stst ytyt a t+1 s t+1 y t+1 ……

Rutgers CS440, Fall 2003 Agent types Simplest agent: Table-driven agent: for each percept sequence Y, has a table entry with associated action function TABLE-DRIVEN-AGENT( percept ) returns action static: sequence or percepts percepts = Update-Percepts( percept ) action = Table( percepts ) return action Four basic types, in order of increasing complexity 1.Simple reflex agent 2.Model-based reflex agent (reflex agent with state) 3.Goal-based agent 4.Utility-driven agent

Rutgers CS440, Fall 2003 Simple reflex agent function REFLEX_VACUUM_AGENT( percept ) returns action (location,status) = UPDATE_STATE( percept ) if status = DIRTY then action = SUCK; else if location = A then return RIGHT; else if location = B then return LEFT; return action

Rutgers CS440, Fall 2003 Model-based reflex agent

Rutgers CS440, Fall 2003 Goal-driven agent

Rutgers CS440, Fall 2003 Utility-based agent

Rutgers CS440, Fall 2003 Learning agent Any other agent