Accuracy of Admissible Heuristic Functions in Selected Planning - - PowerPoint PPT Presentation

accuracy of admissible heuristic functions in selected
SMART_READER_LITE
LIVE PREVIEW

Accuracy of Admissible Heuristic Functions in Selected Planning - - PowerPoint PPT Presentation

Accuracy of Admissible Heuristic Functions in Selected Planning Domains Malte Helmert Robert Mattm uller Albert-Ludwigs-Universit at Freiburg, Germany AAAI 2008 Introduction Analyses Summary and Conclusion Outline Introduction 1


slide-1
SLIDE 1

Accuracy of Admissible Heuristic Functions in Selected Planning Domains

Malte Helmert Robert Mattm¨ uller

Albert-Ludwigs-Universit¨ at Freiburg, Germany

AAAI 2008

slide-2
SLIDE 2

Introduction Analyses Summary and Conclusion

Outline

1

Introduction

2

Analyses

3

Summary and Conclusion

slide-3
SLIDE 3

Introduction Analyses Summary and Conclusion

Motivation

Goal: Develop efficient optimal planning algorithms Subgoal: Find accurate admissible heuristics How to assess the accuracy of an admissible heuristic? Most common approach Run planners on benchmarks and count node expansions. Drawback: Only comparative statements Alternative approach Analytical comparison to optimal heuristic on benchmark domains Advantage: Absolute statements, theoretical limitations

slide-4
SLIDE 4

Introduction Analyses Summary and Conclusion

Scope of our analysis

Considered heuristics h+: optimal plan length for delete relaxation hk: cost of most costly size-k goal subset (roughly) hPDB: pattern database heuristics hPDB

add : additive pattern database heuristics

Reference point: optimal plan length h∗ Considered planning domains Gripper, Logistics, Blocksworld, Miconic-Strips, Miconic-Simple-Adl, Schedule, Satellite

slide-5
SLIDE 5

Introduction Analyses Summary and Conclusion

Domains: Gripper

initial state goal state

slide-6
SLIDE 6

Introduction Analyses Summary and Conclusion

Domains: Blocksworld

initial state goal state

slide-7
SLIDE 7

Introduction Analyses Summary and Conclusion

Domains: Miconic-Strips, Miconic-Simple-Adl

initial state goal state

slide-8
SLIDE 8

Introduction Analyses Summary and Conclusion

Asymptotic accuracy

Definition Let D be a planning domain (family of planning tasks). A heuristic h has asymptotic accuracy α ∈ [0, 1] on D iff h(s) ≥ αh∗(s) + o(h∗(s)) for all initial states s of tasks in D, and h(s) ≤ αh∗(s) + o(h∗(s)) for all initial states s of an infinite subfamily of D with unbounded h∗(s) If solution lengths in D are unbounded, there is exactly one such α for a given heuristic and domain. We write it as α(h, D).

slide-9
SLIDE 9

Introduction Analyses Summary and Conclusion

Outline

1

Introduction

2

Analyses

3

Summary and Conclusion

slide-10
SLIDE 10

Introduction Analyses Summary and Conclusion

Delete relaxation

Considered heuristics h+: optimal plan length for delete relaxation hk: cost of most costly size-k goal subset (roughly) hPDB: pattern database heuristics hPDB

add : additive pattern database heuristics

slide-11
SLIDE 11

Introduction Analyses Summary and Conclusion

Delete relaxation: Blocksworld

Example (Blocksworld) Lower bound: m = number of blocks touched in optimal plan h∗(s) ≤ 4m, h+(s) ≥ m ⇒ α(h+, Blocksworld) ≥ 1/4 Upper bound:

B1 Bn Bn+1 Bn+2 Bn+1 B1 Bn Bn+2

h∗(sn) = 4n − 2, h+(sn) = n + 1 ⇒ α(h+, Blocksworld) ≤ 1/4 α(h+, Blocksworld) = 1/4

slide-12
SLIDE 12

Introduction Analyses Summary and Conclusion

Delete relaxation: Blocksworld

Example (Blocksworld) Lower bound: m = number of blocks touched in optimal plan h∗(s) ≤ 4m, h+(s) ≥ m ⇒ α(h+, Blocksworld) ≥ 1/4 Upper bound:

B1 Bn Bn+1 Bn+2 Bn+1 B1 Bn Bn+2

h∗(sn) = 4n − 2, h+(sn) = n + 1 ⇒ α(h+, Blocksworld) ≤ 1/4 α(h+, Blocksworld) = 1/4

slide-13
SLIDE 13

Introduction Analyses Summary and Conclusion

Delete relaxation: Blocksworld

Example (Blocksworld) Lower bound: m = number of blocks touched in optimal plan h∗(s) ≤ 4m, h+(s) ≥ m ⇒ α(h+, Blocksworld) ≥ 1/4 Upper bound:

B1 Bn Bn+1 Bn+2 Bn+1 B1 Bn Bn+2

h∗(sn) = 4n − 2, h+(sn) = n + 1 ⇒ α(h+, Blocksworld) ≤ 1/4 α(h+, Blocksworld) = 1/4

slide-14
SLIDE 14

Introduction Analyses Summary and Conclusion

The hk heuristic family

Considered heuristics h+: optimal plan length for delete relaxation hk: cost of most costly size-k goal subset (roughly) hPDB: pattern database heuristics hPDB

add : additive pattern database heuristics

slide-15
SLIDE 15

Introduction Analyses Summary and Conclusion

The hk heuristic family

α(hk, D) = 0 for all considered domains Proof idea. There are families of states (sn)n∈N with h∗(sn) ∈ Ω(n) and hk(sn) ∈ O(k).

slide-16
SLIDE 16

Introduction Analyses Summary and Conclusion

The hk heuristic family

Example (Blocksworld)

B1 B2 B3

. . .

Bn B1 B2 B3

. . .

Bn

h∗(sn) = 2n − 2, hk(sn) ≤ 2k α(hk, Blocksworld) = 0

slide-17
SLIDE 17

Introduction Analyses Summary and Conclusion

Non-additive pattern database heuristics

Considered heuristics h+: optimal plan length for delete relaxation hk: cost of most costly size-k goal subset (roughly) hPDB: pattern database heuristics hPDB

add : additive pattern database heuristics

Let n be the problem size. Bounded memory: database size limit O(nk) entries Consequently: pattern size limit O(log n) variables

slide-18
SLIDE 18

Introduction Analyses Summary and Conclusion

Non-additive pattern database heuristics

α(hPDB, D) = 0 for all considered domains Proof idea. At most O(log n) variables in pattern ⇒ at most O(log n) goals represented in abstraction There are families of states (sn)n∈N with h∗(sn) ∈ Ω(n) and hPDB(sn) ∈ O(log n).

slide-19
SLIDE 19

Introduction Analyses Summary and Conclusion

Additive pattern database heuristics

Considered heuristics h+: optimal plan length for delete relaxation hk: cost of most costly size-k goal subset (roughly) hPDB: pattern database heuristics hPDB

add : additive pattern database heuristics

Let n be the problem size. Bounded memory: overall database size limit O(nk) entries Consequently: size limit O(log n) variables for each pattern

slide-20
SLIDE 20

Introduction Analyses Summary and Conclusion

Additive pattern database heuristics: Miconic-Strips

Example (Miconic-Strips) Lower bound: m passengers, singleton pattern for each passenger: h∗(s) ≤ 4m, hPDB

add (sn) = 2m

⇒ α(hPDB

add , Miconic-Strips) ≥ 1/2

Upper bound: Optimal additive PDB: {elev, pass1, . . . , passK} (K ∈ O(log n)) {passK+1}, . . . , {passn} h∗(sn) = 4n, hPDB

add (sn) = 2n + 2K

⇒ α(hPDB

add , Miconic-Strips) ≤ 1/2

α( hPDB

add , Miconic-Strips) = 1/2 f2n f2n−1 f4 f3 f2 f1 f0 init

slide-21
SLIDE 21

Introduction Analyses Summary and Conclusion

Additive pattern database heuristics: Miconic-Strips

Example (Miconic-Strips) Lower bound: m passengers, singleton pattern for each passenger: h∗(s) ≤ 4m, hPDB

add (sn) = 2m

⇒ α(hPDB

add , Miconic-Strips) ≥ 1/2

Upper bound: Optimal additive PDB: {elev, pass1, . . . , passK} (K ∈ O(log n)) {passK+1}, . . . , {passn} h∗(sn) = 4n, hPDB

add (sn) = 2n + 2K

⇒ α(hPDB

add , Miconic-Strips) ≤ 1/2

α( hPDB

add , Miconic-Strips) = 1/2 f2n f2n−1 f4 f3 f2 f1 f0 init

slide-22
SLIDE 22

Introduction Analyses Summary and Conclusion

Additive pattern database heuristics: Miconic-Strips

Example (Miconic-Strips) Lower bound: m passengers, singleton pattern for each passenger: h∗(s) ≤ 4m, hPDB

add (sn) = 2m

⇒ α(hPDB

add , Miconic-Strips) ≥ 1/2

Upper bound: Optimal additive PDB: {elev, pass1, . . . , passK} (K ∈ O(log n)) {passK+1}, . . . , {passn} h∗(sn) = 4n, hPDB

add (sn) = 2n + 2K

⇒ α(hPDB

add , Miconic-Strips) ≤ 1/2

α( hPDB

add , Miconic-Strips) = 1/2 f2n f2n−1 f4 f3 f2 f1 f0 init

slide-23
SLIDE 23

Introduction Analyses Summary and Conclusion

Outline

1

Introduction

2

Analyses

3

Summary and Conclusion

slide-24
SLIDE 24

Introduction Analyses Summary and Conclusion

Summary of results

Asymptotic accuracy Domain h+ hk hPDB hPDB

add

Gripper

2/3 2/3

Logistics

3/4 1/2

Blocksworld

1/4

Miconic-Strips

6/7 1/2

Miconic-Simple-Adl

3/4

Schedule

1/4 1/2

Satellite

1/2 1/6

slide-25
SLIDE 25

Introduction Analyses Summary and Conclusion

Summary and conclusion

Method: Analytical comparison of domain-specific accuracy

  • f the heuristics h+, hk, hPDB, hPDB

add

Results: h+: usually most accurate (but NP-hard to compute in general) hk, hPDB: arbitrarily inaccurate hPDB

add : good accuracy/effort trade-off

(but how to determine a good pattern collection?) Future work: additive hk explicit-state abstraction heuristics

slide-26
SLIDE 26

Introduction Analyses Summary and Conclusion

The end

Thank you for your attention!