Spectral Graph Theory and its Applications Daniel A. Spielman Dept. of Computer Science Program in Applied Mathematics Yale Unviersity.

Slides:



Advertisements
Similar presentations
05/11/2005 Carnegie Mellon School of Computer Science Aladdin Lamps 05 Combinatorial and algebraic tools for multigrid Yiannis Koutis Computer Science.
Advertisements

Eigen Decomposition and Singular Value Decomposition
3D Geometry for Computer Graphics
Principal Component Analysis Based on L1-Norm Maximization Nojun Kwak IEEE Transactions on Pattern Analysis and Machine Intelligence, 2008.
22C:19 Discrete Math Graphs Fall 2014 Sukumar Ghosh.
Information Networks Graph Clustering Lecture 14.
Online Social Networks and Media. Graph partitioning The general problem – Input: a graph G=(V,E) edge (u,v) denotes similarity between u and v weighted.
Clustering II CMPUT 466/551 Nilanjan Ray. Mean-shift Clustering Will show slides from:
Solving Linear Systems (Numerical Recipes, Chap 2)
Lecture 17 Introduction to Eigenvalue Problems
10/11/2001Random walks and spectral segmentation1 CSE 291 Fall 2001 Marina Meila and Jianbo Shi: Learning Segmentation by Random Walks/A Random Walks View.
Analysis of Network Diffusion and Distributed Network Algorithms Rajmohan Rajaraman Northeastern University, Boston May 2012 Chennai Network Optimization.
CS 584. Review n Systems of equations and finite element methods are related.
Multimedia Databases SVD II. Optimality of SVD Def: The Frobenius norm of a n x m matrix M is (reminder) The rank of a matrix M is the number of independent.
A Unified View of Kernel k-means, Spectral Clustering and Graph Cuts
Segmentation Graph-Theoretic Clustering.
EXPANDER GRAPHS Properties & Applications. Things to cover ! Definitions Properties Combinatorial, Spectral properties Constructions “Explicit” constructions.
Gary’s Work on Graph Isomorphism
Three Algorithms for Nonlinear Dimensionality Reduction Haixuan Yang Group Meeting Jan. 011, 2005.
CSE 321 Discrete Structures Winter 2008 Lecture 25 Graph Theory.
Expanders Eliyahu Kiperwasser. What is it? Expanders are graphs with no small cuts. The later gives several unique traits to such graph, such as: – High.
Lecture 18 Eigenvalue Problems II Shang-Hua Teng.
MOHAMMAD IMRAN DEPARTMENT OF APPLIED SCIENCES JAHANGIRABAD EDUCATIONAL GROUP OF INSTITUTES.
Ramanujan Graphs of Every Degree Adam Marcus (Crisply, Yale) Daniel Spielman (Yale) Nikhil Srivastava (MSR India)
Spectral Graph Theory. Outline: Definitions and different spectra Physical analogy Description of bisection algorithm Relationship of spectrum to graph.
Eigenvectors of random graphs: nodal domains James R. Lee University of Washington Yael Dekel and Nati Linial Hebrew University TexPoint fonts used in.
22C:19 Discrete Math Graphs Spring 2014 Sukumar Ghosh.
SVD(Singular Value Decomposition) and Its Applications
Domain decomposition in parallel computing Ashok Srinivasan Florida State University COT 5410 – Spring 2004.
1 February 24 Matrices 3.2 Matrices; Row reduction Standard form of a set of linear equations: Chapter 3 Linear Algebra Matrix of coefficients: Augmented.
8.1 Vector spaces A set of vector is said to form a linear vector space V Chapter 8 Matrices and vector spaces.
Fast, Randomized Algorithms for Partitioning, Sparsification, and
Algorithms for a large sparse nonlinear eigenvalue problem Yusaku Yamamoto Dept. of Computational Science & Engineering Nagoya University.
Institute for Advanced Study, April Sushant Sachdeva Princeton University Joint work with Lorenzo Orecchia, Nisheeth K. Vishnoi Linear Time Graph.
TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: A AA A A A A A AAA Fitting a Graph to Vector Data Samuel I. Daitch (Yale)
Fan Chung University of California, San Diego The PageRank of a graph.
Data Structures & Algorithms Graphs
Some NP-complete Problems in Graph Theory Prof. Sin-Min Lee.
Review of Linear Algebra Optimization 1/16/08 Recitation Joseph Bradley.
Domain decomposition in parallel computing Ashok Srinivasan Florida State University.
Spectral Graph Theory and the Inverse Eigenvalue Problem of a Graph Leslie Hogben Department of Mathematics, Iowa State University, Ames, IA 50011
Graphs, Vectors, and Matrices Daniel A. Spielman Yale University AMS Josiah Willard Gibbs Lecture January 6, 2016.
 In the previews parts we have seen some kind of segmentation method.  In this lecture we will see graph cut, which is a another segmentation method.
