Optimality Properties of Planning via Petri Net Unfolding: A Formal Analysis Sebastian Sardina and Sarah Hickmott RMIT University Australia

ICAPS 2009

1 / 18

Planning via Directed Unfolding 1. Forward search partial order planning STRIPS, SAS+ Synthesizes a partially ordered plan hA, ≺i E.g. π = h { o1, o2, o3 }, {o1 < o3} i True concurrency semantics

2 / 18

Planning via Directed Unfolding 1. Forward search partial order planning STRIPS, SAS+ Synthesizes a partially ordered plan hA, ≺i E.g. π = h { o1, o2, o3 }, {o1 < o3} i True concurrency semantics 2. Advantages: Explicit concurrency and causal relations =⇒ decomposition Notion of a state =⇒ state-based heuristics to guide and prune Parallel plans =⇒ “faster and more flexible”

2 / 18

Planning via Directed Unfolding 1. Forward search partial order planning STRIPS, SAS+ Synthesizes a partially ordered plan hA, ≺i E.g. π = h { o1, o2, o3 }, {o1 < o3} i True concurrency semantics 2. Advantages: Explicit concurrency and causal relations =⇒ decomposition Notion of a state =⇒ state-based heuristics to guide and prune Parallel plans =⇒ “faster and more flexible” 3. However: Lack understanding of the partial order semantics accounted by: solution space; plans generated. ∴ How concurrent are the plans obtained by this approach? 2 / 18

Talk Overview

Planning Via Unfolding

1. What it is 2. Concurrency Semantics 3. Optimality properties wrt flexibility and execution time

3 / 18

1. Cast to Petri net executability problem ¬closed

I

Variable-value assignments → Places (circles)

I

Operators → Transitions (boxes)

I

State → Tokens (dots)

I

Goal transition tg

I

Example shut-door = h {}, {closed} i heater-on = h { ¬on }, {on} i

shut1

¬on

shut2

heater-on

on

closed

tg

4 / 18

2. Unfold Petri net to find tg I

Exact reachability analysis

I

Preserves and exploits causal relations in the Petri net structure

I

Unrolls the space of parallel plans captured by the Petri net

¬closed

¬on

shut1

heater-on on

closed

I

Directed Unfolding: Value function + planning heuristics Prune and guide toward solution plan

shut2 closed’

tg

tg ’

5 / 18

Concurrency Semantics

1. What is the concurrency semantics of plans synthesised using this approach? What are the restrictions on two actions executing concurrently? 2. How does it compare to the standard notion of concurrency induced by Smith and Weld’s [1999] definition of independent actions?

6 / 18

Independent Actions Two actions are independent iff 1. Their effects don’t contradict 2. Their preconditions don’t contradict 3. The preconditions for one aren’t clobbered by the effect of the other.

Example have-cake = h {cake}, {} i

eat-cake = h {}, {¬cake} i

By restriction 3, not independent actions

7 / 18

Independent Actions Two actions are independent iff 1. Their effects don’t contradict 2. Their preconditions don’t contradict 3. The preconditions for one aren’t clobbered by the effect of the other.

Example have-cake = h {cake}, {} i

eat-cake = h {}, {¬cake} i

By restriction 3, not independent actions

A plan respects independence iff for any two non-independent actions a and b the plan ensures that either a < b or b < a.

7 / 18

Strongly Independent Actions Two actions are strongly independent in state S iff 1. They are independent 2. Any common postcondition already holds true in state S.

Example set-x = h { }, {x} i,

set-all = h { }, { x, y, z} i

Strongly independent in state S = hx, . . .i Not strongly independent in state S 0 = h¬x, . . .i

8 / 18

Strongly Independent Actions Two actions are strongly independent in state S iff 1. They are independent 2. Any common postcondition already holds true in state S.

Example set-x = h { }, {x} i,

set-all = h { }, { x, y, z} i

Strongly independent in state S = hx, . . .i Not strongly independent in state S 0 = h¬x, . . .i A plan respects strong independence iff at any possible state S during plan execution all possible concurrent actions are strongly independent in S. Related to locks/monitors; read/write access [Hoare 1974] Reduces to independence if original operators are toggling 8 / 18

Unfolding Generates Strongly Independent Plan Theorem A plan generated via unfolding respects strong independence for the initial state of the planning problem. I

But any totally ordered plan will respect strong independence...

9 / 18

Unfolding Generates Strongly Independent Plan Theorem A plan generated via unfolding respects strong independence for the initial state of the planning problem. I

But any totally ordered plan will respect strong independence... Take-home message:

I

Planning via unfolding “conforms” to the strong independence notion of concurrency

I

