faster parallel algorithm for approximate shortest path
play

Faster Parallel Algorithm for Approximate Shortest Path Jason Li - PowerPoint PPT Presentation

Faster Parallel Algorithm for Approximate Shortest Path Jason Li (CMU) STOC 2020 March 2, 2020 Introduction Approximate single-source shortest path (SSSP)... Introduction Approximate single-source shortest path (SSSP)... Input:


  1. Faster Parallel Algorithm for Approximate Shortest Path Jason Li (CMU) STOC 2020 March 2, 2020

  2. Introduction Approximate single-source shortest path (SSSP)...

  3. Introduction Approximate single-source shortest path (SSSP)... • Input: undirected graph with nonnegative weights, and a source vertex s

  4. Introduction Approximate single-source shortest path (SSSP)... • Input: undirected graph with nonnegative weights, and a source vertex s • Output (distances): approximations ˜ d ( v ) for all v ∈ V satisfying d G ( s , v ) ≤ ˜ d ( v ) ≤ ( 1 + ǫ ) d G ( s , v )

  5. Introduction Approximate single-source shortest path (SSSP)... • Input: undirected graph with nonnegative weights, and a source vertex s • Output (distances): approximations ˜ d ( v ) for all v ∈ V satisfying d G ( s , v ) ≤ ˜ d ( v ) ≤ ( 1 + ǫ ) d G ( s , v ) • Output (tree): a spanning tree T satisfying d G ( s , v ) ≤ ˜ d T ( s , v ) ≤ ( 1 + ǫ ) d G ( s , v )

  6. Introduction Approximate single-source shortest path (SSSP)... • Input: undirected graph with nonnegative weights, and a source vertex s • Output (distances): approximations ˜ d ( v ) for all v ∈ V satisfying d G ( s , v ) ≤ ˜ d ( v ) ≤ ( 1 + ǫ ) d G ( s , v ) • Output (tree): a spanning tree T satisfying d G ( s , v ) ≤ ˜ d T ( s , v ) ≤ ( 1 + ǫ ) d G ( s , v ) ...in parallel

  7. Introduction Approximate single-source shortest path (SSSP)... • Input: undirected graph with nonnegative weights, and a source vertex s • Output (distances): approximations ˜ d ( v ) for all v ∈ V satisfying d G ( s , v ) ≤ ˜ d ( v ) ≤ ( 1 + ǫ ) d G ( s , v ) • Output (tree): a spanning tree T satisfying d G ( s , v ) ≤ ˜ d T ( s , v ) ≤ ( 1 + ǫ ) d G ( s , v ) ...in parallel • PRAM model: parallel foreach , runs each loop independently in parallel

  8. Introduction Approximate single-source shortest path (SSSP)... • Input: undirected graph with nonnegative weights, and a source vertex s • Output (distances): approximations ˜ d ( v ) for all v ∈ V satisfying d G ( s , v ) ≤ ˜ d ( v ) ≤ ( 1 + ǫ ) d G ( s , v ) • Output (tree): a spanning tree T satisfying d G ( s , v ) ≤ ˜ d T ( s , v ) ≤ ( 1 + ǫ ) d G ( s , v ) ...in parallel • PRAM model: parallel foreach , runs each loop independently in parallel • Work: sum of running times of each loop

  9. Introduction Approximate single-source shortest path (SSSP)... • Input: undirected graph with nonnegative weights, and a source vertex s • Output (distances): approximations ˜ d ( v ) for all v ∈ V satisfying d G ( s , v ) ≤ ˜ d ( v ) ≤ ( 1 + ǫ ) d G ( s , v ) • Output (tree): a spanning tree T satisfying d G ( s , v ) ≤ ˜ d T ( s , v ) ≤ ( 1 + ǫ ) d G ( s , v ) ...in parallel • PRAM model: parallel foreach , runs each loop independently in parallel • Work: sum of running times of each loop • Time/Span: max of running times

  10. Results Past work

  11. Results Past work • Cohen [’94]: m 1 + δ work and polylog ( n ) time for any constant δ > 0

  12. Results Past work • Cohen [’94]: m 1 + δ work and polylog ( n ) time for any constant δ > 0 • Introduced the concept of hopsets , “shortcut edges”

  13. Results Past work • Cohen [’94]: m 1 + δ work and polylog ( n ) time for any constant δ > 0 • Introduced the concept of hopsets , “shortcut edges” • polylog ( n ) factor improved by Elkin and Neiman [’18]

  14. Results Past work • Cohen [’94]: m 1 + δ work and polylog ( n ) time for any constant δ > 0 • Introduced the concept of hopsets , “shortcut edges” • polylog ( n ) factor improved by Elkin and Neiman [’18] • Open: m polylog ( n ) work and polylog ( n ) time

  15. Results Past work • Cohen [’94]: m 1 + δ work and polylog ( n ) time for any constant δ > 0 • Introduced the concept of hopsets , “shortcut edges” • polylog ( n ) factor improved by Elkin and Neiman [’18] • Open: m polylog ( n ) work and polylog ( n ) time • Surprising lower bound : no hopset-based m polylog ( n ) work and polylog ( n ) time algorithm!

  16. Results Past work • Cohen [’94]: m 1 + δ work and polylog ( n ) time for any constant δ > 0 • Introduced the concept of hopsets , “shortcut edges” • polylog ( n ) factor improved by Elkin and Neiman [’18] • Open: m polylog ( n ) work and polylog ( n ) time • Surprising lower bound : no hopset-based m polylog ( n ) work and polylog ( n ) time algorithm! Our result

  17. Results Past work • Cohen [’94]: m 1 + δ work and polylog ( n ) time for any constant δ > 0 • Introduced the concept of hopsets , “shortcut edges” • polylog ( n ) factor improved by Elkin and Neiman [’18] • Open: m polylog ( n ) work and polylog ( n ) time • Surprising lower bound : no hopset-based m polylog ( n ) work and polylog ( n ) time algorithm! Our result • m polylog ( n ) work and polylog ( n ) time via continuous optimization

  18. Results Past work • Cohen [’94]: m 1 + δ work and polylog ( n ) time for any constant δ > 0 • Introduced the concept of hopsets , “shortcut edges” • polylog ( n ) factor improved by Elkin and Neiman [’18] • Open: m polylog ( n ) work and polylog ( n ) time • Surprising lower bound : no hopset-based m polylog ( n ) work and polylog ( n ) time algorithm! Our result • m polylog ( n ) work and polylog ( n ) time via continuous optimization • Study a continuous relaxation of SSSP , the minimum transshipment problem

  19. Results Past work • Cohen [’94]: m 1 + δ work and polylog ( n ) time for any constant δ > 0 • Introduced the concept of hopsets , “shortcut edges” • polylog ( n ) factor improved by Elkin and Neiman [’18] • Open: m polylog ( n ) work and polylog ( n ) time • Surprising lower bound : no hopset-based m polylog ( n ) work and polylog ( n ) time algorithm! Our result • m polylog ( n ) work and polylog ( n ) time via continuous optimization • Study a continuous relaxation of SSSP , the minimum transshipment problem • Concurrently: Andoni, Stein, Zhong [STOC’20] obtain the same result with similar techniques

  20. Transshipment Transshipment, a.k.a. uncapacitated min-cost flow

  21. Transshipment Transshipment, a.k.a. uncapacitated min-cost flow • Input: graph with vertex-edge incidence matrix A ∈ R V × E and demand vector b ∈ R V satisfying � v b v = 0

  22. Transshipment Transshipment, a.k.a. uncapacitated min-cost flow • Input: graph with vertex-edge incidence matrix A ∈ R V × E and demand vector b ∈ R V satisfying � v b v = 0 • Constraint: a flow vector f ∈ R E satisfying the flow constraint Af = b

  23. Transshipment Transshipment, a.k.a. uncapacitated min-cost flow • Input: graph with vertex-edge incidence matrix A ∈ R V × E and demand vector b ∈ R V satisfying � v b v = 0 • Constraint: a flow vector f ∈ R E satisfying the flow constraint Af = b • Objective: minimize � Cf � 1 = � e c e f e

  24. Transshipment Transshipment, a.k.a. uncapacitated min-cost flow • Input: graph with vertex-edge incidence matrix A ∈ R V × E and demand vector b ∈ R V satisfying � v b v = 0 • Constraint: a flow vector f ∈ R E satisfying the flow constraint Af = b • Objective: minimize � Cf � 1 = � e c e f e • ℓ 1 version of max-flow (which is minimize � Cf � ∞ )

  25. Transshipment Transshipment, a.k.a. uncapacitated min-cost flow • Input: graph with vertex-edge incidence matrix A ∈ R V × E and demand vector b ∈ R V satisfying � v b v = 0 • Constraint: a flow vector f ∈ R E satisfying the flow constraint Af = b • Objective: minimize � Cf � 1 = � e c e f e • ℓ 1 version of max-flow (which is minimize � Cf � ∞ ) • If b = � v ( 1 v − 1 s ) , then best flow sends 1 unit along shortest s – v path for each v � = s

  26. Transshipment Transshipment, a.k.a. uncapacitated min-cost flow • Input: graph with vertex-edge incidence matrix A ∈ R V × E and demand vector b ∈ R V satisfying � v b v = 0 • Constraint: a flow vector f ∈ R E satisfying the flow constraint Af = b • Objective: minimize � Cf � 1 = � e c e f e • ℓ 1 version of max-flow (which is minimize � Cf � ∞ ) • If b = � v ( 1 v − 1 s ) , then best flow sends 1 unit along shortest s – v path for each v � = s = ⇒ generalizes SSSP in exact case

  27. Transshipment Transshipment, a.k.a. uncapacitated min-cost flow • Input: graph with vertex-edge incidence matrix A ∈ R V × E and demand vector b ∈ R V satisfying � v b v = 0 • Constraint: a flow vector f ∈ R E satisfying the flow constraint Af = b • Objective: minimize � Cf � 1 = � e c e f e • ℓ 1 version of max-flow (which is minimize � Cf � ∞ ) • If b = � v ( 1 v − 1 s ) , then best flow sends 1 unit along shortest s – v path for each v � = s = ⇒ generalizes SSSP in exact case • Approximate versions do not generalize!

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