distributed graph algorithms · 2020-05-25 · distributed graph algorithms local algorithms: o(1)...

29
Introduction to Distributed Graph Algorithms Jukka Suomela

Upload: others

Post on 03-Jul-2020

9 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Distributed Graph Algorithms · 2020-05-25 · distributed graph algorithms local algorithms: O(1) time Thanks! Title: aalto-2013-06-24.graffle Author: Jukka Suomela Created Date:

Introduction toDistributed GraphAlgorithms

JukkaSuomela

Page 2: Distributed Graph Algorithms · 2020-05-25 · distributed graph algorithms local algorithms: O(1) time Thanks! Title: aalto-2013-06-24.graffle Author: Jukka Suomela Created Date:

graph

nodes

Page 3: Distributed Graph Algorithms · 2020-05-25 · distributed graph algorithms local algorithms: O(1) time Thanks! Title: aalto-2013-06-24.graffle Author: Jukka Suomela Created Date:

graph

nodes

edges+

Page 4: Distributed Graph Algorithms · 2020-05-25 · distributed graph algorithms local algorithms: O(1) time Thanks! Title: aalto-2013-06-24.graffle Author: Jukka Suomela Created Date:

graph problems

vertexcover

Page 5: Distributed Graph Algorithms · 2020-05-25 · distributed graph algorithms local algorithms: O(1) time Thanks! Title: aalto-2013-06-24.graffle Author: Jukka Suomela Created Date:

graph problems

vertexcover

Page 6: Distributed Graph Algorithms · 2020-05-25 · distributed graph algorithms local algorithms: O(1) time Thanks! Title: aalto-2013-06-24.graffle Author: Jukka Suomela Created Date:

graph problems

vertexcover

Page 7: Distributed Graph Algorithms · 2020-05-25 · distributed graph algorithms local algorithms: O(1) time Thanks! Title: aalto-2013-06-24.graffle Author: Jukka Suomela Created Date:

graph problems

vertexcover

Page 8: Distributed Graph Algorithms · 2020-05-25 · distributed graph algorithms local algorithms: O(1) time Thanks! Title: aalto-2013-06-24.graffle Author: Jukka Suomela Created Date:

graph algorithms

input output

Page 9: Distributed Graph Algorithms · 2020-05-25 · distributed graph algorithms local algorithms: O(1) time Thanks! Title: aalto-2013-06-24.graffle Author: Jukka Suomela Created Date:

graph algorithms

“distributed”vs.

“centralised”

Page 10: Distributed Graph Algorithms · 2020-05-25 · distributed graph algorithms local algorithms: O(1) time Thanks! Title: aalto-2013-06-24.graffle Author: Jukka Suomela Created Date:

centralisedalgorithm

in

out

G = (V,E)V = {1, 2, …}E = {{1,3}, …}

C = {3, 7, …}

Page 11: Distributed Graph Algorithms · 2020-05-25 · distributed graph algorithms local algorithms: O(1) time Thanks! Title: aalto-2013-06-24.graffle Author: Jukka Suomela Created Date:

centralisedalgorithm

G = (V,E)V = {1, 2, …}E = {{1,3}, …}

C = {3, 7, …}

all input inone location

all output inone location

Page 12: Distributed Graph Algorithms · 2020-05-25 · distributed graph algorithms local algorithms: O(1) time Thanks! Title: aalto-2013-06-24.graffle Author: Jukka Suomela Created Date:

centralisedalgorithm

G = (V,E)V = {1, 2, …}E = {{1,3}, …}

C = {3, 7, …}

all input inone location

all output inone location

time unit ≈one step ofcomputation

Page 13: Distributed Graph Algorithms · 2020-05-25 · distributed graph algorithms local algorithms: O(1) time Thanks! Title: aalto-2013-06-24.graffle Author: Jukka Suomela Created Date:

distributedgraph algorithms

graph = computer networknode = computeredge = communication linktime = communication steps

Page 14: Distributed Graph Algorithms · 2020-05-25 · distributed graph algorithms local algorithms: O(1) time Thanks! Title: aalto-2013-06-24.graffle Author: Jukka Suomela Created Date:

graph: computer network

node:computer

