local search techniques for temporal planning in lpg

23
Local Search Techniques for Temporal Planning in LPG Paper by Gerevini, Serina, Saetti, Spinoni Presented by Alex

Upload: cyma

Post on 05-Jan-2016

16 views

Category:

Documents


0 download

DESCRIPTION

Local Search Techniques for Temporal Planning in LPG. Paper by Gerevini, Serina, Saetti, Spinoni Presented by Alex. Overview of Problem. What problem are they solving? Temporal planning (duh) More specifically? What kinds of action restrictions?. Overview of Techniques. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Local Search Techniques for Temporal Planning in LPG

Local Search Techniques for Temporal Planning in LPG

Paper by Gerevini, Serina, Saetti, Spinoni

Presented by Alex

Page 2: Local Search Techniques for Temporal Planning in LPG

Overview of Problem

• What problem are they solving?– Temporal planning (duh)– More specifically? What kinds of action

restrictions?

Page 3: Local Search Techniques for Temporal Planning in LPG

Overview of Techniques

• In general, what techniques do they use?– Local search, variation of Walksat– Mix of Graphplan and POP– Complicated heuristics

Page 4: Local Search Techniques for Temporal Planning in LPG

Outline

• Search Space

• Local search and heuristics– Search operators– Various cost metrics

• Experiments

Page 5: Local Search Techniques for Temporal Planning in LPG

Search Space

• What is an A-graph?

• Noop propagation– What is it?– Why is it important?

Page 6: Local Search Techniques for Temporal Planning in LPG

LA-graphs

• Same thing, except …– One non-noop per layer

Page 7: Local Search Techniques for Temporal Planning in LPG

And TA-graphs

• What is a TA-graph?– Triple (LA-graph, Time-assign’t, Ordering Cs)

• What do the time assignments represent?– Earliest time a fact can become true– Earliest time an action can finish executing

Page 8: Local Search Techniques for Temporal Planning in LPG

Example TA-Graph

Page 9: Local Search Techniques for Temporal Planning in LPG

How does it fit into Graphplan?

• Only permanent action mutexes – meaning?

• What good are action mutexes in an LA-graph?

• How much of Graphplan is left?

Page 10: Local Search Techniques for Temporal Planning in LPG

POP & LPG

• POP• Threats

– Promotion

– Demotion

• Causal Link• Least Commitment

• LPG• Mutexes

– LA-graph ordering

• Action-Effect edge• Topological Sort (as

opposed to total order of LA-graph)

Page 11: Local Search Techniques for Temporal Planning in LPG

Solution State

• What constraints does a TA-graph have to obey to be a solution?– Logical constraints (are goals and action

preconditions satisfied)– Temporal/Ordering constraints

• Time assign’ts consistent with orderings

• Ordering constraints imply mutex actions don’t co-occur

Page 12: Local Search Techniques for Temporal Planning in LPG

Local Search: Operators

• Every search operator fixes an “inconsistency” in the partial plan– What kinds of inconsistencies are there?

• How do you fix inconsistencies?

Page 13: Local Search Techniques for Temporal Planning in LPG

TA-graph, again

Page 14: Local Search Techniques for Temporal Planning in LPG

TA-graph with added node

Page 15: Local Search Techniques for Temporal Planning in LPG

Local Search: Walksat

• Proposition with k clauses and n variables – With probability p, pick a variable at random

from an unsatisfied clause and flip its value– With prob. 1-p, flip value of variable that

maximizes number of satisfied clauses

Page 16: Local Search Techniques for Temporal Planning in LPG

WalkPlan

• For a given inconsistency, if there is a move that increases plan quality, do it.

• Otherwise, – with probability p, pick a move at random– With probability 1-p, pick best move

• Do random restarts after too many moves

Page 17: Local Search Techniques for Temporal Planning in LPG

Questions about WalkPlan

• How do they pick the inconsistency to fix?

• Why do they change the Walksat algorithm?

• Where do they start search after a random restart?

Page 18: Local Search Techniques for Temporal Planning in LPG

Heuristics

E(a) = b * Execution_Cost(a) +

c * Temporal_Cost(a) +

d * Search_Cost(a)

Page 19: Local Search Techniques for Temporal Planning in LPG

Relaxed Plan

• When adding (or removing) action a, find relaxed plan for unsupported preconditions of a (or the preconditions that used to be supported by a, if removing a).

• In what way(s) is it relaxed?

Page 20: Local Search Techniques for Temporal Planning in LPG
Page 21: Local Search Techniques for Temporal Planning in LPG

Experiments

• Impressive, no?

• Are there any criticisms? caveats?– Is it fair to compare separately along the time

and quality axes? I.e., is a quickly-generated but very crappy plan better than a more slowly-generated but decent plan?

Page 22: Local Search Techniques for Temporal Planning in LPG

Comments

Too much low-level detail (code)

Why the spikes in the graphs?

Page 23: Local Search Techniques for Temporal Planning in LPG

Future Work

Gplan, TabuPlan, …

Add learning, or dynamically change heuristics

More expressive temporal action language

Handle Universally Quantified Effects