Download presentation
Presentation is loading. Please wait.
Published byAugustus Turner Modified over 9 years ago
1
Multilevel Hypergraph Partitioning G. Karypis, R. Aggarwal, V. Kumar, and S. Shekhar Computer Science Department, U of MN Applications in VLSI Domain
2
Overview Problem definition Earlier work on partitioning Multilevel graph partitioning algorithms Multilevel hypergraph partitioning algorithms Experimental results Conclusion
3
Problem Definition Given a hypergraph G = (V, E) we want to find a balanced bisection such that the number of hyperedges that are cut is minimized. Applications 4 VLSI (packaging, synthesis, optimization, …) 4 Numerical computations 4 Transportation 4 Data-mining
4
Overview of Partitioning Algorithms Effective partitioning algorithms must utilize both global as well as local information. Global View Knowing where to bisect Local ViewThe ability to fine-tune a bisection A number of partitioning algorithms have been developed, utilizing global and local information to different degrees. Single-level Two-level Multi-level
5
Multilevel Partitioning Schemes l Originally developed for graphs (edges connecting 2 nodes) as opposed to netlists or hypergraphs in which edges or hyperedges connect >= 2 nodes) l Produce high-quality partitionings. Incorporate both global and local information. Outperforms everything else! l They are extremely fast. Eg: 1M-node graph takes 35s. l They can be easily parallelized. Eg: 1M-node graph takes 0.8s on 64 processors. Coarsening Uncoarsening + Partition Refinement Initial Partitioning
6
Ingredients of Multilevel Partitioning CoarseningInitial PartitioningRefinement u Successive coarse graphs must make it easier to find a good partition. u Uniform vertex weights (node/vertex “sizes” should be as uniform as possible). u Exposed edge-weight must decrease rapidly. u The `how to coarsen’ computation must be fast. u The size of successive coarse graphs must decrease relatively fast u less time spent in coarsening, less memory.
7
Ingredients of Multilevel Partitioning CoarseningInitial PartitioningRefinement u This is the easiest of the three phases. u Everything reasonable works fine. Random+FM, spectral, region growing, etc. u It requires very little time Operates on small graphs (~100 vertices).
8
Ingredients of Multilevel Partitioning CoarseningInitial PartitioningRefinement u Needs a local partitioning refinement algorithm. u Any vertex-swapping algorithm can be used KL, FM, etc. u If coarsening is done correctly, simple refinement algorithms work extremely well and this phase requires very little time.
9
Metis: Multilevel Graph Partitioning u Coarsening u Maximal independent set of edges (matching). u Preference to high weight edges: heavy-edge. u Effective in reducing the exposed edge-weight! u Initial Partitioning u A region-growing followed by FM u Refinement u A simplified version of FM Only up to 4 passes, Early exit u Very fast refinement. Metis is an extremely fast, robust, high-quality graph partitioning algorithm. 2 1 2
10
Going from Graphs to Hypergraphs Hypergraph partitioning is significantly more complicated than graph partitioning. Just look at the various refinement algorithms used in hypergraphs. n Graphs: KL/FM n Hypergraphs: KL/FM, LA, PROP, CLIP, etc. Can we find proper coarsening schemes that will let us use simple and fast refinement schemes and get good and robust performance?
11
Hypergraph Coarsening Schemes Edge-based coarsening schemes n Pairs of connected vertices are collapsed together, using the heavy-edge heuristic. 4 Easy and fast to compute. 8 Does not dramatically decrease the exposed hyperedge weight. u Cannot easily remove moderate-size hyperedges. 8 Requires a lot of refinement in order to obtain good partitionings u Requires sophisticated refinement schemes 8 Can lead to good partitionings but very slow!
12
Hypergraph Coarsening Schemes Hyperedge-based coarsening schemes n Collapses together all the vertices of an entire hyperedge. n Preference is given to the heavier hyperedges. 4 Easy and fast to compute. 4 It dramatically decreases the exposed hyperedge weight. 4 Leads to very good initial partitionings. u 3600 as opposed to 6200 for golem3! 4 Requires very little refinement time. 4 High-quality partitionings can be obtained with simple refinement schemes.
13
hMetis: Multilevel Hypergraph Partitioning Algorithm Uses hyperedge-based coarsening. Uses a simplified version of FM for refinement n Limits the number of passes, Early-exit Employs some new multilevel refinement techniques to further improve the quality. hMetis is an extremely fast, robust, high- quality hypergraph partitioning algorithm.
14
Experimental Setup We used the ACM/SIGDA circuit partitioning benchmark. Experiments were performed on a MIPS R10000@200Mhz. Results represent a 45-55 balance condition. Best out of 20 runs using EE-FM and multilevel refinement.
15
Bisection Quality
16
Bisection Runtime
17
Conclusions The multilevel paradigm with the right coarsening and refinement scheme works extremely well for hypergraphs. The quality of the partitionings can be further improved by running the algorithm multiple times. hMetis will be made available in the public domain by the end of June. URL: http://www.cs.umn.edu/~karypis/metis
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.