A: A Unified Brand-name-Free Introduction to Planning Subbarao Kambhampati.

Slides:



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

Language for planning problems
Planning
Chapter 5 Plan-Space Planning.
Inference Rules Universal Instantiation Existential Generalization
Planning II: Partial Order Planning
Causal-link Planning II José Luis Ambite. 2 CS 541 Causal Link Planning II Planning as Search State SpacePlan Space AlgorithmProgression, Regression POP.
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.
Top 5 Worst Times For A Conference Talk 1.Last Day 2.Last Session of Last Day 3.Last Talk of Last Session of Last Day 4.Last Talk of Last Session of Last.
1 Graphplan José Luis Ambite * [* based in part on slides by Jim Blythe and Dan Weld]
Classical Planning via Plan-space search COMP3431 Malcolm Ryan.
Plan Generation & Causal-Link Planning 1 José Luis Ambite.
Effective Approaches for Partial Satisfaction (Over-subscription) Planning Romeo Sanchez * Menkes van den Briel ** Subbarao Kambhampati * * Department.
Graph-based Planning Brian C. Williams Sept. 25 th & 30 th, J/6.834J.
Probabilistic Planning Jim Blythe November 6th. 2 CS 541 Probabilistic planning A slide from August 30th: Assumptions (until October..) Atomic time All.
ARTIFICIAL INTELLIGENCE [INTELLIGENT AGENTS PARADIGM] Professor Janis Grundspenkis Riga Technical University Faculty of Computer Science and Information.
4 th Nov, Oct 23 rd Happy Deepavali!. 10/23 SAT & CSP.
Classical Planning via State-space search COMP3431 Malcolm Ryan.
Planning Copyright, 1996 © Dale Carnegie & Associates, Inc. Chapter 11.
Artificial Intelligence Chapter 11: Planning
Constraint Logic Programming Ryan Kinworthy. Overview Introduction Logic Programming LP as a constraint programming language Constraint Logic Programming.
Performance of Coordinating Concurrent Hierarchical Planning Agents Using Summary Information Brad Clement and Ed Durfee University of Michigan Artificial.
A: A Unified Brand-name-Free Introduction to Planning Subbarao Kambhampati Jan 28 th My lab was hacked and the systems are being rebuilt.. Homepage is.
CSE 574: Planning & Learning Subbarao Kambhampati 1/17: State Space and Plan-space Planning Office hours: 4:30—5:30pm T/Th.
A: A Unified Brand-name-Free Introduction to Planning Subbarao Kambhampati Jan 28 th My lab was hacked and the systems are being rebuilt.. Homepage is.
Refinement Planing CSE 574 April 15, 2003 Dan Weld.
Planning Copyright, 1996 © Dale Carnegie & Associates, Inc. Chapter 11.
1 BLACKBOX: A New Approach to the Application of Theorem Proving to Problem Solving Bart Selman Cornell University Joint work with Henry Kautz AT&T Labs.
26 April 2013Lecture 5: Constraint Propagation and Consistency Enforcement1 Constraint Propagation and Consistency Enforcement Jorge Cruz DI/FCT/UNL April.
Automated Planning and HTNs Planning – A brief intro Planning – A brief intro Classical Planning – The STRIPS Language Classical Planning – The STRIPS.
1 Planning Chapters 11 and 12 Thanks: Professor Dan Weld, University of Washington.
Classical Planning via State-space search COMP3431 Malcolm Ryan.
RePOP: Reviving Partial Order Planning
PLANNING Partial order regression planning Temporal representation 1 Deductive planning in Logic Temporal representation 2.
For Wednesday Read chapter 12, sections 3-5 Program 2 progress due.
1 Plan-Space Planning Dr. Héctor Muñoz-Avila Sources: Ch. 5 Appendix A Slides from Dana Nau’s lecture.
(Classical) AI Planning. Some Examples Route search: Find a route between Lehigh University and the Naval Research Laboratory Project management: Construct.
Dana Nau: Lecture slides for Automated Planning Licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License:
CS.462 Artificial Intelligence SOMCHAI THANGSATHITYANGKUL Lecture 07 : Planning.
Logical Agents Logic Propositional Logic Summary
Formal Specification of Intrusion Signatures and Detection Rules By Jean-Philippe Pouzol and Mireille Ducassé 15 th IEEE Computer Security Foundations.
For Friday No reading Homework: –Chapter 11, exercise 4.
Automated Planning and Decision Making Prof. Ronen Brafman Automated Planning and Decision Making Partial Order Planning Based on slides by: Carmel.
Automated Planning Dr. Héctor Muñoz-Avila. What is Planning? Classical Definition Domain Independent: symbolic descriptions of the problems and the domain.
Dana Nau: Lecture slides for Automated Planning Licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License:
AI Lecture 17 Planning Noémie Elhadad (substituting for Prof. McKeown)
RePOP: Reviving Partial Order Planning XuanLong Nguyen & Subbarao Kambhampati Yochan Group:
1 CMSC 471 Fall 2004 Class #21 – Thursday, November 11.
1 CMSC 471 Fall 2002 Class #24 – Wednesday, November 20.
Planning I: Total Order Planners Sections
Automated Planning and Decision Making Prof. Ronen Brafman Automated Planning and Decision Making Graphplan Based on slides by: Ambite, Blyth and.
Graphplan CSE 574 April 4, 2003 Dan Weld. Schedule BASICS Intro Graphplan SATplan State-space Refinement SPEEDUP EBL & DDB Heuristic Gen TEMPORAL Partial-O.
ADVANCED PLANNING TECHNIQUES Dr. Adam Anthony Lecture 22.
Dana Nau: Lecture slides for Automated Planning Licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License:
Winning by being lazy: Hierarchy, Abstraction and Least- commitment in the new-age planning Subbarao Kambhampati Arizona State University rakaposhi.eas.asu.edu/yochan.html.
Causal-link planning 1 Jim Blythe. 2 USC INFORMATION SCIENCES INSTITUTE Causal Link Planning The planning problem Inputs: 1. A description of the world.
CSE573 Autumn /11/98 Planning Administrative –PS3 due 2/23 –Midterm Friday Last time –regression planning algorithm –introduction to plan-space.
Heuristic Search Planners. 2 USC INFORMATION SCIENCES INSTITUTE Planning as heuristic search Use standard search techniques, e.g. A*, best-first, hill-climbing.
Planning as Search State Space Plan Space Algorihtm Progression
Classical Planning via State-space search
Introduction Contents Sungwook Yoon, Postdoctoral Research Associate
RePOP: Reviving Partial Order Planning
Class #17 – Thursday, October 27
Planning José Luis Ambite.
Graphplan/ SATPlan Chapter
Class #19 – Monday, November 3
Class #20 – Wednesday, November 5
Graphplan/ SATPlan Chapter
Graphplan/ SATPlan Chapter
Class #17 – Tuesday, October 30
Presentation transcript:

