60
Understanding Graphs through Spectral Densities David Bindel 4 March 2020 Department of Computer Science Cornell University 1

Understanding Graphs through Spectral Densities › ~bindel › present › 2020-03-buffalo.pdfAcknowledgements Thanks Kun Dong and Austin Benson, along with Anna Yesypenko,MoteleoluOnabajo,

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Understanding Graphs through Spectral Densities › ~bindel › present › 2020-03-buffalo.pdfAcknowledgements Thanks Kun Dong and Austin Benson, along with Anna Yesypenko,MoteleoluOnabajo,

Understanding Graphs throughSpectral Densities

David Bindel4 March 2020

Department of Computer ScienceCornell University

1

Page 2: Understanding Graphs through Spectral Densities › ~bindel › present › 2020-03-buffalo.pdfAcknowledgements Thanks Kun Dong and Austin Benson, along with Anna Yesypenko,MoteleoluOnabajo,

Acknowledgements

Thanks Kun Dong and AustinBenson, along with AnnaYesypenko, Moteleolu Onabajo,Jianqiu Wang.

Also: NSF DMS-1620038.

2

Page 3: Understanding Graphs through Spectral Densities › ~bindel › present › 2020-03-buffalo.pdfAcknowledgements Thanks Kun Dong and Austin Benson, along with Anna Yesypenko,MoteleoluOnabajo,

Stories of Spectral Geometry/Graph Theory

• Dynamics (operator on functions over manifold or graph)• Example: Continuous time diffusion + Simon-Ando theory• Diffuse according to heat kernel exp(−tLD−1)

• Rapid mixing + slow equilibration across bottlenecks• Regions of rapid mixing via extreme eigenvectors

• Counting and measure (quadratic form)• Example: Spectral partitioning• Measure cut sizes via xTLx/4, x ∈ ±1n, relax to Rn

• λ2(L) bounds cuts (Cheeger), partition with Fiedler vector• Geometric embedding (pos semidef form / kernel)

• Example: Spectral coordinates via R = L†• Diffusion distances: d2ij = r2ii − 2rij + r2jj• First few eigenvectors of R give coordinates thatapproximate distance

3

Page 4: Understanding Graphs through Spectral Densities › ~bindel › present › 2020-03-buffalo.pdfAcknowledgements Thanks Kun Dong and Austin Benson, along with Anna Yesypenko,MoteleoluOnabajo,

Eigenvalues Two Ways

What can we tell from partial spectral information(eigenvalues and/or vectors)?

Claim: Most spectral analyses involve one of two perspectives:

• Approximate something via a few (extreme) eigenvalues.• Look at all the eigenvalues (or all in a range).

4

Page 5: Understanding Graphs through Spectral Densities › ~bindel › present › 2020-03-buffalo.pdfAcknowledgements Thanks Kun Dong and Austin Benson, along with Anna Yesypenko,MoteleoluOnabajo,

Eigenvalues Two Ways

What can we tell from partial spectral information(eigenvalues and/or vectors)?

-1 -0.8 -0.6 -0.4 -0.2 0 0.2 0.4 0.6 0.8 10

500

1000

1500

2000

2500

3000

Claim: Most spectral analyses involve one of two perspectives:

• Approximate something via a few (extreme) eigenvalues.• Look at all the eigenvalues (or all in a range).

5

Page 6: Understanding Graphs through Spectral Densities › ~bindel › present › 2020-03-buffalo.pdfAcknowledgements Thanks Kun Dong and Austin Benson, along with Anna Yesypenko,MoteleoluOnabajo,

Today in Three Acts

−1 −0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 10

20

40

60

80

100

120

140

160

180

200

−1 −0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 10

50

100

150

200

250

300

350

400

450

500

−0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 1−200

0

200

400

600

800

1000

1200

−1 −0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 10

50

100

150

200

250

300

350

400

450

500

−1 −0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 10

50

100

150

200

250

300

350

400

450

500

−1 −0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 10

10

20

30

40

50

60

70

80

90

100

−1 −0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 10

2000

4000

6000

8000

10000

12000

14000

−1 −0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 10

500

1000

1500

2000

2500

3000

3500

−1 −0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 10

100

200

300

400

500

600

700

−1 −0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 10

1

2

3

4

5

6x 10

4

−1 −0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 10

0.5

1

1.5

2

2.5

3

3.5

4x 10

5

• Act 1: Spectral densities• Act 2: Algorithms and approximations• Act 3: Spectral densities of “real world” graphs

6

Page 7: Understanding Graphs through Spectral Densities › ~bindel › present › 2020-03-buffalo.pdfAcknowledgements Thanks Kun Dong and Austin Benson, along with Anna Yesypenko,MoteleoluOnabajo,

Can One Hear the Shape of a Drum?

“You mean, if you had perfect pitch could you find theshape of a drum.” — Mark Kac (quoting Lipmann Bers)

American Math Monthly, 19667

Page 8: Understanding Graphs through Spectral Densities › ~bindel › present › 2020-03-buffalo.pdfAcknowledgements Thanks Kun Dong and Austin Benson, along with Anna Yesypenko,MoteleoluOnabajo,

What Do You Hear?

Use Hlo ⊃ H ⊃ Hhi to get λk,lo ≤ λk ≤ λk,hi

λk = mindim(V)=k,V⊂H

(maxv∈V

ρL(v))

8

Page 9: Understanding Graphs through Spectral Densities › ~bindel › present › 2020-03-buffalo.pdfAcknowledgements Thanks Kun Dong and Austin Benson, along with Anna Yesypenko,MoteleoluOnabajo,

What Do You Hear?

Use Hlo ⊃ H ⊃ Hhi to get λk,lo ≤ λk ≤ λk,hi

λk = mindim(V)=k,V⊂H

(maxv∈V

ρL(v))

9

Page 10: Understanding Graphs through Spectral Densities › ~bindel › present › 2020-03-buffalo.pdfAcknowledgements Thanks Kun Dong and Austin Benson, along with Anna Yesypenko,MoteleoluOnabajo,

What Do You Hear?

