Multilevel Hypergraph Partitioning Daniel Salce Matthew Zobel.

Slides:



Advertisements
Similar presentations
Learning Trajectory Patterns by Clustering: Comparative Evaluation Group D.
Advertisements

METIS Three Phases Coarsening Partitioning Uncoarsening
Meng-Kai Hsu, Sheng Chou, Tzu-Hen Lin, and Yao-Wen Chang Electronics Engineering, National Taiwan University Routability Driven Analytical Placement for.
A Size Scaling Approach for Mixed-size Placement Kalliopi Tsota, Cheng-Kok Koh, Venkataramanan Balakrishnan School of Electrical and Computer Engineering.
2001/12/18CHAMELEON1 CHAMELEON: A Hierarchical Clustering Algorithm Using Dynamic Modeling Paper presentation in data mining class Presenter : 許明壽 ; 蘇建仲.
Adaptive Mesh Applications
Optimization of Pearl’s Method of Conditioning and Greedy-Like Approximation Algorithm for the Vertex Feedback Set Problem Authors: Ann Becker and Dan.
A Clustering Utility Based Approach for S. Areibi, M. Thompson, A. Vannelli uoguelph.ca September 2001 School of Engineering ASIC Design 14th.
EE 5301 – VLSI Design Automation I
VLSI Layout Algorithms CSE 6404 A 46 B 65 C 11 D 56 E 23 F 8 H 37 G 19 I 12J 14 K 27 X=(AB*CD)+ (A+D)+(A(B+C)) Y = (A(B+C)+AC+ D+A(BC+D)) Dr. Md. Saidur.
Faster SAT and Smaller BDDs via Common Function Structure Fadi A. Aloul, Igor L. Markov, Karem A. Sakallah University of Michigan.
2004/9/16EE VLSI Design Automation I 85 EE 5301 – VLSI Design Automation I Kia Bazargan University of Minnesota Part III: Partitioning.
Chapter 2 – Netlist and System Partitioning
A general approximation technique for constrained forest problems Michael X. Goemans & David P. Williamson Presented by: Yonatan Elhanani & Yuval Cohen.
EDA (CS286.5b) Day 5 Partitioning: Intro + KLFM. Today Partitioning –why important –practical attack –variations and issues.
A scalable multilevel algorithm for community structure detection
Easy Optimization Problems, Relaxation, Local Processing for a single variable.
1 Circuit Partitioning Presented by Jill. 2 Outline Introduction Cut-size driven circuit partitioning Multi-objective circuit partitioning Our approach.
Partitioning 1 Outline –What is Partitioning –Partitioning Example –Partitioning Theory –Partitioning Algorithms Goal –Understand partitioning problem.
(work appeared in SODA 10’) Yuk Hei Chan (Tom)
1 Enhancing Performance of Iterative Heuristics for VLSI Netlist Partitioning Dr. Sadiq M. Sait Dr. Aiman El-Maleh Mr. Raslan Al Abaji. Computer Engineering.
15-853Page :Algorithms in the Real World Separators – Introduction – Applications.
Multilevel Graph Partitioning and Fiduccia-Mattheyses
Joanna Ellis-Monaghan, St. Michaels College Paul Gutwin, Principal Technical Account Manager, Cadence.
Multilevel Hypergraph Partitioning G. Karypis, R. Aggarwal, V. Kumar, and S. Shekhar Computer Science Department, U of MN Applications in VLSI Domain.
Domain decomposition in parallel computing Ashok Srinivasan Florida State University COT 5410 – Spring 2004.
Graph partition in PCB and VLSI physical synthesis Lin Zhong ELEC424, Fall 2010.
A User Experience-based Cloud Service Redeployment Mechanism KANG Yu.
CHAMELEON : A Hierarchical Clustering Algorithm Using Dynamic Modeling
Surface Simplification Using Quadric Error Metrics Michael Garland Paul S. Heckbert.
Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of Energy’s National Nuclear.
Graph Partitioning Problem Kernighan and Lin Algorithm
Network Aware Resource Allocation in Distributed Clouds.
VLSI Physical Design: From Graph Partitioning to Timing Closure Chapter 5: Global Routing © KLMH Lienig 1 EECS 527 Paper Presentation High-Performance.
Gordian Placement Tool: Quadratic and Linear Problem Formulation Ryan Speelman Jason Gordon Steven Butt EE 201A
Parallel Computing Sciences Department MOV’01 Multilevel Combinatorial Methods in Scientific Computing Bruce Hendrickson Sandia National Laboratories Parallel.
Clustering Spatial Data Using Random Walk David Harel and Yehuda Koren KDD 2001.
1 Efficient Obstacle-Avoiding Rectilinear Steiner Tree Construction Chung-Wei Lin, Szu-Yu Chen, Chi-Feng Li, Yao-Wen Chang, Chia-Lin Yang National Taiwan.
Learning the Structure of Related Tasks Presented by Lihan He Machine Learning Reading Group Duke University 02/03/2006 A. Niculescu-Mizil, R. Caruana.
An Efficient Linear Time Triple Patterning Solver Haitong Tian Hongbo Zhang Zigang Xiao Martin D.F. Wong ASP-DAC’15.
PaGrid: A Mesh Partitioner for Computational Grids Virendra C. Bhavsar Professor and Dean Faculty of Computer Science UNB, Fredericton This.
CS 484 Load Balancing. Goal: All processors working all the time Efficiency of 1 Distribute the load (work) to meet the goal Two types of load balancing.
Implicit Hitting Set Problems Richard M. Karp Erick Moreno Centeno DIMACS 20 th Anniversary.
Partitioning using Mesh Adjacencies  Graph-based dynamic balancing Parallel construction and balancing of standard partition graph with small cuts takes.
Domain decomposition in parallel computing Ashok Srinivasan Florida State University.
ICS 252 Introduction to Computer Design
Global Clustering-Based Performance-Driven Circuit Partitioning Jason Cong University of California Los Angeles Chang Wu Aplus Design.
Hypergraph Partitioning With Fixed Vertices Andrew E. Caldwell, Andrew B. Kahng and Igor L. Markov UCLA Computer Science Department
Multilevel Partitioning
Network Partition –Finding modules of the network. Graph Clustering –Partition graphs according to the connectivity. –Nodes within a cluster is highly.
3/21/ VLSI Physical Design Automation Prof. David Pan Office: ACES Lecture 4. Circuit Partitioning (II)
On the Ability of Graph Coloring Heuristics to Find Substructures in Social Networks David Chalupa By, Tejaswini Nallagatla.
Partitioning Jong-Wha Chong Wireless Location and SOC Lab. Hanyang University.
High Performance Computing Seminar II Parallel mesh partitioning with ParMETIS Parallel iterative solvers with Hypre M.Sc. Caroline Mendonça Costa.
High Performance Computing Seminar
Parallel Hypergraph Partitioning for Scientific Computing
A Continuous Optimization Approach to the Minimum Bisection Problem
Data Mining Cluster Analysis: Advanced Concepts and Algorithms
A Linear-Time Heuristic for Improving Network Partitions
Chapter 2 – Netlist and System Partitioning
Plan Introduction to multilevel heuristics Rich partitioning problems
Haim Kaplan and Uri Zwick
Haim Kaplan and Uri Zwick
Using Multilevel Force-Directed Algorithm to Draw Large Clustered Graph 研究生: 何明彥 指導老師:顏嗣鈞 教授 2018/12/4 NTUEE.
Design Hierarchy Guided Multilevel Circuit Partitioning
A Fundamental Bi-partition Algorithm of Kernighan-Lin
A Parallelization of State-of-the-Art Graph Bisection Algorithms
Adaptive Mesh Applications
Rusakov A. S. (IPPM RAS), Sheblaev M.
Presentation transcript:

