CSE 5731 Lecture 21 State-Space Search vs. Constraint- Based Planning CSE 573 Artificial Intelligence I Henry Kautz Fall 2001.

Slides:



Advertisements
Similar presentations
AAAI of 20 Deconstructing Planning as Satisfiability A Revised Report Henry Kautz UW University of Rochester in collaboration with Bart Selman and.
Advertisements

REVIEW : Planning To make your thinking more concrete, use a real problem to ground your discussion. –Develop a plan for a person who is getting out of.
Big Ideas in Cmput366. Search Blind Search State space representation Iterative deepening Heuristic Search A*, f(n)=g(n)+h(n), admissible heuristics Local.
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.
State Transition Systems  linear planning  bounded model checking  conditional planning  model checking  state transition description languages: oPDDL.
Dana Nau: Lecture slides for Automated Planning Licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License:
Finding Search Heuristics Henry Kautz. if State[node] is not in closed OR g[node] < g[LookUp(State[node],closed)] then A* Graph Search for Any Admissible.
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.
Heuristic State Space Seach Henry Kautz. Assignment.
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.
Utilizing Problem Structure in Local Search: The Planning Benchmarks as a Case Study Jőrg Hoffmann Alberts-Ludwigs-University Freiburg.
Planning Copyright, 1996 © Dale Carnegie & Associates, Inc. Chapter 11.
CSE 5731 Lecture 19 Reasoning about Time and Change CSE 573 Artificial Intelligence I Henry Kautz Fall 2001 Salvador Dali, Persistence of Memory.
1 Planning. R. Dearden 2007/8 Exam Format  4 questions You must do all questions There is choice within some of the questions  Learning Outcomes: 1.Explain.
Planning II CSE 473. © Daniel S. Weld 2 Logistics Tournament! PS3 – later today Non programming exercises Programming component: (mini project) SPAM detection.
1 BLACKBOX: A New Paradigm for Planning Bart Selman Cornell University.
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.
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.
Planning as Satisfiability CS Outline 0. Overview of Planning 1. Modeling and Solving Planning Problems as SAT - SATPLAN 2. Improved Encodings using.
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:
CS444-Autumn of 20 Planning as Satisfiability Henry Kautz University of Rochester in collaboration with Bart Selman and Jöerg Hoffmann.
Logical Foundations of AI Planning as Satisfiability Clause Learning Backdoors to Hardness Henry Kautz.
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:
Dana Nau: Lecture slides for Automated Planning Licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License:
1 Planning as Satisfiability Alan Fern * * Based in part on slides by Stuart Russell and Dana Nau  Review of propositional logic (see chapter 7)  Planning.
1 The LPSAT Engine and its Application to Metric Planning Steve Wolfman University of Washington CS&E Advisor: Dan Weld.
Open-Loop Planning as Satisfiability Henry Kautz AT&T Labs.
Heuristics in Search-Space CSE 574 April 11, 2003 Dan Weld.
Planning as Propositional Satisfiabililty Brian C. Williams Oct. 30 th, J/6.834J GSAT, Graphplan and WalkSAT Based on slides from Bart Selman.
Dana Nau: Lecture slides for Automated Planning Licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License:
CS 5411 Compilation Approaches to AI Planning 1 José Luis Ambite* Some slides are taken from presentations by Kautz and Selman. Please visit their.
Introduction to Artificial Intelligence Class 1 Planning & Search Henry Kautz Winter 2007.
RePOP: Reviving Partial Order Planning XuanLong Nguyen & Subbarao Kambhampati Yochan Group:
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:
Robust Planning using Constraint Satisfaction Techniques Daniel Buettner and Berthe Y. Choueiry Constraint Systems Laboratory Department of Computer Science.
Graphplan: Fast Planning through Planning Graph Analysis Avrim Blum Merrick Furst Carnegie Mellon University.
Graphplan CSE 574 April 4, 2003 Dan Weld. Schedule BASICS Intro Graphplan SATplan State-space Refinement SPEEDUP EBL & DDB Heuristic Gen TEMPORAL Partial-O.
Dana Nau: Lecture slides for Automated Planning Licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License:
AAAI of 20 Deconstructing Planning as Satisfiability Henry Kautz University of Rochester in collaboration with Bart Selman and Jöerg Hoffmann.
Inference in Propositional Logic (and Intro to SAT) CSE 473.
Dana Nau: Lecture slides for Automated Planning Licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License:
Heuristic Search Planners. 2 USC INFORMATION SCIENCES INSTITUTE Planning as heuristic search Use standard search techniques, e.g. A*, best-first, hill-climbing.
Computer Science CPSC 322 Lecture 12 SLS wrap up, Forward Planning, Planning as CSP (Ch 8.2, 8.4) Slide 1.
1 Chapter 6 Planning-Graph Techniques. 2 Motivation A big source of inefficiency in search algorithms is the branching factor  the number of children.
Inference in Propositional Logic (and Intro to SAT)
CS 4700: Foundations of Artificial Intelligence
Planning as Satisfiability
Planning as Search State Space Plan Space Algorihtm Progression
Lecture 7 Constraint Satisfaction Problems
Local Search Strategies: From N-Queens to Walksat
Review for the Midterm Exam
Planning: Heuristics and CSP Planning
Planning: Heuristics and CSP Planning
Class #17 – Thursday, October 27
CSE P573 Introduction to Artificial Intelligence Class 1 Planning & Search INTRODUCE MYSELF Relative new faculty member, but 20 years in AI research.
Planning as Satisfiability with Blackbox
Graphplan/ SATPlan Chapter
Planning as Satisfiability
Class #19 – Monday, November 3
Chapter 6 Planning-Graph Techniques
Graphplan/ SATPlan Chapter
Graphplan/ SATPlan Chapter
GraphPlan Jim Blythe.
[* based in part on slides by Jim Blythe and Dan Weld]
Presentation transcript:

CSE 5731 Lecture 21 State-Space Search vs. Constraint- Based Planning CSE 573 Artificial Intelligence I Henry Kautz Fall 2001

CSE 5732 Road Map Today Plan graphs Planning as state space search Comparison of the two approaches

CSE 5733 Graphplan Planning as graph search (Blum & Furst 1995) Set new paradigm for planning Like SATPLAN... Two phases: instantiation of propositional structure, followed by search Unlike SATPLAN... Interleaves instantiation and pruning of plan graph Employs specialized search engine Graphplan - better instantiation SATPLAN - better search

CSE 5734 Graph Pruning Graphplan instantiates in a forward direction, pruning unreachable nodes conflicting actions are mutex if all actions that add two facts are mutex, the facts are mutex if the preconditions for an action are mutex, the action is unreachable! In logical terms: limited application of resolution where one clause is negative binary given:  P V  Q, P V R V S V... infer:  Q V R V S V...

CSE 5735 The Plan Graph Facts Actions... Facts Actions... preconditions mutually exclusive add effects delete effects

CSE 5736 The Plan Graph Facts Actions... Facts Actions... preconditions

CSE 5737 The Plan Graph Facts Actions... Facts Actions... preconditions add effects delete effects

CSE 5738 Translation of Plan Graph Fact  Act1  Act2 Act1  Pre1  Pre2 ¬Act1  ¬Act2 Act1 Act2 Fact Pre1 Pre2

CSE 5739 Improved Encodings Translations of Logistics.a: STRIPS  Axiom Schemas  SAT (Medic system, Weld et. al 1997) 3,510 variables, 16,168 clauses 24 hours to solve STRIPS  Plan Graph  SAT (Blackbox) 2,709 variables, 27,522 clauses 5 seconds to solve!

CSE Blackbox = Reachability + Satisfiability Blackbox Planner (Kautz 1997) uses the first part of Graphplan (reachability analysis) to determine which propositions to instantiate Then formula is generated (up to a bounded length K) and checked for SAT –can specify Walksat, various kinds of DP –current best: CHAFF (version DP) –can also run Graphplan on reachability graph for a few seconds to catch “easy” cases If a solution found, then model is translated back to a parallel plan Else max length K is incremented, and repeat

