Ideas Towards Using Discrete Mul5agent Pathfinding to - - PowerPoint PPT Presentation

ideas towards using discrete mul5agent pathfinding to
SMART_READER_LITE
LIVE PREVIEW

Ideas Towards Using Discrete Mul5agent Pathfinding to - - PowerPoint PPT Presentation

Workshop on Mul,agent Pathfinding Ideas Towards Using Discrete Mul5agent Pathfinding to Address Con5nuous Problems Athanasios Kron,ris 1 , Qandeel Sajid 2 , Kostas


slide-1
SLIDE 1

Ideas ¡Towards ¡ Using ¡Discrete ¡Mul5agent ¡Pathfinding ¡ to ¡Address ¡Con5nuous ¡Problems ¡

Athanasios ¡Kron,ris1, ¡Qandeel ¡Sajid2, ¡Kostas ¡Bekris1 ¡ ¡ ¡ ¡ ¡ ¡ 22 ¡July ¡2012 ¡ ¡

Workshop ¡on ¡Mul,agent ¡Pathfinding ¡

2Computer ¡Science ¡and ¡Engineering ¡

University ¡of ¡Nevada, ¡Reno ¡

1Computer ¡Science ¡

Rutgers ¡University ¡

slide-2
SLIDE 2

Star,ng ¡Point: ¡Mo,on ¡Planning ¡

James ¡Kuffner, ¡CMU ¡ Jean ¡Claude ¡Latombe, ¡Stanford ¡

Industrial ¡Manipula,on ¡ Geometric ¡Problems ¡ Tradi,onal ¡Setup: ¡Piano-­‑Mover’s ¡Problem ¡

Kostas ¡Bekris ¡

slide-3
SLIDE 3

Mul,-­‑robot ¡case: ¡“Warehouseman’s ¡Problem” ¡

Ini5ally ¡the ¡focus ¡was ¡on ¡complete ¡algorithms ¡and ¡ studying ¡the ¡complexity ¡of ¡the ¡problem ¡

¡

Schwartz ¡and ¡Sharir, ¡1983 ¡ On ¡the ¡piano ¡movers' ¡problem: ¡III. ¡Coordina,ng ¡the ¡mo,on ¡

  • f ¡several ¡independent ¡bodies ¡
  • First ¡to ¡provide ¡a ¡complete ¡algorithm ¡

– Coordina5ng ¡disk-­‑robots ¡in ¡the ¡plane ¡ – Exponen5al ¡complexity ¡in ¡the ¡number ¡of ¡robots ¡

Hopkro], ¡Schwartz ¡and ¡Sharir, ¡1984 ¡ On ¡the ¡complexity ¡of ¡mo,on ¡planning ¡for ¡mul,ple ¡independent ¡objects; ¡ ¡ PSPACE-­‑hardness ¡of ¡the ¡“Warehouseman's ¡problem” ¡

  • Suggested ¡that ¡the ¡exponen5al ¡running ¡5me ¡in ¡some ¡cases ¡is ¡

unavoidable ¡ – Rectangular ¡robots ¡bound ¡in ¡a ¡rectangular ¡region ¡is ¡PSPACE-­‑ hard ¡in ¡the ¡number ¡of ¡robots ¡

slide-4
SLIDE 4

Mul,-­‑Robot ¡case: ¡“Warehouseman’s ¡Problem” ¡

Schwartz ¡and ¡Sharir, ¡1983 ¡ On ¡the ¡piano ¡movers' ¡problem: ¡III. ¡Coordina,ng ¡the ¡mo,on ¡

  • f ¡several ¡independent ¡bodies ¡

¡

slide-5
SLIDE 5

Mul,-­‑robot ¡case: ¡“Warehouseman’s ¡Problem” ¡

Ini5ally ¡the ¡focus ¡was ¡on ¡complete ¡algorithms ¡and ¡ studying ¡the ¡complexity ¡of ¡the ¡problem ¡

¡

Schwartz ¡and ¡Sharir, ¡1983 ¡ On ¡the ¡piano ¡movers' ¡problem: ¡III. ¡Coordina,ng ¡the ¡mo,on ¡

  • f ¡several ¡independent ¡bodies ¡
  • First ¡to ¡provide ¡a ¡complete ¡algorithm ¡

– Coordina5ng ¡disk-­‑robots ¡in ¡the ¡plane ¡ – Exponen5al ¡complexity ¡in ¡the ¡number ¡of ¡robots ¡

