Projection Global Consistency: Application in AI Planning Pavel Surynek Charles University, Prague Czech Republic.

Slides:



Advertisements
Similar presentations
3/25/2017 Chapter 16 Recursion.
Advertisements

Learning to Improve the Quality of Plans Produced by Partial-order Planners M. Afzal Upal Intelligent Agents & Multiagent Systems Lab.
The Algorithmic problems?
Encoding HTN Planning as a Dynamic CSP Pavel Surynek Charles University, Prague A First Step to Application of CP in Planning Domain.
Hierarchical Task Network (HTN) Planning Hai Hoang 4/17/2007.
Planning Module THREE: Planning, Production Systems,Expert Systems, Uncertainty Dr M M Awais.
Graphplan. Automated Planning: Introduction and Overview 2 The Dock-Worker Robots (DWR) Domain informal description: – harbour with several locations.
Constraint Based Reasoning over Mutex Relations in Graphplan Algorithm Pavel Surynek Charles University, Prague Czech Republic.
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.
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:
Maintaining Arc-consistency over Mutex Relations in Planning Graphs during Search Pavel Surynek Roman Barták Charles University, Prague Czech Republic.
Polynomial-time reductions We have seen several reductions:
Solving Difficult SAT Instances Using Greedy Clique Decomposition Pavel Surynek Faculty of.
Graph-based Planning Brian C. Williams Sept. 25 th & 30 th, J/6.834J.
Siddharth Choudhary.  Refines a visual reconstruction to produce jointly optimal 3D structure and viewing parameters  ‘bundle’ refers to the bundle.
Tractable Class of a Problem of Finding Supports Pavel Surynek Roman Barták Charles University, Prague Czech Republic.
AI – Week AI Planning – Plan Generation Algorithms: GraphPlan Lee McCluskey, room 2/09
Extending Graphplan to handle Resources Presenter: Pham Van Cuong Department of Computer Science New Mexico State University.
NP-Complete Problems Reading Material: Chapter 10 Sections 1, 2, 3, and 4 only.
NP-Complete Problems Problems in Computer Science are classified into
F INDING P LANS FOR R EARRANGING R OBOTS IN  - LIKE E NVIRONMENTS Pavel Surynek Charles University in Prague Faculty of Mathematics and Physics The Czech.
Classical Planning Chapter 10.
The Theory of NP-Completeness 1. Nondeterministic algorithms A nondeterminstic algorithm consists of phase 1: guessing phase 2: checking If the checking.
Dana Nau: Lecture slides for Automated Planning Licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License:
The Theory of NP-Completeness 1. What is NP-completeness? Consider the circuit satisfiability problem Difficult to answer the decision problem in polynomial.
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.
Compact Representations of Cooperative Path-Finding as SAT Based on Matchings in Bipartite Graphs Pavel Surynek presented by Filip Dvořák Faculty of Mathematics.
Homework 1 ( Written Portion )  Max : 75  Min : 38  Avg : 57.6  Median : 58 (77%)
State-Space Search and the STRIPS Planner Searching for a Path through a Graph of Nodes Representing World States.
Tractable Class of a Problem of Goal Satisfaction in Mutual Exclusion Network Pavel Surynek Faculty of Mathematics and Physics Charles University, Prague.
Domain-Dependent View of Multiple Robots Path Planning Pavel Surynek Charles University, Prague Czech Republic.
Making Path-Consistency Stronger for SAT Pavel Surynek Faculty of Mathematics and Physics Charles University in Prague Czech Republic.
NPC.
CMPF144 FUNDAMENTALS OF COMPUTING THEORY Module 9: The Tower of Hanoi.
COSC 3101A - Design and Analysis of Algorithms 14 NP-Completeness.
CLASSICAL PLANNING. Outline  The challenges in planning with standard search algorithm  Representing Plans – the PDDL language  Planning as state -
ICS 353: Design and Analysis of Algorithms NP-Complete Problems King Fahd University of Petroleum & Minerals Information & Computer Science Department.
The Theory of NP-Completeness
NP-Completeness (2) NP-Completeness Graphs 4/13/2018 5:22 AM x x x x x
Chapter 10 NP-Complete Problems.
Richard Anderson Lecture 26 NP-Completeness
NP-Completeness (2) NP-Completeness Graphs 7/23/ :02 PM x x x x
NP-Completeness (2) NP-Completeness Graphs 7/23/ :02 PM x x x x
NP-Completeness Proofs
Richard Anderson Lecture 26 NP-Completeness
Recursive Thinking Chapter 9 introduces the technique of recursive programming. As you have seen, recursive programming involves spotting smaller occurrences.
Chapter 4: Using NP-Completeness to Analyze Subproblems
Recursive Thinking Chapter 9 introduces the technique of recursive programming. As you have seen, recursive programming involves spotting smaller occurrences.
Class #17 – Thursday, October 27
Warm - Up Graph each equations on its own coordinate plane.
ICS 353: Design and Analysis of Algorithms
Intro to NP Completeness
NP-Completeness (2) NP-Completeness Graphs 11/23/2018 2:12 PM x x x x
Graphplan/ SATPlan Chapter
Approximation and Kernelization for Chordal Vertex Deletion
Class #19 – Monday, November 3
Approximation Algorithms
Chapter 6 Planning-Graph Techniques
Hardness Of Approximation
NP-Complete Problems.
Tower of Hanoi Algorithm
The Theory of NP-Completeness
Graphplan/ SATPlan Chapter
Graphplan/ SATPlan Chapter
An Introduction to Planning Graph
NP-Completeness (2) NP-Completeness Graphs 7/9/2019 6:12 AM x x x x x
[* based in part on slides by Jim Blythe and Dan Weld]
A Variation of Minimum Latency Problem on Path, Tree and DAG
Presentation transcript:

