How to beat a random walk with a clock ? Locating a Target With an - - PowerPoint PPT Presentation

how to beat a random walk with a clock
SMART_READER_LITE
LIVE PREVIEW

How to beat a random walk with a clock ? Locating a Target With an - - PowerPoint PPT Presentation

Introduction Moody walk analysis R/A Conclusion How to beat a random walk with a clock ? Locating a Target With an Agent Guided by Unreliable Local Advice Nicolas Hanusse 1 David Ilcinkas 1 Adrian Kosowski 2 , 1 , 3 Nicolas Nisse 2 , 4 1


slide-1
SLIDE 1

Introduction Moody walk analysis R/A Conclusion

How to beat a random walk with a clock ?

Locating a Target With an Agent Guided by Unreliable Local Advice Nicolas Hanusse1 David Ilcinkas1 Adrian Kosowski2,1,3 Nicolas Nisse2,4

1CNRS-LaBRI, Univ. Bordeaux 2Inria, France 3Gdańsk University of Technology, Poland

  • 4Univ. Nice Sophia Antipolis, CNRS, I3S

Nice Workshop on random graphs

Nice, France, May 15, 2014

Many thanks to Nicolas Hanusse for his slides

Hanusse, Ilcinkas, Kosowski, Nisse How to beat a random walk with a clock ?

slide-2
SLIDE 2

Introduction Moody walk analysis R/A Conclusion Searching for information in networks with liars A model of sea

How to find a cash machine in NY ?

Take advantage of your knowledge Map, sense of direction (left/right, north/south...), topology...

Hanusse, Ilcinkas, Kosowski, Nisse How to beat a random walk with a clock ?

slide-3
SLIDE 3

Introduction Moody walk analysis R/A Conclusion Searching for information in networks with liars A model of sea

How to find a cash machine in NY ?

Algorithm A (Advice) Keep on following the advice until the target t is found.

Hanusse, Ilcinkas, Kosowski, Nisse How to beat a random walk with a clock ?

slide-4
SLIDE 4

Introduction Moody walk analysis R/A Conclusion Searching for information in networks with liars A model of sea

How to find a cash machine in NY ?

Algorithm A (Advice) Keep on following the advice until the target t is found (LOOP).

Hanusse, Ilcinkas, Kosowski, Nisse How to beat a random walk with a clock ?

slide-5
SLIDE 5

Introduction Moody walk analysis R/A Conclusion Searching for information in networks with liars A model of sea

Searching for information in networks with liars

IS IT A GOOD ADVICE ? ADVICE destination source : where to go ?

Numerous adversaries the network map and the target location unknown dynamicity = ⇒ local information unreliable

Hanusse, Ilcinkas, Kosowski, Nisse How to beat a random walk with a clock ?

slide-6
SLIDE 6

Introduction Moody walk analysis R/A Conclusion Searching for information in networks with liars A model of sea

Searching for information in networks with liars

LIAR ADVICE shortest path IS IT A GOOD ADVICE ? shortest path source : where to go ? destination

Numerous adversaries the network map and the target location unknown dynamicity = ⇒ local information unreliable

Hanusse, Ilcinkas, Kosowski, Nisse How to beat a random walk with a clock ?

slide-7
SLIDE 7

Introduction Moody walk analysis R/A Conclusion Searching for information in networks with liars A model of sea

Searching for information in networks with liars

LIAR ADVICE shortest path IS IT A GOOD ADVICE ? shortest path source : where to go ? destination

Numerous adversaries the network map and the target location unknown dynamicity = ⇒ local information unreliable Some models of searching with errors For every target t, each node gives an advice. If this advice is bad, the node is a liar.

Searching with uncertainty, SIROCCO’1999, Kranakis-Krizanc Searching with mobile agents in networks with liars, Disc. Applied Maths. 2004, Hanusse-Kranakis-Krizanc

Hanusse, Ilcinkas, Kosowski, Nisse How to beat a random walk with a clock ?

slide-8
SLIDE 8