Great Theoretical Ideas in Computer Science for Some.
Presented by Alon Levin
Spectral Clustering Shannon Quinn (with thanks to William Cohen of Carnegie Mellon University, and J. Leskovec, A. Rajaraman, and J. Ullman of Stanford.
COMPSCI 102 Introduction to Discrete Mathematics.
A Tutorial on Spectral Clustering Ulrike von Luxburg Max Planck Institute for Biological Cybernetics Statistics and Computing, Dec. 2007, Vol. 17, No.
Normalized Cuts and Image Segmentation Patrick Denis COSC 6121 York University Jianbo Shi and Jitendra Malik.
Laplacian Matrices of Graphs: Algorithms and Applications ICML, June 21, 2016 Daniel A. Spielman.
CS 140: Sparse Matrix-Vector Multiplication and Graph Partitioning
ALGEBRAIC EIGEN VALUE PROBLEMS
Laplacian Matrices of Graphs: Algorithms and Applications ICML, June 21, 2016 Daniel A. Spielman.
Density of States for Graph Analysis
Algorithms and Networks
Random Walk for Similarity Testing in Complex Networks
Shan Lu, Jieqi Kang, Weibo Gong, Don Towsley UMASS Amherst
Spectral partitioning works: Planar graphs and finite element meshes
Matrices and vector spaces
Solving Linear Systems Ax=b
Structural Properties of Low Threshold Rank Graphs
Degree and Eigenvector Centrality
Singular Value Decomposition
Segmentation Graph-Theoretic Clustering.
Grouping.
Matrix Martingales in Randomized Numerical Linear Algebra
Ilan Ben-Bassat Omri Weinstein
Great Theoretical Ideas In Computer Science
Lecture 15: Least Square Regression Metric Embeddings
Shan Lu, Jieqi Kang, Weibo Gong, Don Towsley UMASS Amherst
Presentation transcript:

Spectral Graph Theory and its Applications Daniel A. Spielman Dept. of Computer Science Program in Applied Mathematics Yale Unviersity

Outline Adjacency matrix and Laplacian Intuition, spectral graph drawing Physical intuition Isomorphism testing Random walks Graph Partitioning and clustering Distributions of eigenvalues and compression Computation

What I’m Skipping Matrix-tree theorem. Most of algebraic graph theory. Special graphs (e.g. Cayley graphs). Connections to codes and designs. Lots of work by theorists. Expanders.

The Adjacency Matrix  is eigenvalue and v is eigenvector if Think of, or even better Symmetric -> n real eigenvalues and real eigenvectors form orthonormal basis

Example

Example

Example: invariant under re-labeling

Example: invariant under re-labeling

Operators and Quadratic Forms View of A as an operator: View of A as quadratic form: if and then

Laplacian: natural quadratic form on graphs where D is diagonal matrix of degrees

Laplacian: fast facts so, zero is an eigenvalue If k connected components, Fiedler (‘73) called “algebraic connectivity of a graph” The further from 0, the more connected.

Embedding graph in line (Hall ’70) map minimize trivial solution: So, require Solution Atkins, Boman, Hendrickson ’97: Gives correct embedding for graphs like

Courant-Fischer definition of eigvals/vecs (here )

Embedding graph in plane (Hall ’70) minimize map trivial solution: Also require Solutionup to rotation So, require degenerate solution:

A Graph

Drawing of the graph using v 2, v 3 Plot vertex i at

Spectral drawing of Streets in Rome

Spectral drawing of Erdos graph: edge between co-authors of papers

Dodecahedron Best embedded by first three eigenvectors

Condition for eigenvector Spectral graph drawing: Tutte justification Givesfor all i  small says x(i) near average of neighbors Tutte ‘63: If fix outside face, and let every other vertex be average of neighbors, get planar embedding of planar graph.

Tutte ‘63 embedding of a graph. Fix outside face. Edges -> springs. Vertex at center of mass of nbrs. 3-connected -> get planar embedding

Fundamental modes: string with fixed ends

Fundamental modes: string with free ends

Eigenvectors of path graph 1: 2: 3: 4: 17:

Drawing of the graph using v 3, v 4 Plot vertex i at

Spectral graph coloring from high eigenvectors Embedding of dodecahedron by 19 th and 20 th eigvecs. Coloring 3-colorable random graphs [Alon-Kahale ’97]

Spectral graph drawing: FEM justification If apply finite element method to solve Laplace’s equation in the plane with a Delaunay triangulation Would get graph Laplacian, but with some weights on edges Fundamental solutions are x and y coordinates (see Strang’s Introduction to Applied Mathematics)

Isomorphism testing 1. different eigenvalues -> non-isomorphic 2. If each vertex distinct in spectral embedding, just need to line up embeddings. Each eigvec determined up to sign.

Isomorphism testing 2 = 3, eigvecs determined up to rotation

Isomorphism testing 2 = 3, eigvecs determined up to rotation Distinguish by norm in embedding

Isomorphism testing: difficulties 2. If i has a high dimensional space, eigvecs only determined up to basis rotations 1. Many vertices can map to same place in spectral embedding, if only use few eigenvectors. 3. Some pairs have an exponential number of isomorphisms. Ex.: Strongly regular graphs with only 3 eigenvalues, of multiplicities 1, (n-1)/2 and (n-1)/2

Isomorphism testing: success [Babai-Grigoryev-Mount ‘82] If each eigenvalue has multiplicity O(1), can test in polynomial time. Ideas: Partition vertices into classes by norms in embeddings. Refine partitions using other partitions. Use vertex classes to split eigenspaces. Use computational group theory to fuse information, and produce description of all isomorphisms.

Random Walks

Random walks and PageRank Adjacency matrix of directed graph: Walk transition matrix: Walk distribution at time t: PageRank vector p: Eigenvector of Eigenvalue 1

Random walks and PageRank PageRank vector p: Linear algebra issues: W is not symmetric, not similar to symmetric, does not necessarily have n eigenvalues If no nodes of out-degree 0, Perron-Frobenius Theorem: Guarantees a unique, positive eigevec p of eigenvalue 1. Is there a theoretically interesting spectral theory?

Kleinberg and the singular vectors Consider eigenvectors of largest eigenvalue of and Are left and right singular values of A. Always exist. Usually, a more useful theory than eigenvectors, when not symmetric. (see Strang’s Intro. to Linear Algebra)

Random walks on Undirected Graphs Trivial PageRank Vector: Not symmetric, but similiar to symmetrized walk matrix W and S have same eigvals,

Random walk converges at rate 1/1- n-1 For lazy random walk (stay put with prob ½): Where  is the stable distribution For symmetric S

Normalized Laplacian [Chung] If consider 1- n-1 should look at Relationship to cuts:

Cheeger’s Inequality (Jerrum-Sinclair ‘89) (Alon-Milman ‘85, Diaconis-Stroock ‘91)

Cheeger’s Inequality (Jerrum-Sinclair ‘89) (Alon-Milman ‘85, Diaconis-Stroock ‘91) Can find the cut by looking at for some t

Can find the cut by looking at for some t Only need approximate eigenvector (Mihail ’89) Guarantee Lanczos era.

Normalized Cut Alternative definition of conductance [Lovasz ’96 (?)] This way, is a relaxation [see Hagen-Kahng ’92]. Equivalent to Normalized Cut [Shi-Malik ’00]

Spectral Image Segmentation (Shi-Malik ‘00)

edge weight

The second eigenvector

Second Eigenvector’s sparsest cut

Third Eigenvector

Fourth Eigenvector

Perspective on Spectral Image Segmentation Ignoring a lot we know about images. On non-image data, gives good intuition. Can we fuse with what we know about images? Generally, can we fuse with other knowledge? What about better cut algorithms?

Improvement by Miller and Tolliver ’06

Idea: re-weight (i,j) by Actually, re-weight by Prove: as iterate   get 2 components

One approach to fusing: Dirichlet Eigenvalues Fixing boundary values to zero [Chung-Langlands ’96] Fixing boundary values to non-zero. [Grady ’06] Dominant mode by solving linear equation: computing electrical flow in resistor network

Analysis of Spectral Partitioning Finite Element Meshes (eigvals right) [S-Teng ’07] Planted partitions (eigvecs right) [McSherry ‘01] pq q p } } } } A B A B Prob A-A edge = p B-B edge = p A-B edge = q q < p

