Title: Graph Drawing Using Sampled Spectral Distance Embedding (SSDE)
1Graph Drawing Using Sampled Spectral Distance
Embedding(SSDE)
- Ali Civril, Malik Magdon-Ismail,
- Eli Bocek-Rivele
2Spectral Graph Drawing
- Goals
- Create aesthetically pleasing structure
- Be able to do it quickly and efficiently
- Considering the case of straight-line edge
drawings of connected graphs - Spectral Approach! Some Examples
3Algebraic Multigrid Computation of Eigenvectors
(ACE)
- Minimizes Halls Energy Function
- Extension of the barycenter method
- Exploits multi-scaling paradigm
- Runtime and aesthetic quality may depend on the
type of graph it is given
4High Dimensional Embedding (HDE)
- Find a drawing in high dimensions, reduce by PCA
- Comparable results and speed to ACE
5Classic Multidimensional Scaling (CMDS)
6Classic Multidimensional Scaling (CMDS)
- Its downfall?
- Huge matrices
- Matrix multiplication is slow
- Our work is an extension of this approach
- Have vertex positions that reproduce the distance
matrix
7Intuition Behind SSDE
- Distance matrices contain redundant information
- Johnson-Lindenstrauss lemma
- Represent distances approximately in
(practically constant) dimensions - Based on approximate matrix decompositions DKM06
8Pick a column C from matrix of distances
Suppose C is a basis for L
Now Choose C-transpose
We can now show
Linear Time!
9The Algorithm
- Sample C
- Compute pseudo-inverse of
- Find spectral decomposition of L
- Power iteration only multiplies L and a vector v
repeatedly, hence linear time
10The Algorithm in Pseudo Code
11The Sampling in More Depth
- Two approaches
- Random Sampling
- Greedy Sampling (more fun)
12Regularization
- Must do this to prevent numerical instability
- This is since the small singular values which are
close to zero should be ignored - Else huge instability is possible in
Our experiments revealed that is good
enough for practical purposes where is the
largest singular value
13Results
14CMDS (SDE) versus SSDE
15Some Huge Graphs
Finan512 V 74,752 E 261,120 Total Time
.68 Seconds
Ocean V 143,473 E 409,953 Total Time
1.65 Seconds
16And now what youve all been waiting for
17The Cow
SSDE
HDE
ACE
Cow V 1,820 E 7,940
18Conclusion
- SSDE sacrifices a little accuracy for time
(versus CMDS) - May use results as a preliminary step for slower
algorithms
19Questions?
- You have them, I want them!
- (so long as theyre easy)