Hopkro], ¡Schwartz ¡and ¡Sharir, ¡1984 ¡ On ¡the ¡complexity ¡of ¡mo,on ¡planning ¡for ¡mul,ple ¡independent ¡objects; ¡ ¡ PSPACE-­‑hardness ¡of ¡the ¡“Warehouseman's ¡problem” ¡

  • Suggested ¡that ¡the ¡exponen5al ¡running ¡5me ¡in ¡some ¡cases ¡is ¡

unavoidable ¡ – Rectangular ¡robots ¡bound ¡in ¡a ¡rectangular ¡region ¡is ¡PSPACE-­‑ hard ¡in ¡the ¡number ¡of ¡robots ¡

slide-6
SLIDE 6

Discrete ¡Mul,-­‑agent ¡Pathfinding ¡

Remove ¡the ¡complexity ¡of ¡reasoning ¡about ¡the ¡geometry ¡ – ¡Employ ¡a ¡graph-­‑based ¡abstrac5on ¡

  • Finding ¡op5mal ¡solu5ons ¡is ¡an ¡NP-­‑complete ¡problem ¡

Ratner ¡and ¡Warmuth, ¡1986, ¡Finding ¡a ¡Shortest ¡Solu,on ¡for ¡the ¡N*N-­‑extension ¡of ¡the ¡15-­‑puzzle ¡is ¡intractable ¡

  • But ¡ideas ¡towards ¡efficient ¡heuris5c ¡search ¡are ¡ac5vely ¡

pursued ¡ ¡ ¡ ¡ ¡

Standley ¡2010, ¡2011 ¡ Operator ¡Decomposi,on ¡ Wagner, ¡Choset ¡2011 ¡ M* ¡ Sharon ¡et. ¡al. ¡ ¡2011 ¡ ICTS ¡

slide-7
SLIDE 7

Discrete ¡Mul,-­‑agent ¡Pathfinding ¡

  • Sequen5al, ¡subop5mal ¡solu5ons ¡can ¡be ¡achieved ¡in ¡

polynomial ¡5me! ¡

Kornhauser, ¡Miller ¡and ¡Spirakis ¡‘84, ¡ ¡ Coordina,ng ¡Pebble ¡Mo,on ¡on ¡Graphs, ¡The ¡Diameter ¡of ¡Permuta,on ¡Groups, ¡and ¡Applica,ons ¡ ¡

  • Concrete ¡algorithms ¡for ¡subcases ¡have ¡been ¡proposed ¡

and ¡their ¡implementa5ons ¡do ¡scale ¡well ¡ ¡ ¡ ¡ ¡

Wang ¡et. ¡al. ¡2011 ¡ MAPP; ¡Slideable ¡ Khorshid ¡et. ¡al. ¡2011 ¡ TASS ¡

Push Swap

1 3 2

Push S w a p

3 1 2

Luna ¡et. ¡al. ¡2011 ¡ Push ¡and ¡Swap ¡

slide-8
SLIDE 8

Discrete ¡Abstrac,ons ¡ ¡Con,nuous ¡Solu,ons ¡

¡ ¡

How ¡can ¡we ¡u.lize ¡discrete ¡and ¡combinatorial ¡solu.ons ¡ for ¡mul.agent ¡pathfinding ¡to ¡get ¡intui.on ¡about ¡ con.nuous ¡domains? ¡

slide-9
SLIDE 9
  • Sufficient ¡in ¡some ¡applica5ons ¡
  • Difficult ¡to ¡provide ¡some ¡form ¡of ¡completeness ¡ ¡
  • Worse ¡approxima5on ¡in ¡the ¡mul5-­‑agent ¡case ¡
  • Need ¡to ¡operate ¡in ¡the ¡configura5on ¡space ¡

Apply ¡a ¡Grid ¡over ¡the ¡Workspace ¡

slide-10
SLIDE 10

Roadmap-­‑based ¡Approach ¡

For ¡simplicity, ¡assume ¡all ¡agents ¡have ¡same ¡geometry ¡ ¡

  • 1. Build ¡a ¡graph ¡G ¡in ¡the ¡configura5on ¡space ¡C ¡for ¡

– Nodes ¡correspond ¡to ¡an ¡agent’s ¡collision-­‑free ¡ configura5on ¡ ¡

  • they ¡could ¡s5ll ¡be ¡on ¡a ¡grid, ¡but ¡a ¡grid ¡in ¡C ¡

– Edges ¡correspond ¡to ¡local ¡collision-­‑free ¡paths ¡ between ¡configura5ons ¡ – Make ¡sure ¡start ¡and ¡goal ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ configura5ons ¡are ¡connected ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ to ¡the ¡graph ¡

