round compression for parallel matching algorithms
play

Round Compression for Parallel Matching Algorithms Krzysztof Onak - PowerPoint PPT Presentation

Round Compression for Parallel Matching Algorithms Krzysztof Onak IBM T.J. Watson Research Center Joint work with Artur Czumaj (U of Warwick), Jakub acki (Google), Aleksander M adry (MIT), Slobodan Mitrovi c (EPFL), and Piotr


  1. Round Compression for Parallel Matching Algorithms Krzysztof Onak IBM T.J. Watson Research Center Joint work with Artur Czumaj (U of Warwick), Jakub Ł ˛ acki (Google), Aleksander M ˛ adry (MIT), Slobodan Mitrovi´ c (EPFL), and Piotr Sankowski (U of Warsaw) Krzysztof Onak (IBM Research) Round Compression for Parallel Matching Algorithms 1 / 25

  2. Mandatory “Big Data” Slides Massive Data Systems Krzysztof Onak (IBM Research) Round Compression for Parallel Matching Algorithms 2 / 25

  3. Outline Model of Computation 1 Graph Matchings in MPC 2 Review of Distributed Algorithms 3 4 Our Algorithm 5 Further Research Krzysztof Onak (IBM Research) Round Compression for Parallel Matching Algorithms 3 / 25

  4. Outline Model of Computation 1 Graph Matchings in MPC 2 Review of Distributed Algorithms 3 4 Our Algorithm 5 Further Research Krzysztof Onak (IBM Research) Round Compression for Parallel Matching Algorithms 4 / 25

  5. Model: Massive Parallel Computation (MPC) Introduced by Karloff, Suri, and Vassilvitskii (2010) M machines S space per machine Input: N items Machine Machine Machine Machine Machine Machine Machine Machine Machine Krzysztof Onak (IBM Research) Round Compression for Parallel Matching Algorithms 5 / 25

  6. Model: Massive Parallel Computation (MPC) Introduced by Karloff, Suri, and Vassilvitskii (2010) M machines S space per machine Input: N items Machine Machine Machine Machine Machine Machine Machine Machine Machine • Initially: each machine receives N / M items Krzysztof Onak (IBM Research) Round Compression for Parallel Matching Algorithms 5 / 25

  7. Model: Massive Parallel Computation (MPC) Introduced by Karloff, Suri, and Vassilvitskii (2010) M machines S space per machine Input: N items Machine Machine Machine Machine Machine Machine Machine Machine Machine • Initially: each machine receives N / M items • Single round: 1. Each machine performs computation 2. Each machine sends and receives at most O ( S ) data Krzysztof Onak (IBM Research) Round Compression for Parallel Matching Algorithms 5 / 25

  8. Model: Massive Parallel Computation (MPC) • Inspired by MapReduce [Dean, Ghemawat 2004] • Sleak abstraction that hides details of MapReduce Krzysztof Onak (IBM Research) Round Compression for Parallel Matching Algorithms 6 / 25

  9. Model: Massive Parallel Computation (MPC) • Inspired by MapReduce [Dean, Ghemawat 2004] • Sleak abstraction that hides details of MapReduce • Total space considerations: [Beame 2009: Problem 27 at sublinear.info] [Beame, Koutris, Suciu 2013] [Andoni, Nikolov, Onak, Yaroslavtsev 2014] • Karloff et al. allow for N 1 − ǫ machines with N 1 − ǫ space ⇒ near quadratic total space N 2 − 2 ǫ Krzysztof Onak (IBM Research) Round Compression for Parallel Matching Algorithms 6 / 25

  10. Model: Massive Parallel Computation (MPC) • Inspired by MapReduce [Dean, Ghemawat 2004] • Sleak abstraction that hides details of MapReduce • Total space considerations: [Beame 2009: Problem 27 at sublinear.info] [Beame, Koutris, Suciu 2013] [Andoni, Nikolov, Onak, Yaroslavtsev 2014] • Karloff et al. allow for N 1 − ǫ machines with N 1 − ǫ space ⇒ near quadratic total space N 2 − 2 ǫ • A refined version asks for near-linear total space: M × S = ˜ O ( N ) . Krzysztof Onak (IBM Research) Round Compression for Parallel Matching Algorithms 6 / 25

  11. Model: Massive Parallel Computation (MPC) • Inspired by MapReduce [Dean, Ghemawat 2004] • Sleak abstraction that hides details of MapReduce • Total space considerations: [Beame 2009: Problem 27 at sublinear.info] [Beame, Koutris, Suciu 2013] [Andoni, Nikolov, Onak, Yaroslavtsev 2014] • Karloff et al. allow for N 1 − ǫ machines with N 1 − ǫ space ⇒ near quadratic total space N 2 − 2 ǫ • A refined version asks for near-linear total space: M × S = ˜ O ( N ) . • Goals: • Small number of rounds • Small space per machine • Fast local computation Krzysztof Onak (IBM Research) Round Compression for Parallel Matching Algorithms 6 / 25

  12. This Talk: MPC for Graphs Input: edges of an m -edge graph on n vertices S space per machine M = O ( m / S ) machines Machine Machine Machine Machine Machine Machine Machine Machine Machine Krzysztof Onak (IBM Research) Round Compression for Parallel Matching Algorithms 7 / 25

  13. This Talk: Matching Algorithms Why study graph matchings? • Non-trivial appealing packing problem • Great testbed for many new algorithmic ideas • Helpful to understand the power of the model • They have practical applications Krzysztof Onak (IBM Research) Round Compression for Parallel Matching Algorithms 8 / 25

  14. Outline Model of Computation 1 Graph Matchings in MPC 2 Review of Distributed Algorithms 3 4 Our Algorithm 5 Further Research Krzysztof Onak (IBM Research) Round Compression for Parallel Matching Algorithms 9 / 25

  15. Graph Problems Maximum Matching: find maximum set of vertex disjoint edges Krzysztof Onak (IBM Research) Round Compression for Parallel Matching Algorithms 10 / 25

  16. Large Matchings: Rounds vs. Space • Space n 1 +Ω( 1 ) : ( 1 + ǫ ) -approximation in O ( 1 ) rounds [Lattanzi, Moseley, Suri, Vassilvitskii 2011] [Ahn, Guha 2015] Krzysztof Onak (IBM Research) Round Compression for Parallel Matching Algorithms 11 / 25

  17. Large Matchings: Rounds vs. Space • Space n 1 +Ω( 1 ) : ( 1 + ǫ ) -approximation in O ( 1 ) rounds [Lattanzi, Moseley, Suri, Vassilvitskii 2011] [Ahn, Guha 2015] • Space n Ω( 1 ) : 2-approximation in O ( log n ) rounds • Simulate classic MIS or Maximal Matching PRAM/distributed algorithms: • Luby (1986) • Alon, Babai, Itai (1986) • Israeli, Itai (1986) Krzysztof Onak (IBM Research) Round Compression for Parallel Matching Algorithms 11 / 25

  18. Large Matchings: Rounds vs. Space • Space n 1 +Ω( 1 ) : ( 1 + ǫ ) -approximation in O ( 1 ) rounds [Lattanzi, Moseley, Suri, Vassilvitskii 2011] [Ahn, Guha 2015] • Space n Ω( 1 ) : 2-approximation in O ( log n ) rounds • Simulate classic MIS or Maximal Matching PRAM/distributed algorithms: • Luby (1986) • Alon, Babai, Itai (1986) • Israeli, Itai (1986) • Tools for simulation: • Karloff, Suri, and Vassilvitskii (2010) • Goodrich, Sitchinava, and Zhang (2011) Krzysztof Onak (IBM Research) Round Compression for Parallel Matching Algorithms 11 / 25

  19. Large Matchings: Rounds vs. Space • Space n 1 +Ω( 1 ) : ( 1 + ǫ ) -approximation in O ( 1 ) rounds [Lattanzi, Moseley, Suri, Vassilvitskii 2011] [Ahn, Guha 2015] • Space n Ω( 1 ) : 2-approximation in O ( log n ) rounds • Simulate classic MIS or Maximal Matching PRAM/distributed algorithms: • Luby (1986) • Alon, Babai, Itai (1986) • Israeli, Itai (1986) • Tools for simulation: • Karloff, Suri, and Vassilvitskii (2010) • Goodrich, Sitchinava, and Zhang (2011) • For O ( n ) space, round complexity becomes Θ( log n ) Krzysztof Onak (IBM Research) Round Compression for Parallel Matching Algorithms 11 / 25

  20. Our Results For O ( n ) space, improve O ( 1 ) -approximation to poly ( log log n ) rounds Krzysztof Onak (IBM Research) Round Compression for Parallel Matching Algorithms 12 / 25

  21. Our Results For O ( n ) space, improve O ( 1 ) -approximation to poly ( log log n ) rounds More detailed version: For n /α space, O ( 1 ) -approximation ( log log n ) 2 + log α � � in O rounds Krzysztof Onak (IBM Research) Round Compression for Parallel Matching Algorithms 12 / 25

  22. Our Results For O ( n ) space, improve O ( 1 ) -approximation to poly ( log log n ) rounds More detailed version: For n /α space, O ( 1 ) -approximation ( log log n ) 2 + log α � � in O rounds (Works well even if space slightly sublinear in n ) Krzysztof Onak (IBM Research) Round Compression for Parallel Matching Algorithms 12 / 25

  23. Our Results For O ( n ) space, improve O ( 1 ) -approximation to poly ( log log n ) rounds More detailed version: For n /α space, O ( 1 ) -approximation ( log log n ) 2 + log α � � in O rounds (Works well even if space slightly sublinear in n ) Interesting space regime: • often just enough to fit a solution on a single machine • gold standard for space in semi-streaming algorithms • reasonable middle ground Krzysztof Onak (IBM Research) Round Compression for Parallel Matching Algorithms 12 / 25

  24. Highlights of Our Approach Starting point: O ( 1 ) -approximation distributed algorithm (in the LOCAL model) • It uses Θ( log n ) rounds • So would direct simulation Krzysztof Onak (IBM Research) Round Compression for Parallel Matching Algorithms 13 / 25

  25. Highlights of Our Approach Starting point: O ( 1 ) -approximation distributed algorithm (in the LOCAL model) • It uses Θ( log n ) rounds • So would direct simulation Round compression: Repeatedly compress a superconstant number of rounds of the original algorithm into a constant number of MPC rounds Krzysztof Onak (IBM Research) Round Compression for Parallel Matching Algorithms 13 / 25

  26. Highlights of Our Approach Starting point: O ( 1 ) -approximation distributed algorithm (in the LOCAL model) • It uses Θ( log n ) rounds • So would direct simulation Round compression: Repeatedly compress a superconstant number of rounds of the original algorithm into a constant number of MPC rounds Vertex sampling: Previous algorithms used edge sampling Krzysztof Onak (IBM Research) Round Compression for Parallel Matching Algorithms 13 / 25

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