Oregon State University – CS430 Intro to AI (c) 2003 Thomas G. Dietterich and Devika Subramanian1 Agents and Environments.

Slides:



Advertisements
Similar presentations
Additional Topics ARTIFICIAL INTELLIGENCE
Advertisements

Artificial Intelligent
Intelligent Agents Chapter 2.
Intelligent Agents Chapter 2.
Intelligent Agents Russell and Norvig: 2
Agentes Inteligentes Capítulo 2. Contenido Agentes y medios ambientes Racionalidad PEAS (Performance measure, Environment, Actuators, Sensors) Tipos de.
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,
COMP 4640 Intelligent and Interactive Systems Intelligent Agents Chapter 2.
Chapter 2 Intelligent Agents
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.
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.
ICS-171: Notes 2: 1 Intelligent Agents Chapter 2 ICS 171, spring 2007.
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 Chapter 2 02/12/ Outline  Agents and environments  Rationality  PEAS (Performance measure, Environment, Actuators, Sensors)
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.
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,
1/34 Intelligent Agents Chapter 2 Modified by Vali Derhami.
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.
CHAPTER 2 Intelligent Agents. Outline Artificial Intelligence a modern approach 2 Agents and environments Rationality PEAS (Performance measure, Environment,
Intelligent Agents Chapter 2. Outline Agents and environments Rationality PEAS (Performance measure, Environment, Actuators, Sensors) Environment types.
Rational Agency CSMC Introduction to Artificial Intelligence January 8, 2007.
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.
1/23 Intelligent Agents Chapter 2 Modified by Vali Derhami.
Intelligent Agents Introduction Rationality Nature of the Environment Structure of Agents Summary.
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.
Lecture 2: Intelligent Agents Heshaam Faili University of Tehran What is an intelligent agent? Structure of intelligent agents Environments.
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.
CSC AI Intelligent Agents.
Artificial Intelligence Programming Spring 2016
Artificial Intelligence
EA C461 – Artificial Intelligence Intelligent Agents
Artificial Intelligence (CS 461D)
Intelligent Agents Chapter 2.
Intelligent Agents Chapter 2.
Hong Cheng SEG4560 Computational Intelligence for Decision Making Chapter 2: Intelligent Agents Hong Cheng
Introduction to Artificial Intelligence
Intelligent Agents Chapter 2.
Intelligent Agents Chapter 2.
Artificial Intelligence
Intelligent Agents Chapter 2.
EA C461 – Artificial Intelligence Intelligent Agents
Artificial Intelligence
Intelligent Agents Chapter 2.
Intelligent Agents Chapter 2.
Presentation transcript:

Oregon State University – CS430 Intro to AI (c) 2003 Thomas G. Dietterich and Devika Subramanian1 Agents and Environments

Oregon State University – CS430 Intro to AI (c) 2003 Thomas G. Dietterich and Devika Subramanian2 Example: Vacuum Cleaner Agent  agent: robot vacuum cleaner  environment: floors of your apartment  sensors: dirt sensor: detects when floor in front of robot is dirty bump sensor: detects when it has bumped into something power sensor: measures amount of power in battery bag sensor: amount of space remaining in dirt bag  effectors: motorized wheels suction motor plug into wall? empty dirt bag?  percepts: “Floor is dirty”  actions: “Forward, 0.5 ft/sec”

Oregon State University – CS430 Intro to AI (c) 2003 Thomas G. Dietterich and Devika Subramanian3 Rational Agent  Performance Measure: Criteria for determining the quality of an agent’s behavior Example: dirt collected in 8 hour shift  Avoiding Omniscience An omniscient agent is one that can predict the future perfectly. We don’t want this!  Agent: Mapping from percept sequences to actions

Oregon State University – CS430 Intro to AI (c) 2003 Thomas G. Dietterich and Devika Subramanian4 Defn: Ideal Rational Agent  For each percept sequence, choose the action that maximizes the expected value of the performance measure given only builtin knowledge and the percept sequence

Oregon State University – CS430 Intro to AI (c) 2003 Thomas G. Dietterich and Devika Subramanian5 Policies  Policy: A mapping from percept sequences to actions  Agent programming: designing and implementing good policies  Policies can be designed and implemented in many ways: Tables Rules Search algorithms Learning algorithms

Oregon State University – CS430 Intro to AI (c) 2003 Thomas G. Dietterich and Devika Subramanian6 Implementing Agents Using Tables  Problems:  Space: For chess this would require entries  Design difficulty: The designer would have to anticipate how the agent should respond to every possible percept sequence

Oregon State University – CS430 Intro to AI (c) 2003 Thomas G. Dietterich and Devika Subramanian7 Avoiding Tables  Compact Representations of the Table. Many cells in the table will be identical. Irrelevant Percepts: Example: If the car in front of you slows down, you should apply the breaks. The color and model of the car, the music on the radio, the weather, and so on, are all irrelevant. Markov Environments: Example: In chess, only the current board position matters, so all previous percepts dictate the same move. Environments where this is always true are called Markov Environments

Oregon State University – CS430 Intro to AI (c) 2003 Thomas G. Dietterich and Devika Subramanian8 Example of Compact Representation: Implementing Agents using Rules If car-in-front-is-braking then initiate-braking

Oregon State University – CS430 Intro to AI (c) 2003 Thomas G. Dietterich and Devika Subramanian9 Avoiding Tables (2)  Summarizing the Percept Sequence By analyzing the sequence, we can compute a model of the current state of the world. With this state, the agent can act as if the world is a Markov environment PerceptsModel Percept Summarizer Policy

Oregon State University – CS430 Intro to AI (c) 2003 Thomas G. Dietterich and Devika Subramanian10 Summarizing Percepts as Environment Model

Oregon State University – CS430 Intro to AI (c) 2003 Thomas G. Dietterich and Devika Subramanian11 Pseudo-Code

Oregon State University – CS430 Intro to AI (c) 2003 Thomas G. Dietterich and Devika Subramanian12 Goal-Based Agents  Generate possible sequences of actions  Predict resulting states  Assess goals in each resulting state  Choose an action that will achieve the goal  We can reprogram the agent simply by changing the goals

Oregon State University – CS430 Intro to AI (c) 2003 Thomas G. Dietterich and Devika Subramanian13 Goal-Based Agents compute the desired action on demand  In many cases, the agent can compute the desired action rather than looking it up. This trades extra CPU time to reduce memory. Example: Deep Blue

Oregon State University – CS430 Intro to AI (c) 2003 Thomas G. Dietterich and Devika Subramanian14 Example of Computing Table Dynamically

Oregon State University – CS430 Intro to AI (c) 2003 Thomas G. Dietterich and Devika Subramanian15 Problems with Computing Table Dynamically  Search space may be exponentially large Computing the best action may be computationally intractable  World may change while we are searching In a dynamic environment, we must act promptly  Knowledge of the world may be incomplete or wrong We may not be able to accurately predict the future

Oregon State University – CS430 Intro to AI (c) 2003 Thomas G. Dietterich and Devika Subramanian16 Utility-Based Agents  In some applications, we need to make quantitative comparisons of states based on utilities. Important when there are tradeoffs.

Oregon State University – CS430 Intro to AI (c) 2003 Thomas G. Dietterich and Devika Subramanian17 PEAS Descriptions  P: Performance Measure  E: Environment  A: Actuators  S: Sensors

Oregon State University – CS430 Intro to AI (c) 2003 Thomas G. Dietterich and Devika Subramanian18 Examples of agent types Agent Type PEAS Medical Diagnosis Healthy patient, minimize costs, lawsuits Patient, hospital, staff Display questions, tests, diagnoses, treatments, referrals Keyboard entry of symptoms, test results, patient’s answers Satellite image system Correct image categorization Downlink from satellite Display categorization of scene Color pixel array Part-picking robot Percentage of parts in correct bins Conveyor belt with parts, bins Jointed arm and hand Camera, joint angle sensors Interactive English tutor Maximize student’s score on test Set of students, testing agency Display exercises, suggestions, corrections Keyboard entry

Oregon State University – CS430 Intro to AI (c) 2003 Thomas G. Dietterich and Devika Subramanian19 Different Kinds of Environments  Fully-observable vs. Partially-observable Fully-observable = Markov  Deterministic vs. Stochastic Strategic: deterministic except for the actions of other agents  Episodic vs. Sequential  Static vs. Dynamic  Discrete vs. Continuous  Single agent vs. Multiagent

Oregon State University – CS430 Intro to AI (c) 2003 Thomas G. Dietterich and Devika Subramanian20 Examples of Environments EnvObservableDeterministicEpisodicStaticDiscreteAgents? Crossword puzzle FullyDeterministicSequentialStaticDiscreteSingle Chess w/clockFullyStrategicSequentialSemiDiscreteMulti PokerPartiallyStrategicSequentialStaticDiscreteMulti BackgammonFullyStochasticSequentialStaticDiscreteMulti Taxi drivingPartiallyStochasticSequentialDynamicContinuousMulti Medical DxPartiallyStochasticSequentialDynamicContinuousSingle Image analyFullyDeterministicEpisodicSemiContinuousSingle Part-pickingPartiallyStochasticEpisodicDynamicContinuousSingle Refinery contrPartiallyStochasticSequentialDynamicContinuousSingle English tutorPartiallyStochasticSequentialDynamicDiscreteMulti

Oregon State University – CS430 Intro to AI (c) 2003 Thomas G. Dietterich and Devika Subramanian21 Advantages of Simpler Environments  Observable: policy can be based on only most recent percept  Deterministic: predicting effects of actions is easier  Episodic: Do not need to look ahead beyond end of episode  Static: Can afford lots of time to make decisions  Discrete: Reasoning is simpler

Oregon State University – CS430 Intro to AI (c) 2003 Thomas G. Dietterich and Devika Subramanian22 Learning Agents