Bounded Suboptimal Path Planning with Compressed Path Databases - - PowerPoint PPT Presentation

bounded suboptimal path planning with compressed path
SMART_READER_LITE
LIVE PREVIEW

Bounded Suboptimal Path Planning with Compressed Path Databases - - PowerPoint PPT Presentation

Bounded Suboptimal Path Planning with Compressed Path Databases Shizhe Zhao 1 , Mattia Chiari 2 , Adi Botea 3 , Alfonso E. Gerevini 2 , Daniel Harabor 1 , Alessandro Saetti 2 , Peter J. Stuckey 1 1 Monash University, 2 University of Brescia, 3


slide-1
SLIDE 1

Bounded Suboptimal Path Planning with Compressed Path Databases

Shizhe Zhao1, Mattia Chiari2, Adi Botea3, Alfonso E. Gerevini2, Daniel Harabor1, Alessandro Saetti2, Peter J. Stuckey1

1Monash University, 2University of Brescia, 3Eaton Zhao, S., Chiari, M., Botea, A., Gerevini, A. E., Harabor, D., Saetti, A., & Stuckey, P. J.

slide-2
SLIDE 2

Intro: the problem

We study the shortest path problem, where the graph is: Two-dimensional grid map Each cell has up to 8 neighbors:

four straights (N, S, W, E) four diagonals (NW, NE, SW, SE)

No corner cutting

Zhao, S., Chiari, M., Botea, A., Gerevini, A. E., Harabor, D., Saetti, A., & Stuckey, P. J.

slide-3
SLIDE 3

Intro: the problem

We study the shortest path problem, where the graph is: Two-dimensional grid map Each cell has up to 8 neighbors:

four straights (N, S, W, E) four diagonals (NW, NE, SW, SE)

No corner cutting

Zhao, S., Chiari, M., Botea, A., Gerevini, A. E., Harabor, D., Saetti, A., & Stuckey, P. J.

slide-4
SLIDE 4

Intro: the problem

We study the shortest path problem, where the graph is: Two-dimensional grid map Each cell has up to 8 neighbors:

four straights (N, S, W, E) four diagonals (NW, NE, SW, SE)

No corner cutting X s X

Zhao, S., Chiari, M., Botea, A., Gerevini, A. E., Harabor, D., Saetti, A., & Stuckey, P. J.

slide-5
SLIDE 5

Intro: what are CPDs (Compress Path Databases)?

Compress First move matrix by: RLE, h-symbol

Precompute all-pair first moves: O(n2) Compress: ≪ O(n2) Search-free path extraction

Zhao, S., Chiari, M., Botea, A., Gerevini, A. E., Harabor, D., Saetti, A., & Stuckey, P. J.

slide-6
SLIDE 6

Contribution: Bounded suboptimal CPD

Motivation: Existing approaches have achieved good compression and hard to improve. Trade-off between space and suboptimality. Idea: For each node, only store first-move data for a subset of grid nodes C, called centroid

First-move matrix: N × N → N × |C|

Each node i belongs to a centroid C(i) Centroid path (cp for short) cp(s, t) = shortestPath(s, C(t)) + +shortestPath(C(t), t) Bounded suboptimal: |t, C(t)| ≤ δ

Zhao, S., Chiari, M., Botea, A., Gerevini, A. E., Harabor, D., Saetti, A., & Stuckey, P. J.

slide-7
SLIDE 7

How to compute centroids?

let δ = 3 S1: d(ci, cj) ≤ 2δ S2: generate centroids on ”borders” δ ≤ d(ci, cj) ≤ 2δ |Ci| ≥ δ

2

thus i ≤ 2V

δ Zhao, S., Chiari, M., Botea, A., Gerevini, A. E., Harabor, D., Saetti, A., & Stuckey, P. J.

slide-8
SLIDE 8

How to compute centroids?

A C B D E

let δ = 3 S1: d(ci, cj) ≤ 2δ S2: generate centroids on ”borders” δ ≤ d(ci, cj) ≤ 2δ |Ci| ≥ δ

2

thus i ≤ 2V

δ Zhao, S., Chiari, M., Botea, A., Gerevini, A. E., Harabor, D., Saetti, A., & Stuckey, P. J.

slide-9
SLIDE 9

How to compute centroids?

A g g g g h h H G g g h h g g C h i i g j j j h I i j J j i i B j j j f j e D f f e e e F f f e e e E

let δ = 3 S1: d(ci, cj) ≤ 2δ S2: generate centroids on ”borders” δ ≤ d(ci, cj) ≤ 2δ |Ci| ≥ δ

2

thus i ≤ 2V

δ Zhao, S., Chiari, M., Botea, A., Gerevini, A. E., Harabor, D., Saetti, A., & Stuckey, P. J.

slide-10
SLIDE 10

How to compute centroids?

A g g g g h h H G g g h h g g C h i i g j j j h I i j J j i i B j j j f j e D f f e e e F f f e e e E

let δ = 3 S1: d(ci, cj) ≤ 2δ S2: generate centroids on ”borders” δ ≤ d(ci, cj) ≤ 2δ |Ci| ≥ δ

