More with Ch. 2 Ch. 3 Problem Solving Agents

Slides:



Advertisements
Similar presentations
Solving problems by searching Chapter 3. Outline Problem-solving agents Problem types Problem formulation Example problems Basic search algorithms.
Advertisements

Additional Topics ARTIFICIAL INTELLIGENCE
Additional Topics ARTIFICIAL INTELLIGENCE
1 Solving problems by searching Chapter 3. 2 Why Search? To achieve goals or to maximize our utility we need to predict what the result of our actions.
Intelligent Agents Chapter 2.
Intelligent Agents Russell and Norvig: 2
Solving Problem by Searching Chapter 3. Outline Problem-solving agents Problem formulation Example problems Basic search algorithms – blind search Heuristic.
14 Jan 2004CS Blind Search1 Solving problems by searching Chapter 3.
Intelligent Agents Chapter 2. Outline Agents and environments Agents and environments Rationality Rationality PEAS (Performance measure, Environment,
1 Solving problems by searching Chapter 3. 2 Why Search? To achieve goals or to maximize our utility we need to predict what the result of our actions.
January 11, 2006AI: Chapter 2: Intelligent Agents1 Artificial Intelligence Chapter 2: Intelligent Agents Michael Scherger Department of Computer Science.
CS 380: Artificial Intelligence Lecture #3 William Regli.
Problem Solving What is AI way of solving problem?
Problem Solving What is AI way of solving problem?
1 Solving problems by searching Chapter 3. 2 Why Search? To achieve goals or to maximize our utility we need to predict what the result of our actions.
Intelligent agents Intelligent agents are supposed to act in such a way that the environment goes through a sequence of states that maximizes the performance.
Intelligent Agents Chapter 2.
Intelligent agents Intelligent agents are supposed to act in such a way that the environment goes through a sequence of states that maximizes the performance.
Rational Agents (Chapter 2)
1 Solving problems by searching Chapter 3. 2 Why Search? To achieve goals or to maximize our utility we need to predict what the result of our actions.
Rational Agents (Chapter 2)
Intelligent Agents. Software agents O Monday: O Overview video (Introduction to software agents) O Agents and environments O Rationality O Wednesday:

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.
Agents & Search Tamara Berg CS 560 Artificial Intelligence Many slides throughout the course adapted from Dan Klein, Stuart Russell, Andrew Moore, Svetlana.
1 Solving problems by searching This Lecture Chapters 3.1 to 3.4 Next Lecture Chapter 3.5 to 3.7 (Please read lecture topic material before and after each.
Intelligent Agents Chapter 2 Some slide credits to Hwee Tou Ng (Singapore)
Intelligent Agents Chapter 2. CIS Intro to AI - Fall Outline  Brief Review  Agents and environments  Rationality  PEAS (Performance measure,
Intelligent Agents Chapter 2. Agents An agent is anything that can be viewed as perceiving its environment through sensors and acting upon that environment.
Agents CPSC 386 Artificial Intelligence Ellen Walker Hiram College.
1 Solving problems by searching 171, Class 2 Chapter 3.
Rational Agents (Chapter 2)
SOLVING PROBLEMS BY SEARCHING Chapter 3 August 2008 Blind Search 1.
A General Introduction to Artificial Intelligence.
Problem Solving Agents
CPSC 420 – Artificial Intelligence Texas A & M University Lecture 3 Lecturer: Laurie webster II, M.S.S.E., M.S.E.e., M.S.BME, Ph.D., P.E.
CS 188: Artificial Intelligence Spring 2007 Lecture 2: Agents 1/18/2007 Srini Narayanan – ICSI and UC Berkeley Many slides from Dan Klein, Mitch Marcus.
Intelligent Agents Chapter 2. Outline Agents and environments Rationality PEAS (Performance measure, Environment, Actuators, Sensors) Environment types.
© Copyright 2008 STI INNSBRUCK Intelligent Systems Problem Solving Methods – Lecture 7 Prof. Dieter Fensel (&
Solving problems by searching A I C h a p t e r 3.
1 Solving problems by searching Chapter 3. 2 Outline Problem types Example problems Assumptions in Basic Search State Implementation Tree search Example.
WEEK 5 LECTURE -A- 23/02/2012 lec 5a CSC 102 by Asma Tabouk Introduction 1 CSC AI Basic Search Strategies.
Solving problems by searching Chapter 3. Types of agents Reflex agent Consider how the world IS Choose action based on current percept Do not consider.
ARTIFICIAL INTELLIGENCE
Solving problems by searching
How R&N define AI humanly vs. rationally thinking vs. acting
ECE 448 Lecture 3: Rational Agents
EE562 ARTIFICIAL INTELLIGENCE FOR ENGINEERS
Intelligent Agents By, JITHIN M J.
EA C461 – Artificial Intelligence Intelligent Agents
ECE 448 Lecture 4: Search Intro
Rational Agents (Chapter 2)
Problem Solving as Search
Intelligent Agents Chapter 2.
Intelligent Agents Chapter 2.
Hong Cheng SEG4560 Computational Intelligence for Decision Making Chapter 2: Intelligent Agents Hong Cheng
Solving problems by searching
Solving problems by searching
Intelligent Agents Chapter 2.
EA C461 – Artificial Intelligence Problem Solving Agents
Intelligent Agents Chapter 2.
Intelligent Agents Chapter 2.
EA C461 – Artificial Intelligence Intelligent Agents
Solving problems by searching
Solving problems by searching
Solving problems by searching
Intelligent Agents Chapter 2.
Solving problems by searching
Intelligent Agents Chapter 2.
Presentation transcript:

More with Ch. 2 Ch. 3 Problem Solving Agents

REVIEW - PEAS To design a rational agent, we must specify the task environment (the “problems” to which rational agents are the “solutions”). Performance measure Environment Actuators Sensors

Environment Types We often describe the environment based on six attributes. Fully/partially observable Deterministic/stochastic Episodic/sequential Static/dynamic Discrete/continuous Single agent/multiagent

Environment Types Categorization of environment tasks: Fully/partially observable extent to which an agent’s sensors give it access to the complete state of the environment Deterministic/stochastic (also strategic) extent to which the next state of the environment is determined by the current state and the current action

Environment Types Categorization of environment tasks: Episodic/sequential extent to which the agent’s experience is divided into atomic episodes Static/dynamic extent to which the environment can change while the agent is deliberating

Environment Types Categorization of environment tasks: Discrete/continuous extent to which state of the environment, time, percepts and actions of the agent are expressed as a set of discrete values Single agent/multiagent

Environment Types The environment type largely determines the agent design The real world is (of course) partially observable, stochastic, sequential, dynamic, continuous, multi-agent

RoboCup “By the year 2050, develop a team of fully autonomous humanoid robots that can win against the human world soccer champion team. “ (www.robocup.org). Develop a PEAS description of the task environment for a RoboCup participant. Include a classification of the environment using R&N’s six properties of task environments.

So Far… Traditional AI begins with some simple premises: An intelligent agent lives in a particular environment. An intelligent agent has goals that it wants to achieve. The environment in which an agent is expected to operate has a large effect on what sort of behaviors it will need and what we should expect it to be able to do.

Chapter 3 : Problem Solving by Searching “In which we see how an agent can find a sequence of actions that achieves its goals when no single action will do.” Such agents must be able to: Formulate a goal Formulate the overall problem Find a solution

Recently I gave you this problem Three missionaries and three cannibals Want to cross a river using one canoe. Canoe can hold up to two people. Can never be more cannibals than missionaries on either side of the river. Aim: To get all safely across the river without any missionaries being eaten.

Problem Solving Agents Formulate goal: get everyone across the river Formulate problem: states: various combinations of people on either side of the river actions: take the canoe (with some people) across the river restrictions: certain combinations of people are “illegal” Find solution: sequence of canoe trips that get everybody (safely) across the river

Problem Solving Agents Example: Traveling in Romania On holiday in Romania; currently in Arad. Flight leaves tomorrow from Bucharest

Problem Solving Agents Example: Traveling in Romania On holiday in Romania; currently in Arad. Flight leaves tomorrow from Bucharest Formulate goal: be in Bucharest Formulate problem: states: various cities actions: drive between cities Find solution: sequence of cities, e.g., Arad, Sibiu, Fagaras, Bucharest

Problem Solving Agents Formulate goal: get the set of rooms clean Formulate problem: states: various combinations of dirt and vacuum location actions: right, left, suck, no-op Find solution: sequence of actions that cause all rooms to be clean

Appropriate environment for Searching Agents Observable?? Deterministic?? Episodic?? Static?? Discrete?? Agents?? Yes Either

Problem Types Deterministic, fully observable  single-state problem Agent knows exactly which state it will be in Solution is a sequence Non-observable  conformant problem Agent may have no idea where it is Solution (if any) is a sequence Nondeterministic and/or partially observable  contingency problem percepts provide new information about current state solution is a tree or policy often interleave search, execution Unknown state space  exploration problem ( “online” )

Problem Types Example: vacuum world Start in #5. Solution?? [Right, Suck]

Problem Types Deterministic, fully observable  single-state problem Agent knows exactly which state it will be in Solution is a sequence Non-observable  conformant problem Agent may have no idea where it is Solution (if any) is a sequence Nondeterministic and/or partially observable  contingency problem percepts provide new information about current state solution is a tree or policy often interleave search, execution Unknown state space  exploration problem ( “online” )

Problem Types Conformant, start in {1,2,3,4,5,6,7,8} Solution??

Problem Types Conformant, start in {1,2,3,4,5,6,7,8} e.g., Right goes to {2,4,6,8}. [Right, Suck, Left, Suck]

Problem Types Deterministic, fully observable  single-state problem Agent knows exactly which state it will be in Solution is a sequence Non-observable  conformant problem Agent may have no idea where it is Solution (if any) is a sequence Nondeterministic and/or partially observable  contingency problem percepts provide new information about current state solution is a tree or policy often interleave search, execution Unknown state space  exploration problem ( “online” )

Problem Types Contingency, start in #5 Murphy’s Law: Suck can dirty a clean carpet Local Sensing: dirt, location only. Solution?? [Right, if dirt then Suck]

Problem Types Deterministic, fully observable  single-state problem Agent knows exactly which state it will be in Solution is a sequence Non-observable  conformant problem Agent may have no idea where it is Solution (if any) is a sequence Nondeterministic and/or partially observable  contingency problem percepts provide new information about current state solution is a tree or policy often interleave search, execution Unknown state space  exploration problem “online” search