Introduction Moody walk analysis R/A Conclusion Searching for information in networks with liars A model of sea

A model of searching with errors

Lille Caen Rennes Nantes Nice Toulouse Montpellier Marseille Lyon Bordeaux Paris

Local information advice: For each target t, every node u points to an incident link e; If e is on a shortest path from u to t, u is a truthteller , otherwise a liar. Hypothesis Advice and topology are unchanged during the search; worst-case analysis: The adversary knows the algorithm and chooses the worst configuration of advice.

Hanusse, Ilcinkas, Kosowski, Nisse How to beat a random walk with a clock ?

slide-9
SLIDE 9

Introduction Moody walk analysis R/A Conclusion Searching for information in networks with liars A model of sea

A model of searching with errors

Lille Caen Rennes Nantes Nice Toulouse Montpellier Marseille Lyon Bordeaux Paris

Local information advice: For each target t, every node u points to an incident link e; If e is on a shortest path from u to t, u is a truthteller , otherwise a liar. Hypothesis Advice and topology are unchanged during the search; worst-case analysis: The adversary knows the algorithm and chooses the worst configuration of advice.

Hanusse, Ilcinkas, Kosowski, Nisse How to beat a random walk with a clock ?

slide-10
SLIDE 10

Introduction Moody walk analysis R/A Conclusion Searching for information in networks with liars A model of sea

Performance Measures

Performance Measures n: # nodes, k: # liars, d: distance to the target Time T : # hops to reach the target Memory M: of the mobile agent

1 2 3 4 5 6 7 9 11 8 10

With sense of direction: T ≤ 2n et M = Θ(1) - whole exploration T = Θ(d) et M = Θ(log n) - zigzag T ≤ d + 4k + 2 et M = Θ(log k) - using advice, know k

Hanusse, Ilcinkas, Kosowski, Nisse How to beat a random walk with a clock ?

slide-11
SLIDE 11

Introduction Moody walk analysis R/A Conclusion Searching for information in networks with liars A model of sea

Performance Measures

Performance Measures n: # nodes, k: # liars, d: distance to the target Time T : # hops to reach the target Memory M: of the mobile agent d 2k+1 With sense of direction: T ≤ 2n et M = Θ(1) - whole exploration T = Θ(d) et M = Θ(log n) - zigzag T ≤ d + 4k + 2 et M = Θ(log k) - using advice, know k

Hanusse, Ilcinkas, Kosowski, Nisse How to beat a random walk with a clock ?

slide-12
SLIDE 12

Introduction Moody walk analysis R/A Conclusion Searching for information in networks with liars A model of sea

State of the art

2 types of results specialized deterministic algorithms: ring, hypercube, complete graph, ... universal randomized algorithms with M = 0: random walk (R), biasest random walk (BR) Examples T = Ω(d + 2k) for binary trees for any algorithms; T = O(d + 2Θ(k)) for bounded degree graphs (BR); T = Ω(d + 2k) for the path (BR)

Hanusse, Ilcinkas, Kosowski, Nisse How to beat a random walk with a clock ?

slide-13
SLIDE 13

Introduction Moody walk analysis R/A Conclusion Searching for information in networks with liars A model of sea

State of the art

2 types of results specialized deterministic algorithms: ring, hypercube, complete graph, ... universal randomized algorithms with M = 0: random walk (R), biasest random walk (BR) Examples T = Ω(d + 2k) for binary trees for any algorithms; T = O(d + 2Θ(k)) for bounded degree graphs (BR); T = Ω(d + 2k) for the path (BR)

Hanusse, Ilcinkas, Kosowski, Nisse How to beat a random walk with a clock ?

slide-14
SLIDE 14

Introduction Moody walk analysis R/A Conclusion Searching for information in networks with liars A model of sea

State of the art

Idea of the lower bound in trees T = Ω(d + 2k) for binary trees for any algorithms;

k liar liar liar source, liar target

Everything is symmetric: Ω(2k) leaves look the same