2

thus i ≤ 2V

δ Zhao, S., Chiari, M., Botea, A., Gerevini, A. E., Harabor, D., Saetti, A., & Stuckey, P. J.

slide-11
SLIDE 11

How to compute centroids?

A g g g g h h H G g g h h g g C h i i g j j j h I i j J j i i B j j j f j e D f f e e e F f f e e e E

let δ = 3 S1: d(ci, cj) ≤ 2δ S2: generate centroids on ”borders” δ ≤ d(ci, cj) ≤ 2δ |Ci| ≥ δ

2

thus i ≤ 2V

δ Zhao, S., Chiari, M., Botea, A., Gerevini, A. E., Harabor, D., Saetti, A., & Stuckey, P. J.

slide-12
SLIDE 12

How to compute centroids?

A g g g g h h H G g g h h g g C h i i g j j j h I i j J j i i B j j j f j e D f f e e e F f f e e e E

let δ = 3 S1: d(ci, cj) ≤ 2δ S2: generate centroids on ”borders” δ ≤ d(ci, cj) ≤ 2δ |Ci| ≥ δ

2

thus i ≤ 2V

δ Zhao, S., Chiari, M., Botea, A., Gerevini, A. E., Harabor, D., Saetti, A., & Stuckey, P. J.

slide-13
SLIDE 13

Optimizations: Reverse CPD

Original CPD (forward): T(i, j) - the first move from i to j; Reverse CPD: T ′(i, j) - the first move from j to i; Advantages of reverse-CPD: get more space reduction from the centroids idea faster path extraction

Zhao, S., Chiari, M., Botea, A., Gerevini, A. E., Harabor, D., Saetti, A., & Stuckey, P. J.

slide-14
SLIDE 14

Optimizations: Reverse CPD

Advantages of reverse-CPD: get more space reduction from the centroids idea faster path extraction Forward: 16, 10 (with centroids) a b c d 5 3 4 1 2 8 6 7 5 3 4 1 2 8 6 7 Reverse runs: 31, 9 (with centroids) ad bc 5 3 4 1 2 8 6 7 5 3 4 1 2 8 6 7 C = {2, 5} Path: (2, 3, 4, 7, 5)

Zhao, S., Chiari, M., Botea, A., Gerevini, A. E., Harabor, D., Saetti, A., & Stuckey, P. J.

slide-15
SLIDE 15

Optimizations: encode ”illegal”Moves

t S

S,SW S,SW SW

S

S,SW SW W,SW

S SW W,SW W,SW → t SW S,SW S,SW SW SW S,SW SW W,SW SW SW W,SW W,SW Encoding S to SW allows us to compress the rectangle region to SW . When look-up column-3 symbols, we know SW is illegal, thus we can decode it to a valid move S.

Zhao, S., Chiari, M., Botea, A., Gerevini, A. E., Harabor, D., Saetti, A., & Stuckey, P. J.

slide-16
SLIDE 16

Experiment: Set up

Benchmark GPPC 2012: 105 game maps δ = 0, 2, 4, 8, 16, 32, 64 Notation

Forward Centroid-CPD: fwdδ Reverse Centroid-CPD: revδ Full CPD (competitor): fwd0

Evaluation: size reduction ratio - |fwd0|

|revδ| or |fwd0| |fwdδ|

Zhao, S., Chiari, M., Botea, A., Gerevini, A. E., Harabor, D., Saetti, A., & Stuckey, P. J.

slide-17
SLIDE 17

Experiment: Result (reduction)

Size reduction ratio:

|fwd0| |revδ| or |fwd0| |fwdδ|

Zhao, S., Chiari, M., Botea, A., Gerevini, A. E., Harabor, D., Saetti, A., & Stuckey, P. J.

slide-18
SLIDE 18

Experiment: Result (speed up)

Speed up ratio:

Time(fwd0) Time(revδ) or Time(fwd0) Time(fwdδ)

mean min 25% 50% 75% max rev16 1.839 0.061 1.311 1.747 2.162 235.606 rev32 1.738 0.031 1.194 1.666 2.091 229.882 rev64 1.580 0.008 0.998 1.490 1.953 207.992 fwd16 1.209 0.013 1.038 1.125 1.312 175.824 fwd32 1.233 0.033 1.041 1.144 1.355 163.937 fwd64 1.230 0.012 1.013 1.139 1.389 184.361

The speedup decreases as the compression increases due to overheads from checking the heuristic direct path in centroid-region. Zhao, S., Chiari, M., Botea, A., Gerevini, A. E., Harabor, D., Saetti, A., & Stuckey, P. J.

slide-19
SLIDE 19

Conclusion and Future Work

Reverse CPDs shrink more aggressively, eventually overpassing forward CPDs Reverse CPDs are faster on path extraction In future work:

Improve the compression of reverse CPD Use suboptimal-CPD as an admissible heuristic in search

Zhao, S., Chiari, M., Botea, A., Gerevini, A. E., Harabor, D., Saetti, A., & Stuckey, P. J.