A: A Unified Brand-name-Free Introduction to Planning Subbarao Kambhampati

A: A Unified Brand-name-Free Introduction to Planning Subbarao Kambhampati

A: A Unified Brand-name-Free Introduction to Planning Subbarao Kambhampati Handling “lifted” actions (action schemas) G Progression doesn’t change much! –You can generate all the applicable groundings of the operator G Regression changes—can be less committed! –Consider regressing a goal state {P(a),Q(b)} over an action schema A with effects P(x) and ~Q(y) –What happens if the effects were U(x)=>P(x) and M(y)=>~Q(y)

A: A Unified Brand-name-Free Introduction to Planning Subbarao Kambhampati

A: A Unified Brand-name-Free Introduction to Planning Subbarao Kambhampati The Refinement Planning Framework: 1. Syntax & Semantics of partial plans 2. Refinement strategies & their properties 3. The generic Refinement planning template

A: A Unified Brand-name-Free Introduction to Planning Subbarao Kambhampati Refinement Planning:Overview Narrowing sets of action sequences to progress towards solutions Partial plans Refinements Remove non-solutions All action sequences All Solutions  P P’ All Sol P P’ All Seq. Refine

A: A Unified Brand-name-Free Introduction to Planning Subbarao Kambhampati Partial Plans: Syntax Auxiliary Constraints: Interval preservation constraint (IPC) ‹ s 1, p, s 2 › p must be preserved between s 1 and s 2 Point truth Constraint (PTC) p must hold in the state before s Steps, Orderings, Aux. Constraints Partial plan = 1: Load(A) 2:Fly() 4:Unload(A) 0  3: Load(B) contiguity precedence At(R,E) IPC Earth Appolo 13

A: A Unified Brand-name-Free Introduction to Planning Subbarao Kambhampati

A: A Unified Brand-name-Free Introduction to Planning Subbarao Kambhampati