slide-11
SLIDE 11

Roadmap-­‑based ¡Approach ¡

  • Once ¡the ¡roadmap ¡is ¡computed ¡

– Run ¡the ¡combinatorial ¡mul5-­‑agent ¡pathfinding ¡ algorithm ¡on ¡the ¡roadmap ¡ – If ¡a ¡solu5on ¡is ¡not ¡found, ¡

  • either ¡compute ¡a ¡higher ¡resolu5on ¡grid ¡or ¡
  • perform ¡addi5onal ¡sampling ¡

¡

  • Objec5ve: ¡

– ¡Resolu5on ¡or ¡probabilis5c ¡completeness ¡ Sufficient?? ¡

slide-12
SLIDE 12
  • There ¡is ¡no ¡guarantee ¡that ¡two ¡agents ¡occupying ¡

different ¡configura5ons ¡on ¡G ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ will ¡not ¡be ¡colliding ¡ ¡

  • G ¡must ¡sa5sfy ¡the ¡following ¡constraints: ¡
  • 1. Two ¡agents ¡occupying ¡dis5nct ¡ver5ces ¡will ¡never ¡collide ¡
  • 2. An ¡agent ¡occupying ¡a ¡vertex ¡will ¡never ¡collide ¡with ¡an ¡agent ¡

traversing ¡an ¡edge ¡not ¡connected ¡to ¡the ¡vertex ¡

  • 3. Two ¡agents ¡traversing ¡two ¡dis5nct ¡edges ¡will ¡never ¡collide ¡

(not ¡necessary ¡for ¡a ¡sequen5al ¡discrete ¡solu5on) ¡

If ¡discrete ¡algorithm ¡returns ¡a ¡solu5on, ¡it ¡can ¡be ¡ translated ¡to ¡a ¡con5nuous ¡path ¡

Issue ¡

slide-13
SLIDE 13

Issue ¡

  • Easy ¡to ¡adapt ¡the ¡sampling ¡process ¡so ¡as ¡to ¡sa5sfy ¡

above ¡constraints: ¡ – ¡Collision ¡checker ¡considers ¡exis5ng ¡edges ¡and ¡ ver5ces ¡as ¡obstacles ¡

  • Very ¡quickly ¡it ¡will ¡not ¡be ¡possible ¡to ¡add ¡new ¡ver5ces ¡

and ¡edges ¡ ¡ – ¡Due ¡to ¡intersec5ons ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ with ¡exis5ng ¡roadmap ¡features ¡ – Not ¡easy ¡to ¡even ¡argue ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ weak ¡forms ¡of ¡completeness ¡ ¡

slide-14
SLIDE 14
  • 1. ¡Reloca,ng ¡Roadmap ¡Nodes ¡
  • A`er ¡a ¡roadmap ¡is ¡built: ¡

– Move ¡nodes ¡around ¡so ¡that ¡

  • No ¡collisions ¡with ¡obstacles ¡
  • No ¡collisions ¡with ¡other ¡nodes/edges ¡

– But ¡maintain ¡topological ¡proper5es ¡

  • Rela5vely ¡easy ¡post-­‑processing ¡step ¡
  • No ¡guarantee ¡that ¡a ¡new ¡loca5on ¡will ¡be ¡found ¡for ¡all ¡

intersec5ng ¡nodes ¡

slide-15
SLIDE 15
  • 2. ¡Merging ¡Nodes ¡
  • Merge ¡mul5ple ¡intersec5ng ¡nodes ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡

into ¡super-­‑nodes ¡ – ¡only ¡one ¡agent ¡is ¡allowed ¡to ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡

  • ccupy ¡a ¡configura5on ¡under ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡

a ¡super-­‑node ¡ – ¡a ¡path ¡exists ¡connec5ng ¡the ¡nodes ¡

  • This ¡change, ¡however, ¡changes ¡the ¡original ¡graph ¡

– ¡reduces ¡the ¡available ¡nodes ¡

  • may ¡cause ¡discrete ¡algorithm ¡to ¡fail ¡

– ¡and ¡changes ¡the ¡connec5vity ¡proper5es ¡of ¡the ¡graph ¡

slide-16
SLIDE 16
  • Get ¡a ¡solu5on ¡and ¡then ¡deal ¡with ¡the ¡intersec5ons ¡

¡ ¡ ¡ ¡ ¡

  • Use ¡intermediate ¡“garage” ¡configura5ons ¡for ¡the ¡robots ¡

to ¡avoid ¡collisions ¡

  • Similarly ¡for ¡edges ¡
  • Not ¡guarantee ¡that ¡intermediate ¡posi5on ¡will ¡be ¡found ¡
  • 3. ¡Addressing ¡Intersec,ons ¡ ¡

A ¡ B ¡ C ¡

slide-17
SLIDE 17
  • Get ¡a ¡solu5on ¡and ¡then ¡deal ¡with ¡the ¡intersec5ons ¡

¡ ¡ ¡ ¡ ¡

  • Use ¡intermediate ¡“garage” ¡configura5ons ¡for ¡the ¡robots ¡to ¡

avoid ¡collisions ¡

  • Similarly ¡for ¡edges ¡
  • No ¡guarantee ¡that ¡intermediate ¡posi5on ¡will ¡be ¡found ¡

– A ¡solu5on ¡may ¡not ¡be ¡found ¡if ¡one ¡exists ¡

  • 3. ¡Addressing ¡Intersec,ons ¡ ¡

A ¡ B ¡ C ¡ IA ¡

slide-18
SLIDE 18
  • Get ¡a ¡solu5on ¡and ¡then ¡deal ¡with ¡the ¡intersec5ons ¡

¡ ¡ ¡ ¡ ¡

  • Possible ¡to ¡also ¡search ¡directly ¡in ¡the ¡con5nuous ¡space ¡a`er ¡

