Download presentation
Presentation is loading. Please wait.
Published byDelphia Reed Modified over 8 years ago
1
Graphplan CSE 574 April 4, 2003 Dan Weld
2
Schedule BASICS Intro Graphplan SATplan State-space Refinement SPEEDUP EBL & DDB Heuristic Gen TEMPORAL Partial-O Graphplan Forward- chaining Stochastic Linear prog
3
Graphplan Review Expand plan graph Derive mutex relationships If goals are present & consistent search for a solution
4
The Plan Graph … … … level 0level 2level 4level 6 level 1level 3level 5
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
6
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
7
Searching for a solution If goals are present & non-mutex: Choose action to achieve each goal Add preconditions to next goal set
8
Wrinkles Forward checking Memoization Consider only minimal {a} achieving G
9
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
10
Experiments Fairness Different machines, languages Testing what? Using what? “Natural domains” Artifical Domains Conclusions (no ablation) Effect of mutex, parallelism, memoizing, preproc
11
Flaws? When / why does GP perform poorly? (figs 6-8) Independent goals?
12
Optimality Does GP generate optimal plans in any sense? Could it be made to do so?
13
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
14
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
15
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
16
Observation 3 Proposition mutex relationships monotonically decrease pqr…pqr… A pqr…pqr… pqr…pqr…
17
Observation 4 Action mutex relationships monotonically decrease pq…pq… B pqrs…pqrs… pqrs…pqrs… A C B C A pqrs…pqrs… B C A
18
New Representation Propositions Actions pqrs…pqrs… ABCD…ABCD… 0 2 4 4 1 3 3 5
19
Mutex Relationships pqrs…pqrs… ABCD…ABCD… 0 2 4 4 1 3 3 5 7 8 Propositions Actions
20
Plan Graph pqrs…pqrs… ABCD…ABCD… 0 2 4 4 1 3 3 5 7 6 Props & actions: start level start time Mutex relations: end level end time
21
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 ?
22
Expressive Languages 1 Negated preconditions Disjunctive preconditions Universally quantified preconditions, effects Conditional effects
23
Negated Preconditions Graph expansion P, P mutex Action deleting P must add P at next level Solution extraction
24
Disjunctive Preconditions Convert precondition to DNF Disjunction of conjunctions Graph expansion Add action if any disjunct is present, nonmutex Solution extraction Consider all disjuncts
25
Universal Quantification Graph Expansion Solution Extraction
26
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?
27
Conditional Effects
28
Full Expansion in-keys in-pay
29
Comments?
30
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
31
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
32
Induced Mutex
33
Revised Backchaining Confrontation Subgoaling on negation of something
Similar presentations
© 2024 SlidePlayer.com Inc.
All rights reserved.