Docsity

Randomized Algorithms: Janson Inequality in GKR Group Steiner Tree Algorithm - Prof. Aravi, Assignments of Computer Science

Toggle sidebar
bg1
CMSC 858T: Randomized Algorithms
Spring 2003
Ungraded Homework Assignment #4, handed out May 1, 2003
The suggested deadline by which to finish this assignment is May 13th; since this assignment is
ungraded, you don’t need to turn it in – just compare your solutions with the solutions I give.
1. In this problem, we prove that the Janson inequality parameter ∆ is at most O(log N) in the
Garg-Konjevod-Ravi Group Steiner Tree algorithm for trees, as claimed in class. Recall from
class that we have a tree Twith root rand nnodes. There are kdisjoint groups S1, S2, . . . , Sk,
all of which are sets of leaves; also, maxi|Si|=N. Specifically, we fix a group Si, and want to
show that ∆i, the Janson inequality parameter for the set of leaves that correspond to Si, is at
most ln |Si|.
(a). Suppose j, j0∈Si. We will say that j∼j0if and only if (i) j6=j0and (ii) the least
common ancestor of jand j0in Gis not the root r. If j∼j0, let lca(j, j0) denote the least
common ancestral edge of jand j0in T0. Show that
∆i=X
j,j0∈Si:j∼j0,xlca(j,j0)>0
xpe(j)xpe(j0)
xlca(j,j0)
.
(b). We will now prove the following key fact:
If xpe(j)>0, then xpe(j)·X
j0∈Si:j∼j0
xpe(j0)
xlca(j,j0)
≤xpe(j)ln(1/xpe(j)).(1)
We now take some steps toward proving (1). Suppose xp e(j)=z∈ h0,1]. We need some
extra notation. Let e0, e1, . . . , etbe the sequence of edges that we encounter as we walk up the
tree starting from j; let y`=xe`. Thus we have z=y0≤y1≤y2≤ · · · ≤ yt≤1. Next, for
`= 0,1, . . . , `, let A`=Pj0∈(T(e`)∩Si)xpe(j0). Then, it is not hard to see that the left-hand side
in the statement of (1) equals
z·
t
X
`=1
A`−A`−1
y`
.(2)
The sum in (2) is clearly bounded by the maximum of the following optimization problem,
whose variables are the y`and A`. (The optimization problem has a maximum since the domain
is a polytope and since the objective function is continuous in the domain.)
OP T (z, t): maximize Pt
`=1
A`−A`−1
y`subject to
A0=z;
y0=z;
yt≤1;
A`≤A`+1, ` = 0,1, . . . , t −1;
y`≤y`+1, ` = 0,1, . . . , t −1;
A`≤y`, ` = 0,1, . . . , t. (3)
Constraint (3) holds since the following constraint (4) is a constraint in our LP relaxation:
X
j∈(L(f)∩Si)
xpe(j)≤xffor every edge fand every group Si. (4)
Fix any feasible solution {y`, A`:`≥0}to the above optimization problem.
1
pf3

Partial preview of the text

Download Randomized Algorithms: Janson Inequality in GKR Group Steiner Tree Algorithm - Prof. Aravi and more Assignments Computer Science in PDF only on Docsity!

CMSC 858T: Randomized Algorithms

Spring 2003

Ungraded Homework Assignment #4, handed out May 1, 2003

The suggested deadline by which to finish this assignment is May 13th; since this assignment is ungraded, you don’t need to turn it in – just compare your solutions with the solutions I give.

  1. In this problem, we prove that the Janson inequality parameter ∆ is at most O(log N ) in the Garg-Konjevod-Ravi Group Steiner Tree algorithm for trees, as claimed in class. Recall from class that we have a tree T with root r and n nodes. There are k disjoint groups S 1 , S 2 ,... , Sk, all of which are sets of leaves; also, maxi |Si| = N. Specifically, we fix a group Si, and want to show that ∆i, the Janson inequality parameter for the set of leaves that correspond to Si, is at most ln |Si|.

(a). Suppose j, j′^ ∈ Si. We will say that j ∼ j′^ if and only if (i) j 6 = j′^ and (ii) the least common ancestor of j and j′^ in G is not the root r. If j ∼ j′, let lca(j, j′) denote the least common ancestral edge of j and j′^ in T ′. Show that

∆i =

∑

j,j′∈Si: j∼j′,xlca(j,j′)> 0