A: A Unified Brand-name-Free Introduction to Planning Subbarao Kambhampati Partial Plans: Semantics P: 1: Load(A) 2:Fly() 4:Unload(A) 0  3: Load(B) At(R,E) Candidates (  «P») [Load(A),Load(B),Fly(),Unload(A)] [Load(A),Load(B),Fly(), Unload(B),Unload(A)] Non-Candidates (  «P») [Load(A),Fly(),Load(B),Unload(B)] [Load(A),Fly(),Load(B), Fly(),Unload(A)] Minimal candidate. Corresponds to safe linearization [  ] Corresponds to unsafe linearization [  ] Candidate is any action sequence that -- contains actions corresponding to all the steps, -- satisfies all the ordering and auxiliary constraints

A: A Unified Brand-name-Free Introduction to Planning Subbarao Kambhampati Reduce candidate set size Increase length of minimal candidates Linearization 1 Linearization 2 Linearization n Safe linearization 1 Safe linearization 2 Safe Linearization m Linearization 3 Minimal Cand. 1 Minimal Cand. 2 Minimal Cand. m + derived candidates + derived candidates + derived candidates Partial Plan Linking Syntax and Semantics Refinements

A: A Unified Brand-name-Free Introduction to Planning Subbarao Kambhampati Refinement (pruning) Strategies § A plan set P is a set of partial plans {P 1,P 2... P m }  A refinement strategy R : P  P’ ( « P’ » a subset of « P » ) –R is complete if « P’ » contains all the solutions of « P » –R is monotonic if « P’ » has longer minimal candidates than « P » –R is progressive if « P’ » is a proper subset of « P » –R is systematic if components of P’ don’t share candidates R 1: Load(A) 0  1: Load(B) 0  1: Fly() 0  0  “Canned” inference procedures -- Prune by propagating the consequences of domain theory and meta-theory of planning onto the partial plan actions & their inter-relations

A: A Unified Brand-name-Free Introduction to Planning Subbarao Kambhampati Existing Refinement Strategies 0  0  2: Unload(B) 2: Unload(A) 1: Fly() At(A,M) At(B,M) ¬In(A) ¬In(B) 0 1: Fly()  0 1: Unload(A)  2: Load(A) 0  2: Load(B) 0  2: Fly() 0  1: Unload(A) At(A,E) At(B,E) At(R,E) progression Regression Extend Prefix Extend Suffix PSR 0 1:Unload(A)   2:Fly() 3:Unload(A) 0  At(A,M)  ¬At(A,M) Add in the middle State-Space Plan-Space

A: A Unified Brand-name-Free Introduction to Planning Subbarao Kambhampati The Refinement Planning Template Refineplan( P : Plan set) 0*. If « P » is empty, Fail. 1. If a minimal candidate of P is a solution, return it. End 2. Select a refinement strategy R Apply R to P to get a new plan set P’ 3. Call Refine( P’ ) -- Termination ensured if R is complete and monotonic -- Solution check done using one of the proofs of correctness Issues: 1. Representation of plan sets (Conjunctive vs. Disjunctive) 2. Search vs. solution extraction 3. Affinity between refinement and proof used for solution check All Sol P P’ Use proofs of correctness

A: A Unified Brand-name-Free Introduction to Planning Subbarao Kambhampati A flexible Split&Prune search for refinement planning Refineplan( P : Plan) 0*. If « P » is empty, Fail. 1. If a minimal candidate of P is a solution, terminate. 2. Select a refinement strategy R. Appply R to P to get a new plan set P’ 3. Split P’ into k plansets 4. Non-deterministically select one of the plansets P’ i Call Refine( P’ i )  P 1 P 2 R 1 R 2 P k R k Null Plan set  P 1 P 2 R 1 R 2 P k R k

A: A Unified Brand-name-Free Introduction to Planning Subbarao Kambhampati G Search in the space of conjunctive partial plans –Disjunction split into the search space »search guidance is nontrivial –Solution extraction is trivial G Examples: –STRIPS & Prodigy –SNLP & UCPOP –NONLIN & SIPE –UNPOP & HSP G Search in the space of disjunctive partial plans –Disjunction handled explicitly –Solution extraction is non- trivial »CSP/SAT/ILP/BDD methods G Examples: –Graphplan,IPP,STAN –SATPLAN –GP-CSP –BDDPlan, PropPlan Conjunctive plannersDisjunctive planners Two classes of refinement planners