Hanusse, Ilcinkas, Kosowski, Nisse How to beat a random walk with a clock ?

slide-15
SLIDE 15

Introduction Moody walk analysis R/A Conclusion Searching for information in networks with liars A model of sea

Contribution

Goal Designing universal algorithms using the least amount of requirements : no hypothesis on ports/nodes labeling ... light mobile agents (M = O(log n)) no knowledge on k. New results New algorithm: using the moody walk or R/A and M = O(log k) E(T ) = 2d + O(k5) for the path E(T ) = O(k3 log3 n) for some expanders (random regular)

Hanusse, Ilcinkas, Kosowski, Nisse How to beat a random walk with a clock ?

slide-16
SLIDE 16

Introduction Moody walk analysis R/A Conclusion Searching for information in networks with liars A model of sea

Contribution

Goal Designing universal algorithms using the least amount of requirements : no hypothesis on ports/nodes labeling ... light mobile agents (M = O(log n)) no knowledge on k. New results New algorithm: using the moody walk or R/A and M = O(log k) E(T ) = 2d + O(k5) for the path E(T ) = O(k3 log3 n) for some expanders (random regular)

Hanusse, Ilcinkas, Kosowski, Nisse How to beat a random walk with a clock ?

slide-17
SLIDE 17

Introduction Moody walk analysis R/A Conclusion Searching for information in networks with liars A model of sea

Biasest random walk VS moody walk

Algorithm BR With probability p, follow the advice (A); Otherwise, the agent chooses a neighbor at random (R).

R A A A A A A A A R R R R R R R LR

p=1/2

R A BR

Algorithm R/A [LR, LA] Keep on alternating Algorithm R for LR hops and Algorithm A for LA hops.

Hanusse, Ilcinkas, Kosowski, Nisse How to beat a random walk with a clock ?

slide-18
SLIDE 18

Introduction Moody walk analysis R/A Conclusion Ring or path Expanders From R/A/E with knwoledge to R/A

Ring or path

Gain: r.v X - distance reduction to t in one iteration. Phase R during L steps With probability 1 − 2/kc, |XR| <

  • L log k;

With probability 1 − 2/e, |XR| < √ L.

s t

  • L log k

Algorithm R/A[L, L] Safe area: whp. XA > L −

  • L log k.

Dangerous area: connected component of nodes at distance at most

  • L log k from liars.

Hanusse, Ilcinkas, Kosowski, Nisse How to beat a random walk with a clock ?

slide-19
SLIDE 19

Introduction Moody walk analysis R/A Conclusion Ring or path Expanders From R/A/E with knwoledge to R/A

Ring or path

Gain: r.v X - distance reduction to t in one iteration. Phase R during L steps With probability 1 − 2/kc, |XR| <

  • L log k;

With probability 1 − 2/e, |XR| < √ L.

s t

  • L log k

Algorithm R/A[L, L] Safe area: whp. XA > L −

  • L log k.

Dangerous area: connected component of nodes at distance at most

  • L log k from liars.

Hanusse, Ilcinkas, Kosowski, Nisse How to beat a random walk with a clock ?

slide-20
SLIDE 20

Introduction Moody walk analysis R/A Conclusion Ring or path Expanders From R/A/E with knwoledge to R/A

Path

t R R A A A √ L

Phase A (dangerous area)

1 −k ≤ XA < 0 with prob. O(k/

√ L);

2 XA ≥

√ 2L/k − 1 with prob. Θ(1);

3 E(X) = E(XA) and E(XA) ≥

√ L 40k − 1.

Hanusse, Ilcinkas, Kosowski, Nisse How to beat a random walk with a clock ?

slide-21
SLIDE 21

Introduction Moody walk analysis R/A Conclusion Ring or path Expanders From R/A/E with knwoledge to R/A

Performance of Moody walk on Path