xpe(j)xpe(j′) xlca(j,j′)

(b). We will now prove the following key fact:

If xpe(j) > 0, then xpe(j) ·

∑

j′∈Si: j∼j′

xpe(j′) xlca(j,j′)

≤ xpe(j) ln(1/xpe(j)). (1)

We now take some steps toward proving (1). Suppose xpe(j) = z ∈ 〈 0 , 1]. We need some extra notation. Let e 0 , e 1 ,... , et be the sequence of edges that we encounter as we walk up the tree starting from j; let y= xe. Thus we have z = y 0 ≤ y 1 ≤ y 2 ≤ · · · ≤ yt ≤ 1. Next, for = 0, 1 ,... ,, let A= ∑ j′∈(T (e)∩Si) xpe(j′). Then, it is not hard to see that the left-hand side in the statement of (1) equals

z ·

∑^ t

`=

A− A− 1

y`

The sum in (2) is clearly bounded by the maximum of the following optimization problem, whose variables are the yand A. (The optimization problem has a maximum since the domain is a polytope and since the objective function is continuous in the domain.)

OP T (z, t): maximize

∑t `=

A−A− 1 ysubject to A 0 = z; y 0 = z; yt ≤ 1; A ≤ A+1, = 0, 1 ,... , t − 1; y≤ y+1, = 0, 1 ,... , t − 1; A ≤ y, = 0, 1 ,... , t. (3)

Constraint (3) holds since the following constraint (4) is a constraint in our LP relaxation: ∑

j∈(L(f )∩Si)

xpe(j) ≤ xf for every edge f and every group Si. (4)

Fix any feasible solution {y, A : ` ≥ 0 } to the above optimization problem.

  • If v is the objective function value of this solution to the optimization problem, show that

v ≤ 1 − z/y 1 +

∑^ t−^1

`=

(1 − y/y+1). (5)

  • Take any , 2 ≤ ≤ t − 1. If we keep all variables but y` fixed, see when the r.h.s. of (5) is maximized. Start with this idea to show that

v ≤ 1 − z/y 1 + ln(1/y 1 ). (6)

  • Use (6) to show that v ≤ ln(1/z). This will then prove (1).

(c). Show, using (1), that ∆i ≤ ln |Si|.

  1. We have a set V of n elements, and m distinct subsets S 1 , S 2 ,... , Sm of V , each having cardinality t. Our goal is to choose a subset W of V with “many” elements, subject to the constraint that no Si (for i = 1, 2 ,... , m) be a subset of W. Consider the following algorithm A for this problem. Let V be the set { 1 , 2 ,... , n}. Inde- pendently for each i ∈ V , choose a number Xi uniformly at random from the set { 1 , 2 ,... , n^3 }. Now define a set W as follows: for each i ∈ V , i ∈ W iff there is no set Sj such that: (i) i ∈ Sj , and (ii) for all k ∈ Sj , Xi ≥ Xk.

(a). Show that A always produces a feasible solution to our problem.

(b). Suppose i ∈ V lies in ai of the sets S 1 , S 2 ,... , Sm. Show that the expected size of the set W produced by A is at least

(1/n^3 ) ·

∑^ n

i=

∑^ n^3

`=

( 1 − (`/n^3 )t−^1

)ai .

  1. Suppose G is an undirected graph with maximum degree ∆. Each vertex u has a given color- list L(u), such that |L(u)| ≥ ∆ + 1; we want a valid “list coloring” (i.e., an assignment of one color from L(u) to each u, such that adjacent vertices get different colors.) Convince yourself that G has a valid list-coloring in this case; in this problem, we explore distributed list-coloring in the synchronous round-by-round model. (Thus, in a given round, any vertex communicates only with its neighbors.) Consider the following distributed algorithm for list-coloring. A generic round proceeds using the following four steps:

(S1) Each yet-uncolored vertex first wakes up with probability 1/2; if it chooses to not wake up in this round, it does not nothing for the rest of this round. (Thus, the three steps below only refer to vertices that woke up this round.)

(S2) u chooses a tentative color at random from its current list L(u).

(S3) Each vertex u that has some neighbor that chose the same tentative color as u, is called unsuccessful ; all other (yet-uncolored) vertices that woke up this round, are called suc- cessful.

(S4) Each successful vertex v is permanently given its chosen tentative color c, and this color c is removed from L(w) for all neighbors w of v such that c ∈ L(w). The other vertices proceed to the next round.