A: A Unified Brand-name-Free Introduction to Planning Subbarao Kambhampati CONJUNCTIVE REFINEMENT PLANNING Part 1.1

A: A Unified Brand-name-Free Introduction to Planning Subbarao Kambhampati Plan structure nomenclature 1: Load(A)4:Fly() 3:Unload(A) 0  In(B) 5: Load(B) 6:Unload(B) Head Tail Head Fringe Tail Fringe head step tail step In(A) At(R,E) At(B,E) At(A,E) Head State At(A,M) At(B,M) In(A) ¬In(B) Tail State

A: A Unified Brand-name-Free Introduction to Planning Subbarao Kambhampati Forward State-space Refinement G Grow plan prefix by adding applicable actions –Complete, Monotonic »consideration of all executable prefixes –Progressive »elimination of unexecutable prefixes –Systematic »each component has a different prefix 9Completely specified state »Easier to control? –Higher branching factor 0 1: Unload(A)  2: Load(A) 0  2: Load(B) 0  2: Fly() 0  1: Unload(A) At(A,E) At(B,E) At(R,E)

A: A Unified Brand-name-Free Introduction to Planning Subbarao Kambhampati 0  0  2: Unload(B) 2: Unload(A) 1: Fly() At(A,M) At(B,M) ¬In(A) ¬In(B) 0 1: Fly()  Backward State-space Refinement G Grow plan suffix by adding relevant actions –Complete, Monotonic »consideration of all relevant suffixes –Progressive »elimination of irrelevant suffixes –Systematic »each component has a different suffix 9Goal directed »Lower branching –Partial state »Harder to detect inconsistency

A: A Unified Brand-name-Free Introduction to Planning Subbarao Kambhampati Plan-space Refinement PSR 0 1:Unload(A)   2:Fly() 3:Unload(A) 0  At(A,M)  causation precondition  x In(x)  At(x,M) ¬At(A,M) Goal selection: Select a precondition Establishment: Select a step (new or existing) and make it give the condition De-clobbering: Force intervening steps to preserve the condition Book-keeping: (Optional) Add IPCs to preserve the establishment  Systematicity (PSR is complete, and progressive) (Sacerdoti, 1972; Pednault, 1988; McAllester, 1991)

A: A Unified Brand-name-Free Introduction to Planning Subbarao Kambhampati Plan-space Refinement: Example 2 0    1:Fly()  1: Fly() 0  At(A,E) 1: Fly() 0  At(A,E) 1: Fly() 0  At(A,E) ¬ Promotion Demotion Confrontation 0  1:Fly() At(A,E) preservation precondition Establishment Arbitration At(R,E) Fly() At(R,M), ¬At(R,E)  x In(x)  At(x,M) & ¬At(x, E) Disjunction split into search space

A: A Unified Brand-name-Free Introduction to Planning Subbarao Kambhampati Tradeoffs among Refinements FSR and BSR must commit to both position and relevance of actions + Give state information (Easier plan validation) - Leads to premature commitment - Too many states when actions have durations Plan-space refinement (PSR) avoids constraining position + Reduces commitment (large candidate set /branch) - Increases plan-validation costs + Easily extendible to actions with duration 1: Fly() 0  0  0  PfPf PbPb PpPp The Tastes great/ Less Filling holy wars

A: A Unified Brand-name-Free Introduction to Planning Subbarao Kambhampati Causation Precondition Establishment Demotion Promotion Confrontation (q) p => ¬ q Arbitration p => ¬ q ¬ Preservation Precondition (q) p => ¬ q r => q p => ¬ q p => ¬ q Plan Space Refinement: Example 3 s t t t t t ss s u u u u u

A: A Unified Brand-name-Free Introduction to Planning Subbarao Kambhampati Generating Conjunctive Refinement Planners Refineplan ( P : Plan) 0*. If « P » is empty, Fail. 1. If a minimal candidate of P is a solution, terminate. 2. Select a refinement strategy R. Appply R to P to get a set of new plans P1…Pj Add all plans to the search queue. 4. Non-deterministically select one of the plans P i Call Refine( P i ) Keep all linearizations safe (Tractability refinements) Select the proof strategy so it becomes incremental with respect to the refinement Stick to a single refinement strategy

