Graphplan CSE 574 April 4, 2003 Dan Weld. Schedule BASICS Intro Graphplan SATplan State-space Refinement SPEEDUP EBL & DDB Heuristic Gen TEMPORAL Partial-O.

Slides:



Advertisements
Similar presentations
Practical Planning: Scheduling and Hierarchical Task Networks Chapter CS 63 Adapted from slides by Tim Finin and Marie desJardins.
Advertisements

Planning Module THREE: Planning, Production Systems,Expert Systems, Uncertainty Dr M M Awais.
Causal-link Planning II José Luis Ambite. 2 CS 541 Causal Link Planning II Planning as Search State SpacePlan Space AlgorithmProgression, Regression POP.
Constraint Based Reasoning over Mutex Relations in Graphplan Algorithm Pavel Surynek Charles University, Prague Czech Republic.
Planning Module THREE: Planning, Production Systems,Expert Systems, Uncertainty Dr M M Awais.
Planning Chapter 11 Yet another popular formulation for AI – Logic-based language – One of the most structured formulations Can be translate into less.
CLASSICAL PLANNING What is planning ?  Planning is an AI approach to control  It is deliberation about actions  Key ideas  We have a model of the.
Dana Nau: Lecture slides for Automated Planning Licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License:
1 Graphplan José Luis Ambite * [* based in part on slides by Jim Blythe and Dan Weld]
Planning with Constraints Graphplan & SATplan Yongmei Shi.
Graph-based Planning Brian C. Williams Sept. 25 th & 30 th, J/6.834J.
Planning Graphs * Based on slides by Alan Fern, Berthe Choueiry and Sungwook Yoon.
For Monday Finish chapter 12 Homework: –Chapter 13, exercises 8 and 15.
Planning and Scheduling. 2 USC INFORMATION SCIENCES INSTITUTE Some background Many planning problems have a time-dependent component –  actions happen.
Planning CSE 473 Chapters 10.3 and 11. © D. Weld, D. Fox 2 Planning Given a logical description of the initial situation, a logical description of the.
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.
Fast Planning through Planning Graph Analysis By Jan Weber Jörg Mennicke.
Classical Planning via State-space search COMP3431 Malcolm Ryan.
Planning Copyright, 1996 © Dale Carnegie & Associates, Inc. Chapter 11.
Artificial Intelligence Chapter 11: Planning
Planning: Part 3 Planning Graphs COMP151 April 4, 2007.
Planning II CSE 473. © Daniel S. Weld 2 Logistics Tournament! PS3 – later today Non programming exercises Programming component: (mini project) SPAM detection.
Planning Copyright, 1996 © Dale Carnegie & Associates, Inc. Chapter 11.
1 Planning Chapters 11 and 12 Thanks: Professor Dan Weld, University of Washington.
Classical Planning via State-space search COMP3431 Malcolm Ryan.
Planning II CSE 573. © Daniel S. Weld 2 Logistics Reading for Wed Ch 18 thru 18.3 Office Hours No Office Hour Today.
An Introduction to Artificial Intelligence CE Chapter 11 – Planning Ramin Halavati In which we see how an agent can take.
Classical Planning Chapter 10.
GraphPlan Alan Fern * * Based in part on slides by Daniel Weld and José Luis Ambite.
For Wednesday Read chapter 12, sections 3-5 Program 2 progress due.
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:
Jonathon Doran. The Planning Domain A domain describes the objects, facts, and actions in the universe. We may have a box and a table in our universe.
Dana Nau: Lecture slides for Automated Planning Licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License:
Homework 1 ( Written Portion )  Max : 75  Min : 38  Avg : 57.6  Median : 58 (77%)
For Monday Read chapter 12, sections 1-2 Homework: –Chapter 10, exercise 3.
Heuristics in Search-Space CSE 574 April 11, 2003 Dan Weld.
Dana Nau: Lecture slides for Automated Planning Licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License:
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.
June 6 th, 2005 ICAPS-2005 Workshop on Constraint Programming for Planning and Scheduling 1/12 Stratified Heuristic POCL Temporal Planning based on Planning.
AI Lecture 17 Planning Noémie Elhadad (substituting for Prof. McKeown)
Graphplan/ SATPlan Chapter Some material adapted from slides by Jean-Claude Latombe / Lise Getoor.
Classical Planning Chapter 10 Mausam / Andrey Kolobov (Based on slides of Dan Weld, Marie desJardins)
Dana Nau: Lecture slides for Automated Planning Licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License:
Graphplan.
Robust Planning using Constraint Satisfaction Techniques Daniel Buettner and Berthe Y. Choueiry Constraint Systems Laboratory Department of Computer Science.
© Daniel S. Weld 1 Logistics Travel Wed class led by Mausam Week’s reading R&N ch17 Project meetings.
1 CMSC 471 Fall 2004 Class #21 – Thursday, November 11.
Automated Planning and Decision Making Prof. Ronen Brafman Automated Planning and Decision Making Graphplan Based on slides by: Ambite, Blyth and.
Dana Nau: Lecture slides for Automated Planning Licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License:
1 GraphPlan, Satplan and Markov Decision Processes Sungwook Yoon* * Based in part on slides by Alan Fern.
Heuristic Search Planners. 2 USC INFORMATION SCIENCES INSTITUTE Planning as heuristic search Use standard search techniques, e.g. A*, best-first, hill-climbing.
1 Chapter 6 Planning-Graph Techniques. 2 Motivation A big source of inefficiency in search algorithms is the branching factor  the number of children.
Planning as Satisfiability
Planning as Search State Space Plan Space Algorihtm Progression
Temporal Graphplan David E. Smith & Dan Weld.
Class #17 – Thursday, October 27
Graph-based Planning Slides based on material from: Prof. Maria Fox
Graphplan/ SATPlan Chapter
Planning CSE 473 AIMA, 10.3 and 11.
Planning CSE 573 A handful of GENERAL SEARCH TECHNIQUES lie at the heart of practically all work in AI We will encounter the SAME PRINCIPLES again and.
Planning Problems On(C, A)‏ On(A, Table)‏ On(B, Table)‏ Clear(C)‏
Class #19 – Monday, November 3
Chapter 6 Planning-Graph Techniques
Graphplan/ SATPlan Chapter
Graphplan/ SATPlan Chapter
GraphPlan Jim Blythe.
An Introduction to Planning Graph
Graph-based Planning Slides based on material from: Prof. Maria Fox
[* based in part on slides by Jim Blythe and Dan Weld]
Presentation transcript:

Graphplan CSE 574 April 4, 2003 Dan Weld

Schedule BASICS Intro Graphplan SATplan State-space Refinement SPEEDUP EBL & DDB Heuristic Gen TEMPORAL Partial-O Graphplan Forward- chaining Stochastic Linear prog

Graphplan Review Expand plan graph Derive mutex relationships If goals are present & consistent search for a solution

The Plan Graph … … … level 0level 2level 4level 6 level 1level 3level 5

Graph Expansion Proposition level 0 initial conditions Action level i no-op for each proposition at level i-1 action for each operator instance whose preconditions exist at level i-1 Proposition level i effects of each no-op and action at level i … … … … i-1ii+10

Mutual Exclusion Two actions are mutex if one clobbers the other’s effects or preconditions they have mutex preconditions Two proposition are mutex if all ways of achieving them are mutex

Searching for a solution If goals are present & non-mutex: Choose action to achieve each goal Add preconditions to next goal set

Wrinkles Forward checking Memoization Consider only minimal {a} achieving G

Important Ideas Polytime graph construction Use for deriving properties, termination, admissible heuristic, unsolvable problems Mutex for pruning search Insensitivity to goal ordering Knows when no plan exists

Experiments Fairness Different machines, languages Testing what? Using what? “Natural domains” Artifical Domains Conclusions (no ablation) Effect of mutex, parallelism, memoizing, preproc

Flaws? When / why does GP perform poorly? (figs 6-8) Independent goals?

Optimality Does GP generate optimal plans in any sense? Could it be made to do so?

Future Work Space Usage Connection to CSP Search methods Symmetry detection Complexity of determining true mutex Expressive Languages Conditional effects,  Stochastic actions Temporal planning Continuous parameters Propagate More Info thru Graph Backward or bidirectional search

Observation 1 Propositions monotonically increase (always carried forward by no-ops) p ¬q ¬r p q ¬q ¬r p q ¬q r ¬r p q ¬q r ¬r A A B A B

Observation 2 Actions monotonically increase p ¬q ¬r p q ¬q ¬r p q ¬q r ¬r p q ¬q r ¬r A A B A B

Observation 3 Proposition mutex relationships monotonically decrease pqr…pqr… A pqr…pqr… pqr…pqr…

Observation 4 Action mutex relationships monotonically decrease pq…pq… B pqrs…pqrs… pqrs…pqrs… A C B C A pqrs…pqrs… B C A

New Representation Propositions Actions pqrs…pqrs… ABCD…ABCD…

Mutex Relationships pqrs…pqrs… ABCD…ABCD…  7 8 Propositions Actions

Plan Graph pqrs…pqrs… ABCD…ABCD…  7 6 Props & actions: start level  start time Mutex relations: end level  end time

Perverting Graphplan ADL Gazen & Knoblock Koehler Anderson, Smith & Weld Boutilier Uncertainty Rao Graphplan Time Smith & Weld Koehler ? PGP Blum & Langford Conformant Smith & Weld Sensory/Contingent Weld, Anderson & Smith ?

Expressive Languages 1 Negated preconditions Disjunctive preconditions Universally quantified preconditions, effects Conditional effects

Negated Preconditions Graph expansion P,  P mutex Action deleting P must add  P at next level Solution extraction

Disjunctive Preconditions Convert precondition to DNF Disjunction of conjunctions Graph expansion Add action if any disjunct is present, nonmutex Solution extraction Consider all disjuncts

Universal Quantification Graph Expansion Solution Extraction

Universal Quantification Graph Expansion Expand action with Herbrand universe  block x P(x)  P(o 17 )  P(o 74 )  …  P(o 126 ) Solution Extraction No changes necessary What if an action creates or delete objs?

Conditional Effects

Full Expansion in-keys in-pay

Comments?

Factored Expansion Treat conditional effects as primitive “component” = pair DNF pure conj. STRIPS action has one component Consider action A Precond: p Effect: e (when q (f   g) (when (r  s)  q) A has three components: antecedant consequent p e p  q f   g p  r  s  q

Changes to Expansion Components C1 and C2 are mutex at level I The antecedants of C1 and C2 are mutex at I-1 C1, C2 come from different action instances, & The consequent of C1 deletes the antecedant of C2 Or vice versa  C, C1 induces C and C is mutex with C2 Intuitively, C1 induces C if it is impossible to execute C1 without executing C. C1 and C are parts of same action instance C1 and C aren’t mutex (antecedants not inconsistent) The negation of C’s antecedant can’t be satisfied at level I-1

Induced Mutex

Revised Backchaining Confrontation Subgoaling on negation of something