Page 15: Distributed Graph Algorithms · 2020-05-25 · distributed graph algorithms local algorithms: O(1) time Thanks! Title: aalto-2013-06-24.graffle Author: Jukka Suomela Created Date:

initial information

t = 0

Page 16: Distributed Graph Algorithms · 2020-05-25 · distributed graph algorithms local algorithms: O(1) time Thanks! Title: aalto-2013-06-24.graffle Author: Jukka Suomela Created Date:

initial information

t = 0

Page 17: Distributed Graph Algorithms · 2020-05-25 · distributed graph algorithms local algorithms: O(1) time Thanks! Title: aalto-2013-06-24.graffle Author: Jukka Suomela Created Date:

time step: communication

t = 1

Page 18: Distributed Graph Algorithms · 2020-05-25 · distributed graph algorithms local algorithms: O(1) time Thanks! Title: aalto-2013-06-24.graffle Author: Jukka Suomela Created Date:

time step: communication

t = 2

Page 19: Distributed Graph Algorithms · 2020-05-25 · distributed graph algorithms local algorithms: O(1) time Thanks! Title: aalto-2013-06-24.graffle Author: Jukka Suomela Created Date:

all nodes in parallel

t = 2

Page 20: Distributed Graph Algorithms · 2020-05-25 · distributed graph algorithms local algorithms: O(1) time Thanks! Title: aalto-2013-06-24.graffle Author: Jukka Suomela Created Date:

local outputs

t = 2

“0”

“1”

“0”

Page 21: Distributed Graph Algorithms · 2020-05-25 · distributed graph algorithms local algorithms: O(1) time Thanks! Title: aalto-2013-06-24.graffle Author: Jukka Suomela Created Date:

nodes that output “1”

vertexcover

Page 22: Distributed Graph Algorithms · 2020-05-25 · distributed graph algorithms local algorithms: O(1) time Thanks! Title: aalto-2013-06-24.graffle Author: Jukka Suomela Created Date:

distributed algorithm

��0 1

map from radius-tneighbourhoods tolocal outputs

��

Page 23: Distributed Graph Algorithms · 2020-05-25 · distributed graph algorithms local algorithms: O(1) time Thanks! Title: aalto-2013-06-24.graffle Author: Jukka Suomela Created Date:

distributed algorithm

��0 1

trivial: t ≥ diameterfocus: small t

��

Page 24: Distributed Graph Algorithms · 2020-05-25 · distributed graph algorithms local algorithms: O(1) time Thanks! Title: aalto-2013-06-24.graffle Author: Jukka Suomela Created Date:

distributed algorithm

��0 1

our research:local algorithms, t = O(1)

��

Page 25: Distributed Graph Algorithms · 2020-05-25 · distributed graph algorithms local algorithms: O(1) time Thanks! Title: aalto-2013-06-24.graffle Author: Jukka Suomela Created Date:

“what can be“computed locally?”

(Naor & Stockmeyer 1995)

Page 26: Distributed Graph Algorithms · 2020-05-25 · distributed graph algorithms local algorithms: O(1) time Thanks! Title: aalto-2013-06-24.graffle Author: Jukka Suomela Created Date:

“what can be“computed locally?”

• fast and fault-tolerantdistributed algorithms

• understanding socialnetworks, markets,biological systems, …

Page 27: Distributed Graph Algorithms · 2020-05-25 · distributed graph algorithms local algorithms: O(1) time Thanks! Title: aalto-2013-06-24.graffle Author: Jukka Suomela Created Date:

local algorithms

(bounded-degree graphs)

• vertex cover: 2-approx.

• edge dominating sets

• almost stable matchings

• linear programming…

Page 28: Distributed Graph Algorithms · 2020-05-25 · distributed graph algorithms local algorithms: O(1) time Thanks! Title: aalto-2013-06-24.graffle Author: Jukka Suomela Created Date:

local algorithms

matching lower bounds!

e.g.: unique identifiers do nothelp with local approximation

general proof techniques

decision problems…

Page 29: Distributed Graph Algorithms · 2020-05-25 · distributed graph algorithms local algorithms: O(1) time Thanks! Title: aalto-2013-06-24.graffle Author: Jukka Suomela Created Date:

distributed graphalgorithms

localalgorithms:O(1) time

Thanks!