Other planted problems Finding cn 1/2 clique in random graph [Alon-Krivelevich-Sudakov ’98] Color random sparse k-colorable graph [Alon-Kahale ’97] Asymmetric block structure (LSI and HITS) [Azar-Fiat-Karlin-McSherry-Saia ’01] Partitioning with widely varying degrees [Dasgupta-Hopcroft-McSherry ’04]

Planted problem analysis Small perturbations don’t change eigenvalues too much. Eigenvectors stable too, if well-separated from others. Understand eigenvalues of random matrices [Furedi-Komlos ’81, Alon-Krivelevich-Vu ’01, Vu ‘05] pq q p Sampled A as perturbation of

Distribution of eigenvalues of Random Graphs Histogram of eigvals of random 40-by-40 adjacency matrices

Distribution of eigenvalues of Random Graphs Predicted curve: Wigner’s Semi-Circle Law Histogram of eigvals of random 40-by-40 adjacency matrices

Eigenvalue distributions Eigenvalues of walk matrix of 50-by-50 grid graph Number greater than 1-  proportional to 

Eigenvalue distributions Number greater than 1-  proportional to  All these go to zero when take powers Eigenvalues of walk matrix of 50-by-50 grid graph

Compression of powers of graphs [ Coifman, Lafon, Lee, Maggioni, Nadler, Warner, Zucker ’05] If most eigenvalues of A and W bounded from 1. Most eigenvalues of A t very small. Can approximate A t by low-rank matrix. Build wavelets bases on graphs. Solve linear equations and compute eigenvectors. Make rigorous by taking graph from discretization of manifold

Discretizing Manifold edge weight

Eigenvalue distributions Eigenvalues of path graph on 10k nodes Number greater than 1-  proportional to

Proof: can choose vertices to collapse so that conductance becomes at least (like adding an expander on those nodes). New graph has all eigvals at most 1-  in abs value. Is rank change, so by Courant-Fischer Theorem: If bounded degree, number eigenvalues greater than 1-  is Theorem: Eigenvalue distributions

Eigenvalue distributions of planar graphs? For planar graphs, Colan de Verdiere’s results imply How big must the gap be? Must other gaps exist?

Computation Not rational, so only approximate If exactly an eigenvalue, eigvecs = Null(A – I) If close to just one eigenvalue i If i close to i+1 is like i = i+1 v i and v i+1 can rotate with each other

General Symmetric Matrices Locate any eigval in time 1.Orthogonal similarity transform to tri-diagonal in time by elimination algorithm. 2. Given tri-diagonal matrix, count number eigenvalues in any interval in time 3. Do binary search to locate eigenvalue Locate eigenvector: steps on tri-diagonal, time to map back to A

Largest eigenvectors by power method Apply A to random vector r: In iters, expect x such that Using Lanczos, expect iters (better polynomial)

Smallest eigenvectors by inverse power method Apply L -1 to random vector r orthogonal to In iters, expect x such that Compute in time [STeng04] if planar, in time [Koutis-Miller 06]

Sparsification Key to fast computation. Replace A by sparse B for which Generalized eigenvalues provide notion of approximation in graphs.

Questions Cheeger’s inequality for other physical problems? How to incorporate other data into spectral methods? Make multilevel coarsening rigorous. What can we do with boundary conditions? What about generalized eigenvalue problems?