the push&pull protocol for rumour spreadingamehra13/presentations/ubc_gossip.pdf ·...

68
The push&pull protocol for rumour spreading Abbas Mehrabian UBC and SFU UBC Discrete Math seminar 6 October 2015

Upload: others

Post on 22-May-2020

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: The push&pull protocol for rumour spreadingamehra13/Presentations/ubc_gossip.pdf · Thepush&pullrumourspreadingprotocol [Demers, Gealy, Greene, Hauser, Irish, Larson, Manning, Shenker,

The push&pull protocol for rumour spreading

Abbas Mehrabian

UBC and SFU

UBC Discrete Math seminar6 October 2015

Page 2: The push&pull protocol for rumour spreadingamehra13/Presentations/ubc_gossip.pdf · Thepush&pullrumourspreadingprotocol [Demers, Gealy, Greene, Hauser, Irish, Larson, Manning, Shenker,

Co-authors

Hüseyin Acan Andrea Collevecchio Nick Wormald

Monash University

Page 3: The push&pull protocol for rumour spreadingamehra13/Presentations/ubc_gossip.pdf · Thepush&pullrumourspreadingprotocol [Demers, Gealy, Greene, Hauser, Irish, Larson, Manning, Shenker,

The push&pull rumour spreading protocol[Demers, Gealy, Greene, Hauser, Irish, Larson, Manning, Shenker, Sturgis, Swinehart,

Terry, Woods’87]

1. The ground is a simple connected graph.

2. At time 0, one vertex knows a rumour.

3. At each time-step 1, 2, . . . ,every informed vertex sends the rumour to a randomneighbour (PUSH);and every uninformed vertex queries a random neighbourabout the rumour (PULL).

Page 4: The push&pull protocol for rumour spreadingamehra13/Presentations/ubc_gossip.pdf · Thepush&pullrumourspreadingprotocol [Demers, Gealy, Greene, Hauser, Irish, Larson, Manning, Shenker,
Page 5: The push&pull protocol for rumour spreadingamehra13/Presentations/ubc_gossip.pdf · Thepush&pullrumourspreadingprotocol [Demers, Gealy, Greene, Hauser, Irish, Larson, Manning, Shenker,
Page 6: The push&pull protocol for rumour spreadingamehra13/Presentations/ubc_gossip.pdf · Thepush&pullrumourspreadingprotocol [Demers, Gealy, Greene, Hauser, Irish, Larson, Manning, Shenker,
Page 7: The push&pull protocol for rumour spreadingamehra13/Presentations/ubc_gossip.pdf · Thepush&pullrumourspreadingprotocol [Demers, Gealy, Greene, Hauser, Irish, Larson, Manning, Shenker,
Page 8: The push&pull protocol for rumour spreadingamehra13/Presentations/ubc_gossip.pdf · Thepush&pullrumourspreadingprotocol [Demers, Gealy, Greene, Hauser, Irish, Larson, Manning, Shenker,
Page 9: The push&pull protocol for rumour spreadingamehra13/Presentations/ubc_gossip.pdf · Thepush&pullrumourspreadingprotocol [Demers, Gealy, Greene, Hauser, Irish, Larson, Manning, Shenker,

Applications

1. Replicated databases

2. Broadcasting algorithms

3. News propagation in social networks

4. Spread of viruses on the Internet.

Page 10: The push&pull protocol for rumour spreadingamehra13/Presentations/ubc_gossip.pdf · Thepush&pullrumourspreadingprotocol [Demers, Gealy, Greene, Hauser, Irish, Larson, Manning, Shenker,

Example: a star

1 or 2 rounds

Page 11: The push&pull protocol for rumour spreadingamehra13/Presentations/ubc_gossip.pdf · Thepush&pullrumourspreadingprotocol [Demers, Gealy, Greene, Hauser, Irish, Larson, Manning, Shenker,

Example: a path

inform− time(0) = 0

Page 12: The push&pull protocol for rumour spreadingamehra13/Presentations/ubc_gossip.pdf · Thepush&pullrumourspreadingprotocol [Demers, Gealy, Greene, Hauser, Irish, Larson, Manning, Shenker,

Example: a path

inform− time(0) = 0

Page 13: The push&pull protocol for rumour spreadingamehra13/Presentations/ubc_gossip.pdf · Thepush&pullrumourspreadingprotocol [Demers, Gealy, Greene, Hauser, Irish, Larson, Manning, Shenker,

Example: a path

inform− time(0) = 0

inform− time(1) = 1

Page 14: The push&pull protocol for rumour spreadingamehra13/Presentations/ubc_gossip.pdf · Thepush&pullrumourspreadingprotocol [Demers, Gealy, Greene, Hauser, Irish, Larson, Manning, Shenker,

Example: a path

inform− time(0) = 0

inform− time(1) = 1

inform− time(2) = 1+minGeo(1/2),Geo(1/2)

= 1+Geo(3/4)

Page 15: The push&pull protocol for rumour spreadingamehra13/Presentations/ubc_gossip.pdf · Thepush&pullrumourspreadingprotocol [Demers, Gealy, Greene, Hauser, Irish, Larson, Manning, Shenker,

Example: a path

inform− time(0) = 0

inform− time(1) = 1

inform− time(2) = 1+Geo(3/4)

inform− time(3) = 1+Geo(3/4) +Geo(3/4)

Page 16: The push&pull protocol for rumour spreadingamehra13/Presentations/ubc_gossip.pdf · Thepush&pullrumourspreadingprotocol [Demers, Gealy, Greene, Hauser, Irish, Larson, Manning, Shenker,

Example: a path

inform− time(0) = 0

inform− time(1) = 1

inform− time(2) = 1+Geo(3/4)

inform− time(3) = 1+Geo(3/4) +Geo(3/4)

inform− time(4) = 1+Geo(3/4) +Geo(3/4) + 1

Page 17: The push&pull protocol for rumour spreadingamehra13/Presentations/ubc_gossip.pdf · Thepush&pullrumourspreadingprotocol [Demers, Gealy, Greene, Hauser, Irish, Larson, Manning, Shenker,

Example: a path

inform− time(0) = 0

inform− time(1) = 1

inform− time(2) = 1+Geo(3/4)

inform− time(3) = 1+Geo(3/4) +Geo(3/4)

inform− time(4) = 1+Geo(3/4) +Geo(3/4) + 1

E[Spread Time] = 2+ 2× 4/3 = 14/3

Page 18: The push&pull protocol for rumour spreadingamehra13/Presentations/ubc_gossip.pdf · Thepush&pullrumourspreadingprotocol [Demers, Gealy, Greene, Hauser, Irish, Larson, Manning, Shenker,

Example: a path

inform− time(0) = 0

inform− time(1) = 1

inform− time(2) = 1+Geo(3/4)

inform− time(3) = 1+Geo(3/4) +Geo(3/4)

inform− time(4) = 1+Geo(3/4) +Geo(3/4) + 1

E[Spread Time] = 2+ 2× 4/3 = 14/3

=43n − 2

Page 19: The push&pull protocol for rumour spreadingamehra13/Presentations/ubc_gossip.pdf · Thepush&pullrumourspreadingprotocol [Demers, Gealy, Greene, Hauser, Irish, Larson, Manning, Shenker,

Example: a complete graph

log3 n rounds [Karp, Schindelhauer, Shenker, Vöcking’00]

Page 20: The push&pull protocol for rumour spreadingamehra13/Presentations/ubc_gossip.pdf · Thepush&pullrumourspreadingprotocol [Demers, Gealy, Greene, Hauser, Irish, Larson, Manning, Shenker,

An example: double star

us

vt

inform− time(s) = 0

inform− time(u) = 1

inform− time(v) = 1+minGeo(1/4),Geo(1/4) = 1+Geo(7/16)

inform− time(t) = 1+Geo(7/16) + 1

E[Spread Time] = 2+ 7/16 ≈ 2.44

∼ n/4

Page 21: The push&pull protocol for rumour spreadingamehra13/Presentations/ubc_gossip.pdf · Thepush&pullrumourspreadingprotocol [Demers, Gealy, Greene, Hauser, Irish, Larson, Manning, Shenker,

Known results

s(G) : expected value of the spread time

Graph G s(G)

Star 2Path (4/3)n +O(1)Double star (1+ o(1))n/4Complete (1+ o(1)) log3 n

[Karp,Schindelhauer,Shenker,Vöcking’00]

G(n , p) Θ(lnn)(connected) [Feige-Peleg-Raghavan-Upfal’90]

X Many graph classes have been analyzed, includinghypercube graphs, random regular graphs, expandergraphs, Barabási-Albert graphs, Chung-Lu graphs.In all of them s(G) = Θ(lnn).

X Tight upper bounds have been found for s(G) in terms ofexpansion profile by [Giakkoupis’11,’14].

Page 22: The push&pull protocol for rumour spreadingamehra13/Presentations/ubc_gossip.pdf · Thepush&pullrumourspreadingprotocol [Demers, Gealy, Greene, Hauser, Irish, Larson, Manning, Shenker,

Known results

s(G) : expected value of the spread time

Graph G s(G)

Star 2Path (4/3)n +O(1)Double star (1+ o(1))n/4Complete (1+ o(1)) log3 n

[Karp,Schindelhauer,Shenker,Vöcking’00]

G(n , p) Θ(lnn)(connected) [Feige-Peleg-Raghavan-Upfal’90]

X Many graph classes have been analyzed, includinghypercube graphs, random regular graphs, expandergraphs, Barabási-Albert graphs, Chung-Lu graphs.In all of them s(G) = Θ(lnn).

X Tight upper bounds have been found for s(G) in terms ofexpansion profile by [Giakkoupis’11,’14].

Page 23: The push&pull protocol for rumour spreadingamehra13/Presentations/ubc_gossip.pdf · Thepush&pullrumourspreadingprotocol [Demers, Gealy, Greene, Hauser, Irish, Larson, Manning, Shenker,

An extremal question

What’s the maximum spread time of an n-vertex graph?

n/4 4n/3

An upper bound of 13n log2 n is proved by[Feige-Peleg-Raghavan-Upfal’90]

Page 24: The push&pull protocol for rumour spreadingamehra13/Presentations/ubc_gossip.pdf · Thepush&pullrumourspreadingprotocol [Demers, Gealy, Greene, Hauser, Irish, Larson, Manning, Shenker,

An asynchronous variant

Page 25: The push&pull protocol for rumour spreadingamehra13/Presentations/ubc_gossip.pdf · Thepush&pullrumourspreadingprotocol [Demers, Gealy, Greene, Hauser, Irish, Larson, Manning, Shenker,

A (more realistic) variant

In above protocol, all vertices act at the same time!

Definition (The asynchronous variant: Boyd, Ghosh,Prabhakar, Shah’06)

Every vertex has an independent rate-1 Poisson process,and at times of process performs an operation (PUSH or PULL)

X Related to first-passage-percolation and Richardson’smodel for disease spread

X Vertices have no memory!

Page 26: The push&pull protocol for rumour spreadingamehra13/Presentations/ubc_gossip.pdf · Thepush&pullrumourspreadingprotocol [Demers, Gealy, Greene, Hauser, Irish, Larson, Manning, Shenker,

A (more realistic) variant

In above protocol, all vertices act at the same time!

Definition (The asynchronous variant: Boyd, Ghosh,Prabhakar, Shah’06)

Every vertex has an independent rate-1 Poisson process,and at times of process performs an operation (PUSH or PULL)

X Related to first-passage-percolation and Richardson’smodel for disease spread

X Vertices have no memory!

Page 27: The push&pull protocol for rumour spreadingamehra13/Presentations/ubc_gossip.pdf · Thepush&pullrumourspreadingprotocol [Demers, Gealy, Greene, Hauser, Irish, Larson, Manning, Shenker,

A discrete viewpoint of the asynchronous protocol

1 2 1 3 4 4 2 1 4

1 2

3

4

14

14

14

14

Discrete viewpoint of the asynchronous variant:In each step, one random vertex performs an operation (PUSHor PULL); but each step takes 1/n time units.

Page 28: The push&pull protocol for rumour spreadingamehra13/Presentations/ubc_gossip.pdf · Thepush&pullrumourspreadingprotocol [Demers, Gealy, Greene, Hauser, Irish, Larson, Manning, Shenker,

A discrete viewpoint of the asynchronous protocol

1 2 1 3 4 4 2 1 4

1 2

3

4

14

14

14

14

Discrete viewpoint of the asynchronous variant:In each step, one random vertex performs an operation (PUSHor PULL); but each step takes 1/n time units.

Page 29: The push&pull protocol for rumour spreadingamehra13/Presentations/ubc_gossip.pdf · Thepush&pullrumourspreadingprotocol [Demers, Gealy, Greene, Hauser, Irish, Larson, Manning, Shenker,

Coupon collector

Question: Consider a bag containing n different balls.In each step we draw a random ball and put it back.How many draws to see each ball at least once?

About n lnn

CorollaryThe first time by which all vertices’ clockshave rung at least once is about lnn.

Page 30: The push&pull protocol for rumour spreadingamehra13/Presentations/ubc_gossip.pdf · Thepush&pullrumourspreadingprotocol [Demers, Gealy, Greene, Hauser, Irish, Larson, Manning, Shenker,

Coupon collector

Question: Consider a bag containing n different balls.In each step we draw a random ball and put it back.How many draws to see each ball at least once? About n lnn

CorollaryThe first time by which all vertices’ clockshave rung at least once is about lnn.

Page 31: The push&pull protocol for rumour spreadingamehra13/Presentations/ubc_gossip.pdf · Thepush&pullrumourspreadingprotocol [Demers, Gealy, Greene, Hauser, Irish, Larson, Manning, Shenker,

Example: a star

synchronous protocol: 1 or 2 roundsasynchronous protocol: lnn amount of time

Page 32: The push&pull protocol for rumour spreadingamehra13/Presentations/ubc_gossip.pdf · Thepush&pullrumourspreadingprotocol [Demers, Gealy, Greene, Hauser, Irish, Larson, Manning, Shenker,

Example: a path

inform− time(0) = 0

Page 33: The push&pull protocol for rumour spreadingamehra13/Presentations/ubc_gossip.pdf · Thepush&pullrumourspreadingprotocol [Demers, Gealy, Greene, Hauser, Irish, Larson, Manning, Shenker,

Example: a path

inform− time(0) = 0

Page 34: The push&pull protocol for rumour spreadingamehra13/Presentations/ubc_gossip.pdf · Thepush&pullrumourspreadingprotocol [Demers, Gealy, Greene, Hauser, Irish, Larson, Manning, Shenker,

Example: a path

inform− time(0) = 0

inform− time(1) = minExp(1),Exp(1/2) = Exp(3/2)

Page 35: The push&pull protocol for rumour spreadingamehra13/Presentations/ubc_gossip.pdf · Thepush&pullrumourspreadingprotocol [Demers, Gealy, Greene, Hauser, Irish, Larson, Manning, Shenker,

Example: a path

inform− time(0) = 0

inform− time(1) = Exp(3/2)

inform− time(2) = Exp(3/2) +minExp(1/2),Exp(1/2)

= Exp(3/2) + Exp(1)

Page 36: The push&pull protocol for rumour spreadingamehra13/Presentations/ubc_gossip.pdf · Thepush&pullrumourspreadingprotocol [Demers, Gealy, Greene, Hauser, Irish, Larson, Manning, Shenker,

Example: a path

inform− time(0) = 0

inform− time(1) = Exp(3/2)

inform− time(2) = Exp(3/2) + Exp(1)

inform− time(3) = Exp(3/2) + Exp(1) + Exp(1)

Page 37: The push&pull protocol for rumour spreadingamehra13/Presentations/ubc_gossip.pdf · Thepush&pullrumourspreadingprotocol [Demers, Gealy, Greene, Hauser, Irish, Larson, Manning, Shenker,

Example: a path

inform− time(0) = 0

inform− time(1) = Exp(3/2)

inform− time(2) = Exp(3/2) + Exp(1)

inform− time(3) = Exp(3/2) + Exp(1) + Exp(1)

inform− time(4) = Exp(3/2) + Exp(1) + Exp(1) + Exp(3/2)

Page 38: The push&pull protocol for rumour spreadingamehra13/Presentations/ubc_gossip.pdf · Thepush&pullrumourspreadingprotocol [Demers, Gealy, Greene, Hauser, Irish, Larson, Manning, Shenker,

Example: a path

inform− time(0) = 0

inform− time(1) = Exp(3/2)

inform− time(2) = Exp(3/2) + Exp(1)

inform− time(3) = Exp(3/2) + Exp(1) + Exp(1)

inform− time(4) = Exp(3/2) + Exp(1) + Exp(1) + Exp(3/2)

E[Spread Time] = 2/3+ 1+ 1+ 2/3 = 10/3

Page 39: The push&pull protocol for rumour spreadingamehra13/Presentations/ubc_gossip.pdf · Thepush&pullrumourspreadingprotocol [Demers, Gealy, Greene, Hauser, Irish, Larson, Manning, Shenker,

Example: a path

inform− time(0) = 0

inform− time(1) = Exp(3/2)

inform− time(2) = Exp(3/2) + Exp(1)

inform− time(3) = Exp(3/2) + Exp(1) + Exp(1)

inform− time(4) = Exp(3/2) + Exp(1) + Exp(1) + Exp(3/2)

E[Spread Time] = 2/3+ 2× 2/3 = 10/3

= n − 5/3 (versus43n − 2 for synchronous)

Page 40: The push&pull protocol for rumour spreadingamehra13/Presentations/ubc_gossip.pdf · Thepush&pullrumourspreadingprotocol [Demers, Gealy, Greene, Hauser, Irish, Larson, Manning, Shenker,

An example: double star

us

vt

inform− time(u) = 0

inform− time(v) = minExp(2/n),Exp(2/n) = Exp(4/n)

E[Spread Time] = n/4+ lnn

Page 41: The push&pull protocol for rumour spreadingamehra13/Presentations/ubc_gossip.pdf · Thepush&pullrumourspreadingprotocol [Demers, Gealy, Greene, Hauser, Irish, Larson, Manning, Shenker,

Known results

a(G) : expected value of spread time in asynchronous protocol

Graph G s(G) a(G)

Star 2 lnn +O(1)Path (4/3)n +O(1) n +O(1)Double star (1+ o(1))n/4 (1+ o(1))n/4Complete (1+ o(1)) log3 n lnn + o(1)

[Karp,Schindelhauer,Shenker,Vöcking’00]

Hypercube Θ(lnn) Θ(lnn)graph [Feige-Peleg-Raghavan-Upfal’90] [Fill,Pemantle’93]G(n , p) Θ(lnn) (1+ o(1)) lnn(connected) [Feige-Peleg-Raghavan-Upfal’90] [Panagiotou,Speidel’13]

Many graph classes have been analyzed, including Erdős-Rényigraphs, random regular graphs, expander graphs,Barabási-Albert graphs, Chung-Lu graphs.In all of them s(G), a(G) = Θ(lnn)

Page 42: The push&pull protocol for rumour spreadingamehra13/Presentations/ubc_gossip.pdf · Thepush&pullrumourspreadingprotocol [Demers, Gealy, Greene, Hauser, Irish, Larson, Manning, Shenker,

Comparison of the two variants

Page 43: The push&pull protocol for rumour spreadingamehra13/Presentations/ubc_gossip.pdf · Thepush&pullrumourspreadingprotocol [Demers, Gealy, Greene, Hauser, Irish, Larson, Manning, Shenker,

Comparison of the two protocols on the same graph:experiments

Figures from: Doerr, Fouz, and Friedrich. MedAlg 2012.

Page 44: The push&pull protocol for rumour spreadingamehra13/Presentations/ubc_gossip.pdf · Thepush&pullrumourspreadingprotocol [Demers, Gealy, Greene, Hauser, Irish, Larson, Manning, Shenker,

The string of diamonds

... ... . . . ...

The asynchronous protocol is much quicker than itssynchronous variant!

a(G) s(G)

Indeed, asynchronous can be logarithmic, while synchronous ispolynomialcounter-inuititive: synchrony harms!

Page 45: The push&pull protocol for rumour spreadingamehra13/Presentations/ubc_gossip.pdf · Thepush&pullrumourspreadingprotocol [Demers, Gealy, Greene, Hauser, Irish, Larson, Manning, Shenker,

The string of diamonds

... ... . . . ...

The asynchronous protocol is much quicker than itssynchronous variant!

a(G) s(G)

Indeed, asynchronous can be logarithmic, while synchronous ispolynomialcounter-inuititive: synchrony harms!

Page 46: The push&pull protocol for rumour spreadingamehra13/Presentations/ubc_gossip.pdf · Thepush&pullrumourspreadingprotocol [Demers, Gealy, Greene, Hauser, Irish, Larson, Manning, Shenker,

Birthday paradox

Question: Consider a bag containing n different balls.In each step we draw a random ball and put it back.How many draws to see some ball twice?

About√πn/2 ≈ 1.25

√n

CorollaryThe first time to have some clock ring twice is about1.25/

√n.

Page 47: The push&pull protocol for rumour spreadingamehra13/Presentations/ubc_gossip.pdf · Thepush&pullrumourspreadingprotocol [Demers, Gealy, Greene, Hauser, Irish, Larson, Manning, Shenker,

Birthday paradox

Question: Consider a bag containing n different balls.In each step we draw a random ball and put it back.How many draws to see some ball twice?About

√πn/2 ≈ 1.25

√n

CorollaryThe first time to have some clock ring twice is about1.25/

√n.

Page 48: The push&pull protocol for rumour spreadingamehra13/Presentations/ubc_gossip.pdf · Thepush&pullrumourspreadingprotocol [Demers, Gealy, Greene, Hauser, Irish, Larson, Manning, Shenker,

Time taken to pass through a diamond

...k paths of length 2

Average time to pass the rumour:Synchronous: 2 rounds

Asynchronous: ≤ 4× 1.25/√k

Page 49: The push&pull protocol for rumour spreadingamehra13/Presentations/ubc_gossip.pdf · Thepush&pullrumourspreadingprotocol [Demers, Gealy, Greene, Hauser, Irish, Larson, Manning, Shenker,

Time taken to pass through a diamond

...k paths of length 2

Average time to pass the rumour:Synchronous: 2 roundsAsynchronous: ≤ 4× 1.25/

√k

Page 50: The push&pull protocol for rumour spreadingamehra13/Presentations/ubc_gossip.pdf · Thepush&pullrumourspreadingprotocol [Demers, Gealy, Greene, Hauser, Irish, Larson, Manning, Shenker,

The string of diamonds, continued

... ... . . . ...

n1/3 diamonds, each consisting of n2/3 paths of length 2

a(G) ≤ n1/3 × 5√n2/3

+ lnn = 5+ lnn

whiles(G) ≥ 2n1/3

Page 51: The push&pull protocol for rumour spreadingamehra13/Presentations/ubc_gossip.pdf · Thepush&pullrumourspreadingprotocol [Demers, Gealy, Greene, Hauser, Irish, Larson, Manning, Shenker,

The string of diamonds, continued

... ... . . . ...

n1/3 diamonds, each consisting of n2/3 paths of length 2

a(G) ≤ n1/3 × 5√n2/3

+ lnn = 5+ lnn

whiles(G) ≥ 2n1/3

Page 52: The push&pull protocol for rumour spreadingamehra13/Presentations/ubc_gossip.pdf · Thepush&pullrumourspreadingprotocol [Demers, Gealy, Greene, Hauser, Irish, Larson, Manning, Shenker,

Comparison of the two protocols on the same graph:our results

Theorem (Acan, Collevecchio, M, Wormald’15)We have

1lnn

≤ s(G)

a(G)≤ 200n2/3 lnn

Moreover, for infinitely many graphs this ratio is Ω(n1/3).

Page 53: The push&pull protocol for rumour spreadingamehra13/Presentations/ubc_gossip.pdf · Thepush&pullrumourspreadingprotocol [Demers, Gealy, Greene, Hauser, Irish, Larson, Manning, Shenker,

Proof idea for a(G) ≤ s(G)× lnn

Consider an arbitrary calling sequence:

1 2 1 3 4 4 2 1 4

1 2

3

4

3

2 3 2 2 2 2 23 3 1

Page 54: The push&pull protocol for rumour spreadingamehra13/Presentations/ubc_gossip.pdf · Thepush&pullrumourspreadingprotocol [Demers, Gealy, Greene, Hauser, Irish, Larson, Manning, Shenker,

Proof idea for a(G) ≤ s(G)× lnn

1 2 1 3 4 4 2 1 4

1 2

3

4

3

2 3 2 2 2 2 23 3 1

1 2 1 3 4

2 3 2 2 2

Page 55: The push&pull protocol for rumour spreadingamehra13/Presentations/ubc_gossip.pdf · Thepush&pullrumourspreadingprotocol [Demers, Gealy, Greene, Hauser, Irish, Larson, Manning, Shenker,

Proof idea for a(G) ≤ s(G)× lnn

1 2 1 3 4 4 2 1 4

1 2

3

4

3

2 3 2 2 2 2 23 3 1

1 2 3 4

2 3 2 2

Page 56: The push&pull protocol for rumour spreadingamehra13/Presentations/ubc_gossip.pdf · Thepush&pullrumourspreadingprotocol [Demers, Gealy, Greene, Hauser, Irish, Larson, Manning, Shenker,

Proof idea for a(G) ≤ s(G)× lnn

1 2 1 3 4 4 2 1 4

1 2

3

4

3

2 3 2 2 2 2 23 3 1

1 2 3 4

2 3 2 2

Page 57: The push&pull protocol for rumour spreadingamehra13/Presentations/ubc_gossip.pdf · Thepush&pullrumourspreadingprotocol [Demers, Gealy, Greene, Hauser, Irish, Larson, Manning, Shenker,

Proof idea for a(G) ≤ s(G)× lnn

1 2 1 3 4 4 2 1 4

1 2

3

4

3

2 3 2 2 2 2 23 3 1

1 2 3 4

2 3 2 2

4 2 1 3

2 3 3 1

Page 58: The push&pull protocol for rumour spreadingamehra13/Presentations/ubc_gossip.pdf · Thepush&pullrumourspreadingprotocol [Demers, Gealy, Greene, Hauser, Irish, Larson, Manning, Shenker,

Proof idea for s(G) ≤ a(G)× n2/3

1 2 1 3 4 4 2 1 4

1 2

3

4

3

2 3 2 2 2 2 23 3 1

Page 59: The push&pull protocol for rumour spreadingamehra13/Presentations/ubc_gossip.pdf · Thepush&pullrumourspreadingprotocol [Demers, Gealy, Greene, Hauser, Irish, Larson, Manning, Shenker,

Proof idea for s(G) ≤ a(G)× n2/3

1 2 1 3 4 4 2 1 4

1 2

3

4

3

2 3 2 2 2 2 23 3 1

1 2

2 3

1 3 4

2 2 2

4 2 1

2 3 3

4 3

2 1

Page 60: The push&pull protocol for rumour spreadingamehra13/Presentations/ubc_gossip.pdf · Thepush&pullrumourspreadingprotocol [Demers, Gealy, Greene, Hauser, Irish, Larson, Manning, Shenker,

Extremal spread times

Page 61: The push&pull protocol for rumour spreadingamehra13/Presentations/ubc_gossip.pdf · Thepush&pullrumourspreadingprotocol [Demers, Gealy, Greene, Hauser, Irish, Larson, Manning, Shenker,

The extremal question

What’s the maximum broadcast time of an n-vertex graph?

s(G), a(G) ∼ n/4 s(G) ∼ 4n/3 and a(G) ∼ n

Theorem (Acan, Collevecchio, M, Wormald’15)For any connected G on n vertices

s(G)< 5n

ln(n)/5 < a(G)< 4n

Page 62: The push&pull protocol for rumour spreadingamehra13/Presentations/ubc_gossip.pdf · Thepush&pullrumourspreadingprotocol [Demers, Gealy, Greene, Hauser, Irish, Larson, Manning, Shenker,

The extremal question

What’s the maximum broadcast time of an n-vertex graph?

s(G), a(G) ∼ n/4 s(G) ∼ 4n/3 and a(G) ∼ n

Theorem (Acan, Collevecchio, M, Wormald’15)For any connected G on n vertices

s(G)< 5n

ln(n)/5 < a(G)< 4n

Page 63: The push&pull protocol for rumour spreadingamehra13/Presentations/ubc_gossip.pdf · Thepush&pullrumourspreadingprotocol [Demers, Gealy, Greene, Hauser, Irish, Larson, Manning, Shenker,

Proof idea for linear upper bound a(G) < 4n

Only pull operations are needed!

v

BI R

We show inductively the expected remaining time ≤ 2|B |+ 4|R|

1. If there is some boundary vertex v withdegR(v) > degB (v): it may take a lot of time to inform v ,but once it is informed, R and B

Page 64: The push&pull protocol for rumour spreadingamehra13/Presentations/ubc_gossip.pdf · Thepush&pullrumourspreadingprotocol [Demers, Gealy, Greene, Hauser, Irish, Larson, Manning, Shenker,

Proof idea for linear upper bound a(G) < 4n

Only pull operations are needed!

v

BI R

We show inductively the expected remaining time ≤ 2|B |+ 4|R|

1. If there is some boundary vertex v withdegR(v) > degB (v): it may take a lot of time to inform v ,but once it is informed, R and B

Page 65: The push&pull protocol for rumour spreadingamehra13/Presentations/ubc_gossip.pdf · Thepush&pullrumourspreadingprotocol [Demers, Gealy, Greene, Hauser, Irish, Larson, Manning, Shenker,

Proof idea for linear upper bound a(G) < 4n

Only pull operations are needed!

v

BI R

We show inductively the expected remaining time ≤ 2|B |+ 4|R|

1. If there is some boundary vertex v withdegR(v) > degB (v): it may take a lot of time to inform v ,but once it is informed, R and B

Page 66: The push&pull protocol for rumour spreadingamehra13/Presentations/ubc_gossip.pdf · Thepush&pullrumourspreadingprotocol [Demers, Gealy, Greene, Hauser, Irish, Larson, Manning, Shenker,

Proof idea for linear upper bound a(G) < 4n

Only pull operations are needed!

v

BI R

We show inductively the expected remaining time ≤ 2|B |+ 4|R|

1. If there is some boundary vertex v withdegR(v) > degB (v): it may take a lot of time to inform v ,but once it is informed, R and B

2. Otherwise, each boundary vertex has pulling rate ≥ 1/2|B |,and the B boundary vertices work together “in parallel”and average time for one of them to pull the rumour is 2.

Page 67: The push&pull protocol for rumour spreadingamehra13/Presentations/ubc_gossip.pdf · Thepush&pullrumourspreadingprotocol [Demers, Gealy, Greene, Hauser, Irish, Larson, Manning, Shenker,

Final slide

Theorem (Acan, Collevecchio, M, Wormald’15)For any connected G on n vertices

s(G) < 5n

ln(n)/5 < a(G) < 4n1

lnn<

s(G)

a(G)< 200n2/3 lnn

For infinitely many graphs this ratio is Ω(n1/3).

Giakkoupis, Nazari, and Woelfel [July 2015] improved upperbound to O

(n1/2)

Page 68: The push&pull protocol for rumour spreadingamehra13/Presentations/ubc_gossip.pdf · Thepush&pullrumourspreadingprotocol [Demers, Gealy, Greene, Hauser, Irish, Larson, Manning, Shenker,

Final slide

Theorem (Acan, Collevecchio, M, Wormald’15)For any connected G on n vertices

s(G) < 5n

ln(n)/5 < a(G) < 4n1

lnn<

s(G)

a(G)< 200n2/3 lnn

For infinitely many graphs this ratio is Ω(n1/3).

Giakkoupis, Nazari, and Woelfel [July 2015] improved upperbound to O

(n1/2)