the grid-based path planning competition

157
DANIEL FELIX RITCHIE SCHOOL OF ENGINEERING & COMPUTER SCIENCE The Grid-Based Path Planning Competition -or- Contractions, contractions everywhere Nathan R. Sturtevant University of Denver Symposium on Combinatorial Search June 13, 2015

Upload: others

Post on 15-Oct-2021

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: The Grid-Based Path Planning Competition

DANIEL FELIX RITCHIE SCHOOL OFENGINEERING & COMPUTER SCIENCE

The Grid-Based Path Planning Competition

-or-Contractions, contractions everywhere

Nathan R. SturtevantUniversity of Denver

Symposium on Combinatorial SearchJune 13, 2015

Page 2: The Grid-Based Path Planning Competition
Page 3: The Grid-Based Path Planning Competition

DANIEL FELIX RITCHIE SCHOOL OFENGINEERING & COMPUTER SCIENCE

Benchmarks, Grid-Based Path Planning, and Contractions

Testing Heuristics• Suppose: bright idea for a new algorithm

3

Page 4: The Grid-Based Path Planning Competition

DANIEL FELIX RITCHIE SCHOOL OFENGINEERING & COMPUTER SCIENCE

Benchmarks, Grid-Based Path Planning, and Contractions

Testing Heuristics• Suppose: bright idea for a new algorithm• Test on a standard set of benchmark problems

3

Page 5: The Grid-Based Path Planning Competition

DANIEL FELIX RITCHIE SCHOOL OFENGINEERING & COMPUTER SCIENCE

Benchmarks, Grid-Based Path Planning, and Contractions

Testing Heuristics• Suppose: bright idea for a new algorithm• Test on a standard set of benchmark problems

• If the new algorithm wins︎:

3

Page 6: The Grid-Based Path Planning Competition

DANIEL FELIX RITCHIE SCHOOL OFENGINEERING & COMPUTER SCIENCE

Benchmarks, Grid-Based Path Planning, and Contractions

Testing Heuristics• Suppose: bright idea for a new algorithm• Test on a standard set of benchmark problems

• If the new algorithm wins︎:• The work is submitted for publication︎

3

Page 7: The Grid-Based Path Planning Competition

DANIEL FELIX RITCHIE SCHOOL OFENGINEERING & COMPUTER SCIENCE

Benchmarks, Grid-Based Path Planning, and Contractions

Testing Heuristics• Suppose: bright idea for a new algorithm• Test on a standard set of benchmark problems

• If the new algorithm wins︎:• The work is submitted for publication︎

• Otherwise it is written o ︎ff as a failure

3

Page 8: The Grid-Based Path Planning Competition

DANIEL FELIX RITCHIE SCHOOL OFENGINEERING & COMPUTER SCIENCE

Benchmarks, Grid-Based Path Planning, and Contractions

Testing Heuristics• Suppose: bright idea for a new algorithm• Test on a standard set of benchmark problems

• If the new algorithm wins︎:• The work is submitted for publication︎

• Otherwise it is written o ︎ff as a failure

• Approach “spawns a host of evils”

3

Page 9: The Grid-Based Path Planning Competition

DANIEL FELIX RITCHIE SCHOOL OFENGINEERING & COMPUTER SCIENCE

Benchmarks, Grid-Based Path Planning, and Contractions

Complaints

4

Page 10: The Grid-Based Path Planning Competition

DANIEL FELIX RITCHIE SCHOOL OFENGINEERING & COMPUTER SCIENCE

Benchmarks, Grid-Based Path Planning, and Contractions

Complaints• The emphasis on competition is fundamentally anti︎intellectual• Does not build the sort of insight…(for)…more effective algorithms

4

Page 11: The Grid-Based Path Planning Competition

DANIEL FELIX RITCHIE SCHOOL OFENGINEERING & COMPUTER SCIENCE

Benchmarks, Grid-Based Path Planning, and Contractions

Complaints• The emphasis on competition is fundamentally anti︎intellectual• Does not build the sort of insight…(for)…more effective algorithms

• Competition diverts time and resources from productive investigation• Hours spent crafting the fastest possible code

4

Page 12: The Grid-Based Path Planning Competition

DANIEL FELIX RITCHIE SCHOOL OFENGINEERING & COMPUTER SCIENCE

Benchmarks, Grid-Based Path Planning, and Contractions

Example• 2nd DIMACS challenge

• Studied SAT problems• Stimulated great interest• Difficult to know why one approach is better

• Studies which tease out why approaches work without performance increase are hard to publish, but important intellectually

5

Page 13: The Grid-Based Path Planning Competition

DANIEL FELIX RITCHIE SCHOOL OFENGINEERING & COMPUTER SCIENCE

Benchmarks, Grid-Based Path Planning, and Contractions

Conclusion• New norms for research:

• “That experimental results be evaluated on the basis of whether they contribute to our understanding︎ rather than whether they show that the author ︎s algorithm can win a race with the state of the art.”

• Algorithm researchers shouldn’t have the “burden of exhibiting faster and better algorithms in each paper.”

6

Page 14: The Grid-Based Path Planning Competition

DANIEL FELIX RITCHIE SCHOOL OFENGINEERING & COMPUTER SCIENCE

Benchmarks, Grid-Based Path Planning, and Contractions

Talk Goals• Present latest GPPC results

