随机算法 (Spring 2013)/Problem Set 4

From TCS Wiki
Revision as of 18:36, 8 June 2013 by imported>Etone (Problem 3)
Jump to navigation Jump to search

Problem 1

Consider the Markov chain of graph coloring

Markov Chain for Graph Coloring
Start with a proper coloring of G(V,E). At each step:
  1. Pick a vertex vV and a color c[q] uniformly at random.
  2. Change the color of v to c if the resulting coloring is proper; do nothing if otherwise.

Show that the Markov chain is:

  1. aperiodic;
  2. irreducible if qΔ+2;
  3. with uniform stationary distribution.

Problem 2

Consider the following random walk on hypercube:

Yet another random Walk on Hypercube
At each step, for the current state x{0,1}n:
  1. pick an i{0,1,2,,n} uniformly at random;
  2. flip xi (let xi=1xi) if i0.
  • Show that the random walk is ergodic.
  • Give the stationary distribution of the random walk.
  • Analyze the mixing time of the random walk by coupling.

Hint.1: Construct a coupling rule such that the Hamming distance between two states never increases.

Hint.2: When constructing the coupling, consider a cyclic permutation of disagreeing positions.

Problem 3

Consider the following random walk over all subsets S([n]k) for some kn2:

Random walk over k-subsets
At each step, for the current state S([n]k):
  1. with probability p, do nothing;
  2. else pick an xS and a y[n]S independently and uniformly at random, and change the current set to be S{x}{y}.

You are allowed to choose a self-loop probability p for your convenience.

  • Show that the random walk is ergodic
  • Give the stationary distribution of the random walk.
  • Prove that the mixing time is O(klogk) by coupling.

Hint.1: Considering a coupling (S,T), the [n] is partitioned into ST,ST,TS,ST¯. Design a coupling rule to adopt different cases (regarding where x and y belong) so that the difference between two states never increases.

Hint.2: Use a cyclic permutation (with some desirable property) of elements in ST which is the symmetric difference between S and T.

Problem 4

Let G(V,E) be a connected undirected simple graph (no self-loops and parallel edges) defined on n vertices. Let ϕ(G) be the expansion ratio of G. G is NOT necessarily regular. For any vV, let dv be the degree of vertex v.

  • What is the largest possible value for ϕ(G)? Construct a graph G with this expansion ratio and explain why it is the largest.
  • What is the smallest possible value for ϕ(G)? Construct a graph G with this expansion ratio and explain why it is the smallest.
  • Run a lazy random walk on G. What is the stationary distribution? Starting from an arbitrary vertex in an arbitrary unknown G, how long in the worst case should you run the random walk to guarantee the distribution of the current position is within a total variation distance of ϵ from the stationary distribution? Give an upper bound of the time in terms of n and ϵ.
  • Suppose that the maximum degree of G is known but the graph is not necessarily regular. Design a random walk with uniform stationary distribution. How long should you run the random walk to be within ϵ-close to the uniform distribution in the worst case?