CSE Results: Logistics Planning > 24 hours28 seclogistics.d > 24 hours9 seclogistics.c 13 minutes7 seclogistics.b 31 minutes5 seclogistics.a 55 sec5 secrocket.b GraphplanBlackbox

CSE How Well Does it Work? 1992 – first incarnation of SATPLAN (Kautz & Selman), competitive with other planners (UCPOP) at the time 1995 – Graphplan (Blum & Furst) best planning algorithm –Constraint-satisfaction style solver, but no explicit translation to SAT –Blew everything previous out of the water! 1996 – SATPLAN with new SAT solvers (walksat+new local search heuristics, satz-rand, etc.) –competitive with Graphplan – sometimes much faster – but requires hand-written axioms 1998 – Debut of Blackbox –Generates axioms automatically from STRIPS operators –Beats Graphplan when size & cost of generating formula small compared to graph search cost –Some domains kill it by blowing up size of formula: Blocks World, “Gripper” –Overall “winners” at AIP-98 competition were all constraint-based approaches (variants of SATPLAN and Graphplan)

CSE AIPS-2000 Another planning competition at the AI and Planning Systems Conference 2000 provided a big surprise: Fastest planners were all based on A* search! Heuristics derived automatically from STRIPS encoding Issues: How to derive a search heuristic How does A* really compare with constraint- based planning (Graphplan / SATPLAN / Blackbox)?

CSE Planning as A* Search Simple formulation: State = node in search tree Action = arc in search tree Distance to goal = number of actions in plan Note: purely sequential plans (no parallelism) Search heuristic: estimate of distance to goal How to estimate? Ideas?

CSE Search Heuristics 1.Count number of false goal propositions in current state Admissible? 2.Delete all preconditions from actions, solve easy relaxed problem, use length Admissible? 3.Delete negative effects from actions, solve easier relaxed problem, use length Admissible?

CSE AIPS-2000 Planning Competition Fast-Forward (FF) Joerg Hoffmann & Bernhard Nebel (Albert-Ludwigs-University Freiburg, Germany) “Delete negative effects” heuristic Competed in fully automated track of the 2nd International Planning Systems Competition (AIPS 2000 conference in Breckenridge, CO) –Granted ``Group A distinguished performance Planning System'‘ –Schindler Award for the best performing planning system in the Miconic 10 Elevator domain AIPS 2002 – Toulouse, France Now, don’t you wish you were doing research on planning?

CSE BB vs FF problemBBFF timeflightstimeflights log-a1.20(3,4)0.08(4,0) log-b2.06(4,2)0.09(5,0) log-c3.08(4,5)0.09(6,0) log-d7.75(5,3)0.25(7,0)

CSE Hardness of Planning FF (and other state-space planners) find solutions with unbalanced use of airplanes – little opportunities for post-facto parallelization Logistics domain is actually polytime solvable if parallel plan length not considered! NP-hard to find a solution with minimum parallel length Huang, Kautz, Selman 2002 – modify STRIPS operators to force solutions to be ones that can be parallelized!

CSE Modified STRIPS Logistics (:action FLY-AIRPLANE :parameters (?airplane ?loc-from ?loc-to ?r) :precondition (and (AIRPLANE ?airplane) (AIRPORT ?loc-from) (AIRPORT ?loc-to) (at ?airplane ?loc-from) (can_use ?airplane ?r) (resource ?r)) :effect (and (not (at ?airplane ?loc-from)) (not (resource ?r)) (at ?airplane ?loc-to))) ) (:init (at package bos-po)... (resource r1) (resource r2) (resource r3) (resource r4) (can_use airplane1 r1) (can_use airplane1 r2) (can_use airplane2 r3) (can_use airplane2 r4)... ) (:goal (at package la-po)... )

CSE BB vs FF (modified logistics) problemBBFF time log-a (3,2) log-b (3,1) log-c (3,2) 9.96> 4 hours log-d (3,4) 155.1> 4 hours

CSE Coming Up Wednesday Prob(Prob) = 100% Ch 14 – Review of basic probability theory Ch 15 – start on Bayesian networks Change in schedule Only one more homework (not two), distributed Nov 28 th