• Present insights into commonalities in approaches

• Discuss future challenges

7

Page 15: The Grid-Based Path Planning Competition

DANIEL FELIX RITCHIE SCHOOL OFENGINEERING & COMPUTER SCIENCE

Benchmarks, Grid-Based Path Planning, and Contractions

Recent (related) example• 9th DIMACS challenge

• Begun in 2005• Path planning on road networks

8

Page 16: The Grid-Based Path Planning Competition

DANIEL FELIX RITCHIE SCHOOL OFENGINEERING & COMPUTER SCIENCE

Benchmarks, Grid-Based Path Planning, and Contractions

Result of Challenge• Road networks for testing made available

• 200k to 24 million nodes• 700k to 60 million edges

9

Page 17: The Grid-Based Path Planning Competition

DANIEL FELIX RITCHIE SCHOOL OFENGINEERING & COMPUTER SCIENCE

Benchmarks, Grid-Based Path Planning, and Contractions

• Better Heuristics:• Computing the shortest path: A search meets graph theory [Goldberg & Harrelson, 2005]

• Better Bounding:• Better Landmarks Within Reach [Goldberg et. al., 2007]

• Exploiting Structure:• In Transit to Constant Time Shortest-Path Queries in Road Networks [Bast et. al. 2007]

• Contraction Hierarchies: Faster and Simpler Hierarchical Routing in Road Networks [Geisberger et. al. 2008]

• A Hub-Based Labeling Algorithm for Shortest Paths in Road Networks [Abraham et. al., 2011]

• Theoretical Justification:• Highway Dimension, Shortest Paths, and Provably Efficient Algorithms [Abraham et. al., 2010]

Result of Challenge

10

Page 18: The Grid-Based Path Planning Competition

Observation

Benchmark data spurs research

Page 19: The Grid-Based Path Planning Competition

Observation

Benchmark data spurs research

Imperfect benchmarks are better than no benchmarks.

Page 20: The Grid-Based Path Planning Competition

Observation

Benchmark data spurs research

Imperfect benchmarks are better than no benchmarks.

You have to have (flawed) benchmarks before you can fix/improve them.

Page 21: The Grid-Based Path Planning Competition

DANIEL FELIX RITCHIE SCHOOL OFENGINEERING & COMPUTER SCIENCE

Benchmarks, Grid-Based Path Planning, and Contractions

Grid Map Benchmarks• Between Fall 2006 - Dec. 2008 consulted with BioWare on Dragon Age: Origins

12

Page 22: The Grid-Based Path Planning Competition

DANIEL FELIX RITCHIE SCHOOL OFENGINEERING & COMPUTER SCIENCE

Benchmarks, Grid-Based Path Planning, and Contractions

Grid Map Benchmarks• Between Fall 2006 - Dec. 2008 consulted with BioWare on Dragon Age: Origins• They agreed to allow free distribution of map data!

12

Page 23: The Grid-Based Path Planning Competition

DANIEL FELIX RITCHIE SCHOOL OFENGINEERING & COMPUTER SCIENCE

Benchmarks, Grid-Based Path Planning, and Contractions

Grid Map Benchmarks• Between Fall 2006 - Dec. 2008 consulted with BioWare on Dragon Age: Origins• They agreed to allow free distribution of map data!

• Combined with other sources to form the “movingai” grid map repository

12

Page 24: The Grid-Based Path Planning Competition

DANIEL FELIX RITCHIE SCHOOL OFENGINEERING & COMPUTER SCIENCE

Benchmarks, Grid-Based Path Planning, and Contractions

Grid Map Benchmarks• Between Fall 2006 - Dec. 2008 consulted with BioWare on Dragon Age: Origins• They agreed to allow free distribution of map data!

• Combined with other sources to form the “movingai” grid map repository• [Sturtevant, 2012]

12

Page 25: The Grid-Based Path Planning Competition

DANIEL FELIX RITCHIE SCHOOL OFENGINEERING & COMPUTER SCIENCE

Benchmarks, Grid-Based Path Planning, and Contractions

Grid-Based PathPlanning Competition

• Started in 2012; goals to:• Improve evaluation• Establish metrics• Improve comparisons

13

Page 26: The Grid-Based Path Planning Competition

DANIEL FELIX RITCHIE SCHOOL OFENGINEERING & COMPUTER SCIENCE

Benchmarks, Grid-Based Path Planning, and Contractions

Entry Specification• Time allowed for pre-processing• At runtime:

• Load pre-processed data• Path query (start, goal) given to entry

• Entry returns full or partial path• Query repeated until full path returned

• Run 5 times for statistical significance

14

Page 27: The Grid-Based Path Planning Competition

Problem SetupSource # Maps # Problems

Starcraft 11 29,970

Dragon Age: Origins 27 44,414

Dragon Age 2 57 54,360

Mazes 18 145,976

Random 18 32,228

Rooms 18 27,130

Total 132 347,868

Page 28: The Grid-Based Path Planning Competition

Dragon Age 2Dragon Age: OriginsStarcraftRandomMazeRoom

Map

Cou

nt

0

10

20

