Locality in Networks Jukka Suomela Helsinki Institute for - - PowerPoint PPT Presentation

locality in networks
SMART_READER_LITE
LIVE PREVIEW

Locality in Networks Jukka Suomela Helsinki Institute for - - PowerPoint PPT Presentation

Locality in Networks Jukka Suomela Helsinki Institute for Information Technology HIIT Department of Computer Science, University of Helsinki Foundations of Network Science Workshop Riga, 7 July 2013 1. Locality and Local Algorithms brief


slide-1
SLIDE 1

Locality in Networks

Jukka Suomela Helsinki Institute for Information Technology HIIT Department of Computer Science, University of Helsinki Foundations of Network Science Workshop Riga, 7 July 2013

slide-2
SLIDE 2
  • 1. Locality and

Local Algorithms

– brief introduction

slide-3
SLIDE 3

Locality in Networks

  • Basic setting:
  • nodes act based on local information only
  • behaviour of node v = function of information

available in O(1)-radius neighbourhood of v

  • Question:
  • what tasks can be solved?
slide-4
SLIDE 4

Constant-Radius Neighbourhood

slide-5
SLIDE 5

Example: Matching in Networks

X Y A B Z C X Y A B Z C

slide-6
SLIDE 6

Example: Matching in Networks

  • Job markets: open positions and workers
  • Economics: buyers and sellers
  • Social networks: marriages
  • Computer networks: resource allocation
slide-7
SLIDE 7

Local Algorithms for Matching in Networks

  • Local perspective:
  • each player decides with whom to pair

based on its local neighbourhood

  • Global perspective:
  • globally consistent solution,

good solution (e.g., large matching)

slide-8
SLIDE 8

Maximum Matchings

  • Largest possible number of pairs
slide-9
SLIDE 9

Maximum Matchings

  • No local algorithm — simple proof:

vs.

slide-10
SLIDE 10

Maximum Matchings

  • Same neighbourhood, different output

vs.

slide-11
SLIDE 11

Approximations of Maximum Matchings

  • No local algorithm for maximum matching
  • However, we can find arbitrarily

good approximations locally

  • identify & eliminate all short augmenting

paths, in parallel

  • local, if maximum degree O(1)
slide-12
SLIDE 12

Stable Matchings

  • No pair of nodes has incentive to change
  • X prefers B to A, B prefers X to Y

X Y A B X Y A B

slide-13
SLIDE 13

Stable Matchings

  • No pair of nodes has incentive to change
  • Not possible with local behaviour
  • long path
  • preferences near endpoints determine

what we must do near midpoint

slide-14
SLIDE 14

Stable Matchings

  • No pair of nodes has incentive to change
  • Not possible with local behaviour
  • Possible if we tolerate

a small fraction of unstable edges

  • simple and natural local algorithm…
slide-15
SLIDE 15

Almost Stable Matchings

  • Truncated Gale–Shapley algorithm
  • currently unmatched “men” propose

women in preference order

  • “women” accept the best proposal so far
  • run for O(1) parallel rounds — local
  • Few unstable edges (if low degrees)
slide-16
SLIDE 16

Local Algorithms

  • Active subfield of distributed computing
  • Linial (1992):

“Locality in distributed graph algorithms”

  • Naor & Stockmeyer (1995):

“What can be computed locally”

  • Kuhn, Moscibroda, Wattenhofer (2004):

“What cannot be computed locally”

slide-17
SLIDE 17

Local Algorithms for Graph Problems

  • Lots of good approximations — at least

in some special cases:

  • matchings, dominating sets,

edge covers, vertex covers, packing/covering linear programs, …

  • More details: “Survey of local algorithms” (2013)
slide-18
SLIDE 18
  • 2. Network Science

Perspective

– reasons to expect locality – implications

slide-19
SLIDE 19

Why Local?

  • Attractive in computer networks
  • fast, fault-tolerant, robust
  • cheap and simple
  • easy to design, easy to implement
  • What about social networks, markets,

biological systems, industrial systems…?

slide-20
SLIDE 20

Why Expect Locality?

  • Privacy, competition, selfishness
  • why would strangers reveal what they know?
  • why would our competitors do it?
  • Timeliness
  • distant information is likely outdated,

so why care about it at all?

slide-21
SLIDE 21

Why Expect Locality?

  • Simple and unreliable communication
  • how to encode lots of data in a mixture
  • f some chemical compounds?
  • Simple entities, limited capabilities
  • could I keep track of friends of friends
  • f friends?
slide-22
SLIDE 22

Implications

  • Distributed systems:
  • upper-bound results are of practical use
  • algorithms that we can implement and run
  • Network science:
  • lower-bound results are of practical use?
  • learn about possible behaviour in networks
slide-23
SLIDE 23

Locality Lower Bounds: Predictions

  • No good matchings in real-world networks
  • open positions and unemployed people
  • No optimal resource allocation
  • Even if everyone does its best to co-operate!
  • not price of anarchy but price of locality