Multilevel Hypergraph Partitioning Daniel Salce Matthew Zobel

Overview Introduction Multilevel Algorithm Description Multi-phase Algorithm Description Experimental Results Conclusions Summary

Introduction VLSI circuit design requires many steps from design to packaging. Partitioning seeks to find the minimal number of clusters of vertices inside of a design. This will allow a smaller amount of interconnections and cuts in a design, which will allow for a smaller area and/or fewer chips.

Previous Algorithms Iterative refinement partitioning algorithms –An initial bisection is computed (often obtained randomly) and then the partition is refined by repeatedly moving vertices between the two parts to reduce the hyperedge-cut. Types (KLFM) –Kernighan-Lin (KL) –Fiduccia-Mattheyses (FM)

Disadvantages: Poor for Large Graphs Local information, not global –It may be better to move a vertex with a small gain, because it will be more advantageous later Vertices with similar gain –There is no insight on which vertex to move, and the choice is randomized Inexact gain computation –Vertices across a hyperedge will not transfer gain value across the hyperedge

New Type: Multilevel In these algorithms, a sequence of successively smaller (coarser) graphs is constructed. A bisection of the smallest graph is computed. This bisection is now successively projected to the next level finer graph, and at each level an iterative refinement algorithm such a KLFM is used to further improve the bisection.

Phases of Multilevel Graph Bisection

Why Does Multilevel Work? The refinement scheme becomes more powerful (small sets of KLFM) –Movement of a single node across partition boundary in a coarse graph can lead to movement of a large number of related nodes in the original graph –The refined partitioning projected to the next level serves as an excellent initial partitioning for the KL or FM refinement algorithms

Multilevel Hypergraph Partitioning Contributions –Hypergraphs instead of graphs less information loss –Development of new hypergraph coarsening and uncoarsening techniques –New multiphase refinement schemes v- and V- cycles

Multilevel Hypergraph Partitioning Example

Algorithm Overview Coarsening Phase –Edge coarsening –Hyperedge coarsening –Modified hyperedge coarsening Initial Partitioning Phase Uncoarsening and Refinement Phase –Single Refinement –Multilevel Refinement

