Planning Russell and Norvig: Chapter 11 Slides adapted from: robotics.stanford.edu/~latombe/cs121/2003/ home.htm.

Slides:



Advertisements
Similar presentations
Graphplan Joe Souto CSE 497: AI Planning Sources: Ch. 6 “Fast Planning through Planning Graph Analysis”, A. Blum & M. Furst.
Advertisements

TWEAK solving the Sussman anomaly ON(A,B) ON(B,C) ON(C,A) ONTABLE(A) ONTABLE(B) CLEAR(C) CLEAR(B) ARMEMPTY STACK(A,B) STACK(B,C) Two step additions to.
Chapter 4 - Planning 4.1 State Space Planning 4.2 Partial Order Planning 4.3Planning in the Real World Part II: Methods of AI.
Planning Chapter 10.
Planning Planning is fundamental to “intelligent” behaviour. E.g.
All rights reserved ©L. Manevitz Lecture 61 Artificial Intelligence Planning System L. Manevitz.
1  Planning (under complete Knowledge) Intro to Artificial Intelligence.
Artificial Intelligence II S. Russell and P. Norvig Artificial Intelligence: A Modern Approach Chapter 11: Planning.
1 Chapter 4 State-Space Planning. 2 Motivation Nearly all planning procedures are search procedures Different planning procedures have different search.
Planning Some material adapted from slides by Tim Finin,Jean-Claude Latombe, Lise Getoor, and Marie desJardins.
Ch. 10 – Planning Supplemental slides for CSE 327 Prof. Jeff Heflin.
1 Classical STRIPS Planning Alan Fern * * Based in part on slides by Daniel Weld.
CPSC 322 Introduction to Artificial Intelligence November 19, 2004.
The way in which a piece of knowledge is expressed by a human expert carries important information, example: if the person has fever and feels tummy-pain.
Rule-based deduction systems The way in which a piece of knowledge is expressed by a human expert carries important information, example: if the person.
Artificial Intelligence Chapter 11: Planning
Planning Russell and Norvig: Chapter 11. Planning Agent environment agent ? sensors actuators A1A2A3.
CPSC 322 Introduction to Artificial Intelligence November 26, 2004.
1 Planning Adapted from Tim Finin, UMBC, Marie desJardins Some material adopted from notes by Andreas Geyer-Schulz and Chuck Dyer.
1 Lecture 12 example (from slides prepared by Prof. J. Rosenchein)
Planning: Part 1 Representation and State-space Search COMP151 March 30, 2007.
1 Introducing Uncertainty (It is not the world that is imperfect, it is our knowledge of it) R&N: Chap. 3, Sect Chap. 13.
Intro to AI Fall 2002 © L. Joskowicz 1 Introduction to Artificial Intelligence LECTURE 12: Planning Motivation Search, theorem proving, and planning Situation.
1 Pertemuan 17 Planning Matakuliah: T0264/Intelijensia Semu Tahun: Juli 2006 Versi: 2/1.
1 Action Planning (Where logic-based representation of knowledge makes search problems more interesting) R&N: Chap. 11, Sect. 11.1–4.
AI Principles, Lecture on Planning Planning Jeremy Wyatt.
PLANNING Partial order regression planning Temporal representation 1 Deductive planning in Logic Temporal representation 2.
An Introduction to Artificial Intelligence CE Chapter 11 – Planning Ramin Halavati In which we see how an agent can take.
1 07. The planning problem 2  Inputs: 1. A description of the world state 2. The goal state description 3. A set of actions  Output: A sequence of actions.
Dana Nau: Lecture slides for Automated Planning Licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License:
Dana Nau: Lecture slides for Automated Planning Licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License:
April 3, 2006AI: Chapter 11: Planning1 Artificial Intelligence Chapter 11: Planning Michael Scherger Department of Computer Science Kent State University.
CS344 : Introduction to Artificial Intelligence
1 CSC 8520 Spring Paula MatuszekBased on
Action Planning (Where logic-based representation of knowledge makes search problems more interesting) R&N: Chap. 10.3, Chap. 11, Sect. 11.1–4 (2 nd edition.
CS.462 Artificial Intelligence SOMCHAI THANGSATHITYANGKUL Lecture 07 : Planning.
CPS 270: Artificial Intelligence Planning Instructor: Vincent Conitzer.
1 Search vs. planning Situation calculus STRIPS operators Search vs. planning Situation calculus STRIPS operators.
1 Planning Chapter 10 Some material adopted from notes by Tim Finin, Marie desJardins Andreas Geyer-Schulz, and Chuck Dyer.
CPS 570: Artificial Intelligence Planning Instructor: Vincent Conitzer.
1 Chapter 16 Planning Methods. 2 Chapter 16 Contents (1) l STRIPS l STRIPS Implementation l Partial Order Planning l The Principle of Least Commitment.
AI Lecture 17 Planning Noémie Elhadad (substituting for Prof. McKeown)
Koen HindriksMulti-Agent Systems 2012 Introduction Agent Programming Koen Hindriks Delft University of Technology, The Netherlands Learning to program.
Intelligent Systems Planning.
Planning in FOL Systems sequences of actions to achieve goals.
CS621: Artificial Intelligence Pushpak Bhattacharyya Computer Science and Engineering Department IIT Bombay Lecture 19: Hidden Markov Models.
1 Planning Chapter 10 Some material adopted from notes by Tim Finin, Marie desJardins Andreas Geyer-Schulz, and Chuck Dyer.
Ch. 11 – Planning Supplemental slides for CSE 327 Prof. Jeff Heflin.
1 Planning Some material adopted from notes by Andreas Geyer-Schulz and Chuck Dyer.
An Introduction to Artificial Intelligence CE 40417
Planning Chapter 16.
Combined Lecture CS621: Artificial Intelligence (lecture 19) CS626/449: Speech-NLP-Web/Topics-in-AI (lecture 20) Hidden Markov Models Pushpak Bhattacharyya.
Instructor: Vincent Conitzer
Introduction Contents Sungwook Yoon, Postdoctoral Research Associate
Planning (AIMA Ch. 10) Planning problem defined Simple planning agent
Forward chaining Slides Obtained From Russel & Norvig’s Website.
CMSC 471 Fall 2011 Class #16 Tuesday, October 25, 2011 Planning
CS344 : Introduction to Artificial Intelligence
AI Planning.
L11. Planning Agents and STRIPS
Planning Chapter
Planning Problems On(C, A)‏ On(A, Table)‏ On(B, Table)‏ Clear(C)‏
CPSC 322 Introduction to Artificial Intelligence
Supplemental slides for CSE 327 Prof. Jeff Heflin
CS344 : Introduction to Artificial Intelligence
Class #15 / 16 – Tuesday, October 20 / Thursday, October 22
Russell and Norvig: Chapter 11 CS121 – Winter 2003
CMSC 471 Fall 2002 Class #20/21/23 – Wednesday, November 6 / Monday, November 11 / Monday, November 18.
L9. STRIPS Examples Recursive STRIPS Block world
Prof. Pushpak Bhattacharyya, IIT Bombay
Presentation transcript:

Planning Russell and Norvig: Chapter 11 Slides adapted from: robotics.stanford.edu/~latombe/cs121/2003/ home.htm

Planning Agent environment agent ? sensors actuators A1A2A3

Choose actions to achieve a certain goal But isn’t it exactly the same goal as for problem solving? Some difficulties with problem solving: The successor function is a black box: it must be “applied” to a state to know which actions are possible in that state and what are the effects of each one Goal of Planning

Representations in Planning Planning opens up the black-boxes by using logic to represent: Actions States Goals One possible language: STRIPS Problem solvingLogic representation Planning

State Representation Conjunction of propositions: BLOCK(A), BLOCK(B), BLOCK(C), ON(A,TABLE), ON(B,TABLE), ON(C,A), CLEAR(B), CLEAR(C), HANDEMPTY AB C TABLE

Goal Representation A B C Conjunction of propositions: ON(A,TABLE), ON(B,A), ON(C,B) The goal G is achieved in a state S if all the propositions in G are also in S

Action Representation Unstack(x,y) P = HANDEMPTY, BLOCK(x), BLOCK(y), CLEAR(x), ON(x,y) E =  HANDEMPTY,  CLEAR(x), HOLDING(x),  ON(x,y), CLEAR(y) Precondition: conjunction of propositions Effect: list of literals Means: Remove HANDEMPTY from state Means: Add HOLDING(x) to state

Example AB C Unstack(C,A) P = HANDEMPTY, BLOCK(C), BLOCK(A), CLEAR(C), ON(C,A) E =  HANDEMPTY,  CLEAR(C), HOLDING(C),  ON(C,A), CLEAR(A) BLOCK(A), BLOCK(B), BLOCK(C), ON(A,TABLE), ON(B,TABLE), ON(C,A), CLEAR(B), CLEAR(C), HANDEMPTY

Example AB C BLOCK(A), BLOCK(B), BLOCK(C), ON(A,TABLE), ON(B,TABLE), ON(C,A), CLEAR(B), CLEAR(C), HANDEMPTY, HOLDING(C), CLEAR(A) Unstack(C,A) P = HANDEMPTY, BLOCK(C), BLOCK(A), CLEAR(C), ON(C,A) E =  HANDEMPTY,  CLEAR(C), HOLDING(C),  ON(C,A), CLEAR(A)

Action Representation Unstack(x,y) P = HANDEMPTY, BLOCK(x), BLOCK(y), CLEAR(x), ON(x,y) E =  HANDEMPTY,  CLEAR(x), HOLDING(x),  ON(x,y), CLEAR(y) Stack(x,y) P = HOLDING(x), BLOCK(x), BLOCK(y), CLEAR(y) E = ON(x,y),  CLEAR(y),  HOLDING(x), CLEAR(x), HANDEMPTY PutDown(x) P = HOLDING(x) E = ON(x,TABLE),  HOLDING(x), CLEAR(x), HANDEMPTY Pickup(x) P = HANDEMPTY, BLOCK(x), CLEAR(x), ON(x,TABLE) E =  HANDEMPTY,  CLEAR(x), HOLDING(x),  ON(x,TABLE)

Forward Planning AB C AB C AB C A C B AC B A C B A C B A B C AB C Unstack(C,A)) Pickup(B) Forward planning searches a space of world states In general, many actions are applicable to a state  huge branching factor

Backward Chaining ON(B,A), ON(C,B) Stack(C,B) ON(B,A), HOLDING(C), CLEAR(B) AB C In general, there are much fewer actions relevant to a goal than there are actions applicable to a state  smaller branching factor than with forward planning

Backward Chaining ON(B,A), ON(C,B) Stack(C,B) ON(B,A), HOLDING(C), CLEAR(B) AB C CLEAR(C), ON(C,TABLE), CLEAR(A), HANDEMPTY, CLEAR(B), ON(B,TABLE) CLEAR(C), ON(C,TABLE), HOLDING(B), CLEAR(A) Stack(B,A) Pickup(B) Putdown(C) CLEAR(A), CLEAR(B), ON(B,TABLE), HOLDING(C) Unstack(C,A) CLEAR(B), ON(B,TABLE), CLEAR(C), HANDEMPTY, ON(C,A) Pickup(C) ON(B,A), CLEAR(B), HANDEMPTY, CLEAR(C), ON(C,TABLE) Backward planning searches a space of goals

Summary Representations in planning Representation of action: preconditions + effects Forward planning Backward chaining