If the original operators are toggling, then it “conforms” to independence notion of concurrency

9 / 18

Plan Flexibility

Partially-ordered plans are in principle more flexible in that they may avoid over-committing to action orderings I

Scheduler can have alternative execution realizations to choose from e.g. Need to post-process or adapt a plan for actions with deadlines and earliest release times

I

Execution time may be reduced when actions can be executed in parallel

10 / 18

Plan validity w.r.t. Strong Independence

A partially ordered plan π is P-valid for planning problem P iff I

All linearizations of π solve P, and

I

π respects strong independence for the initial state of P.

11 / 18

Plan De/reordering Can we remove (deorder) or change (reorder) the constraints from a plan synthesized via the unfolding approach?

catch-train < cook-dinner < eat-dinner < read-paper

⇓ deorder - remove constraints

catch-train < cook-dinner < {eat-dinner, read-paper}

12 / 18

Plan De/reordering Can we remove (deorder) or change (reorder) the constraints from a plan synthesized via the unfolding approach?

catch-train < cook-dinner < eat-dinner < read-paper

⇓ deorder - remove constraints

catch-train < cook-dinner < {eat-dinner, read-paper}

m reorder - change constraints

{catch-train, read paper} < cook-dinner < eat-dinner 12 / 18

Minimal De/re-ordering Consider plan π which is P-valid: I

π is a minimal de/re-ordering wrt flexibility if you can’t de/re-order it to reduce the number of constraints and retain P-validity.

I

π is a minimal de/re-ordering wrt execution time if you can’t de/re-order it to reduce the execution time and retain P-validity.

[Backstrom 1998] gave similar definitions in the context of plans which respect independence.

13 / 18

Optimality Guarantees (1/2) Theorem Any plan synthesized via the unfolding approach is a minimal deordering wrt flexibility. I I

i.e No constraint can be removed without rendering the plan invalid. A minimal deordering wrt flexibility ⇒ a minimal deordering wrt execution time.

14 / 18

Optimality Guarantees (1/2) Theorem Any plan synthesized via the unfolding approach is a minimal deordering wrt flexibility. I I

i.e No constraint can be removed without rendering the plan invalid. A minimal deordering wrt flexibility ⇒ a minimal deordering wrt execution time.

Theorem All solution plans which are minimally deordered wrt flexibility exist in the unfolding space. I

These results extend to all plans in the unfolding space (not necessarily solutions) i.e. planning via unfolding “conforms” to strong independence 14 / 18

Optimality Guarantees (2/2)

Theorem If the unfolding is directed to prefer faster plans, then the plan synthesized is a minimal reordering wrt execution time. I

Reordering a plan to be optimal wrt execution time is (still) NP-hard in the context of strong independence requirements.

In fact the stronger result is proven: I

Plan which is optimal among all minimal reorderings wrt time.

I

Can not make a faster plan by changing the actions

15 / 18

In Summary I

If the original operators are toggling then the unfolding space consists of plans which conform to independence. Plan(s) with minimum makespan, as defined by Smith and Weld [1999], exist in the unfolding space and can be obtained using an appropriate search procedure.

16 / 18

In Summary I

If the original operators are toggling then the unfolding space consists of plans which conform to independence. Plan(s) with minimum makespan, as defined by Smith and Weld [1999], exist in the unfolding space and can be obtained using an appropriate search procedure.

I

If the original operators are not toggling, then the unfolding space consists of plans which conform to strong independence. Stronger restrictions on concurrent execution than independence Analogous to kind of concurrency captured by monitors for thread synchronisation.

16 / 18

References

[Backstrom 1998 ] Backstrom, C. 1998. Computational aspects of reordering plans. Journal of Artificial Intelligence Research 9:99137. [Hoare 1974 ] Hoare, C. A. 1974. Monitors: an operating system structuring concept. Communications of the ACM 17(10):549557.

17 / 18

Optimality Properties of Planning via Petri Net Unfolding - CiteSeerX

Talk Overview. Planning Via Unfolding. 1. What it is. 2. Concurrency Semantics. 3. Optimality properties wrt flexibility and execution time. 3 / 18 ...

104KB Sizes 0 Downloads 284 Views

Recommend Documents

Optimality Properties of Planning via Petri Net Unfolding - CiteSeerX
Unfolding: A Formal Analysis ... Exact reachability analysis. ▻ Preserves and ... induced by Smith and Weld's [1999] definition of independent actions? 6 / 18 ...

Higher-order Petri net modelling - techniques and ... - CiteSeerX
Methods as part of the 23rd International Conference on the Ap- plication and .... We call places that ... Figure 4: A somewhat roundabout way to add 2 and. 3. (B).

