Markov Chains for Sampling

Sampling:

Formalize: what is ``near'' and ``long time''?

Eigenvalues

Method 1 for mixing time: Eigenvalues.

Expanders:

|$\displaystyle \Gamma$(S)|$\displaystyle \ge$(1 + c(1 - 2| S|/n))| S|

Application: Permanent

Counting perfect matchings

Random walk

Self-reducibility relationship between approximate counting and approximate uniform generation.

Volume

Outline:

Estimating $ \pi$:

Problem: rare events:

Solution: ``creep up'' on volume

Coupling:

Method

Pr[Xt = j]

=

Pr[Xt = j | Xt = Yt]Pr[Xt = Yt] + Pr[Xt = j | Xt$\displaystyle \ne$Yt]Pr[Xt$\displaystyle \ne$Yt]

 

 

=

Pr[Yt = j]Pr[Xt = Yt] + $\displaystyle \epsilon$Pr[Xt = j | Xt$\displaystyle \ne$Yt]

 

n-bit Hypercube walk: at each step, flip random bit to random value

Counting k colorings when k > 2$ \Delta$ + 1

¬…       Bounding the ratio:

o      note G - e colorings outnumber G colorings

o      By how much? Let L colorings in difference (u and v same color)

o      to make an L coloring a G coloring, change u to one of k - $ \Delta$= $ \Delta$+ 1 legal colors

o      Each G-coloring arises at most one way from this

o      So each L coloring has at least $ \Delta$+ 1 neighbors unique to them

o      So L is 1/($ \Delta$ + 1) fraction of G.

¬…       The chain:

o      Pick random vertex, random color, try to recolor

o      loops, so aperiodic

o      Chain is time-reversible, so uniform distribution.

¬…       Coupling:

o      choose random vertex v (same for both)

o      based on Xt and Yt, choose bijection of colors

o      choose random color c

o      apply c to v in Xt (if can), g(c) to v in Yt (if can).

o      What bijection?

¬ß       Let A be vertices that agree in color, D that disagree.

¬ß       if v $ \in$D, let g be identity

¬ß       if v $ \in$A, let N be neighbors of v

¬ß       let CX be colors that N has in X but not Y (X can't use them at v)

¬ß       let CY similar, wlog larger than CX

¬ß       g should swap each CX with some CY, leave other colors fixed. Result: if X doesn't change, Y doesn't

¬…       Convergence:

o      Let d'(v) be number of neighbors of v in opposite set, so

$\displaystyle \sum_{v \in A}^{}$d'(v) = $\displaystyle \sum_{v \in D}^{}$d'(v) = m'

$\displaystyle \sum_{v \in A}^{}$$\displaystyle {\frac{1}{n}}$. $\displaystyle {\frac{d'(v)}{k}}$= $\displaystyle {\frac{m'}{kn}}$

$\displaystyle \sum_{v \in D}^{}$$\displaystyle {\frac{1}{n}}$. $\displaystyle {\frac{k-(2\Delta-d'(v))}{k}}$= $\displaystyle {\frac{k-2\Delta}{kn}}$$\displaystyle \delta$+ $\displaystyle {\frac{m'}{kn}}$

- $\displaystyle {\frac{k-2\Delta}{kn}}$$\displaystyle \delta$= - a$\displaystyle \delta$.

Note: couple depends on state, but who cares

Expander Walks

Another example and application: (n, d, c)-Expanders.

$\displaystyle \lambda_{2}^{}$$\displaystyle \le$1 - $\displaystyle {\frac{c^2}{d(2048+4c^2)}}$

c$\displaystyle \ge$4($\displaystyle \epsilon$ - $\displaystyle \epsilon^{2}_{}$)

Gabber-Galil expanders:

Application: conserving randomness.

Pr[S] = | p(0)(BS1)(BS2) ... (BS7k)|1.

| p0$\displaystyle \prod$BSi|1

$\displaystyle \le$

$\displaystyle \sqrt{N}$| p0$\displaystyle \prod$BSi|

 

 

$\displaystyle \le$

$\displaystyle \sqrt{N}$($\displaystyle {\textstyle\frac{1}{5}}$)7k/2| p0|

 

 

$\displaystyle \le$

= ($\displaystyle {\textstyle\frac{1}{5}}$)7k/2