Purpose of Coarsening Phase To create a small hypergraph, such that a good bisection of the small hypergraph is not significantly worse than the bisection directly obtained for the original hypergraph Helps in successively reducing the sizes of the hyperedges; large hyperedges are contracted to hyperedges connecting just a few vertices.

Edge Coarsening (EC) Vertices are matched by edges of highest weight Decreases hyperedge weight by factor of 2

Hyperedge Coarsening (HEC) Vertices that belong to individual hyperedges are contracted together Preference is given to higher weight and smaller size Non grouped vertices are copied to next level

Modified Hyperedge Coarsening (MHEC) Same as HEC, except after contraction the remaining vertices are grouped together Provides the largest amount of data compaction

Initial Partitioning Phase Bisection of the coarsest hypergraph is computed, such that it has a small cut, and satisfies a user specified balance constraint Since this hypergraph has a very small number of vertices the time to find partitioning is relatively small Not useful to find an optimal set, because refinement phase will significantly alter hypergraph Random selection or region growing

Initial Partitioning Phase Details Different bisections of coarsest hypergraph will result in different quality selections Partition of a hypergraph with smallest cut does not always result in smallest cut in original –Possible for a higher cut partition to lead to a better original hypergraph Select multiple initial partitions –Will increase running time and data set but overall quality will be increased Limit partitions accepted at each level by a percentage

Multilevel Hypergraph Partitioning Example Initial partitioning phase

Uncoarsening and Refinement Phase A partitioning of the coarser hypergraph is successively projected to the next level finer hypergraph, and a partitioning refinement algorithm is used to reduce the cut-set (and thus improve the quality of the partition) without violating the user specified balance constraints. Since the next level finer hypergraph has more degrees of freedom, such refinement algorithms tend to improve the quality

Refinement Techniques Modified Fidduccia-Mattheyses (FM) Hyperedge Refinement (HER)

Modified Fidduccia-Mattheyses (FM) Limit FM passes to 2 –Greatest reduction in cut produced in 1 st or 2 nd pass Early-Exit FM (FM-EE) –Aborts FM before moving all vertices Only a small fraction of moved vertices lead to a reduction in cuts

Hyperedge Refinement (HER) Can move all vertices with respect to a hyperedge for hyperedges that straddle a bisection Lacks the ability to climb out of local minima Can be further refined by FM (HER-FM) –HER forces movement for an entire set of vertices, whereas FM refinement allows single vertices to move across a boundary

Multi-Phase Refinement with Restricted Coarsening Multilevel is robust, but randomization is inherent especially in coarsening phase Given an initial partitioning of hypergraph, it can be potentially refined depending on how the coarsening was performed A partition can be further refined if it’s coarsed in a different manner

Restricted Coarsening Preserves initial partitioning Will only collapse vertices on either side of partition Do not want to drastically change partitions, just redefine for possible better solutions

Multi-phase Approaches V-cycle –Taking the best solution obtained from the multilevel partitioning algorithm and improve it using multi-phase refinement repeatedly v-cycle –Select the best partition at a point in the uncoarsening phase and further refine only this best partitioning –Reduces the cost of refining multiple solutions vV-cycle –Use v-cycle to partition the hypergraph followed by the V-cycles to further improve the partition quality

Multi-phase Refinement showing v- and V-cycles

Experimental Results Coarsening Phase –MHEC produces best quality results –HEC is close –A robust scheme would run both types and select the best cut

Experimental Results Refinement Schemes –MHEC coupled with either FM or HER+FM performs very well Multi-phase Refinement Schemes –EE-FM with vV-cycles is a very good choice when runtime is the major consideration

Conclusions The multilevel paradigm is very successful in producing high quality hypergraph partitioning in relatively small amount of time The coarsening phase is able to generate a sequence of hypergraphs that are good approximations of the original hypergraph. The initial partitioning algorithms is able to find a good partitioning by essentially exploiting global information of the original hypergraph The iterative refinement at each uncoarsening level is able to significantly improve the partitioning equality because it moves successively smaller subsets of vertices between the two partitions

Conclusions (continued) In the multilevel paradigm, a good coarsening scheme results in a coarse graph that provides a global view that permits computations of a good initial partitioning, and the iterative refinement performed during the uncoarsening phase provides a local view to further improve the quality of the partitioning

Conclusions (continued) Hypergraph-based coarsening cause much greater reduction of the exposed hyperedge-weight of the coarsest level hypergraph, and thus provides much better initial partitions that those obtained with edge-based coarsening The refinement in the hypergraph-based multilevel scheme directly minimized the size of hyperedge- cut rather than the edge-cut of the inaccurate graph approximation of the hypergraph

Summary Introduction Multilevel Algorithm Description Multi-phase Algorithm Description Experimental Results Conclusions Reference –G. Karypis, R. Aggarwal, V. Kumar, and S. Shekhar, "Multilevel Hypergraph Partitioning: Application in VLSI Domain", Proceedings of the Design Automation Conference, pp , 1997