advanced flow based multilevel hypergraph partitioning
play

Advanced Flow-Based Multilevel Hypergraph Partitioning SEA 2020 - PowerPoint PPT Presentation

Advanced Flow-Based Multilevel Hypergraph Partitioning SEA 2020 June 5, 2020 Lars Gottesb uren , Michael Hamann, Sebastian Schlag, Dorothea Wagner I NSTITUTE OF T HEORETICAL I NFORMATICS A LGORITHMICS G ROUP s t KIT The Research


  1. Advanced Flow-Based Multilevel Hypergraph Partitioning SEA 2020 June 5, 2020 Lars Gottesb¨ uren , Michael Hamann, Sebastian Schlag, Dorothea Wagner I NSTITUTE OF T HEORETICAL I NFORMATICS · A LGORITHMICS G ROUP s t KIT – The Research University in the Helmholtz Association www.kit.edu

  2. Hypergraph Partitioning Hypergraph H = ( V , E , c , ω ) vertex set V = { 1, ..., n } edge set E ⊆ P ( V ) \ ∅ incident edges Γ ( u ) = { e ∈ E | u ∈ e } vertex weights ϕ : V → R ≥ 1 edge weights ω : E → R ≥ 1 1 Lars Gottesb¨ uren – Advanced Flow-Based Multilevel Hypergraph Partitioning Institute of Theoretical Informatics Algorithmics Group

  3. Hypergraph Partitioning Hypergraph H = ( V , E , c , ω ) vertex set V = { 1, ..., n } edge set E ⊆ P ( V ) \ ∅ incident edges Γ ( u ) = { e ∈ E | u ∈ e } vertex weights ϕ : V → R ≥ 1 edge weights ω : E → R ≥ 1 hyperedge / net pin 1 Lars Gottesb¨ uren – Advanced Flow-Based Multilevel Hypergraph Partitioning Institute of Theoretical Informatics Algorithmics Group

  4. Hypergraph Partitioning Partition into k disjoint blocks Π = { V 1 , . . . , V k } blocks V i have roughly equal weight : � � ϕ ( V ) ϕ ( V i ) ≤ (1 + ε ) k 1 Lars Gottesb¨ uren – Advanced Flow-Based Multilevel Hypergraph Partitioning Institute of Theoretical Informatics Algorithmics Group

  5. Hypergraph Partitioning Partition into k disjoint blocks Π = { V 1 , . . . , V k } imbalance blocks V i have roughly equal weight : � � ϕ ( V ) ϕ ( V i ) ≤ (1 + ε ) k 1 Lars Gottesb¨ uren – Advanced Flow-Based Multilevel Hypergraph Partitioning Institute of Theoretical Informatics Algorithmics Group

  6. Hypergraph Partitioning Partition into k disjoint blocks Π = { V 1 , . . . , V k } imbalance blocks V i have roughly equal weight : � � ϕ ( V ) ϕ ( V i ) ≤ (1 + ε ) k minimize connectivity objective: con = � e ∈ E ( λ ( e ) − 1) ω ( e ) 1 Lars Gottesb¨ uren – Advanced Flow-Based Multilevel Hypergraph Partitioning Institute of Theoretical Informatics Algorithmics Group

  7. Hypergraph Partitioning Partition into k disjoint blocks Π = { V 1 , . . . , V k } imbalance blocks V i have roughly equal weight : � � ϕ ( V ) ϕ ( V i ) ≤ (1 + ε ) k minimize connectivity objective: con = � e ∈ E ( λ ( e ) − 1) ω ( e ) λ ( e ) = |{ V i | V i ∩ e � = ∅}| # blocks overlapping with e 1 Lars Gottesb¨ uren – Advanced Flow-Based Multilevel Hypergraph Partitioning Institute of Theoretical Informatics Algorithmics Group

  8. Applications q 2 q 1 Distributed Databases Route Planning VLSI Design HPC 2 Lars Gottesb¨ uren – Advanced Flow-Based Multilevel Hypergraph Partitioning Institute of Theoretical Informatics Algorithmics Group

  9. Multilevel Algorithms Input Hypergraph local search match or cluster contract uncontract initial partition 3 Lars Gottesb¨ uren – Advanced Flow-Based Multilevel Hypergraph Partitioning Institute of Theoretical Informatics Algorithmics Group

  10. Multilevel Algorithms Input Hypergraph local search match or cluster contract uncontract initial partition 3 Lars Gottesb¨ uren – Advanced Flow-Based Multilevel Hypergraph Partitioning Institute of Theoretical Informatics Algorithmics Group

  11. Classic Fiduccia-Mattheyses Algorithm 1: FM Local Search connectivity while improvement found do while ¬ done do find best move rollback pass perform best move rollback to best solution vertex moves slide kindly provided by Sebastian Schlag 4 Lars Gottesb¨ uren – Advanced Flow-Based Multilevel Hypergraph Partitioning Institute of Theoretical Informatics Algorithmics Group

  12. Classic Fiduccia-Mattheyses Algorithm 1: FM Local Search pass 1 pass 2 connectivity while improvement found do while ¬ done do find best move pass rollback perform best move rollback to best solution vertex moves slide kindly provided by Sebastian Schlag 4 Lars Gottesb¨ uren – Advanced Flow-Based Multilevel Hypergraph Partitioning Institute of Theoretical Informatics Algorithmics Group

  13. Classic Fiduccia-Mattheyses Algorithm 1: FM Local Search pass 1 pass 2 connectivity while improvement found do while ¬ done do find best move pass rollback perform best move rollback to best solution vertex moves ✗ get stuck in local optima ✗ large edges � zero gain moves ? OPT ? slide kindly provided by Sebastian Schlag 4 Lars Gottesb¨ uren – Advanced Flow-Based Multilevel Hypergraph Partitioning Institute of Theoretical Informatics Algorithmics Group

  14. Classic Fiduccia-Mattheyses Algorithm 1: FM Local Search pass 1 pass 2 connectivity while improvement found do max-flow-min-cut to the rescue while ¬ done do find best move pass rollback perform best move rollback to best solution vertex moves ✗ get stuck in local optima ✗ large edges � zero gain moves ? OPT ? slide kindly provided by Sebastian Schlag 4 Lars Gottesb¨ uren – Advanced Flow-Based Multilevel Hypergraph Partitioning Institute of Theoretical Informatics Algorithmics Group

  15. Classic Fiduccia-Mattheyses Algorithm 1: FM Local Search pass 1 pass 2 connectivity while improvement found do max-flow-min-cut to the rescue while ¬ done do find best move pass rollback perform best move rollback to best solution Issues? vertex moves only 2-way what are flows ✗ get stuck in local optima ✗ large edges � zero gain moves on hypergraphs? not balanced ? OPT ? slide kindly provided by Sebastian Schlag 4 Lars Gottesb¨ uren – Advanced Flow-Based Multilevel Hypergraph Partitioning Institute of Theoretical Informatics Algorithmics Group

  16. Flow-Based Refinement in KaHyPar B 1 B 2 V 1 V 2 V 1 V 2 s t V 3 V 4 select two adjacent blocks for refinement build graph-based flow model 5 5 2 2 2 2 2 2 1 1 s t s t 3 1 3 1 2 2 V 2 4 4 V 1 solve flow problem find more balanced minimum cut slide kindly provided by Sebastian Schlag 5 Lars Gottesb¨ uren – Advanced Flow-Based Multilevel Hypergraph Partitioning Institute of Theoretical Informatics Algorithmics Group

  17. Flow-Based Refinement in KaHyPar B 1 B 2 V 1 V 2 V 1 V 2 s t V 3 V 4 select two adjacent blocks for refinement build graph-based flow model 5 5 either: restrict flow model size so that balance is guaranteed 2 2 2 2 2 2 or: make it a little larger, hope for balance. if not � scale down again 1 1 s t s t 3 1 3 1 2 2 V 2 4 4 V 1 solve flow problem find more balanced minimum cut slide kindly provided by Sebastian Schlag 5 Lars Gottesb¨ uren – Advanced Flow-Based Multilevel Hypergraph Partitioning Institute of Theoretical Informatics Algorithmics Group

  18. Flow-Based Refinement in KaHyPar B 1 B 2 V 1 V 2 V 1 V 2 s t V 3 V 4 select two adjacent blocks for refinement build graph-based flow model 5 5 2 2 2 2 2 2 1 1 s t s t 3 1 3 1 2 2 V 2 4 4 V 1 solve flow problem find more balanced minimum cut slide kindly provided by Sebastian Schlag 5 Lars Gottesb¨ uren – Advanced Flow-Based Multilevel Hypergraph Partitioning Institute of Theoretical Informatics Algorithmics Group

  19. Flow-Based Refinement in KaHyPar B 1 B 2 V 1 V 2 V 1 V 2 s t V 3 V 4 select two adjacent blocks for refinement build graph-based flow model 5 5 2 2 2 2 2 2 1 1 s t s t 3 1 3 1 2 2 V 2 4 4 V 1 solve flow problem find more balanced minimum cut slide kindly provided by Sebastian Schlag 5 Lars Gottesb¨ uren – Advanced Flow-Based Multilevel Hypergraph Partitioning Institute of Theoretical Informatics Algorithmics Group

  20. The new KaHyPar-HFC B 1 B 2 V 1 V 2 t s V 1 V 2 V 3 V 4 select two adjacent blocks for refinement flows directly on hypergraph 5 2 2 2 s t 1 s t naturally built-in 3 1 2 V 2 4 V 1 use FlowCutter find more balanced minimum cut [Hamann, Strasser JEA18] [Gottesb¨ uren, Hamann, Wagner ESA19] 6 Lars Gottesb¨ uren – Advanced Flow-Based Multilevel Hypergraph Partitioning Institute of Theoretical Informatics Algorithmics Group

  21. The new KaHyPar-HFC B 1 B 2 V 1 V 2 t s V 1 V 2 V 3 V 4 select two adjacent blocks for refinement flows directly on hypergraph 5 2 2 2 s t 1 s t naturally built-in 3 1 2 V 2 4 V 1 use FlowCutter find more balanced minimum cut [Hamann, Strasser JEA18] [Gottesb¨ uren, Hamann, Wagner ESA19] 6 Lars Gottesb¨ uren – Advanced Flow-Based Multilevel Hypergraph Partitioning Institute of Theoretical Informatics Algorithmics Group

  22. The new KaHyPar-HFC B 1 B 2 V 1 V 2 t s V 1 V 2 V 3 V 4 select two adjacent blocks for refinement flows directly on hypergraph 5 what’s new for FlowCutter? 2 2 2 weighted instances s t 1 s t naturally built-in new guidance 3 1 2 V 2 4 V 1 use FlowCutter find more balanced minimum cut [Hamann, Strasser JEA18] [Gottesb¨ uren, Hamann, Wagner ESA19] 6 Lars Gottesb¨ uren – Advanced Flow-Based Multilevel Hypergraph Partitioning Institute of Theoretical Informatics Algorithmics Group

  23. Flows on Hypergraphs u x e v w 7 Lars Gottesb¨ uren – Advanced Flow-Based Multilevel Hypergraph Partitioning Institute of Theoretical Informatics Algorithmics Group

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