Map Size (# free cells)102 103 104 105 106 107

Page 29: The Grid-Based Path Planning Competition

Dragon Age 2Dragon Age: OriginsStarcraftRandomMazeRoom

Map

Cou

nt

0

10

20

Map Size (# free cells)102 103 104 105 106 107

Page 30: The Grid-Based Path Planning Competition
Page 31: The Grid-Based Path Planning Competition

Dragon Age 2Dragon Age: OriginsStarcraftRandomMazeRoom

Map

Cou

nt

0

10

20

Map Size (# free cells)102 103 104 105 106 107

Page 32: The Grid-Based Path Planning Competition
Page 33: The Grid-Based Path Planning Competition

Dragon Age 2Dragon Age: OriginsStarcraftRandomMazeRoom

Map

Cou

nt

0

10

20

Map Size (# free cells)102 103 104 105 106 107

Page 34: The Grid-Based Path Planning Competition
Page 35: The Grid-Based Path Planning Competition
Page 36: The Grid-Based Path Planning Competition

DANIEL FELIX RITCHIE SCHOOL OFENGINEERING & COMPUTER SCIENCE

Benchmarks, Grid-Based Path Planning, and Contractions

Metrics• Total/average time to solve problem set

24

Page 37: The Grid-Based Path Planning Competition

DANIEL FELIX RITCHIE SCHOOL OFENGINEERING & COMPUTER SCIENCE

Benchmarks, Grid-Based Path Planning, and Contractions

Metrics• Total/average time to solve problem set• Time for 20 steps (real-time startup)

24

Page 38: The Grid-Based Path Planning Competition

DANIEL FELIX RITCHIE SCHOOL OFENGINEERING & COMPUTER SCIENCE

Benchmarks, Grid-Based Path Planning, and Contractions

Metrics• Total/average time to solve problem set• Time for 20 steps (real-time startup)• Maximum segment time (real-time steady state)

24

Page 39: The Grid-Based Path Planning Competition

DANIEL FELIX RITCHIE SCHOOL OFENGINEERING & COMPUTER SCIENCE

Benchmarks, Grid-Based Path Planning, and Contractions

Metrics• Total/average time to solve problem set• Time for 20 steps (real-time startup)• Maximum segment time (real-time steady state)• Suboptimality

24

Page 40: The Grid-Based Path Planning Competition

DANIEL FELIX RITCHIE SCHOOL OFENGINEERING & COMPUTER SCIENCE

Benchmarks, Grid-Based Path Planning, and Contractions

Metrics• Total/average time to solve problem set• Time for 20 steps (real-time startup)• Maximum segment time (real-time steady state)• Suboptimality• Correctness

24

Page 41: The Grid-Based Path Planning Competition

DANIEL FELIX RITCHIE SCHOOL OFENGINEERING & COMPUTER SCIENCE

Benchmarks, Grid-Based Path Planning, and Contractions

Metrics• Total/average time to solve problem set• Time for 20 steps (real-time startup)• Maximum segment time (real-time steady state)• Suboptimality• Correctness• RAM at runtime (before/after)

24

Page 42: The Grid-Based Path Planning Competition

DANIEL FELIX RITCHIE SCHOOL OFENGINEERING & COMPUTER SCIENCE

Benchmarks, Grid-Based Path Planning, and Contractions

Metrics• Total/average time to solve problem set• Time for 20 steps (real-time startup)• Maximum segment time (real-time steady state)• Suboptimality• Correctness• RAM at runtime (before/after)• Disk storage

24

Page 43: The Grid-Based Path Planning Competition

DANIEL FELIX RITCHIE SCHOOL OFENGINEERING & COMPUTER SCIENCE

Benchmarks, Grid-Based Path Planning, and Contractions

Metrics• Total/average time to solve problem set• Time for 20 steps (real-time startup)• Maximum segment time (real-time steady state)• Suboptimality• Correctness• RAM at runtime (before/after)• Disk storage• Pre-computation

24

Page 44: The Grid-Based Path Planning Competition

DANIEL FELIX RITCHIE SCHOOL OFENGINEERING & COMPUTER SCIENCE

Benchmarks, Grid-Based Path Planning, and Contractions

All 2014 Approaches• Single-Row Compression (SRC) (4 variants)

25

Page 45: The Grid-Based Path Planning Competition

DANIEL FELIX RITCHIE SCHOOL OFENGINEERING & COMPUTER SCIENCE

Benchmarks, Grid-Based Path Planning, and Contractions

All 2014 Approaches• Single-Row Compression (SRC) (4 variants) • Contraction Hierarchies (CH)

25

Page 46: The Grid-Based Path Planning Competition

DANIEL FELIX RITCHIE SCHOOL OFENGINEERING & COMPUTER SCIENCE

Benchmarks, Grid-Based Path Planning, and Contractions

All 2014 Approaches• Single-Row Compression (SRC) (4 variants) • Contraction Hierarchies (CH) • N-level Subgoals

25

Page 47: The Grid-Based Path Planning Competition

DANIEL FELIX RITCHIE SCHOOL OFENGINEERING & COMPUTER SCIENCE

Benchmarks, Grid-Based Path Planning, and Contractions

All 2014 Approaches• Single-Row Compression (SRC) (4 variants) • Contraction Hierarchies (CH) • N-level Subgoals• JPS+, JPS+ Bucket, A* Bucket

25

Page 48: The Grid-Based Path Planning Competition

DANIEL FELIX RITCHIE SCHOOL OFENGINEERING & COMPUTER SCIENCE

Benchmarks, Grid-Based Path Planning, and Contractions

All 2014 Approaches• Single-Row Compression (SRC) (4 variants) • Contraction Hierarchies (CH) • N-level Subgoals• JPS+, JPS+ Bucket, A* Bucket• BLJPS (2 variants), BLJPS_Subgoal

25

Page 49: The Grid-Based Path Planning Competition

DANIEL FELIX RITCHIE SCHOOL OFENGINEERING & COMPUTER SCIENCE

Benchmarks, Grid-Based Path Planning, and Contractions

All 2014 Approaches• Single-Row Compression (SRC) (4 variants) • Contraction Hierarchies (CH) • N-level Subgoals• JPS+, JPS+ Bucket, A* Bucket• BLJPS (2 variants), BLJPS_Subgoal• Relaxed A*, Relaxed A* Subgoal

25

Page 50: The Grid-Based Path Planning Competition

DANIEL FELIX RITCHIE SCHOOL OFENGINEERING & COMPUTER SCIENCE

Benchmarks, Grid-Based Path Planning, and Contractions

Single Row Compression• Ben Strasser [KIT], Adi Botea [IBM Dublin], and Daniel Harabor [NICTA]• Build full all-pairs-shortest-path data• Run-length encoding to compress each row• Incremental or non-incremental path generation

• Fast First-Move Queries through Run-Length Encoding, Strasser, Harabor and Botea (2014)

• Complexity Results for Compressing Optimal Paths, Botea, Strasser and Harabor (2015)

26

Page 51: The Grid-Based Path Planning Competition

DANIEL FELIX RITCHIE SCHOOL OFENGINEERING & COMPUTER SCIENCE

Benchmarks, Grid-Based Path Planning, and Contractions

Contraction Hierarchies• Ben Strasser [KIT]

• Originally developed by [Geisberger et. al. 2008]• Wasn’t optimized for grids [Sturtevant and Geisberger, 2010]

• Later optimization for grids [Storandt, 2013]

• Contraction Hierarchies: Faster and Simpler Hierarchical Routing in Road Networks, Robert Geisberger, Peter Sanders, Dominik Schultes and Daniel Delling, 2008

27

Page 52: The Grid-Based Path Planning Competition

DANIEL FELIX RITCHIE SCHOOL OFENGINEERING & COMPUTER SCIENCE

Benchmarks, Grid-Based Path Planning, and Contractions

N-level Subgoals• Tansel Uras and Sven Koenig [USC]

• 3rd entry into GPPC• Builds a n-level hierarchy from the basic subgoal approach

• Basic subgoals are built up from visibility graphs

• Identifying Hierarchies for Fast Optimal Search, Uras and Koenig, 2014

28

Page 53: The Grid-Based Path Planning Competition

DANIEL FELIX RITCHIE SCHOOL OFENGINEERING & COMPUTER SCIENCE

Benchmarks, Grid-Based Path Planning, and Contractions

JPS+• Steve Rabin [Digipen & Games Industry*]

• Independently invented JPS+• Based on Jump Point Search

• Improving Jump Point Search, Daniel Harabor and Alban Grastien, 2014

• Online Graph Pruning for Pathfinding On Grid Maps, Daniel Harabor and Alban Grastien, 2011

29

Page 54: The Grid-Based Path Planning Competition

DANIEL FELIX RITCHIE SCHOOL OFENGINEERING & COMPUTER SCIENCE

Benchmarks, Grid-Based Path Planning, and Contractions

BLJPS• Jason Traish and James Tulip [Charles Sturt University]

• Boundary Lookup JPS• Alternate optimization similar to JPS+

• Also applied ideas to subgoals

• Optimization using Boundary Lookup Jump Point Search, Traish and Tulip, 2015

30

Page 55: The Grid-Based Path Planning Competition

DANIEL FELIX RITCHIE SCHOOL OFENGINEERING & COMPUTER SCIENCE

Benchmarks, Grid-Based Path Planning, and Contractions

Relaxed A*• http://www.iroboapp.org/• Doesn’t perform A* re-expansions & other optimizations• Also applied to subgoal search

31

Page 56: The Grid-Based Path Planning Competition

Results

Page 57: The Grid-Based Path Planning Competition

DANIEL FELIX RITCHIE SCHOOL OFENGINEERING & COMPUTER SCIENCE

Benchmarks, Grid-Based Path Planning, and Contractions

Non-DominatedApproaches

• RA*, RA* Subgoal• BLJPS, BLJPS2• N-level Subgoals• Contraction Hierarchies (CH)• Single-Row Compression (SRC) (2 variants)

33

Page 58: The Grid-Based Path Planning Competition

Speed vs Storage (2014)Entry Average (ms) Storage

RA* 282.995 0

BLJPS 14.453 20 MB

BLJPS2 7.444 47 MB

RA* Subgoal 1.688 264 MB

NSubgoal 0.773 293 MB

CH 0.362 2.4 GB

SRC-dfs 0.145 28 GB

Page 59: The Grid-Based Path Planning Competition

JPS+ (Rabin)

CH

SRC-dfs

SRC-dfs-i

N-Level Subgoal

SUB Variants JPS+ Bucket (Rabin)

BLJPS+Sub

PPQ

PDH

Tree (13)Tree (12)

DAO1

Block A*

RA*

JPS (Harabor)

BLJPS

BLJPS2

JPS+ (Harabor)

Max

Tim

e pe

r Seg

men

t (m

s)

10−3

10−2

10−1

1

101

102

103

Storage (MB)1 101 102 103 104 105

Page 60: The Grid-Based Path Planning Competition

JPS+ (Rabin)

CH

SRC-dfs

SRC-dfs-i

N-Level Subgoal

SUB Variants JPS+ Bucket (Rabin)

BLJPS+Sub

PPQ

PDH

Tree (13)Tree (12)

DAO1

Block A*

RA*

JPS (Harabor)

BLJPS

BLJPS2

JPS+ (Harabor)

Max

Tim

e pe

r Seg

men

t (m

s)

10−3

10−2

10−1

1

101

102

103

Storage (MB)1 101 102 103 104 105

Page 61: The Grid-Based Path Planning Competition

JPS+ (Rabin)

CH

SRC-dfs

SRC-dfs-i

N-Level Subgoal

SUB Variants JPS+ Bucket (Rabin)

BLJPS+Sub

PPQ

PDH

Tree (13)Tree (12)

DAO1

Block A*

RA*

JPS (Harabor)

BLJPS

BLJPS2

JPS+ (Harabor)

Max

Tim

e pe

r Seg

men

t (m

s)

10−3

10−2

10−1

1

101

102

103

Storage (MB)1 101 102 103 104 105

Page 62: The Grid-Based Path Planning Competition

JPS+ (Rabin)

CH

SRC-dfs

SRC-dfs-i

N-Level Subgoal

SUB Variants JPS+ Bucket (Rabin)

BLJPS+Sub

PPQ

PDH

Tree (13)Tree (12)

DAO1

Block A*

RA*

JPS (Harabor)

BLJPS

BLJPS2

JPS+ (Harabor)

Max

Tim

e pe

r Seg

men

t (m

s)

10−3

10−2

10−1

1

101

102

103

Storage (MB)1 101 102 103 104 105

Page 63: The Grid-Based Path Planning Competition

JPS+ (Rabin)

CH

SRC-dfs

SRC-dfs-i

N-Level Subgoal

SUB Variants JPS+ Bucket (Rabin)

BLJPS+Sub

PPQ

PDH

Tree (13)Tree (12)

DAO1

Block A*

RA*

JPS (Harabor)

BLJPS

BLJPS2

JPS+ (Harabor)

Max

Tim

e pe

r Seg

men

t (m

s)

10−3

10−2

10−1

1

101

102

103

Storage (MB)1 101 102 103 104 105

Page 64: The Grid-Based Path Planning Competition

JPS+ (Rabin)

CH

SRC-dfs

SRC-dfs-i

N-Level Subgoal

SUB Variants JPS+ Bucket (Rabin)

BLJPS+Sub

PPQ

PDH

Tree (13)Tree (12)

DAO1

Block A*

RA*

JPS (Harabor)

BLJPS

BLJPS2

JPS+ (Harabor)

Max

Tim

e pe

r Seg

men

t (m

s)

10−3

10−2

10−1

1

101

102

103

Storage (MB)1 101 102 103 104 105

Page 65: The Grid-Based Path Planning Competition

JPS+ (Rabin)

CH

SRC-dfs

SRC-dfs-i

N-Level Subgoal

SUB Variants JPS+ Bucket (Rabin)

BLJPS+Sub

PPQ

PDH

Tree (13)Tree (12)

DAO1

Block A*

RA*

JPS (Harabor)

BLJPS

BLJPS2

JPS+ (Harabor)

Max

Tim

e pe

r Seg

men

t (m

s)

10−3

10−2

10−1

1

101

102

103

Storage (MB)1 101 102 103 104 105

Page 66: The Grid-Based Path Planning Competition

JPS+ (Rabin)

CH

SRC-dfs

SRC-dfs-i

N-Level Subgoal

SUB Variants JPS+ Bucket (Rabin)

BLJPS+Sub

PPQ

PDH

Tree (13)Tree (12)

DAO1

Block A*

RA*

JPS (Harabor)

BLJPS

BLJPS2

JPS+ (Harabor)

Max

Tim

e pe

r Seg

men

t (m

s)

10−3

10−2

10−1

1

101

102

103

Storage (MB)1 101 102 103 104 105

Page 67: The Grid-Based Path Planning Competition

JPS+ (Rabin)

CH

SRC-dfs

SRC-dfs-i

N-Level Subgoal

SUB Variants JPS+ Bucket (Rabin)

BLJPS+Sub

PPQ

PDH

Tree (13)Tree (12)

DAO1

Block A*

RA*

JPS (Harabor)

BLJPS

BLJPS2

JPS+ (Harabor)

Max

Tim

e pe

r Seg

men

t (m

s)

10−3

10−2

10−1

1

101

102

103

Storage (MB)1 101 102 103 104 105

Page 68: The Grid-Based Path Planning Competition

JPS+ (Rabin)

CH

SRC-dfs

SRC-dfs-i

N-Level Subgoal

SUB Variants JPS+ Bucket (Rabin)

BLJPS+Sub

PPQ

PDH

Tree (13)Tree (12)

DAO1

Block A*

RA*

JPS (Harabor)

BLJPS

BLJPS2

JPS+ (Harabor)

Max

Tim

e pe

r Seg

men

t (m

s)

10−3

10−2

10−1

1

101

102

103

Storage (MB)1 101 102 103 104 105

Page 69: The Grid-Based Path Planning Competition

JPS+ (Rabin)

CH

SRC-dfs

SRC-dfs-i

N-Level Subgoal

SUB Variants JPS+ Bucket (Rabin)

BLJPS+Sub

PPQ

PDH

Tree (13)Tree (12)

DAO1

Block A*

RA*

JPS (Harabor)

BLJPS

BLJPS2

JPS+ (Harabor)

Max

Tim

e pe

r Seg

men

t (m

s)

10−3

10−2

10−1

1

101

102

103

Storage (MB)1 101 102 103 104 105

Page 70: The Grid-Based Path Planning Competition

JPS+ (Rabin)

CH

SRC-dfs

SRC-dfs-i

N-Level Subgoal

SUB Variants JPS+ Bucket (Rabin)

BLJPS+Sub

PPQ

PDH

Tree (13)Tree (12)

DAO1

Block A*

RA*

JPS (Harabor)

BLJPS

BLJPS2

JPS+ (Harabor)

Max

Tim

e pe

r Seg

men

t (m

s)

10−3

10−2

10−1

1

101

102

103

Storage (MB)1 101 102 103 104 105

Page 71: The Grid-Based Path Planning Competition

JPS+ (Rabin)

CH

SRC-dfs

SRC-dfs-i

N-Level Subgoal

SUB Variants JPS+ Bucket (Rabin)

BLJPS+Sub

PPQ

PDH

Tree (13)Tree (12)

DAO1

Block A*

RA*

JPS (Harabor)

BLJPS

BLJPS2

JPS+ (Harabor)

Max

Tim

e pe

r Seg

men

t (m

s)

10−3

10−2

10−1

1

101

102

103

Storage (MB)1 101 102 103 104 105

Page 72: The Grid-Based Path Planning Competition

JPS+ (Rabin)

CH

SRC-dfs

SRC-dfs-i

N-Level Subgoal

SUB Variants JPS+ Bucket (Rabin)

BLJPS+Sub

PPQ

PDH

Tree (13)Tree (12)

DAO1

Block A*

RA*

JPS (Harabor)

BLJPS

BLJPS2

JPS+ (Harabor)

Max

Tim

e pe

r Seg

men

t (m

s)

10−3

10−2

10−1

1

101

102

103

Storage (MB)1 101 102 103 104 105

Page 73: The Grid-Based Path Planning Competition

DANIEL FELIX RITCHIE SCHOOL OFENGINEERING & COMPUTER SCIENCE

Benchmarks, Grid-Based Path Planning, and Contractions

Contractions everywhere!• Describe majority of approaches as contraction:

• Contraction Hierarchies• DAO abstraction• Subgoal Graphs• Jump Point Search

36

Page 74: The Grid-Based Path Planning Competition

DANIEL FELIX RITCHIE SCHOOL OFENGINEERING & COMPUTER SCIENCE

Benchmarks, Grid-Based Path Planning, and Contractions

Graph Contraction• Remove a set S of states from a graph G• Optimal:

• Ensure that the shortest path between all states G \ S are not changed

• Add edges (shortcuts) to preserve shortest paths• Suboptimal:

• Ensure that completeness is not lost

37

Page 75: The Grid-Based Path Planning Competition

11 1

1

Page 76: The Grid-Based Path Planning Competition

4

Page 77: The Grid-Based Path Planning Competition

1

22

2 2

2

2

Page 78: The Grid-Based Path Planning Competition

22

2 2

1

2

2

Page 79: The Grid-Based Path Planning Competition

22

2 2

1

2

2

Page 80: The Grid-Based Path Planning Competition

22

2 2

1

2

2

Page 81: The Grid-Based Path Planning Competition

22

2 2

1

2

2

Page 82: The Grid-Based Path Planning Competition

22

2 2

1

2

2

Page 83: The Grid-Based Path Planning Competition

22

2 2

1

2

2

4

Page 84: The Grid-Based Path Planning Competition

1

22

2 2

2

2

Page 85: The Grid-Based Path Planning Competition

1

22

2 2

2

2

Page 86: The Grid-Based Path Planning Competition

DANIEL FELIX RITCHIE SCHOOL OFENGINEERING & COMPUTER SCIENCE

Benchmarks, Grid-Based Path Planning, and Contractions

Contraction Hierarchies• Optimal approach• Key idea is finding good orderings for contracting nodes from the graph

• Contract one node at a time• Add shortcut edges

43

Page 87: The Grid-Based Path Planning Competition

DANIEL FELIX RITCHIE SCHOOL OFENGINEERING & COMPUTER SCIENCE

Benchmarks, Grid-Based Path Planning, and Contractions

Traditional Abstraction/Refinement

• Find strongly connected components• Abstract them together into a single abstract state• (Holte et al, 1996), (Fernández, & González, 2002), (Botea et. at., 2004), (Sturtevant & Buro, 2005), (Sturtevant 2007)

• Downward refinement property• Approach discarded in road networks after optimal approaches discovered

44

Page 88: The Grid-Based Path Planning Competition
Page 89: The Grid-Based Path Planning Competition

a

b

a b c

a

b

a

b

0 1

2 3

Page 90: The Grid-Based Path Planning Competition

JPS

Page 91: The Grid-Based Path Planning Competition

JPS

Page 92: The Grid-Based Path Planning Competition

JPS

Page 93: The Grid-Based Path Planning Competition

JPS

Page 94: The Grid-Based Path Planning Competition

JPS

Page 95: The Grid-Based Path Planning Competition

JPS

Page 96: The Grid-Based Path Planning Competition

JPS

Page 97: The Grid-Based Path Planning Competition

JPS

Page 98: The Grid-Based Path Planning Competition

JPS

Page 99: The Grid-Based Path Planning Competition

JPS

Page 100: The Grid-Based Path Planning Competition

JPS

Page 101: The Grid-Based Path Planning Competition

JPS

Page 102: The Grid-Based Path Planning Competition

JPS

Page 103: The Grid-Based Path Planning Competition

S

Page 104: The Grid-Based Path Planning Competition

S

Page 105: The Grid-Based Path Planning Competition

S

Page 106: The Grid-Based Path Planning Competition

S

Page 107: The Grid-Based Path Planning Competition

S

Page 108: The Grid-Based Path Planning Competition

S

Page 109: The Grid-Based Path Planning Competition

S

Page 110: The Grid-Based Path Planning Competition

S

Page 111: The Grid-Based Path Planning Competition

S

Page 112: The Grid-Based Path Planning Competition

S

Page 113: The Grid-Based Path Planning Competition

S

Page 114: The Grid-Based Path Planning Competition

Subgoals

Page 115: The Grid-Based Path Planning Competition

Subgoals

Page 116: The Grid-Based Path Planning Competition

Subgoals

Page 117: The Grid-Based Path Planning Competition

Direct H Reachable

Subgoals

Page 118: The Grid-Based Path Planning Competition

Direct H Reachable

Subgoals

Page 119: The Grid-Based Path Planning Competition

Direct H Reachable

Subgoals

Page 120: The Grid-Based Path Planning Competition

Direct H Reachable

Subgoals

Page 121: The Grid-Based Path Planning Competition
Page 122: The Grid-Based Path Planning Competition
Page 123: The Grid-Based Path Planning Competition
Page 124: The Grid-Based Path Planning Competition
Page 125: The Grid-Based Path Planning Competition
Page 126: The Grid-Based Path Planning Competition

DANIEL FELIX RITCHIE SCHOOL OFENGINEERING & COMPUTER SCIENCE

Benchmarks, Grid-Based Path Planning, and Contractions

Other contractions• Dead-end heuristic

• Yngvi Björnsson and Kári Halldórsson, 2006• Swamps

• Nir Pochter, Aviv Zohar, Jeffrey S. Rosenschein, Ariel Felner [2008 - 2010]

• Dead/redundant states• N.R. Sturtevant, V. Bulitko and Y. Bjornsson, 2010

• What is the correct way to contract a map?

55

Page 127: The Grid-Based Path Planning Competition

Highway DimensionHighway Dimension, Shortest Paths, and Provably Efficient Algorithms [Abraham et. al., 2010]

Page 128: The Grid-Based Path Planning Competition

Highway Dimension

r

Highway Dimension, Shortest Paths, and Provably Efficient Algorithms [Abraham et. al., 2010]

Page 129: The Grid-Based Path Planning Competition

Highway Dimension

r4r

Highway Dimension, Shortest Paths, and Provably Efficient Algorithms [Abraham et. al., 2010]

Page 130: The Grid-Based Path Planning Competition

Highway Dimension

r4r

Highway Dimension, Shortest Paths, and Provably Efficient Algorithms [Abraham et. al., 2010]

Page 131: The Grid-Based Path Planning Competition
Page 132: The Grid-Based Path Planning Competition
Page 133: The Grid-Based Path Planning Competition
Page 134: The Grid-Based Path Planning Competition
Page 135: The Grid-Based Path Planning Competition
Page 136: The Grid-Based Path Planning Competition
Page 137: The Grid-Based Path Planning Competition
Page 138: The Grid-Based Path Planning Competition
Page 139: The Grid-Based Path Planning Competition
Page 140: The Grid-Based Path Planning Competition
Page 141: The Grid-Based Path Planning Competition

DANIEL FELIX RITCHIE SCHOOL OFENGINEERING & COMPUTER SCIENCE

Benchmarks, Grid-Based Path Planning, and Contractions

Cross-Fertilization• Many road network ideas being used in grids• Didn’t originally know how to apply them properly

• Contraction Hierarchies on Grid Graphs • Storandt, 2013

• TRANSIT Routing on Video Game Maps• Antsfeld, Harabor, Kilby & Walsh, 2012

61

Page 142: The Grid-Based Path Planning Competition

DANIEL FELIX RITCHIE SCHOOL OFENGINEERING & COMPUTER SCIENCE

Benchmarks, Grid-Based Path Planning, and Contractions

Further use of contractions?• Where else could we apply contractions?

• Robotics?• 3D worlds?• Alternate representations? (polygons)

62

Page 143: The Grid-Based Path Planning Competition

DANIEL FELIX RITCHIE SCHOOL OFENGINEERING & COMPUTER SCIENCE

Benchmarks, Grid-Based Path Planning, and Contractions

The Future• Have we reached the limits of our performance?• Where is there significant room for improvement?• Other future directions?

63

Page 144: The Grid-Based Path Planning Competition

JPS+ (Rabin)

CH

SRC-dfs

SRC-dfs-i

N-Level Subgoal

SUB Variants JPS+ Bucket (Rabin)

BLJPS+Sub

PPQ

PDH

Tree (13)Tree (12)

DAO1

Block A*

RA*

JPS (Harabor)

BLJPS

BLJPS2

JPS+ (Harabor)

Max

Tim

e pe

r Seg

men

t (m

s)

10−3

10−2

10−1

1

101

102

103

Storage (MB)1 101 102 103 104 105

Page 145: The Grid-Based Path Planning Competition

JPS+ (Rabin)

CH

SRC-dfs

SRC-dfs-i

N-Level Subgoal

SUB Variants JPS+ Bucket (Rabin)

BLJPS+Sub

PPQ

PDH

Tree (13)Tree (12)

DAO1

Block A*

RA*

JPS (Harabor)

BLJPS

BLJPS2

JPS+ (Harabor)

Max

Tim

e pe

r Seg

men

t (m

s)

10−3

10−2

10−1

1

101

102

103

Storage (MB)1 101 102 103 104 105

Page 146: The Grid-Based Path Planning Competition

JPS+ (Rabin)

CH

SRC-dfs

SRC-dfs-i

N-Level Subgoal

SUB Variants JPS+ Bucket (Rabin)

BLJPS+Sub

PPQ

PDH

Tree (13)Tree (12)

DAO1

Block A*

RA*

JPS (Harabor)

BLJPS

BLJPS2

JPS+ (Harabor)

Max

Tim

e pe

r Seg

men

t (m

s)

10−3

10−2

10−1

1

101

102

103

Storage (MB)1 101 102 103 104 105

Page 147: The Grid-Based Path Planning Competition

JPS+ (Rabin)

CH

SRC-dfs

SRC-dfs-i

N-Level Subgoal

SUB Variants JPS+ Bucket (Rabin)

BLJPS+Sub

PPQ

PDH

Tree (13)Tree (12)

DAO1

Block A*

RA*

JPS (Harabor)

BLJPS

BLJPS2

JPS+ (Harabor)

Max

Tim

e pe

r Seg

men

t (m

s)

10−3

10−2

10−1

1

101

102

103

Storage (MB)1 101 102 103 104 105

Page 148: The Grid-Based Path Planning Competition

DANIEL FELIX RITCHIE SCHOOL OFENGINEERING & COMPUTER SCIENCE

Benchmarks, Grid-Based Path Planning, and Contractions

Is this the real problem?• Dynamic world

• Costs change, connectivity changes

• Cell costs

65

Page 149: The Grid-Based Path Planning Competition

DANIEL FELIX RITCHIE SCHOOL OFENGINEERING & COMPUTER SCIENCE

Benchmarks, Grid-Based Path Planning, and Contractions

Open Question• Are we building insight?

66

Page 150: The Grid-Based Path Planning Competition

DANIEL FELIX RITCHIE SCHOOL OFENGINEERING & COMPUTER SCIENCE

Benchmarks, Grid-Based Path Planning, and Contractions

Open Question• Are we building insight?

• The benchmarks are helping drive research

66

Page 151: The Grid-Based Path Planning Competition

DANIEL FELIX RITCHIE SCHOOL OFENGINEERING & COMPUTER SCIENCE

Benchmarks, Grid-Based Path Planning, and Contractions

Open Question• Are we building insight?

• The benchmarks are helping drive research• Work is leading to new theoretical understanding

66

Page 152: The Grid-Based Path Planning Competition

DANIEL FELIX RITCHIE SCHOOL OFENGINEERING & COMPUTER SCIENCE

Benchmarks, Grid-Based Path Planning, and Contractions

Open Question• Are we building insight?

• The benchmarks are helping drive research• Work is leading to new theoretical understanding

• Thanks to SoCS chairs for the chance to contribute to the understanding

66

Page 153: The Grid-Based Path Planning Competition

DANIEL FELIX RITCHIE SCHOOL OFENGINEERING & COMPUTER SCIENCE

Benchmarks, Grid-Based Path Planning, and Contractions

One more thing!• New benchmark data

• Warframe video(?)• Example maps(?)

67

Page 154: The Grid-Based Path Planning Competition

Warframe - Digital Extremes

Page 155: The Grid-Based Path Planning Competition

DANIEL FELIX RITCHIE SCHOOL OFENGINEERING & COMPUTER SCIENCE

Benchmarks, Grid-Based Path Planning, and Contractions

New repository coming• 3D voxel world• Challenging new path planning domain

• Thanks to Digital Extremes and Daniel Brewer!

69

Page 156: The Grid-Based Path Planning Competition
Page 157: The Grid-Based Path Planning Competition

DANIEL FELIX RITCHIE SCHOOL OFENGINEERING & COMPUTER SCIENCE

Benchmarks, Grid-Based Path Planning, and Contractions

Thanks• Students/Collaborators

• Renee Jansen• Sally Li• Michael Buro• Vadim Bulitko• Robert Geisberger

• http://movingai.com/GPPC/

• Games Industry• BioWare• Digital Extremes

• Daniel Brewer• Troy Humphreys

• GPPC Participants• SoCS Organizers

71

NINJAS&PLAY&FREE&AT&

WWW.WARFRAME.COM