bounded suboptimal path planning with compressed path
play

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


  1. 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 Eaton Zhao, S., Chiari, M., Botea, A., Gerevini, A. E., Harabor, D., Saetti, A., & Stuckey, P. J.

  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.

  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.

  4. Intro: the problem We study the shortest path problem, where the graph is: Two-dimensional grid map X Each cell has up to 8 neighbors: s four straights ( N, S, W, E ) four diagonals ( NW, NE, SW, SE ) X No corner cutting Zhao, S., Chiari, M., Botea, A., Gerevini, A. E., Harabor, D., Saetti, A., & Stuckey, P. J.

  5. Intro: what are CPDs (Compress Path Databases)? Precompute all-pair first moves: O ( n 2 ) ⇓ Compress: ≪ O ( n 2 ) Search-free path extraction Compress First move matrix by: RLE, h-symbol Zhao, S., Chiari, M., Botea, A., Gerevini, A. E., Harabor, D., Saetti, A., & Stuckey, P. J.

  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.

  7. How to compute centroids? let δ = 3 S1: d ( c i , c j ) ≤ 2 δ S2: generate centroids on ”borders” δ ≤ d ( c i , c j ) ≤ 2 δ | C i | ≥ δ 2 thus i ≤ 2 V δ Zhao, S., Chiari, M., Botea, A., Gerevini, A. E., Harabor, D., Saetti, A., & Stuckey, P. J.

  8. How to compute centroids? A C let δ = 3 S1: d ( c i , c j ) ≤ 2 δ S2: generate centroids on ”borders” B δ ≤ d ( c i , c j ) ≤ 2 δ | C i | ≥ δ D 2 thus i ≤ 2 V δ E Zhao, S., Chiari, M., Botea, A., Gerevini, A. E., Harabor, D., Saetti, A., & Stuckey, P. J.

  9. How to compute centroids? g g g g h h A H g g G h h g g h C let δ = 3 S1: d ( c i , c j ) ≤ 2 δ g j j j i i h S2: generate centroids on j j I i J ”borders” j j j i i B δ ≤ d ( c i , c j ) ≤ 2 δ | C i | ≥ δ e j f D 2 thus i ≤ 2 V δ e e e f f e e e F f f E Zhao, S., Chiari, M., Botea, A., Gerevini, A. E., Harabor, D., Saetti, A., & Stuckey, P. J.

  10. How to compute centroids? g g g g h h A H g g G h h g g h C let δ = 3 S1: d ( c i , c j ) ≤ 2 δ g j j j i i h S2: generate centroids on j j I i J ”borders” j j j i i B δ ≤ d ( c i , c j ) ≤ 2 δ | C i | ≥ δ e j f D 2 thus i ≤ 2 V δ e e e f f e e e F f f E Zhao, S., Chiari, M., Botea, A., Gerevini, A. E., Harabor, D., Saetti, A., & Stuckey, P. J.

  11. How to compute centroids? g g g g h h A H g g G h h g g h C let δ = 3 S1: d ( c i , c j ) ≤ 2 δ g j j j i i h S2: generate centroids on j j I i J ”borders” j j j i i B δ ≤ d ( c i , c j ) ≤ 2 δ | C i | ≥ δ e j f D 2 thus i ≤ 2 V δ e e e f f e e e F f f E Zhao, S., Chiari, M., Botea, A., Gerevini, A. E., Harabor, D., Saetti, A., & Stuckey, P. J.

  12. How to compute centroids? g g g g h h A H g g G h h g g h C let δ = 3 S1: d ( c i , c j ) ≤ 2 δ g j j j i i h S2: generate centroids on j j I i J ”borders” j j j i i B δ ≤ d ( c i , c j ) ≤ 2 δ | C i | ≥ δ e j f D 2 thus i ≤ 2 V δ e e e f f e e e F f f E Zhao, S., Chiari, M., Botea, A., Gerevini, A. E., Harabor, D., Saetti, A., & Stuckey, P. J.

  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.

  14. Optimizations: Reverse CPD Advantages of reverse-CPD: get more space reduction from the centroids idea faster path extraction Forward: 16, 10 (with centroids) Reverse runs: 31, 9 (with centroids) 5 3 4 1 2 8 6 7 5 3 4 1 2 8 6 7 bc ad 5 5 b 3 3 c 4 4 1 1 a 2 2 8 8 6 6 d 7 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.

  15. Optimizations: encode ”illegal”Moves S,SW S,SW SW SW S,SW S,SW SW t S t S,SW SW W,SW SW S,SW SW W,SW S → S SW W,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.

  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): fwd 0 Evaluation: size reduction ratio - | fwd 0 | | rev δ | or | fwd 0 | | fwd δ | Zhao, S., Chiari, M., Botea, A., Gerevini, A. E., Harabor, D., Saetti, A., & Stuckey, P. J.

  17. Experiment: Result (reduction) | fwd 0 | | rev δ | or | fwd 0 | Size reduction ratio: | fwd δ | Zhao, S., Chiari, M., Botea, A., Gerevini, A. E., Harabor, D., Saetti, A., & Stuckey, P. J.

  18. Experiment: Result (speed up) Time ( fwd 0) Time ( rev δ ) or Time ( fwd 0) Speed up ratio: Time ( fwd δ ) mean min 25% 50% 75% max 1.839 0.061 1.311 1.747 2.162 235.606 rev 16 1.738 0.031 1.194 1.666 2.091 229.882 rev 32 1.580 0.008 0.998 1.490 1.953 207.992 rev 64 1.209 0.013 1.038 1.125 1.312 175.824 fwd 16 1.233 0.033 1.041 1.144 1.355 163.937 fwd 32 1.230 0.012 1.013 1.139 1.389 184.361 fwd 64 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.

  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.

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend