Expanders via Local Edge Flips Zeyuan Allen-Zhu Vahab Mirrokni - - PowerPoint PPT Presentation

expanders via local edge flips
SMART_READER_LITE
LIVE PREVIEW

Expanders via Local Edge Flips Zeyuan Allen-Zhu Vahab Mirrokni - - PowerPoint PPT Presentation

Expanders via Local Edge Flips Zeyuan Allen-Zhu Vahab Mirrokni Lorenzo Orecchia Aditya Bhaskara Silvio Lattanzi Princeton University Google Boston Univesity Google Google Big Data & Sublinear Algorithms Workshop, DIMACS Outline How


slide-1
SLIDE 1

Expanders via Local Edge Flips

Big Data & Sublinear Algorithms Workshop, DIMACS

Zeyuan Allen-Zhu Princeton University Aditya Bhaskara Google Lorenzo Orecchia Boston Univesity Silvio Lattanzi Google Vahab Mirrokni Google

slide-2
SLIDE 2

Outline

Big Data and Sublinear Algorithms Workshop, DIMACS

How can we construct an expander locally?
 Problem motivation and related works A simple distributed protocol
 The switch and the flip protocols
 A new analysis for the two protocols
 Obstacles in the analysis and new approach for the problem Conclusions and future directions 
 Open problems

slide-3
SLIDE 3

How can we construct an expander locally?

Big Data and Sublinear Algorithms Workshop, DIMACS

slide-4
SLIDE 4

Distributed system
 P2P networks
 Sensor networks Asynchronous system Benefits Efficient Robust New challenges Important to construct quickly good network structure Only local communication

Why is it interesting?

Big Data and Sublinear Algorithms Workshop, DIMACS

slide-5
SLIDE 5

Local algorithms
 Algorithms based on local message passing among nodes

Local graph algorithms

Big Data and Sublinear Algorithms Workshop, DIMACS

slide-6
SLIDE 6

Local algorithms
 Algorithms based on local message passing among nodes Advantages Applicable to large scale graphs Fast, easy to implement in parallel (MapReduce, Hadoop, Pregel...)

Local graph algorithms

Big Data and Sublinear Algorithms Workshop, DIMACS

slide-7
SLIDE 7

Starting from any connected graph is it possible to construct an expander locally?


Problem

Big Data and Sublinear Algorithms Workshop, DIMACS

slide-8
SLIDE 8

SKIP+: A Self-Stabilizing Skip Graph.

  • R. Jacob, A. W. Richa, C. Scheideler, S. Schmid and H. Täubig.
  • J. ACM 61(6): 36:1-36:26 (2014)

In the Local model it is possible to build an expander locally in

Previous work

Big Data and Sublinear Algorithms Workshop, DIMACS

O(log2 n)

slide-9
SLIDE 9

Previous work

Big Data and Sublinear Algorithms Workshop, DIMACS

O(log2 n)

Construct Skip+ locally Skip+ has constant edge expansion and degree log n

SKIP+: A Self-Stabilizing Skip Graph.

  • R. Jacob, A. W. Richa, C. Scheideler, S. Schmid and H. Täubig.
  • J. ACM 61(6): 36:1-36:26 (2014)

In the Local model it is possible to build an expander locally in

slide-10
SLIDE 10

SKIP+: A Self-Stabilizing Skip Graph.

  • R. Jacob, A. W. Richa, C. Scheideler, S. Schmid and H. Täubig.
  • J. ACM 61(6): 36:1-36:26 (2014)

In the Local model it is possible to build an expander locally in

Limitations:

  • Using this technique it is not possible to obtain an algebraic expander
  • In any round nodes can exchange arbitrary large messages
  • Memory needed by a single node in any round is not bounded
  • Synchronous model, complex algorithm

Previous work

Big Data and Sublinear Algorithms Workshop, DIMACS

O(log2 n)

Construct Skip+ locally Skip+ has constant edge expansion and degree log n

slide-11
SLIDE 11

Starting from any connected graph is it possible to define a simple rule to construct an expander locally?


Problem

Big Data and Sublinear Algorithms Workshop, DIMACS

slide-12
SLIDE 12

A simple distributed protocol

Big Data and Sublinear Algorithms Workshop, DIMACS

slide-13
SLIDE 13

Switch protocol

Big Data and Sublinear Algorithms Workshop, DIMACS

[McKay, Congressus Numerantium 1981]

A simple protocol: Pick two edges at random and invert their endpoints

slide-14
SLIDE 14

Switch protocol

Big Data and Sublinear Algorithms Workshop, DIMACS

[McKay, Congressus Numerantium 1981]

A simple protocol: Pick two edges at random and invert their endpoints

slide-15
SLIDE 15

Switch protocol

Big Data and Sublinear Algorithms Workshop, DIMACS

[McKay, Congressus Numerantium 1981]

A simple protocol: Pick two edges at random and invert their endpoints

slide-16
SLIDE 16

Switch protocol

Big Data and Sublinear Algorithms Workshop, DIMACS

[McKay, Congressus Numerantium 1981]

A simple protocol: Pick two edges at random and invert their endpoints

Creation of parallel edges/self-loops is allowed

slide-17
SLIDE 17

Switch protocol

Big Data and Sublinear Algorithms Workshop, DIMACS

[McKay, Congressus Numerantium 1981]

A simple protocol: Pick two edges at random and invert their endpoints

Creation of parallel edges/self-loops is allowed Limitation It is not local

It may disconnect the graph

slide-18
SLIDE 18

Flip protocol

Big Data and Sublinear Algorithms Workshop, DIMACS

[Mahlmann and Schindelhauer, SPAA 2005]

Pick a random length 3 path and invert its endpoints

slide-19
SLIDE 19

Flip protocol

Big Data and Sublinear Algorithms Workshop, DIMACS

[Mahlmann and Schindelhauer, SPAA 2005]

Pick a random length 3 path and invert its endpoints

slide-20
SLIDE 20

Flip protocol

Big Data and Sublinear Algorithms Workshop, DIMACS

[Mahlmann and Schindelhauer, SPAA 2005]

Pick a random length 3 path and invert its endpoints

slide-21
SLIDE 21

Flip protocol

Big Data and Sublinear Algorithms Workshop, DIMACS

[Mahlmann and Schindelhauer, SPAA 2005]

Pick a random length 3 path and invert its endpoints

Creation of parallel edges/self-loops is allowed

slide-22
SLIDE 22

Flip protocol

Big Data and Sublinear Algorithms Workshop, DIMACS

[Mahlmann and Schindelhauer, SPAA 2005]

Pick a random length 3 path and invert its endpoints

Creation of parallel edges/self-loops is allowed

Experimentally it seems to be really fast

slide-23
SLIDE 23

What is known about them?

Big Data and Sublinear Algorithms Workshop, DIMACS

[Cooper, Dyer and Greenhill, SODA 2005]

For d-regular graph the switch protocol converges to the
 configuration model in steps.

[Greenhill, SODA 2015]

For non regular graph with max degree in the switch protocol converges to the configuration model in
 steps. ˜ O

  • n8d15

O √m

  • ˜

O

  • m10d14

max

slide-24
SLIDE 24

What is known about them?

Big Data and Sublinear Algorithms Workshop, DIMACS

[Cooper, Dyer and Greenhill, SODA 2005]

For d-regular graph the switch protocol converges to the
 configuration model in steps.

[Greenhill, SODA 2015]

For non regular graph with max degree in the switch protocol converges to the configuration model in
 steps.

[Mahlmann and Schindelhauer, SPAA 2005]

For d-regular graph the flip protocol converges to the configuration model.

[Feder, Guetz, Mihail, and Saberi, FOCS 2006]

For d-regular graph the flip protocol converges to the configuration model in steps.

[Cooper and Dyer, PODC 2009]

For d-regular graph the flip protocol converges to the configuration model in steps. ˜ O

  • n8d15

O √m

  • ˜

O

  • m10d14

max

  • ˜

O

  • d34n36

˜ O

  • d23n17
slide-25
SLIDE 25

How do they perform in practice?

Big Data and Sublinear Algorithms Workshop, DIMACS

[Mahlmann and Schindelhauer, SPAA 2005]

Experimentally switch and flips protocol transform any graph in an expander very quickly. Conjectures:

Switch converges on d-regular graph in steps.
 Flip converges on d-regular graph in steps.

O (nd log n) O (nd)

slide-26
SLIDE 26

A new analysis for the two protocols

Big Data and Sublinear Algorithms Workshop, DIMACS

slide-27
SLIDE 27

Results

Big Data and Sublinear Algorithms Workshop, DIMACS

Starting from any d-regular graph, with , the switch protocol transforms the graph in an algebraic expander in steps. the flip protocol transforms the graph in an algebraic expander in steps.

O (nd) O ⇣ n2d2p log n ⌘ d ∈ Ω(log n)

slide-28
SLIDE 28

Results

Big Data and Sublinear Algorithms Workshop, DIMACS

Starting from any d-regular graph, with , the switch protocol transforms the graph in an algebraic expander in steps. the flip protocol transforms the graph in an algebraic expander in steps.

O (nd) O ⇣ n2d2p log n ⌘ d ∈ Ω(log n)

slide-29
SLIDE 29

Obstacles

Big Data and Sublinear Algorithms Workshop, DIMACS

Dependencies. Small cuts may first become smaller and only later increase.

slide-30
SLIDE 30

Obstacles

Big Data and Sublinear Algorithms Workshop, DIMACS

Dependencies. Small cuts may first become smaller and only later increase.

slide-31
SLIDE 31

Pick a random edge.

Flip definition

Big Data and Sublinear Algorithms Workshop, DIMACS

slide-32
SLIDE 32

Pick a random edge. One of the endpoints picks a neighbor
 at random(if in common, abort).

Flip definition

Big Data and Sublinear Algorithms Workshop, DIMACS

slide-33
SLIDE 33

Pick a random edge. One of the endpoints picks a neighbor
 at random(if in common, abort).

Flip definition

Big Data and Sublinear Algorithms Workshop, DIMACS

slide-34
SLIDE 34

Pick a random edge. One of the endpoints picks a neighbor
 at random(if in common, abort).

Flip definition

Big Data and Sublinear Algorithms Workshop, DIMACS

slide-35
SLIDE 35

Pick a random edge. One of the endpoints picks a neighbor
 at random(if in common, abort). The other endpoint picks a random
 neighbor(if in common, picks a new one).

Flip definition

Big Data and Sublinear Algorithms Workshop, DIMACS

slide-36
SLIDE 36

Pick a random edge. One of the endpoints picks a neighbor
 at random(if in common, abort). The other endpoint picks a random
 neighbor(if in common, picks a new one).

Flip definition

Big Data and Sublinear Algorithms Workshop, DIMACS

slide-37
SLIDE 37

Pick a random edge. One of the endpoints picks a neighbor
 at random(if in common, abort). The other endpoint picks a random
 neighbor(if in common, picks a new one). Perform swap.

Flip definition

Big Data and Sublinear Algorithms Workshop, DIMACS

slide-38
SLIDE 38

Pick a random edge. One of the endpoints picks a neighbor
 at random(if in common, abort). The other endpoint picks a random
 neighbor(if in common, picks a new one). Perform swap. Let

Expected change of laplacian

Big Data and Sublinear Algorithms Workshop, DIMACS

∆(t) = L ⇣ G(t+1)⌘ − L ⇣ G(t)⌘ E h ∆(t)|G(t)i = 4 d2n ✓ (d + 1)L(t) − ⇣ L(t)⌘2◆

slide-39
SLIDE 39

Pick a random edge. One of the endpoints picks a neighbor
 at random(if in common, abort). The other endpoint picks a random
 neighbor(if in common, picks a new one). Perform swap. Let

Expected change of laplacian

Big Data and Sublinear Algorithms Workshop, DIMACS

∆(t) = L ⇣ G(t+1)⌘ − L ⇣ G(t)⌘ E h ∆(t)|G(t)i = 4 d2n ✓ (d + 1)L(t) − ⇣ L(t)⌘2◆

Nice term.

has 


better
 expansion.

⇣ G(t)⌘2

slide-40
SLIDE 40

Unfortunately we cannot argue directly on the expectation of the matrix
 after t step.

Potential

Big Data and Sublinear Algorithms Workshop, DIMACS

E h ∆(t)|G(t)i = 4 d2n ✓ (d + 1)L(t) − ⇣ L(t)⌘2◆

slide-41
SLIDE 41

Unfortunately we cannot argue directly on the expectation of the matrix
 after t step. We use a classic potential used for matrix concentration: where

Potential

Big Data and Sublinear Algorithms Workshop, DIMACS

E h ∆(t)|G(t)i = 4 d2n ✓ (d + 1)L(t) − ⇣ L(t)⌘2◆ Φ(t) = ˆ tr ⇣ e− 20 log n

d

L(t)⌘

ˆ tr

  • eA

= eλ1 + eλ2 + ...

slide-42
SLIDE 42

Unfortunately we cannot argue directly on the expectation of the matrix
 after t step. We use a classic potential used for matrix concentration: where Note that in order to have very small all the eigenvalues need
 to be large.

Potential

Big Data and Sublinear Algorithms Workshop, DIMACS

E h ∆(t)|G(t)i = 4 d2n ✓ (d + 1)L(t) − ⇣ L(t)⌘2◆ Φ(t) = ˆ tr ⇣ e− 20 log n

d

L(t)⌘

ˆ tr

  • eA

= eλ1 + eλ2 + ... Φ(t)

slide-43
SLIDE 43

We want to show that the potential decreases

Potential

Big Data and Sublinear Algorithms Workshop, DIMACS

Φ(t+1) = ˆ tr ⇣ e− 20 log n

d

(L(t)+∆(t))⌘

slide-44
SLIDE 44

We want to show that the potential decreases

by Golden-Thompson inequality

Potential

Big Data and Sublinear Algorithms Workshop, DIMACS

Φ(t+1) = ˆ tr ⇣ e− 20 log n

d

(L(t)+∆(t))⌘

= ˆ tr ⇣ e− 20 log n

d

L(t)e− 20 log n

d

∆(t)⌘

slide-45
SLIDE 45

We want to show that the potential decreases

by Golden-Thompson inequality

by

Potential

Big Data and Sublinear Algorithms Workshop, DIMACS

Φ(t+1) = ˆ tr ⇣ e− 20 log n

d

(L(t)+∆(t))⌘

= ˆ tr ⇣ e− 20 log n

d

L(t)e− 20 log n

d

∆(t)⌘

= ˆ tr e− 20 log n

d

L(t)

I − 20 log n d ∆(t) + ✓20 log n d ∆(t) ◆2!!

e−A = I − A + A2

slide-46
SLIDE 46

We want to show that the potential decreases

by Golden-Thompson inequality

by

Taking expectation:

Potential

Big Data and Sublinear Algorithms Workshop, DIMACS

Φ(t+1) = ˆ tr ⇣ e− 20 log n

d

(L(t)+∆(t))⌘

= ˆ tr ⇣ e− 20 log n

d

L(t)e− 20 log n

d

∆(t)⌘

= ˆ tr e− 20 log n

d

L(t)

I − 20 log n d ∆(t) + ✓20 log n d ∆(t) ◆2!!

e−A = I − A + A2

E h Φ(t+1)|Gti = Φ(t) − 4 log n d3n ˆ tr ✓ e− 20 log n

d

L(t) ✓

L(t) ✓d 2 ˆ I − L(t) ◆◆◆

slide-47
SLIDE 47

We want to show that the potential decreases

by Golden-Thompson inequality

by

Taking expectation:

Potential

Big Data and Sublinear Algorithms Workshop, DIMACS

Φ(t+1) = ˆ tr ⇣ e− 20 log n

d

(L(t)+∆(t))⌘

= ˆ tr ⇣ e− 20 log n

d

L(t)e− 20 log n

d

∆(t)⌘

= ˆ tr e− 20 log n

d

L(t)

I − 20 log n d ∆(t) + ✓20 log n d ∆(t) ◆2!!

e−A = I − A + A2

E h Φ(t+1)|Gti = Φ(t) − 4 log n d3n ˆ tr ✓ e− 20 log n

d

L(t) ✓

L(t) ✓d 2 ˆ I − L(t) ◆◆◆

slide-48
SLIDE 48

Using common diagonalization

Potential

Big Data and Sublinear Algorithms Workshop, DIMACS

X

1≤i≤n

e− 20 log n

d

λiλi(d/2 − λi)

slide-49
SLIDE 49

Using common diagonalization Two interesting cases:

Potential

Big Data and Sublinear Algorithms Workshop, DIMACS

∀i : λi ≥ d 4 X

1≤i≤n

e− 20 log n

d

λiλi(d/2 − λi) ∈ O(n−3)

X

1≤i≤n

e− 20 log n

d

λiλi(d/2 − λi)

slide-50
SLIDE 50

Using common diagonalization Two interesting cases: We look at:

Potential

Big Data and Sublinear Algorithms Workshop, DIMACS

X

1≤i≤n

e− 20 log n

d

λiλi(d/2 − λi)

∃i : λi < d 4

P

1≤i≤n e− 20 log n

d

λiλi(d/2 − λi)

Φ(t) = P

1≤i≤n e− 20 log n

d

λiλi(d/2 − λi)

P

1≤i≤n e− 20 log n

d

λi

slide-51
SLIDE 51

Using common diagonalization Two interesting cases: We look at:

Potential

Big Data and Sublinear Algorithms Workshop, DIMACS

X

1≤i≤n

e− 20 log n

d

λiλi(d/2 − λi)

∃i : λi < d 4

P

1≤i≤n e− 20 log n

d

λiλi(d/2 − λi)

Φ(t) = P

1≤i≤n e− 20 log n

d

λiλi(d/2 − λi)

P

1≤i≤n e− 20 log n

d

λi

≈ P

1≤i≤k e− 20 log n

d

λiλi

P

1≤i≤k e− 20 log n

d

λi

∈ Ω ✓ 1 n√log n ◆

slide-52
SLIDE 52

Using common diagonalization Two interesting cases: We look at:

Potential

Big Data and Sublinear Algorithms Workshop, DIMACS

X

1≤i≤n

e− 20 log n

d

λiλi(d/2 − λi)

∃i : λi < d 4

P

1≤i≤n e− 20 log n

d

λiλi(d/2 − λi)

Φ(t) = P

1≤i≤n e− 20 log n

d

λiλi(d/2 − λi)

P

1≤i≤n e− 20 log n

d

λi

≈ P

1≤i≤k e− 20 log n

d

λiλi

P

1≤i≤k e− 20 log n

d

λi

∈ Ω ✓ 1 n√log n ◆

∈ Ω ✓ d n√log n ◆

slide-53
SLIDE 53

Thus: So in expectation is in after steps, hence using Markov inequality we get the result.

Potential

Big Data and Sublinear Algorithms Workshop, DIMACS

Φ(t) O(n−3) O(n2d2 log n)

E h Φ(t+1)|G(t)i = ✓ 1 − Ω ✓√log n n2d2 ◆◆ Φ(t) + O(n−3)

slide-54
SLIDE 54

Limit of our analysis

Big Data and Sublinear Algorithms Workshop, DIMACS

Expected additive improvement in a round can be O ✓ 1 n2d2 ◆

slide-55
SLIDE 55

Conclusions and future directions

Big Data and Sublinear Algorithms Workshop, DIMACS

slide-56
SLIDE 56

Conclusions

New technique to analyze distribute protocol New convergence time analysis for flip and switch
 protocol

Big Data and Sublinear Algorithms Workshop, DIMACS

slide-57
SLIDE 57

Future works

Improve analysis of the flip Study parallelized version of the protocol Study node addition or deletion

Big Data and Sublinear Algorithms Workshop, DIMACS

slide-58
SLIDE 58

Thanks!

Big Data and Sublinear Algorithms Workshop, DIMACS