the ¡discrete ¡solu5on ¡has ¡been ¡acquired ¡ – e.g., ¡with ¡RRT ¡or ¡some ¡form ¡of ¡search ¡in ¡the ¡configura5on ¡ space ¡

  • 3. ¡Addressing ¡Intersec,ons ¡ ¡

A ¡ B ¡ IA ¡ D ¡ C ¡

slide-19
SLIDE 19

IA: ¡collision-­‑free ¡

  • conf. ¡given ¡B ¡at ¡its ¡

current ¡posi5on ¡ ¡ IB: ¡collision-­‑free ¡

  • conf. ¡given ¡A ¡at ¡the ¡

intermediate ¡ posi5on ¡IA ¡ ¡

slide-20
SLIDE 20
  • 4. ¡Transferring ¡Primi,ves ¡to ¡the ¡Con,nuous ¡Space ¡
  • Similar ¡primi5ves ¡as ¡Push ¡and ¡Swap ¡but ¡in ¡the ¡

con5nuous ¡space ¡ ¡

  • Poten5ally ¡a ¡roadmap ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡

and ¡a ¡discrete ¡solu5on ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ are ¡not ¡needed ¡at ¡all: ¡

1 ¡ 2 ¡

slide-21
SLIDE 21

Other ¡Direc,ons ¡in ¡Mul,-­‑Robot ¡Planning ¡

¡ ¡ ¡ ¡ ¡Priori5zed ¡Mul5-­‑Robot ¡Planning ¡ ¡ Incremental ¡Coordina5on ¡

[van ¡den ¡Berg, ¡Overmars, ¡05] ¡ ¡ [Saha, ¡Isto, ¡07] ¡ ¡ Velocity ¡Tuning ¡ [O’Donnell ¡and ¡Lozano-­‑Perez, ¡‘89] ¡ Or ¡Accelera,on ¡Tuning ¡ [Peng, ¡Akella, ¡05] ¡ ¡

slide-22
SLIDE 22

A ¡Recent ¡Approach ¡

k-­‑Color ¡Mul5-­‑Robot ¡Mo5on ¡Planning ¡ ¡ ¡ U5liza5on ¡of ¡a ¡variant ¡of ¡the ¡ ¡ Pebble ¡Mo5on ¡on ¡Graph ¡problem ¡ in ¡the ¡con5nuous ¡domain ¡ ¡

¡

Able ¡to ¡quickly ¡figure ¡out ¡if ¡two ¡composite ¡ ¡ ¡ configura5ons ¡can ¡be ¡connected ¡ ¡ by ¡checking ¡a ¡permuta5on ¡signature ¡ ¡

[Solovey, ¡Halperin ¡WAFR ¡‘12] ¡ ¡

slide-23
SLIDE 23

Another ¡Related ¡Exci,ng ¡Line ¡of ¡Work ¡ ¡

Planning ¡for ¡Movable ¡Bodies ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡SOKOBAN-­‑like ¡challenges ¡

[van ¡den ¡Berg, ¡S,lman, ¡Kuffner, ¡Lin, ¡Manocha ¡ ¡WAFR ¡‘08] ¡ ¡