Projection Global Consistency: Application in AI Planning Pavel Surynek Charles University, Prague Czech Republic

Outline of the presentation Problem: select a set of non-mutex actions supporting a goal Problem: select a set of non-mutex actions supporting a goal Obstacle: NP-complete Obstacle: NP-complete (Partial) solution: global consistency - projection consistency (Partial) solution: global consistency - projection consistency Application: AI Planning using planning graphs Application: AI Planning using planning graphs Experiments: several planning domains Experiments: several planning domains CSCLP 2006 Pavel Surynek

Problem - support problem Goal = finite set of atoms Goal = finite set of atoms Action = triple (preconditions, positive effects, negative effects) Action = triple (preconditions, positive effects, negative effects) CSCLP 2006 Pavel Surynek Goal: A1 A2 A3 A4 A5 A6 A7 A8 A9 A10 A11 A12 x atom 1 atom 2 atom 3atom 4 supports for atom 1 supports for atom 2 supports for atom 3 supports for atom 4 x x x x x x x A1 A2 A3 A4 A6 A9 A8 A10 A11 A12 A5 A7  solution - mutex free

Mutex actions CSCLP 2006 Pavel Surynek  (two) actions load(small_truck,box1) load(big_truck,box2) are independent  ( two) actions load(small_truck,box1) load(big_truck,box1) are dependent example of action example of action –load(small_truck, box1) = ({empty(truck), on(bottom, box1)}; {loaded(box1, truck)}; {¬empty(truck), ¬on(bottom, box1)}) generalized dependency = mutex generalized dependency = mutex

Obstacle - NP completeness Instance: Instance: –goal augmented with finite sets of supporting actions –finite set of mutexes between actions Answer: Answer: –set of non-mutex actions supporting the goal NP-complete NP-complete –SAT instance in CNF ►►► support problem CSCLP 2006 Pavel Surynek

Projection consistency Interpret support problem as a graph Interpret support problem as a graph Greedily find (vertex disjoint) cliques ►►► Greedily find (vertex disjoint) cliques ►►► ►►► clique decomposition ►►► clique decomposition At most one action from each clique can be selected At most one action from each clique can be selected CSCLP 2006 Pavel Surynek  a real support problem  Trucks, Cranes, Locations

Counting argument Clique decomposition C 1, C 2,..., C k Clique decomposition C 1, C 2,..., C k Contribution of an action a Contribution of an action a c(a) = number of supported atoms Contribution of a clique C Contribution of a clique C c(C) = max a  C c(a) Counting argument (simplest form) Counting argument (simplest form) if ∑ i=1...k c(C i ) < size of the goal ►►► ►►► the goal is unsatisfiable Generalized form = projection consistency Generalized form = projection consistency – w.r.t. sub-goals and singleton approach CSCLP 2006 Pavel Surynek

Application: AI Planning Planning problem Planning problem – Initial state: set of atoms – Set of allowed actions – Goal: set of atoms (literals) Task Task – determine a sequence of actions transforming initial state to the goal Solution: planning graphs and GraphPlan algorithm (Blum & Furst, 1997) - support problem arise as a frequent sub-problem Solution: planning graphs and GraphPlan algorithm (Blum & Furst, 1997) - support problem arise as a frequent sub-problem CSCLP 2006 Pavel Surynek location B location C location A 5 6 location D location E location F location B location C location A 5 location D location E location F

Experiments: towers of Hanoi CSCLP 2006 Pavel Surynek  Original puzzle (3 pegs, 4 discs, and 1 hand)  Our generalization (more pegs, discs, and hands)

Experiments: DWR CSCLP 2006 Pavel Surynek  Locations with several places for stacks of boxes and with several cranes  Each crane can reach some stacks within location (not all)  Trucks of various capacities (small - 1 box, big - 2 boxes)

Experiments: Refueling planes CSCLP 2006 Pavel Surynek distance X distance Y distance Z  Several planes dislocated at several airports  Transport a fleet of planes at destination airport  Airport - unlimited source of fuel, planes can refuel in-flight

Experiments: Results CSCLP 2006 Pavel Surynek  Significant improvements on problems with high action parallelism (Dock Worker Robots, Refueling Planes, Hanoi Towers with more hands)

Conclusions Improvement of the GraphPlan algorithm – –Better method for finding mutex free set of actions supporting a goal – –We use projection consistency Experimental evaluation – –Projection consistency especially successful on problems with high action parallelism CSCLP 2006 Pavel Surynek