Lecture5 Partitionspectral
Lecture5 Partitionspectral
10/18/08 1
Recap of what we have learned
❁KL Algorithm
❁FM algorithm
❁ Variation and Extension
❁Multilevel partition (hMetis)
❁Simulated Annealing
2
Partitioning Algorithms
3
Spectral Based Partitioning Algorithms
a c a b c d a b c d
a 0 1 0 3 a 4 0 0 0
3 3
1 b 1 0 0 4 b 0 5 0 0
A = D =
c 0 0 0 3 c 0 0 3 0
b 4 d d 0 0 0 10
d 3 4 3 0
4
Eigenvalues and Eigenvectors
A x Ax
x1 a11 x1 + a12 x2 + + a1n xn
a11 a12 a1n
=
...
an1 an 2 ann xn an1 x1 + an 2 x2 + + ann xn
If Ax=λx
then λ is an eigenvalue of A
x is an eignevector of A w.r.t. λ
(note that Kx is also a eigenvector, for any constant K).
5
A Basic Property
a11 a1n x1
xTAx = (x1 , , xn )
a
n1 ann xn
x1
n n
= ∑xi ai1, ∑xi ain,
i =1 i =1
xn
= ∑x x a i j ij
i, j
6
Basic Idea of Laplacian Spectrum Based Graph
Partitioning
❁Given a bisection ( X, X’ ), define a partitioning vector
−1 i ∈X
= =
x ( x1 , x2 , , xn ) s.t. xi
1 i ∈ X'
7
Property of Laplacian Matrix
(1) x Qx =
T
∑Q x x ij i j
= xT Dx − xT Ax
= ∑d x i i
2
− ∑Aij xi xj
….
= ∑d x 2
i i
− ∑2 a x x ij i j
( i , j )∈E x1 x2 x3 xn
= ∑( x i
− xj )2 squared wirelength
( i , j ) ∈E
8
Property of Laplacian Matrix (Cont’d)
9
Results on Spectral Based Graph Partitioning
10
Computing the Eigenvector
11
Interpreting the Eigenvector
23 10 22 34 6 21 8
23 10 22 34 6 21 8
12
Experiments on Special Graphs
GBUI Results
Cluster 2
Value of Xi
Module i
Cluster 1
13
Some Applications of Laplacian Spectrum
14