With knowledge of k For L > 32k3, R/A[L,L] finds the target in T = 2d + O(Lk2 log k) + o(d) with probability 1 − Θ(1/kc−3), M = O(log k) Without knowledge of k Iterating R/A[23i, 23i], increasing i every i22i phases: T = 2d + O(k5 log k) + o(d) with probability 1 − Θ(1/kc−3) Remainder: BR: T = Θ(d + 2k) for the path, M = 0

Hanusse, Ilcinkas, Kosowski, Nisse How to beat a random walk with a clock ?

slide-22
SLIDE 22

Introduction Moody walk analysis R/A Conclusion Ring or path Expanders From R/A/E with knwoledge to R/A

Expanders

Graphs of high expansion are useful For any set S of nodes, the neighborhood of S is of size Ω(|S|) P2P networks, error-correcting codes, small-world A family of expanders: random ∆-regular graphs Diameter=log∆-1 n + log∆-1 log n + D (Bollobas, De la

Vega 1982)

fast mixing: Every node is reached with probability Θ(1/n) following a random walk of length 8

log n log(∆/4)

(Friedman 2003, Cooper 2005) Local Tree-like: There is a constant c ≡ 1/2 such that the neighborhood at distance c log∆-1 n is a tree (Cooper-Frieze-Radzik 2008)

Hanusse, Ilcinkas, Kosowski, Nisse How to beat a random walk with a clock ?

slide-23
SLIDE 23

Introduction Moody walk analysis R/A Conclusion Ring or path Expanders From R/A/E with knwoledge to R/A

Expanders

Graphs of high expansion are useful For any set S of nodes, the neighborhood of S is of size Ω(|S|) P2P networks, error-correcting codes, small-world A family of expanders: random ∆-regular graphs Diameter=log∆-1 n + log∆-1 log n + D (Bollobas, De la

Vega 1982)

fast mixing: Every node is reached with probability Θ(1/n) following a random walk of length 8

log n log(∆/4)

(Friedman 2003, Cooper 2005) Local Tree-like: There is a constant c ≡ 1/2 such that the neighborhood at distance c log∆-1 n is a tree (Cooper-Frieze-Radzik 2008)

Hanusse, Ilcinkas, Kosowski, Nisse How to beat a random walk with a clock ?

slide-24
SLIDE 24

Introduction Moody walk analysis R/A Conclusion Ring or path Expanders From R/A/E with knwoledge to R/A

R/A/E with knowledge

s

R

s’ s t

R/A/E Beat the adversary ? Starting from a random source With prob. Θ(1), only truthtellers are encountered during phase A With prob. Θ(1), the target is "close" to the current position (phase E: BFS exploration)

Hanusse, Ilcinkas, Kosowski, Nisse How to beat a random walk with a clock ?

slide-25
SLIDE 25

Introduction Moody walk analysis R/A Conclusion Ring or path Expanders From R/A/E with knwoledge to R/A

R/A/E with knowledge

s

R

s’ t

R/A/E Beat the adversary ? Starting from a random source With prob. Θ(1), only truthtellers are encountered during phase A With prob. Θ(1), the target is "close" to the current position (phase E: BFS exploration)

Hanusse, Ilcinkas, Kosowski, Nisse How to beat a random walk with a clock ?

slide-26
SLIDE 26

Introduction Moody walk analysis R/A Conclusion Ring or path Expanders From R/A/E with knwoledge to R/A

R/A/E with knowledge

s t

R

s’

A

R/A/E Beat the adversary ? Starting from a random source With prob. Θ(1), only truthtellers are encountered during phase A With prob. Θ(1), the target is "close" to the current position (phase E: BFS exploration)

Hanusse, Ilcinkas, Kosowski, Nisse How to beat a random walk with a clock ?

slide-27
SLIDE 27

Introduction Moody walk analysis R/A Conclusion Ring or path Expanders From R/A/E with knwoledge to R/A

R/A/E with knowledge

s t

R

s’

A E

R/A/E Beat the adversary ? Starting from a random source With prob. Θ(1), only truthtellers are encountered during phase A With prob. Θ(1), the target is "close" to the current position (phase E: BFS exploration)