slide-24
SLIDE 24
  • 3. Understanding

Locality Lower Bounds

– why are some tasks non-local?

slide-25
SLIDE 25

Reasons for Non-Locality

  • Common theme:
  • nodes u and v have identical

local neighbourhoods

  • nodes u and v should make

different decisions

slide-26
SLIDE 26

Reasons for Non-Locality

  • Example: maximum matching

vs.

slide-27
SLIDE 27

Reasons for Non-Locality

  • Example: graph colouring
slide-28
SLIDE 28

Reasons for Non-Locality

  • Example: graph colouring
slide-29
SLIDE 29

Reasons for Non-Locality

  • Maximum matching:
  • global optimum needs global information
  • Graph colouring:
  • extra information needed to break symmetry
  • But there are also less obvious reasons…
slide-30
SLIDE 30

Example: Large Cuts

  • Label nodes with orange/blue
  • Cut edge: endpoints with different colours
slide-31
SLIDE 31

Example: Large Cuts

  • Label nodes with orange/blue
  • Cut edge: endpoints with different colours

Bad solution:

slide-32
SLIDE 32

Example: Large Cuts

  • Label nodes with orange/blue
  • Cut edge: endpoints with different colours

Good solution:

slide-33
SLIDE 33

Example: Large Cuts

  • Simple local rule: flip coins to pick labels
  • in expectation 1/2 of all edges are good
  • trivial 1/2-approximation
  • Can we do better?
  • what if we looked further?
  • what if we used more random bits?
slide-34
SLIDE 34

Example: Large Cuts

  • We can do slightly better:
  • flip coins
  • change mind if “too many”

neighbours with the same random bit

  • d-regular triangle-free graphs:
  • Best possible approximation ratio — why?

1 1 1 1 1 1

1 / Θ

  • /

slide-35
SLIDE 35

Lower Bound: Large Cuts

  • Networks X and Y look locally identical:
  • X has large cuts, Y does not have large cuts
  • Local algorithm A: same behaviour in X and Y
  • must produce small cuts in Y
  • therefore produces small cuts in X, too
  • poor approximation ratio in X
slide-36
SLIDE 36

Lower Bound: Large Cuts

  • Y = non-bipartite Ramanujan graphs
  • high girth — looks locally like a tree
  • no large cuts (spectral properties)
  • X = bipartite double cover of Y
  • looks locally identical to Y
  • has a large cut (bipartite)
slide-37
SLIDE 37

Y X

Bipartite Double Cover

slide-38
SLIDE 38

= Y X

Identical Local Neighbourhoods

slide-39
SLIDE 39

Identical Local Neighbourhoods

  • Edge e in Y — similar edges e1 and e2 in X
  • Pr[ edge e1 in X is a cut edge ] =

Pr[ edge e2 in X is a cut edge ] = Pr[ edge e in Y is a cut edge ]

  • E[ fraction of cut edges in X ] =

E[ fraction of cut edges in Y ]

slide-40
SLIDE 40

Reasons for Non-Locality

  • Similar techniques work for many problems
  • find a bad counterexample Y
  • construct an “easy” instance X
  • make sure X and Y look locally identical
  • local algorithm: similar behaviour in X and Y
  • poor approximation in X
slide-41
SLIDE 41

Typical Counterexamples

  • Regular graph
  • node degrees do not help
  • High girth
  • locally looks like a regular tree
  • Expander graphs
slide-42
SLIDE 42
  • 4. But What About

More Realistic Networks?

– do locality lower bounds tell us anything about “typical” networks?

slide-43
SLIDE 43

Locality in Real-World Networks

  • Local algorithms for “nice” graph families?
  • Some progress:
  • bounded degrees
  • bounded growth, bounded independence…
  • bounded arboricity, forbidden minors…
  • line graphs, planar graphs…
slide-44
SLIDE 44

Locality in Real-World Networks

  • Distributed computing community

focuses on graph families that look like “typical computer networks”

  • bounded degrees ≈ wired networks
  • bounded growth ≈ wireless networks
slide-45
SLIDE 45

Locality in Real-World Networks

  • Distributed computing community

focuses on graph families that look like “typical computer networks”

  • What about job markets, biological

networks, social networks, …?

  • need to re-think the assumptions
slide-46
SLIDE 46
  • 5. Next Steps

– towards tight results in relevant graph families

slide-47
SLIDE 47

Research Agenda: Next Steps

  • Radius of locality r vs.

parameters of network family

  • State of the art: r vs. maximum degree Δ
  • r = Θ(1) — approximations of max-cut
  • r = Θ(polylog Δ) — approximations of LPs
  • r = Θ(Δ) — maximal solutions to LPs
slide-48
SLIDE 48

Research Agenda: Next Steps

  • Radius of locality r vs.

parameters of network family

  • Maximum degree:
  • wrong parameter for social networks
  • tight bounds on r in networks with

a small number of high-degree nodes?

slide-49
SLIDE 49

Summary: Locality in Networks

– how to go beyond the traditional scope

  • f computer networks?