08.10.2016 Views

Foundations of Data Science

2dLYwbK

2dLYwbK

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

For at least half <strong>of</strong> the pairs <strong>of</strong> vertices, the grid distance, measured by grid edges<br />

between the vertices, is greater than or equal to n/4. Any path between them must have<br />

at least 1 r+2<br />

n/n 2r = 1n r−2<br />

2r edges since there are no edges longer than n r+2<br />

2r and so there is<br />

4 4<br />

no polylog length path.<br />

An algorithm for the r = 2 case<br />

For r = 2, the local algorithm that selects the edge that ends closest to the destination<br />

t finds a path <strong>of</strong> expected length O(ln n) 3 . Suppose the algorithm is at a vertex u which<br />

is a at distance k from t. Then within an expected O(ln n) 2 steps, the algorithm reaches<br />

a point at distance at most k/2. The reason is that there are Ω(k 2 ) vertices at distance at<br />

most k/2 from t. Each <strong>of</strong> these vertices is at distance at most k + k/2 = O(k) from u. See<br />

Figure 4.19. Recall that the normalizing constant c r is upper bounded by O(ln n), and<br />

hence, the constant <strong>of</strong> proportionality is lower bounded by some constant times 1/ ln n.<br />

Thus, the probability that the long-distance edge from u goes to one <strong>of</strong> these vertices is<br />

at least<br />

Ω(k 2 k −r / ln n) = Ω(1/ ln n).<br />

Consider Ω(ln n) 2 steps <strong>of</strong> the path from u. The long-distance edges from the points<br />

visited at these steps are chosen independently and each has probability Ω(1/ ln n) <strong>of</strong><br />

reaching within k/2 <strong>of</strong> t. The probability that none <strong>of</strong> them does is<br />

(<br />

1 − Ω(1/ ln n)<br />

) c(ln n) 2<br />

= c1 e − ln n = c 1<br />

n<br />

for a suitable choice <strong>of</strong> constants. Thus, the distance to t is halved every O(ln n) 2 steps<br />

and the algorithm reaches t in an expected O(ln n) 3 steps.<br />

A local algorithm cannot find short paths for the r < 2 case<br />

For r < 2 no local polylog time algorithm exists for finding a short path. To illustrate<br />

the pro<strong>of</strong>, we first give the pro<strong>of</strong> for the special case r = 0, and then give the pro<strong>of</strong> for<br />

r < 2.<br />

When r = 0, all vertices are equally likely to be the end point <strong>of</strong> a long distance edge.<br />

Thus, the probability <strong>of</strong> a long distance edge hitting one <strong>of</strong> the n vertices that are within<br />

distance √ n <strong>of</strong> the destination is 1/n. Along a path <strong>of</strong> length √ n, the probability that<br />

the path does not encounter such an edge is (1 − 1/n) √n . Now,<br />

(<br />

lim 1 − 1 ) √ n<br />

= lim<br />

(1 − 1 ) n √n<br />

1<br />

n→∞ n n→∞ n<br />

= lim e − √ 1<br />

n = 1.<br />

n→∞<br />

Since with probability 1/2 the starting point is at distance at least n/4 from the destination<br />

and in √ n steps, the path will not encounter a long distance edge ending within<br />

127

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!