Hanusse, Ilcinkas, Kosowski, Nisse How to beat a random walk with a clock ?

slide-28
SLIDE 28

Introduction Moody walk analysis R/A Conclusion Ring or path Expanders From R/A/E with knwoledge to R/A

Toward R/A without knowledge of n and k

R/A/E WITH knowledge of n, k and diameter Phase R: LR = 8

log n log(∆/4) steps

Phase A: LA = log∆-1 n − 1 − log∆-1 k steps Phase E: radius rE = log∆-1 k + log∆-1 log n + D + 1 Theorem: In a random ∆-regular graph, the target is found in O(k log n) steps with probability Θ(1). R/A[LR + rE, LA] (Simulation of phase E) In phase R, a target at distance rE is reached with probability Ω(

1 k log n).

Theorem: In a random ∆-regular graph, the target is reached in O(k2 log2 n) steps with probability Θ(1).

Hanusse, Ilcinkas, Kosowski, Nisse How to beat a random walk with a clock ?

slide-29
SLIDE 29

Introduction Moody walk analysis R/A Conclusion Ring or path Expanders From R/A/E with knwoledge to R/A

Toward R/A without knowledge of n and k

R/A/E WITH knowledge of n, k and diameter Phase R: LR = 8

log n log(∆/4) steps

Phase A: LA = log∆-1 n − 1 − log∆-1 k steps Phase E: radius rE = log∆-1 k + log∆-1 log n + D + 1 Theorem: In a random ∆-regular graph, the target is found in O(k log n) steps with probability Θ(1). R/A[LR + rE, LA] (Simulation of phase E) In phase R, a target at distance rE is reached with probability Ω(

1 k log n).

Theorem: In a random ∆-regular graph, the target is reached in O(k2 log2 n) steps with probability Θ(1).

Hanusse, Ilcinkas, Kosowski, Nisse How to beat a random walk with a clock ?

slide-30
SLIDE 30

Introduction Moody walk analysis R/A Conclusion Ring or path Expanders From R/A/E with knwoledge to R/A

R/A/E without knowledge of n, k and diameter

R/A without knowledge j ← 1; i = 1..j, Run R/A[100i, i] j + + Theorem: In a random ∆-regular graph, the target is found within O(c3k3 log3 n) steps with probability 1 − 1/2Ω(c).

Hanusse, Ilcinkas, Kosowski, Nisse How to beat a random walk with a clock ?

slide-31
SLIDE 31

Introduction Moody walk analysis R/A Conclusion

To sum up (without knowledge of n and k)

Strategy Mean search time Path random ∆-regular BR [p < 1/2] 2Ω(d) Θ(min{(∆ − 1)k, nΘ(1)}) BR [p = 1/2] Ω(dn) Ω(log2

∆-1 n)

BR [p > 1/2] Θ(d + 2Θ(k)) nΘ(1) R/A∗ 2d + kΘ(1) + o(d) O(k3 log3 n) Lower B.∗ Ω(min{(∆ − 1)k, (∆ − 1)d, log∆-1 n})

∗No hypothesis on the in-ports is assumed for the upper

bounds but the lower bound assumes one.

Hanusse, Ilcinkas, Kosowski, Nisse How to beat a random walk with a clock ?

slide-32
SLIDE 32

Introduction Moody walk analysis R/A Conclusion

What you need to retain Do not blindy follow the advice but find the good proportions !!

Challenges Other graphs family: D-dimensionnal grids ? With less memory ? R/A[n3, 0] universal: How to parameter ?

Hanusse, Ilcinkas, Kosowski, Nisse How to beat a random walk with a clock ?

slide-33
SLIDE 33

Introduction Moody walk analysis R/A Conclusion

What you need to retain Do not blindy follow the advice but find the good proportions !!

Challenges Other graphs family: D-dimensionnal grids ? With less memory ? R/A[n3, 0] universal: How to parameter ?

Hanusse, Ilcinkas, Kosowski, Nisse How to beat a random walk with a clock ?