Regular Simplex Fingerprints and Their Optimality ... - CiteSeerX
1 Coordinated Science Laboratory, Dept. of Electrical and Computer Engineering,. University .... We shall call this detector focused, because it decides whether a particular user ..... dimension through the center of ABCD so that EA = EB = EC =.

Regular Simplex Fingerprints and Their Optimality ... - CiteSeerX
The worst-case probability of false alarm PF is equal to 1. The threshold τ trades off ... 1. D. Boneh and J. Shaw. Collusion-secure fingerprinting for digital data.

Applying an Object-Oriented Petri Net Language to Heterogeneous ...
heterogeneous systems which are comprised of components with different ... A heterogeneous system is a complex entity made up from subsystems with ...

Applying an Object-Oriented Petri Net Language to ...
Computer Engineering and Networks Laboratory. Swiss Federal .... Recently there have been attempts to combine the structuring techniques of object-oriented programming .... mechanical components with a very high degree of concurrency.

Higher-order Petri net modelling - techniques and ...
current systems, but in their basic form they lack any notion of ..... The design-spaces of many systems are just too big to .... file or a database. This is a very ...

Design Patterns in Petri Net System Modeling
for systems modeling and simulation, but its use in the en- gineering community is not ..... be pointed out that patterns are a more general concept. The structural ...

Regular Simplex Fingerprints and Their Optimality Properties - UIUC-IFP
Abstract. This paper addresses the design of additive fingerprints that are maximally resilient against Gaussian averaging collusion attacks. The detector ...

Introduction to Scenario Planning - CiteSeerX
ios—perhaps, however, with a jaundiced view (O'Brien, 2004) through ... and contract between the funding system, arts providers and the public. 11 .... resulting scenarios, strayed very far from the immediate operating environment.

1 Dispersive Properties of Numerical Schemes for ... - CiteSeerX
Keel, M. and Tao, T., (1998). Endpoint Strichartz estimates, Am. J. Math., ... Methods for Or- dinary and Partial Differential Equations, http://web.comlab.ox.ac.uk.

Charge transport and thermal properties of polyindole ... - CiteSeerX
... +91 452 245 9181. E-mail address: [email protected] (R. Saraswathi). ...... [34] M.A.S. Abdou, S. Holdcroft, in: H.S. Nalwa (Ed.), Handbook of. Organic ...

Curious Properties of j-Function Formulas By Titus Piezas ... - CiteSeerX
Jun 15, 2006 - I. Introduction. II. Other Formulas for the j-function: prime order n = 2,3,5,7,13. III. ..... following seven observations, just empirical data. If you can ...

1 Dispersive Properties of Numerical Schemes for ... - CiteSeerX
alternate schemes preserve the dispersion properties of the continuous model. ... the fact that classical energy methods fail, using these dispersion prop- erties, the numerical solutions of the semi-discrete nonlinear problems are proved to ...

Curious Properties of j-Function Formulas By Titus Piezas ... - CiteSeerX
Jun 15, 2006 - quintics, other one-parameter forms, and the j -function” by this author) while S7, after scaling, appears in ..... I've always been meaning to email him that there might be a ... www.geocities.com/titus_piezas/ramanujan.html.

Agent Programming via Planning Programs
May 12, 2009 - Possibly non-terminating. • Atomic instructions: requests to “achieve goal φ while maintaining goal ψ”. • Meant to run in a dynamic domain: the ...

Wireless Network Coding via Modified 802.11 MAC/PHY - CiteSeerX
Quality of Service (QoS). Cross-layer approaches that seek to optimize aggregate network throughput based on adapting parameters from the physical or MAC layers have proven to be effective in this regard. Recently, Network Coding. (NC) has attracted

Agglomerative Mean-Shift Clustering via Query Set ... - CiteSeerX
To find the clusters of a data set sampled from a certain unknown distribution is important in many machine learning and data mining applications. Probability.

Lending Petri Nets
May 23, 2015 - Introduction. Service-oriented computing (SOC) and cloud computing technologies foster the ... 09124 Cagliari (Italy), e-mail: [email protected].

Mining Search Engine Query Logs via Suggestion Sampling - CiteSeerX
and notice is given that copying is by permission of the Very Large Data .... The performance of suggestion sampling and mining is measured ...... Estimating the efficiency of backtrack programs. Mathematics of Computation, 29(129):121–136,.

Agglomerative Mean-Shift Clustering via Query Set ... - CiteSeerX
learning and data mining applications. Probability ..... Figure 1: Illustration of iterative query set compression working mechanism on a 2D toy dataset. See text for the ..... MS and LSH-MS, lies in that it is free of parameter tuning, hence is more