Weyl law (asymptotics for N(x) = # eigenvalues ≤ x):

limx→∞

N(x)xd/2

= (2π)−dωd vol(Ω).

10

Page 11: Understanding Graphs through Spectral Densities › ~bindel › present › 2020-03-buffalo.pdfAcknowledgements Thanks Kun Dong and Austin Benson, along with Anna Yesypenko,MoteleoluOnabajo,

What Do You Hear?

What information hides in the eigenvalue distribution?

1. Discretizations of Laplacian: something like Weyl’s law2. Sparse E-R random graphs: Wigner semicircular law3. Some other random graphs: Wigner semicircle + a bit(Farkas et al, Phys Rev E (64), 2001)

4. “Real” networks: less well understood

But computing all eigenvalues seems expensive!

11

Page 12: Understanding Graphs through Spectral Densities › ~bindel › present › 2020-03-buffalo.pdfAcknowledgements Thanks Kun Dong and Austin Benson, along with Anna Yesypenko,MoteleoluOnabajo,

A Bestiary of Matrices

• Adjacency matrix: A• Laplacian matrix: L = D− A• Unsigned Laplacian: L = D+ A• Random walk matrix: P = AD−1 (or D−1A)• Normalized adjacency: A = D−1/2AD−1/2

• Normalized Laplacian: L = I− A = D−1/2LD−1/2

• Modularity matrix: B = A− ddT2n

• Motif adjacency: W = A2 ⊙ A

All have examples of co-spectral graphs... through spectrum uniquely identifies quantum graphs

12

Page 13: Understanding Graphs through Spectral Densities › ~bindel › present › 2020-03-buffalo.pdfAcknowledgements Thanks Kun Dong and Austin Benson, along with Anna Yesypenko,MoteleoluOnabajo,

Reminder: Spectral Mapping

Consider a matrix H, and let f be analytic on the spectrum.Then if H = VΛV−1,

f(H) = Vf(Λ)V−1.

(generalizes to non-diagonalizable case)

13

Page 14: Understanding Graphs through Spectral Densities › ~bindel › present › 2020-03-buffalo.pdfAcknowledgements Thanks Kun Dong and Austin Benson, along with Anna Yesypenko,MoteleoluOnabajo,

Another Perspective: Density of States

−0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 1−200

0

200

400

600

800

1000

1200

Spectra define a generalized function (a density):

tr(f(H)) =∫f(λ)µ(λ)dx =

N∑k=1

f(λk)

where f is an analytic test function. Smooth to get a picture: aspectral histogram or kernel density estimate.

14

Page 15: Understanding Graphs through Spectral Densities › ~bindel › present › 2020-03-buffalo.pdfAcknowledgements Thanks Kun Dong and Austin Benson, along with Anna Yesypenko,MoteleoluOnabajo,

Density of States in Physics

How is this useful in the graph case?

15

Page 16: Understanding Graphs through Spectral Densities › ~bindel › present › 2020-03-buffalo.pdfAcknowledgements Thanks Kun Dong and Austin Benson, along with Anna Yesypenko,MoteleoluOnabajo,

Example: Estrada Index

Consider

tr(exp(αA)) =∞∑k=1

αk

k! · (# closed random walks of length k) .

• Global measure of connectivity in a graph.• Can clearly be computed via DoS.• Generalizes to other weights.

16

Page 17: Understanding Graphs through Spectral Densities › ~bindel › present › 2020-03-buffalo.pdfAcknowledgements Thanks Kun Dong and Austin Benson, along with Anna Yesypenko,MoteleoluOnabajo,

Heat Kernels

DoS information equivalent to looking at the heat kernel trace:

h(s) = tr(exp(−sH)) = L[µ](s)

Use H = LD−1 (continuous time random walk generator) =⇒h(s)/N = P(self-return after time s from uniform start).

17

Page 18: Understanding Graphs through Spectral Densities › ~bindel › present › 2020-03-buffalo.pdfAcknowledgements Thanks Kun Dong and Austin Benson, along with Anna Yesypenko,MoteleoluOnabajo,

Power Moments

DoS information equivalent to looking at the power moments:

tr(Hj).

Natural interpretation for matrices associated with graphs:

• A: number of length k cycles.• A or P: return probability for k-step random walk (times N).• L: ??

18

Page 19: Understanding Graphs through Spectral Densities › ~bindel › present › 2020-03-buffalo.pdfAcknowledgements Thanks Kun Dong and Austin Benson, along with Anna Yesypenko,MoteleoluOnabajo,

Today in Three Acts

−1 −0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 10

20

40

60

80

100

120

140

160

180

200

−1 −0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 10

50

100

150

200

250

300

350

400

450

500

−0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 1−200

0

200

400

600

800

1000

1200

−1 −0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 10

50

100

150

200

250

300

350

400

450

500

−1 −0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 10

50

100

150

200

250

300

350

400

450

500

−1 −0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 10

10

20

30

40

50

60

70

80

90

100

−1 −0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 10

2000

4000

6000

8000

10000

12000

14000

−1 −0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 10

500

1000

1500

2000

2500

3000

3500

−1 −0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 10

100

200

300

400

500

600

700

−1 −0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 10

1

2

3

4

5

6x 10

4

−1 −0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 10

0.5

1

1.5

2

2.5

3

3.5

4x 10

5

• Act 1: Spectral densities• Act 2: Algorithms and approximations• Act 3: Spectral densities of “real world” graphs

19

Page 20: Understanding Graphs through Spectral Densities › ~bindel › present › 2020-03-buffalo.pdfAcknowledgements Thanks Kun Dong and Austin Benson, along with Anna Yesypenko,MoteleoluOnabajo,

Chebyshev Moments

-1 -0.8 -0.6 -0.4 -0.2 0 0.2 0.4 0.6 0.8 1-1

-0.8

-0.6

-0.4

-0.2

0

0.2

0.4

0.6

0.8

1 T0

T1

T2

T3

T4

For numerics, prefer Chebyshev moments to power moments:

dj = Tj(A)

where Tj(z) = cos(j cos−1(z)) is the jth Chebyshev polynomial:

T0(z) = 1, T1(z) = z, Tk+1z = 2zTk(z)− Tk−1(z).20

Page 21: Understanding Graphs through Spectral Densities › ~bindel › present › 2020-03-buffalo.pdfAcknowledgements Thanks Kun Dong and Austin Benson, along with Anna Yesypenko,MoteleoluOnabajo,

Exploring Spectral Densities

Kernel polynomial method (see Weisse, Rev. Modern Phys.)

• Spectral distribution on [−1, 1] is a generalized function:∫ 1

−1µ(x)f(x)dx = 1

N

N∑k=1

f(λk)

• Write f(x) =∑∞

j=1 cjTj(x) and µ(x) =∑∞

j=1 djϕj(x), where∫ 1−1 ϕj(x)Tk(x)dx = δjk

• Estimate dj = tr(Tj(H)) by stochastic methods• Truncate series for µ(x) and filter (avoid Gibbs)

Much cheaper than computing all eigenvalues!

Alternatives: Lanczos (Golub-Meurant), maxent (Röder-Silver)

21

Page 22: Understanding Graphs through Spectral Densities › ~bindel › present › 2020-03-buffalo.pdfAcknowledgements Thanks Kun Dong and Austin Benson, along with Anna Yesypenko,MoteleoluOnabajo,

Stochastic Trace and Diagonal Estimation

Z ∈ Rn with independent entries, mean 0 and variance 1.

E[(Z⊙ HZ)i] =∑jhijE[ZiZj] = hii

Var[(Z⊙ HZ)i] =∑jh2ij.

Serves as the basis for stochastic estimation of

• Trace (Hutchinson, others; review by Toledo and Avron)• Diagonal (Bekas, Kokiopoulou, and Saad)

Independent probes =⇒ 1/√N convergence (usual MC).

22

Page 23: Understanding Graphs through Spectral Densities › ~bindel › present › 2020-03-buffalo.pdfAcknowledgements Thanks Kun Dong and Austin Benson, along with Anna Yesypenko,MoteleoluOnabajo,

Beyond Independent Probes

For probes Z = [Z1, · · · , Zs], have exact diagonal

d =[(A⊙ ZZT)e

]⊘ [(Z⊙ Z)e]

if Zi,:Zj, :T = 0 whenever Aij = 0.

Idea:

• Pick rows Zi,: such that Zi,: ⊥ Zj,: whenever Aij = 0• A an adjacency matrix =⇒ graph coloring.

Combined with randomization, still gives unbiased estimates.

23

Page 24: Understanding Graphs through Spectral Densities › ~bindel › present › 2020-03-buffalo.pdfAcknowledgements Thanks Kun Dong and Austin Benson, along with Anna Yesypenko,MoteleoluOnabajo,

Example: PGP Network

-1 -0.8 -0.6 -0.4 -0.2 0 0.2 0.4 0.6 0.8 10

500

1000

1500

2000

2500

3000

Spike (non-smoothness) at eigenvalues of 0 leads toinaccurate approximation. 24

Page 25: Understanding Graphs through Spectral Densities › ~bindel › present › 2020-03-buffalo.pdfAcknowledgements Thanks Kun Dong and Austin Benson, along with Anna Yesypenko,MoteleoluOnabajo,

Motifs and Symmetry

Suppose PH = HP. Then

V a max invariant subspace for P =⇒V a max invariant subspace for H

So local symmetry =⇒ localized eigenvectors.

Simplest example: P swaps (i, j)

• ei − ej an eigenvector of P with eigenvalue −1• ei − ej an eigenvector of A with eigenvalue

λ = ρA(ei − ej) =

d−1, (i, j) ∈ E

0, otherwise.

• All other eigenvectors (eigenvalue −1) satisfy vi = vj

25

Page 26: Understanding Graphs through Spectral Densities › ~bindel › present › 2020-03-buffalo.pdfAcknowledgements Thanks Kun Dong and Austin Benson, along with Anna Yesypenko,MoteleoluOnabajo,

Motifs in Spectrum

26

• λ = 0+1 −1 −1 +1 −1

• λ = ±1/2+1 ±1 −1 ∓1 ±1 +1 −1 ∓1

• λ = −1/2 λ = ±1/√2

+1 −1 ±1 +√2 +

√2 ±1

Page 27: Understanding Graphs through Spectral Densities › ~bindel › present › 2020-03-buffalo.pdfAcknowledgements Thanks Kun Dong and Austin Benson, along with Anna Yesypenko,MoteleoluOnabajo,

Motif Filtering

-1 -0.8 -0.6 -0.4 -0.2 0 0.2 0.4 0.6 0.8 10

500

1000

1500

2000

2500

3000

-1 -0.8 -0.6 -0.4 -0.2 0 0.2 0.4 0.6 0.8 10

500

1000

1500

2000

2500

3000

Motif “spikes” slow convergence – deflate motif eigenvectors!If P ∈ Rn×m an orthonormal basis for the quotient space,

• Apply estimator to PTAP to reduce size for m≪ n.• or use ProjP(Z) to probe the desired subspace.

27

Page 28: Understanding Graphs through Spectral Densities › ~bindel › present › 2020-03-buffalo.pdfAcknowledgements Thanks Kun Dong and Austin Benson, along with Anna Yesypenko,MoteleoluOnabajo,

Diagonal Estimation and LDoS

Diagonal estimation also useful for local DoS νk(x);in the symmetric case with H = QΛQT, have∫

f(x)νk(x)dx = f(H)kk = eTkQf(Λ)QTek

νk(x) =n∑j=1

q2kj δ(x− λj)

DoS is sum of local densities of states:

µ(x) =n∑k=1

νk(x)

28

Page 29: Understanding Graphs through Spectral Densities › ~bindel › present › 2020-03-buffalo.pdfAcknowledgements Thanks Kun Dong and Austin Benson, along with Anna Yesypenko,MoteleoluOnabajo,

KPM for LDoS

Same game, different moments:

• Estimate dj = [Tj(H)]kk by diag estimation• Truncate series for µ(x) and filter (avoid Gibbs)

Diagonal estimator gives moments for all k simultaneously!

Alternatives: Lanczos (Golub-Meurant), maxent (Röder-Silver)

29

Page 30: Understanding Graphs through Spectral Densities › ~bindel › present › 2020-03-buffalo.pdfAcknowledgements Thanks Kun Dong and Austin Benson, along with Anna Yesypenko,MoteleoluOnabajo,

LDoS Information

Can compute common centrality measures with LDoS

• Estrada centrality: exp(γA)kk• Resolvent centrality:

[(I− γA)−1

]kk

Some motifs associated with localized eigenvectors:

• Chief example: Null vectors of A supported on leaves.• Use LDoS + topology to find motifs?

What else?

30

Page 31: Understanding Graphs through Spectral Densities › ~bindel › present › 2020-03-buffalo.pdfAcknowledgements Thanks Kun Dong and Austin Benson, along with Anna Yesypenko,MoteleoluOnabajo,

LDoS and Clustering

31

Page 32: Understanding Graphs through Spectral Densities › ~bindel › present › 2020-03-buffalo.pdfAcknowledgements Thanks Kun Dong and Austin Benson, along with Anna Yesypenko,MoteleoluOnabajo,

Phase Retrieval in Graph Reconstruction

Reconstruct graph from fully resolved LDoS at all nodes?

• Assume H = QΛQT

• No multiple eigenvalues =⇒ know |Q| and Λ

• Can we recover signs in Q?

Feels a little like phase retrieval...

Of course, we usually have noisy LDoS estimates!

32

Page 33: Understanding Graphs through Spectral Densities › ~bindel › present › 2020-03-buffalo.pdfAcknowledgements Thanks Kun Dong and Austin Benson, along with Anna Yesypenko,MoteleoluOnabajo,

Today in Three Acts

−1 −0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 10

20

40

60

80

100

120

140

160

180

200

−1 −0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 10

50

100

150

200

250

300

350

400

450

500

−0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 1−200

0

200

400

600

800

1000

1200

−1 −0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 10

50

100

150

200

250

300

350

400

450

500

−1 −0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 10

50

100

150

200

250

300

350

400

450

500

−1 −0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 10

10

20

30

40

50

60

70

80

90

100

−1 −0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 10

2000

4000

6000

8000

10000

12000

14000

−1 −0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 10

500

1000

1500

2000

2500

3000

3500

−1 −0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 10

100

200

300

400

500

600

700

−1 −0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 10

1

2

3

4

5

6x 10

4

−1 −0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 10

0.5

1

1.5

2

2.5

3

3.5

4x 10

5

• Act 1: Spectral densities• Act 2: Algorithms and approximations• Act 3: Spectral densities of “real world” graphs

33

Page 34: Understanding Graphs through Spectral Densities › ~bindel › present › 2020-03-buffalo.pdfAcknowledgements Thanks Kun Dong and Austin Benson, along with Anna Yesypenko,MoteleoluOnabajo,

Exploring Spectral Densities (with David Gleich)

• Compute spectrum of normalized Laplacian / RW matrix• Compare KPM to full eigencomputation

Things we know

• Eigenvalues in [−1, 1]; nonsymmetric in general• Stability: change d edges, have

λj−d ≤ λj ≤ λj+d

• kth moment = P(return after k-step random walk)• Eigenvalue cluster near 1 ∼ well-separated clusters• Eigenvalue cluster near -1 ∼ bipartite structure• Eigenvalue cluster near 0 ∼ leaf clusters

What else can we “hear”?34

Page 35: Understanding Graphs through Spectral Densities › ~bindel › present › 2020-03-buffalo.pdfAcknowledgements Thanks Kun Dong and Austin Benson, along with Anna Yesypenko,MoteleoluOnabajo,

Experimental setup

• Global DoS• 1000 Chebyshev moments• 10 probe vectors (componentwise standard normal)• Histogram with 50 bins

• Local DoS• 100 Chebyshev moments• 10 probe vectors (componentwise standard normal)• Plot smoothed density on [−1, 1]• Spectrally order nodes by density plot

Suggestions for better pics are welcome!

35

Page 36: Understanding Graphs through Spectral Densities › ~bindel › present › 2020-03-buffalo.pdfAcknowledgements Thanks Kun Dong and Austin Benson, along with Anna Yesypenko,MoteleoluOnabajo,

Erdos

−1 −0.5 0 0.5 1 1.50

500

1000

1500

2000

2500

3000

3500

4000

4500

5000

−1 −0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 10

20

40

60

80

100

120

140

160

180

200

36

Page 37: Understanding Graphs through Spectral Densities › ~bindel › present › 2020-03-buffalo.pdfAcknowledgements Thanks Kun Dong and Austin Benson, along with Anna Yesypenko,MoteleoluOnabajo,

Erdos (local)

37

Page 38: Understanding Graphs through Spectral Densities › ~bindel › present › 2020-03-buffalo.pdfAcknowledgements Thanks Kun Dong and Austin Benson, along with Anna Yesypenko,MoteleoluOnabajo,

Internet topology

−1 −0.5 0 0.5 1 1.50

2000

4000

6000

8000

10000

12000

14000

16000

18000

−1 −0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 10

50

100

150

200

250

300

350

400

450

500

38

Page 39: Understanding Graphs through Spectral Densities › ~bindel › present › 2020-03-buffalo.pdfAcknowledgements Thanks Kun Dong and Austin Benson, along with Anna Yesypenko,MoteleoluOnabajo,

Internet topology (local)

39

Page 40: Understanding Graphs through Spectral Densities › ~bindel › present › 2020-03-buffalo.pdfAcknowledgements Thanks Kun Dong and Austin Benson, along with Anna Yesypenko,MoteleoluOnabajo,

Marvel characters

−0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 1−200

0

200

400

600

800

1000

1200

40

Page 41: Understanding Graphs through Spectral Densities › ~bindel › present › 2020-03-buffalo.pdfAcknowledgements Thanks Kun Dong and Austin Benson, along with Anna Yesypenko,MoteleoluOnabajo,

Marvel characters (local)

41

Page 42: Understanding Graphs through Spectral Densities › ~bindel › present › 2020-03-buffalo.pdfAcknowledgements Thanks Kun Dong and Austin Benson, along with Anna Yesypenko,MoteleoluOnabajo,

Marvel comics

−1 −0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 10

1000

2000

3000

4000

5000

6000

−1 −0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 10

50

100

150

200

250

300

350

400

450

500

42

Page 43: Understanding Graphs through Spectral Densities › ~bindel › present › 2020-03-buffalo.pdfAcknowledgements Thanks Kun Dong and Austin Benson, along with Anna Yesypenko,MoteleoluOnabajo,

Marvel comics (local)

43

Page 44: Understanding Graphs through Spectral Densities › ~bindel › present › 2020-03-buffalo.pdfAcknowledgements Thanks Kun Dong and Austin Benson, along with Anna Yesypenko,MoteleoluOnabajo,

PGP

−1 −0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 10

500

1000

1500

2000

2500

3000

−1 −0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 10

50

100

150

200

250

300

350

400

450

500

44

Page 45: Understanding Graphs through Spectral Densities › ~bindel › present › 2020-03-buffalo.pdfAcknowledgements Thanks Kun Dong and Austin Benson, along with Anna Yesypenko,MoteleoluOnabajo,

PGP (local)

45

Page 46: Understanding Graphs through Spectral Densities › ~bindel › present › 2020-03-buffalo.pdfAcknowledgements Thanks Kun Dong and Austin Benson, along with Anna Yesypenko,MoteleoluOnabajo,

Yeast

−1 −0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 10

100

200

300

400

500

600

700

800

−1 −0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 10

10

20

30

40

50

60

70

80

90

100

46

Page 47: Understanding Graphs through Spectral Densities › ~bindel › present › 2020-03-buffalo.pdfAcknowledgements Thanks Kun Dong and Austin Benson, along with Anna Yesypenko,MoteleoluOnabajo,

Yeast (local)

47

Page 48: Understanding Graphs through Spectral Densities › ~bindel › present › 2020-03-buffalo.pdfAcknowledgements Thanks Kun Dong and Austin Benson, along with Anna Yesypenko,MoteleoluOnabajo,

What about random graph models?

48

Page 49: Understanding Graphs through Spectral Densities › ~bindel › present › 2020-03-buffalo.pdfAcknowledgements Thanks Kun Dong and Austin Benson, along with Anna Yesypenko,MoteleoluOnabajo,

Barabási–Albert model

-1 -0.8 -0.6 -0.4 -0.2 0 0.2 0.4 0.6 0.8 10

500

1000

1500

2000

2500

Scale-free network (5000 nodes, 4999 edges)49

Page 50: Understanding Graphs through Spectral Densities › ~bindel › present › 2020-03-buffalo.pdfAcknowledgements Thanks Kun Dong and Austin Benson, along with Anna Yesypenko,MoteleoluOnabajo,

Watts–Strogatz

-1 -0.8 -0.6 -0.4 -0.2 0 0.2 0.4 0.6 0.8 10

100

200

300

400

500

600

700

800

Small world network (5000 nodes, 260000 edges)50

Page 51: Understanding Graphs through Spectral Densities › ~bindel › present › 2020-03-buffalo.pdfAcknowledgements Thanks Kun Dong and Austin Benson, along with Anna Yesypenko,MoteleoluOnabajo,

Model Verification: BTER

Kolda et al, SISC (36), 2014

Block Two-Level Erdős-Rényi model (BTER)

• First Phase: Erdős-Rényi Blocks• Second Phase: Using Chung-Lu Model to connect blockswith pij = p(di,dj)

51

Page 52: Understanding Graphs through Spectral Densities › ~bindel › present › 2020-03-buffalo.pdfAcknowledgements Thanks Kun Dong and Austin Benson, along with Anna Yesypenko,MoteleoluOnabajo,

Model Verification: BTER

-1 -0.8 -0.6 -0.4 -0.2 0 0.2 0.4 0.6 0.8 10

500

1000

1500

2000

2500

3000

3500

4000

4500

5000

-1 -0.8 -0.6 -0.4 -0.2 0 0.2 0.4 0.6 0.8 10

50

100

150

200

250

300

350

400

450

500

Figure 1: Erdos collaboration network.

-1 -0.8 -0.6 -0.4 -0.2 0 0.2 0.4 0.6 0.8 10

500

1000

1500

2000

2500

3000

-1 -0.8 -0.6 -0.4 -0.2 0 0.2 0.4 0.6 0.8 10

50

100

150

200

250

300

350

400

450

500

Figure 2: BTER model for Erdos collaboration network. 52

Page 53: Understanding Graphs through Spectral Densities › ~bindel › present › 2020-03-buffalo.pdfAcknowledgements Thanks Kun Dong and Austin Benson, along with Anna Yesypenko,MoteleoluOnabajo,

And a few more...

53

Page 54: Understanding Graphs through Spectral Densities › ~bindel › present › 2020-03-buffalo.pdfAcknowledgements Thanks Kun Dong and Austin Benson, along with Anna Yesypenko,MoteleoluOnabajo,

Enron emails (SNAP)

−1 −0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 10

2000

4000

6000

8000

10000

12000

14000

54

Page 55: Understanding Graphs through Spectral Densities › ~bindel › present › 2020-03-buffalo.pdfAcknowledgements Thanks Kun Dong and Austin Benson, along with Anna Yesypenko,MoteleoluOnabajo,

Reuters911 (Pajek)

−1 −0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 10

500

1000

1500

2000

2500

3000

3500

55

Page 56: Understanding Graphs through Spectral Densities › ~bindel › present › 2020-03-buffalo.pdfAcknowledgements Thanks Kun Dong and Austin Benson, along with Anna Yesypenko,MoteleoluOnabajo,

US power grid (Pajek)

−1 −0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 10

100

200

300

400

500

600

700

56

Page 57: Understanding Graphs through Spectral Densities › ~bindel › present › 2020-03-buffalo.pdfAcknowledgements Thanks Kun Dong and Austin Benson, along with Anna Yesypenko,MoteleoluOnabajo,

DBLP 2010 (LAW)

−1 −0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 10

1

2

3

4

5

6x 10

4

N = 326186, nnz = 1615400, 80 s (1000 moments, 10 probes)

57

Page 58: Understanding Graphs through Spectral Densities › ~bindel › present › 2020-03-buffalo.pdfAcknowledgements Thanks Kun Dong and Austin Benson, along with Anna Yesypenko,MoteleoluOnabajo,

Hollywood 2009 (LAW)

−1 −0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 10

0.5

1

1.5

2

2.5

3

3.5

4x 10

5

N = 1139905, nnz = 113891327, 2093 s (1000 moments, 10probes)

58

Page 59: Understanding Graphs through Spectral Densities › ~bindel › present › 2020-03-buffalo.pdfAcknowledgements Thanks Kun Dong and Austin Benson, along with Anna Yesypenko,MoteleoluOnabajo,

Questions for You?

• Any isospectral graphs for multiple matrices?• Can we recover topology from (exact) LDoS?• Variance reduction in diagonal estimators?• Random graphs with spectra that look “real”?• Compression of moment information for diag estimators?• More applications?

59

Page 60: Understanding Graphs through Spectral Densities › ~bindel › present › 2020-03-buffalo.pdfAcknowledgements Thanks Kun Dong and Austin Benson, along with Anna Yesypenko,MoteleoluOnabajo,

What Do You Hear?

−1 −0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 10

20

40

60

80

100

120

140

160

180

200

−1 −0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 10

50

100

150

200

250

300

350

400

450

500

−0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 1−200

0

200

400

600

800

1000

1200

−1 −0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 10

50

100

150

200

250

300

350

400

450

500

−1 −0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 10

50

100

150

200

250

300

350

400

450

500

−1 −0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 10

10

20

30

40

50

60

70

80

90

100

−1 −0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 10

2000

4000

6000

8000

10000

12000

14000

−1 −0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 10

500

1000

1500

2000

2500

3000

3500

−1 −0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 10

100

200

300

400

500

600

700

−1 −0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 10

1

2

3

4

5

6x 10

4

−1 −0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 10

0.5

1

1.5

2

2.5

3

3.5

4x 10

5

60