A: A Unified Brand-name-Free Introduction to Planning Subbarao Kambhampati Issues in instantiating Refineplan G Although a planner can use multiple different refinements, most implementations stick to a single refinement G Although refinement can be used along with any type of correctness check, there is affinity between specific refinements and proof technqiues (support finite differencing) –FSR and Progression based proof –BSR and Regression based proof –PSR and Causal proof G Although it is enough to check if any one of the safe linearizations are solutions, most planners refine a partial plan until all its linearizations are safe –Tractability refinements (pre-order, pre-satisfy) With these changes, an instantiated and simplified planner may “look” considerably different from the general template

A: A Unified Brand-name-Free Introduction to Planning Subbarao Kambhampati Tractability Refinements G Reduce number of linearizations –Pre-ordering –Pre-positioning G Make all linearizations safe –Pre-satisfaction »Resolve threats to auxiliary constraints G Reduce uncertainity in action identity –Pre-reduction »Replace a non-primitive action with its reductions Aim: Make it easy to generate minimal candidates 1: Fly() 0  At(A,E) 1: Fly() 0  At(A,E) 1: Fly() 0  At(A,E) 1: Fly() 0  At(A,E) ¬ Promotion Demotion Confrontation

A: A Unified Brand-name-Free Introduction to Planning Subbarao Kambhampati Case Study: UCPOP Refineplan ( P : Plan) 0*. If P is order inconsistent, FAIL. 1. If no open conditions and no unsafe lPCs, SUCCESS. 2. Generate new plans using either 2’ or 2’’ Add the plans to the search queue 2’. Remove an open condition in P For each step s’ in P that gives c, make a new plan P’ = P + (s’ < s) + IPC s’-c-s 2.2. For each action A in the domain that gives c, make a new plan P’ = P + sn:A + (sn <s) + IPC sn-c-s For each precondition c’ of A, add to the list of open conditions of P’ For each IPC s’-p-s’’, if sn deletes p, add [s’-p-s’’; sn] to the list of unsafe IPCs of P’. 2’’. Remove an unsafe IPC [s’-p-s’’; s’’’] from P. Make two plans: P’ = P + s’’’< s’ P’’ = P + s’’ < s’’’ 3. Non-deterministically select one of the plans P I from the search queue and Call Refine( P i ) Tractability refinement Incrmental Soln. check Finite-differencing structures

A: A Unified Brand-name-Free Introduction to Planning Subbarao Kambhampati Many variations on the theme.. Planner TWEAK UA MTC MTC -none- pre-order SNLP / UCPOP McNonlin/ Pedestal Causal proof arbitrary Contrib. Prot pre-satisfaction Causal proof arbitrary Interval Prot. pre-satisfaction TOCL Causal proof arbitrary Contrib. Prot. pre-order SNLP-UA MTC MTC Contrib. Prot. unambig. ord. TerminationGoal Sel.Bookkeeping Tractability refinements MTC -none- (Kambhampati, Knoblock & Yang, 1995)

A: A Unified Brand-name-Free Introduction to Planning Subbarao Kambhampati Interleaving Refinements G Combine different refinements opportunistically –Can be more efficient than single-refinement planners –Refinement selection criteria? »# Components produced »“Progress” made (Kambhampati & Srivastava, 1995)  0 1: Unload(A) 0  2: Fly() 1: Unload(A) 0  BSR PSR FSR 2: Fly() 1: Unload(A) 0 3: Load(A)  2: Fly() 1: Unload(A) 0  3: Load(A) Pre-position 

A: A Unified Brand-name-Free Introduction to Planning Subbarao Kambhampati Some implemented conjunctive planners UCPOP, SNLP [Weld et. al. ] Refinement Heuristics Plan-space Fail-first Flaw selection UNPOP [McDermott] HSP [Geffner & Bonet] FF [Hoffman] Forward state spaceDistance heuristics IxTET [Ghallab et al] RAX [Muscettola et al] Plan-spaceHand-coded search control Prodigy [Carbonell et. al. ] Forward state space Means-ends analysis

A: A Unified Brand-name-Free Introduction to Planning Subbarao Kambhampati Conjunctive planners: The State of the Art G Vanilla state-space (FSR/BSR) planners were known to be less efficient than vanilla plan-space planners –Several research efforts concentrated on extending plan-space approaches to non-classical scenarios G However, State-space planners seem to have better heuristic support than plan-space planners at this time –Distance-based heuristics seem particularly useful for state-space planners G But, plan-space planners are alleged to provide better support for incremental planning, durative actions etc. –replanning, reuse and plan modification, temporal reasoning »IXTET, HSTS, RAX…. Charge: Either develop effective approaches for replanning etc. in state-space planners or develop good heuristics for plan-space planners