The motivation of coupling is to decide the rate of convergence to an ergodic Markov chain’s stationary distribution.
The variation distance between two distributions and on a countable state space is given by
The factor in definition 1.12.1 guarantees that the variation distance is in .
For any , let , then
Let be all the that , and , such that , . Then
Since ,
Moreover, by the definition of and , such that , , then ,
Since is maximized, so is by symmetry, the proof is concluded. ∎
The alternative characterization of variation distance by lemma 1.12.2 gives a strong statement, that supposing , then for any , .
Let for all , then
The result is immediate by and . ∎
Let be the stationary distribution of an ergodic Markov chain with state space . Let represent the distribution of the state of the chain starting at state after steps. We define
that is, is the variation distance between the stationary distribution and , and is the maximum of over all states . We also define
that is, is the first step , at which the variation distance between and the stationary distribution is at most , and is the maximum of over all states .
While is a function of , it is generally called the mixing time of the Markov chain.
A Markov chain with state space is rapidly mixing if its mixing time is . We view as the problem size, since a state can be encoded using bits.
Coupling of Markov chains is a general technique for bounding the mixing time of a Markov chain.
A coupling of a Markov chain with state space is a Markov chain on state space such that
A coupling consists of two copies of the Markov chain running simultaneously, each copy behaves exactly like the original Markov chain in terms of its transition probabilities. The joint distribution preserves the marginal distribution of each copy, but the two copies may be correlated.
To show a chain is close to stationarity, it suffices to couple it with a copy started from the stationary distribution. When the two chains reach the same state (the coupling time ), they can be made to evolve identically thereafter. In particular, if they have coupled by time , then the first chain is exactly equal to a stationary sample at time . Thus, the only obstruction to being close to stationarity is the probability that they have not yet met.
Let be a coupling for a Markov chain on a state space . Suppose that there exists a such that, for every ,
| (1.19) |
then , that the variation distance between the distribution over after steps and is at most .
Consider the coupling when initial state is fixed and . We first prove the following core lemma.
In the coupling , where initial state is fixed and , then
We begin by lower bounding , where , by
where the last equality holds by the same event. We continue the lower bounding by
where the third inequality holds by union bound. Symmetric to the prior derivation, we have
or equivalently,
Now that for all , we have
then by the alternative characterization of variation distance lemma 1.12.2, we complete the proof by
∎
Since by eq. 1.19, then by lemma 1.12.11, for all . Hence, by definition 1.12.5,
holds for all , and therefore . ∎
A card-shuffling Markov chain for cards is defined over states, where a state transitions to another by choosing a position , and moving the card to the deck top. It is obvious that the stationary distribution is the uniform distribution.
To analyze the mixing time of the chain by lemma 1.12.10, we obtain 2 copies of the chain, and the coupling is constructed by sampling a card uniformly at random, and moving to the deck top in both copies. The coupling is valid: recall remark 1.12.8, that the marginal distribution is preserved, while the joint distribution may be correlated.
Moreover, when is moved to the deck top, then it is always in the same position in both copies, and the copies are coupled once every card has been moved to the top for at least once. Let be the coupling, then is the probability that after steps, there exists cards still not chosen.
We continue by analyzing the coupon collector’s problem: with probability , a specific card is not chosen after trials. By theorem 1.5.23, let , and by union bounding over all cards,
where the second inequality holds by . When , we have .
We conclude by lemma 1.12.10, that the variation distance between the uniform distribution and the distribution of the state of the chain after steps is at most , and .
Considering the Markov chain for shuffling cards as in example 1.12.12. Suppose that, instead of running the chain for a fixed number of steps, we stop the chain at the first step where every card has been moved to the top at least once. Show that, at the stopping time, the state of the chain is uniformly distributed over possible permutations of the cards.
By the coupling in example 1.12.12, fix an initial state for and let be sampled uniformly from decks. Let be the first time that every card has been moved to the top at least once, then . We conclude that is uniformly distributed over possible decks. ∎
Considering the Markov chain for shuffling cards as in example 1.12.12. Show that if the chain runs for only steps for some constant , then the variation distance is .
We started by lower bounding , where , be an initial state. Since
for all , the lower bound can be derived from lower bounding .
Let the cards be initially unshuffled and ordered, then we define a subset of states by such that the last cards preserve the relative order. We let be the 0-1 indicator random variable for the card not being picked, and be the random variable for the number of untouched cards.
Since leads to occurring, then , and
By the linearity of expectation,
We let , and hence for any sufficiently large ,
Moreover, for ,
hence
then by Chebyshev’s inequality,
On the other hand, . Hence,
which completes the proof for . ∎
Consider the following Markov chain defined on a -dimensional hypercube. At each step, it picks a coordinate . The new state is obtained from the current state by keeping all coordinates the same, except possibly for . is set to 0 with probability , and to 1 with probability . The stationary distribution of the Markov chain is uniform distribution.
A coupling for the Markov chain can be obtained by enforcing the same move on the two copies: both changing to 0 or 1. The marginal probability of the coupling still follows the transition probability of the chain.
Moreover, once both copies make the same move on , they are surely agreeing on the coordinate, and they will couple after all coordinates have each been chosen at least once. Immediate from the coupon collector’s problem, and by the same analysis in example 1.12.12, .
Show that the Markov chain for sampling all independent sets of fixed size in a graph of vertices and maximum degree is ergodic and has a uniform stationary distribution. A move is made from the independent set by choosing a vertex and . If and is an independent set, then ; otherwise, .
Consider an independent set with , and let be the inclusive neighborhood of , such that
Suppose we want to transition from to , another independent set of fixed size with , we know that
Since , then .
We can greedily construct an independent set : at each step choose a vertex, put it into , and delete it together with all its neighbors. Since each step deletes at most vertices, we can greedily select at least vertices from into . Hence there exists an independent set of size .
Then for any transition in between states of independent sets of fixed size, one can first transition to an independent set of fixed size , then transition to . Hence, the irreducibility is proved.
Positive recurrence is immediate by finiteness and irreducibility, and aperiodicity is immediate by the existence of odd length loop, namely the loop back to a state itself. Hence, the ergodicity is proved by corollary 1.7.47. ∎
For 1.12.16, consider a coupling , requiring a perfect matching between vertices in and at each step. We choose a transition for by sampling and and perform the move. If , then perform the move over , , and ; otherwise, perform the move over , , and .
An alternative way of coupling is established by sampling and and perform the move for , if , perform the move over , , and ; otherwise, sample and perform the move over , , and .
The coupling still remains valid, by
such that and are still chosen with probability . Note that, in the coupling, it is possible to transition in one chain and stay put in the other.
Let be the random variable for the difference size between and , and can change by at most 1 at a step. We want to show is more likely to decrease, and we want to upper bound the probability of for a sufficiently large .
Suppose . In order to make , the vertex to be removed has to be sampled from , while the vertex to be introduced can only cause one of the two states to transition, such that 101010 can be strengthened from causing one of the two states to transition, by observing if , the transition state’s shared component with the state staying put is still of size , by removing 1 shared element and reintroducing 1 shared element. If is sampled over the neighbors of , then the transition state is surely decreasing the size of the shared component with the state staying put.
Then it follows that
In order to make , the vertex to be removed has to be sampled from , while the vertex to be introduced must cause both states to transition, such that
hence
We thus have, for ,
and once , . By conditional expectation,
We then conclude that
the first inequality holds from Markov inequality, the third holds by , and the last holds by . It converges to when , then in this case,
It turns out that is polynomial in (which is logarithmic in the number of independent sets of fixed size ) and , hence it is rapidly mixing.
Consider the random walk on a non-bipartite, connected graph with , where each vertex has the same degree . Show that
By theorem 1.7.75, the stationary distribution of such a graph is uniform.
A coupling can be established by sampling one copy’s initial state from the stationary distribution, while the other’s initial state is any fixed state. Suppose they are on states , then on transition, construct a perfect matching between and , such that are matched to themselves, while the other neighboring vertices are randomly 1-to-1 matched. We randomly choose 1 out of options in , and since , then
for all initial states , hence by induction
then
By lemma 1.12.10, , then it is immediate that . ∎
Consider a Markov chain on points lying in order on a circle. At each step, the chain stays at the current point with probability , or moves to the next point in the clockwise direction with probability . Show that for any , the mixing time is .
It is clear by the cutset argument that the stationary distribution is the uniform distribution.
Consider a coupling where each copy operates oppositely, namely if one stays, the other moves to the next point. Let the distance be the number of steps to take clockwise from a chain state to the other, then it can be modeled by the gambler’s ruin example 1.7.51: states are , absorbing states are and , moving with probability .
By 1.7.68, if the current distance is , the expected number of moves is . Let be the random variable for the number of steps before coupling, then by Markov’s inequality, for all initial states ,
By Markov property,
and by induction,
Hence,
Immediate from lemma 1.12.10, we have , hence . ∎
We improve the coupling in example 1.12.17: if an attempt is made to move to a vertex , then the same attempt is made with the matched vertex in the other chain; if, however, if an attempt is made to move , we no longer attempt to make the same move.
Assume there are sets , and , each of exactly distinct vertices. Assume further that . Suppose that we match up elements in and in a 1-to-1 fashion.
Argue that the moves can be coupled that, when one chain attempts and fails to move to a vertex in , it also attempts and fails to move to the matching vertex in on the other chain.
Similarly, argue that the moves can be coupled that, when one chain attempts and succeeds in moving to a vertex in , it also attempts and succeeds in moving to the matching vertex in on the other chain.
Show that the coupling gives
| (1.20) |
In the general case, and are not necessarily disjoint or of same size. Show that in the general case, by pairing up failing moves as much as possible, the number of choices for that can increase is . Then argue that eq. 1.20 holds in all cases.
Use this coupling to derive a polynomial bound on that holds for any .
Consider in the optimal case, where and are large, , and is the 1-to-1 mapping. Let be the 1-to-1 mapping between and . The chain is coupled by sampling and :
If , then let for ; otherwise, let .
If , then let for ; if , then let for ; otherwise, let .
Perform the move removing for on and removing for on .
When we want to remove for chain , the transition fails when , hence the transitions for fails when . Symmetrically, by the mapping , if , transition for fails.
Conversely, when , for chain , transition succeeds when , hence the transition for succeeds when . Symmetrically, by mapping , if , transition for succeeds.
In order for , it must be at time the vertex chosen from , and must be chosen from , or otherwise either , or fails to transition. Hence, by the same upper bound argument in example 1.12.17,
Moving on the general case. We reuse previous , and let be the mapping between and , such that are mapped to itself, bijectively map elements between and as many as possible, and the remaining elements in the larger set map to itself.
In this way, if , failing moves of moving for in and moving for in are maximally paired. WLOG let be the larger set, as the symmetric case can be analyzed in the same way.
If , then the successful moves are also maximally paired.
If , then is mapped to itself because is larger, only transitions successfully.
Otherwise, for , then either both chains transition to same , or neither chain transitions.
increases only in the first 2 cases for at most elements. Hence eq. 1.20 holds by
To decrease , it has to be moving to in . Continuing from example 1.12.17,
By the same analysis,
then by the same Markov inequality argument in example 1.12.17,
which converges to when , and we have
∎
The 1.12.20 is a finer analysis of example 1.12.17 derived from [BD97].
Consider the following variant of shuffling a deck of cards: at each step, two cards are chosen independently and uniformly at random from the deck, and their positions are exchanged.
Argue the following being equivalent: at each step, a specific card is chosen uniformly at random from the deck, and a position sampled independently. The card is exchanged with the specific chosen card.
Consider the coupling where the two choices of card and position are the same for both copies of the chain. Let be the number of cards whose positions differ in the two copies of the chain. Show is nonincreasing,
and the expected time until is , regardless of the initial states of the two chains.
It suffices to show that, for a specific card, sampling and the card in the deck being this specific card has the same probability as choosing this card out of uniform randomness.
For every coupled move,
If the chosen card is in the same position in both decks, then .
Otherwise, if the chosen card is in different positions in both decks,
If the position cards are the same in both decks, then .
Otherwise, the coupled move at least introduces 1 correction, hence .
Therefore the coupled move makes nonincreasing over time, and correction only happens in both the card chosen and the position chosen being in disagreeing section, hence
Conditioned on , the steps to decrease is geometrically distributed, with success probability . Let be the steps to decrease from differences, and be the steps before ,
which completes the proof. ∎
Given distribution and on a state space , let be a random variable on , where is distributed according to and is distributed according to . Then
Moreover, there exists a joint distribution , where is distributed according to and is distributed according to , for which the equality holds.
The proof idea of the first part is the same as lemma 1.12.11, where we replace with .
Alternatively, we can prove by
By symmetry, we have
Let be the sets, such that , , , and , , then
Or alternatively, by corollary 1.12.4, for each , both and are with probability at most
where the equality holds by matching and as much as possible, hence we complete the proof by corollary 1.12.4,
The equality case follows by the construction matching and as much as possible in the joint distribution. If , the equality holds by and are same distribution. Otherwise, let ,
The equality holds by corollary 1.12.4,
The marginal distribution is preserved as follows: if , then ; otherwise ,
The case for holds by symmetry. ∎
Let be two copies of a Markov chain on a state space . For any initial states and any time , there exists a coupling of the two copies, such that
There exists a coupled pair of random variables of marginal distributions and
by lemma 1.12.23. We now extend this optimal coupling of the endpoints to a coupling of full trajectories.
First sample the endpoint pair . Conditioned on , sample a path
by the transition probability of , conditioned on the events and .
Similarly, conditioned on , sample a path
conditioned on the events and .
For any path , the conditional probability is
Since by having marginal distribution , the conditional probability is well-defined.
By construction, the marginal distribution of is that of the chain started from , and the marginal distribution of is that of the chain started from .
Moreover, since and , then
and we have constructed a coupling of two copies of the Markov chain reaching optimal coupling at time . ∎
For any ergodic Markov chain, .
Keep in mind that is a concrete deterministic value of variation distance between and . The proof idea is to couple optimally at time , then show that has a lower upper bound than .
Fix an initial state . If we sample for the initial state of , then
By corollary 1.12.24, there exists a coupling for the chains such that they are optimally coupled at time , we have
Next, we couple the chains and by: if , for all , ; otherwise, they transition independently. By the sticky step-by-step coupling, since ,
Hence, is non-increasing by
where the last inequality holds by lemma 1.12.11. Since it holds for all , we have . ∎
Consider a Markov chain with state space and a stationary distribution . For any nonnegative integer define
For any positive and , show .
For any positive and , show .
For any positive , show .
Fix initial states . By corollary 1.12.24, there exists a coupling for the chains such that they are optimally coupling at time , then
Consider any coupling for the chains in such a way that, whenever , then for all . Then
Conditioned on , again by corollary 1.12.24, there exists a coupling for the chains such that they are optimally coupling at time , then
| (1.21) |
Hence,
| (1.22) |
Therefore, we prove by showing the following holds for all initial states and ,
Fix initial states , where . Let be optimally coupled at time by corollary 1.12.24, then
Continue with the same sticky coupling after time . Conditioned on , by corollary 1.12.24, there exists an optimal coupling for the next steps. Then, again by corollary 1.12.24,
by eq. 1.21 and eq. 1.22. Hence, holds by the same argument.
It is immediate from the triangle inequality that . To see , by theorem 1.7.13, for any
then by lemma 1.12.2, let be the set of all elements in such that , we have
Alternatively, by definition 1.12.1,
∎
The lemma 1.12.25 and 1.12.26 121212 Quite a bit of the unsticking came from reading Daskalakis’s https://people.csail.mit.edu/costis/6896sp11/. are deriving from [Dob40], and well noted in [LP17].
Let be all the elements such that . By theorem 1.7.13, we have
Let be all the elements such that , then
where the second inequality holds by , and the last equality holds by lemma 1.12.2. ∎
Let be the transition matrix for a finite, irreducible, aperiodic Markov chain, be the smallest entry in the column of , and . Then, for all and ,
Given is the smallest entry in the column, then in one step the chain reaches state with probability at least from every state. Consider a coupling similar to the Optimal Coupling lemma 1.12.23, such that the two copies of the chain both move to state with probability . Since , then .
Concretely, a possible construction for follows
The chains couple with probability at a step, and the probability they haven’t coupled after steps is . By lemma 1.12.11, . ∎
A side product for theorem 1.12.29 is the following corollary.
If in theorem 1.12.29, then all rows in are identical, and for all and .
Since is the smallest entry in the column, then for each column, there is no that is smaller than .
On the other hand, by and for any , there is no that is smaller than .
Therefore, any for all , which proves all rows in are identical.
Moreover, when , then by the cutset, the outflowing probability is , while inflowing probability is , and we have . Since any state reaches state with probability , this applies to any target state , and hence reaching stationarity is only 1 step. ∎
Given with , every integer can be represented by where .
We first show that cannot be represented by where . Suppose there are , such that , then
| (1.23) |
But we notice that , then and . Since and are coprime, then there is no and such that , , and eq. 1.23 is satisfied.
We now show for every , there is a non-negative linear combination representation . 131313 The idea derives from https://math.stackexchange.com/a/66978/794321. Since and are coprime, then represents different residue classes modulo , and is the first element among the linear representation that
Hence, for any , there always exists such that , and . Moreover, the elements lie in distinct residue classes, so for each , there is always . Since , then each for some .
Since every is representable, and adding preserves representability, any integer is representable. ∎
The theorem 1.12.29 is useful only if there exists at least one column in the transition matrix with . Argue that for any finite, aperiodic, irreducible Markov chain, there exists a time such that every entry of is nonzero.
Since the chain is aperiodic, then for any state , there are 2 paths back to itself of length and , such that
By theorem 1.12.31, let , then there always exist loops starting and ending in of any length .
Since the chain is irreducible, then all states are in the same communicating class, such that for any pair of , there is a time such that reaches , and .
Given the threshold for self looping path length and for to reach , then there must exist a time
such that all entries in are positive. ∎
A more general result than theorem 1.12.29 is the following: suppose we upper-bound for some constant , then we can bootstrap a bound for for any .
Let be a finite, irreducible, aperiodic Markov chain with for some , then for ,
The proving strategy is similar to 1.12.26. Since for all initial states , we have
then by the triangle inequality, for all , and hence .
Therefore, on a pair of initial states , we couple the copies of such that are optimally coupled by
from lemma 1.12.23.
Then we couple the chains such that: if , they stay together onwards; otherwise, are optimally coupled conditioned that by
We now present a Markov chain Monte Carlo (MCMC) process that generates an almost uniformly at random sample of a proper coloring of a graph, then use a coupling technique to show that it is rapidly mixing.
The Markov chain on proper coloring works as follows: At each step, choose a vertex and a color uniformly at random. Recolor vertex with color if the new coloring is proper, that is not neighboring a vertex colored , or otherwise let the state of the chain be unchanged.
The Markov chain is aperiodic, as there exists loop of length 1 back to itself; and it is irreducible if , as recoloring in any order can be unblocked by recoloring a later unrecolored neighbor to an unconflicting color: the degree of the graph is at most , then for every vertex, such that the recoloring is always unblocked. Therefore, the Markov chain is ergodic and has stationary distribution being uniform distribution.
When , we can use a trivial coupling for by choosing the same vertex and color at each step, allowing us to almost uniformly sample colorings efficiently.
For an -vertex graph with maximum degree , the mixing time of the graph-coloring Markov chain satisfies
provided that .
The proof strategy is similar to example 1.12.17. Fix initial states be distinct -colorings. Let be the set of vertices with different colors in the two chains at time , and let .
Consider any vertex , but colored same after a move. There are at least colors that have not appeared on the at most neighbors among 2 chains, then
Consider any vertex , but colored differently after a move. It has to be the case that the move succeeded in one chain, but not the other. Moreover, must have at least one neighbor in , such that the move’s color may work in one chain, but not the other. Hence, for every , it can affect at most neighbors with 2 colors, and
By the linearity of expectation,
then by the Markov inequality argument,
The proof is immediate by lemma 1.12.10. ∎
We then show how to improve the coupling to reduce the number of colors necessary to . On one hand, for , if some neighboring vertices are same colored in both chains, then the color options should be much greater than . On the other hand, for , we can decrease the number of bad moves of increasing differences by a careful coupling.
For an -vertex graph with maximum degree , the mixing time of the graph-coloring Markov chain satisfies
provided that .
The proof strategy is similar to 1.12.20.
We reuse all notions in theorem 1.12.34, and let be the set of vertices that are colored same in both chains. For , , that is the number of neighboring vertices colored differently in both chains; for , , that is the number of neighboring vertices colored same in both chains.
Hence, we explore the invariant that
which can be viewed as the number of edges between vertices in and vertices in .
For , a move on sends to if both chains recolor to the same valid color. Taking into account the neighbors of that are colored the same in both chains, the forbidden color options for have union size at most , since those neighbors are double-counted. Therefore,
For , but colored distinctly after move by , consider the coupling in a similar way in 1.12.20.
Suppose in the particular case where , then instead of assigning the same color and causing 2 potential bad moves, on and being the disagreeing colors of neighbor of , if is assigned one of the two colors in , assign the other color to in . In this case, 2 bad moves are halved down to 1, as either they both fail, or they both move through and cause 1 more difference.
Moving to the general case. Let be the colors of neighboring vertices of over that are in , and be the colors of neighboring vertices of over that are in . Using the same strategy in 1.12.20, we pair the distinct colors between and as much as possible: if is chosen for one chain, is chosen for the other; otherwise they are mapped to the same color. In this way, the bad moves are reduced down to . As a result, we have
By the linearity of expectation,
then by the Markov inequality argument,
The proof is immediate by lemma 1.12.10. ∎
By definition 1.12.6, the theorem 1.12.34 and theorem 1.12.35 are rapidly mixing.
The theorem 1.12.34 and theorem 1.12.35 are from [Jer95].
The motivation of using “path coupling” is that, it starts with coupling between pairs of states differ in small ways, then generalize to arbitrary pairs of states. It may be easier to construct coupling of adjacent states, and any pairs of states can be connected with a path, then we couple all pairs of states along the path, such that the expected distance contracts at each step; by summing along the path, this implies contraction for any pairs of states.
Similar to example 1.12.17, 1.12.20, theorem 1.12.34, and theorem 1.12.35, we conclude by utilizing the expected-distance bound for bounding disagreement probability via a Markov inequality argument, hence bounding the mixing-time with lemma 1.12.10. Eventually, this makes coupling argument easier to be established.
Consider a Markov chain for sampling independent sets over a graph with . Let be the independent set at time . At a step, the chain samples , and
With probability , .
With probability , let . If is an independent set, ; otherwise, .
With probability , let . If is an independent set, ; otherwise, .
Similar to 1.12.16, the stationary distribution of is uniform over all independent sets: By the cutset theorem 1.7.56, the total probability of adjacent states transitioning to the current state is the same as the total probability that the current state transitioning to adjacent states. Since for any pair of adjacent states , then uniform distribution is a trivial solution.
We start by coupling a pair of states that differ by just one vertex, and this coupling can be extended to all pairs of states. Let , and we say a vertex is bad if ; otherwise is good. Let , then is the random variable counting bad vertices.
We continue by assuming , and WLOG let , . We apply a simple coupling by performing the same move on both chains, and show when , or equivalently, .
Since a change in is caused only by a move involving or the neighbors of , we restrict our attention to the edges sampled adjacent to , neighbors of , or neighbors of neighbors of 141414 Self noting: need to consider the case where an edge is chosen with one end in , and the other is a neighbor of . . Let be a random variable over for a vertex between time and : when goes from good to bad, and when goes from bad to good. By linearity of expectation,
We shall show that when , . For each vertex :
If , only moves on edge changes , either removing and adding , or removing .
With probability , if the edge is chosen, then decreases by 1.
If , for moves on edges with ,
For increasing , for , removing and adding works on but fails on .
Since by , by union bound, increases with probability at most .
For decreasing , any option among 3 possible moves on decreases bad vertices.
With probability , if the edge is chosen, then decreases by 1.
Hence, for moves on edges with , .
If , and let , for moves on edges with ,
For increasing , removing and adding works on but not .
With probability , increases by 2 if edge is chosen and removes and adds .
For decreasing , both adding and removing , and removing works.
With probability , if the edge is chosen, then decreases by 1.
Hence, for move on edge with , .
Since for every pair of edge, we have
as was shown in the previous discussion of , then
We now generalize the coupling for case. To couple where , we create a chain of states
where neighboring pair of states has , that each successive is obtained from by either removing an element in or adding an element in .
Our coupling arises as follows. When a move is made in , the coupling for case gives a move for the state . This move in can similarly be coupled with a move in state , and so on, until the move in yields a move for . Let be the state after the move is made from state , and define
Since , then
Moreover, note that , then by the triangle inequality for sets
as for any element , either , then ; or , then . Then
and by linearity of expectation,
and eventually
Suppose for , the rest is taken over by lemma 1.12.10, given a sufficient number of steps and a Markov inequality argument.
The example 1.12.38 derives from [BD97].
The example 1.12.38 illustrates the philosophy of path coupling: global distance is controlled by understanding local disagreements. Rather than constructing a coupling for arbitrary pairs of states, we first choose a pre-metric on the state space, whose edges represent elementary discrepancies between configurations.
In example 1.12.38, the natural choice is to connect two states when they differ at a vertex, so that the induced path metric is Hamming distance. Once such a pre-metric is fixed, any pair of states can be joined by a shortest path of discrepancies, and contraction on adjacent pairs propagates to contraction for all pairs. Thus the pre-metric is the structure that makes the path-coupling argument possible: it identifies the right local geometry of the state space.
A pre-metric on is a positively-weighted connected undirected graph such that all edges are shortest paths. More specifically, if are adjacent in the pre-metric, the weight of the edge should be the least weight of any path from to in the pre-metric.
Suppose there exists a coupling defined for all adjacent pair of states in the pre-metric such that for all adjacent ,
where is the shortest path metric, then this coupling can be extended to a coupling between all pair of states that also satisfy the contraction inequality.
Continuing from example 1.12.38, we have shown there is such that
Let be the maximum distance over all possible pairs of initial states for the coupling.
Give an upper bound for in terms of and .
Suppose we have , , and .
Give an upper bound for in terms of , , and .
Show the mixing time of the graph coloring chain in theorem 1.12.34 and theorem 1.12.35, is , even when the number of colors is only .
Show the mixing time of the Markov chain for independent sets in example 1.12.38 is .
Suppose we have the , that , then
Since is the maximum distance over all possible pairs of states for the coupling, then
By the same Markov inequality argument, we have
Supposing , then
If , then let , where , and . Consider as a Markov chain for random walking over , where , state is the absorbing state, and the transition probability from state to state is . Let be the expected number of steps to be absorbed in , then we have the following linear system
where .
The chain is lazy, as it stays put with probability at most . We continue by deriving the expected number of active moves. Let , then conditioned that a move is made,
and let be the expected number of active moves, then
where . Since , and , then consider a Markov chain with , and
and therefore . Since , the real .
Since , then the expected wait time before an active move is at most , and therefore
Hence, when , let be the random variable for the steps before being absorbed, by Markov inequality
Similar to 1.12.19, by the Markov property, . Then when ,
| (1.24) |
For path coupling in the Markov chain sampling graph coloring, we first show a pre-metric over all valid coloring, such that any valid pair of adjacent valid coloring differ at the color of a single vertex. Supposing that and are disagreeing only at , let and be the colors of at and , and apply the prior coupling in theorem 1.12.35: if we change in to one of the colors in , we change in to the other color; otherwise, apply the same move on both chains.
One thing to beware is, in theorem 1.12.34 and theorem 1.12.35, the distance function is measuring the number of disagreeing vertices, while the current is measuring the minimal number of steps to transition from one valid coloring to the other, as the pre-metric is defined on of valid colorings. Therefore, after a bad move in the coupling, where is , is in , while is , is in , the is 3 rather than 2 151515 Self noting: check Daskalakis’s slides https://people.csail.mit.edu/costis/6896sp11/lec7s.pdf. .
We continue bounding . Since can be corrected with at least colors, then
On the other hand, a bad move happens only on with 1 color configuration on both chains, hence
Therefore,
Now let the maximal distance be , and construct a path joined by adjacent valid states over with the pre-metric by and . When a move is made on , the move from coupling is made on , and let be the state after the move is made on state . By linearity of expectation,
where is defined as the distance between and in the pre-metric, and finally,
which gives a similar result to theorem 1.12.34 and theorem 1.12.35 but .
Now we use Hamming distance as pre-metric: the states along the path are not all valid states, yet it still serves as a path coupling. Let be the set for all possible coloring states, and , then any adjacent states are still differing at the color of a vertex, but they are not necessarily valid states.
A move is made by choosing a vertex and a color , if is not appearing in the neighboring . One observation is, if , then the chain stays in ; otherwise, the chain will turn into at some time step, and it will stay in . Hence, coupling any pair of over the enlarged state space still preserves the marginal probabilities, while the path may pass through does not hurt the argument, because the path is only used to define the metric for the path coupling theorem.
Applying the same coupling in theorem 1.12.35, conditioned that are adjacent in the Hamming metric, then on the bad move, increases by 1. Therefore, with the same probability bounds on distance changing,
and by the same path coupling argument, gives the same result as theorem 1.12.35 for .
For , . We can loosely lower bound by
as there is at least 1 move fixing a disagreeing vertex, then the eq. 1.24 is .
For independent set sampling in example 1.12.38, we can also loosely lower bound by
as a disagreeing vertex can be removed by choosing an edge , and removing . By eq. 1.24, the mixing time bound is . ∎
Consider the Markov chain sampling independent set in a graph . On a step, sample and . If , on , if and is independent, on ; otherwise, .
Show that the stationary distribution of the chain is uniform over all independent sets.
Consider the chain over cycles and line graphs, where a line graph over vertices is constructed by connecting vertex with an edge, and a cycle graph is the same with an addition of an additional edge .
Devise a coupling for the Markov chain on line graphs and cycle graphs: if , then at each step the coupling is at least as likely to reduce as to increase . Show that it is rapidly mixing.
For the cases of line graphs and cycle graphs, derive the exact formulas for the number of independent sets.
The stationary argument is similar to the one in example 1.12.38: for any pair of adjacent state of independent sets, which are differing by a vertex, the transition probability , then uniform distribution is a trivial solution for stationary distribution.
We use Hamming metric as the pre-metric: though we use the enlarged state space of all subsets of , for the initial states , the coupling Markov chains still preserve their marginal probabilities, hence the coupling is still valid. This follows the same argument in 1.12.42. Now consider the same coupling by taking on same sampled and on both chains, where are adjacent states. WLOG let be the disagreeing vertex, , and . We are interested in , as does not change .
If , any decreases the difference, and .
If , then by , we know .
If , then the distance is unchanged when , and the distance increases by 1 when .
Hence, conditioned that and , .
If , then no operation changes .
Conditioned that and , .
Moreover, since , then . Let be the random variable for the vertex to choose, then . By linearity of expectation,
With the same trick from 1.12.42, we loosely lower bound by , as there is a choice out of choices to fix the disagreement at , then eq. 1.24 is .
For the number of independent sets in line graphs and cycle graphs, this is basically dynamic programming. Let be the number of independent sets of line graph with vertices. By including the first vertex or not, we have
Let be the number of independent sets of cycle graph with vertices. If the first vertex is not chosen, then there are independent sets, while if the first vertex is chosen, then there are independent sets, hence
∎
Use path coupling to simplify example 1.12.17 and 1.12.20.
We enhance the result in 1.12.16, by showing that the Markov chain over fixed size independent sets of size is ergodic. Let , , and . Consider following 2 easier corner case:
If , then , and the transition takes steps by moving from to .
If , since , then , and can move to .
The transition can take steps by moving to an independent set in , then moving back into .
In general case, can be broken into 3 parts: , , and . Since and , then there exists a way to move to in steps, such that are all occupied. The remaining steps are transitioning occupied vertices back into .
The uniform distribution being stationary distribution argument is immediate by the cutset, that the neighboring pair of independent sets transition to each other with transition probability everywhere, and the chain has odd length loop of going back to itself, hence it is aperiodic.
Let be the pre-metric over all valid -sized independent sets, which is the least number of steps to transition from to . Conditioned that , let and . At a step, sample and , and a transition happens when and .
If , ; otherwise . Let , , and be the mapping between and , such that elements in are mapped to themselves, elements are mapped bijectively between and as many as possible, bijectively map and , with the remaining mapped to itself. Hence, if , and ; otherwise, .
The transition step is coupled by: Try removing and adding to , and removing and adding to . To decrease the distance, and , then the probability is lower bounded by
To increase the distance, and , such that the number of moves where at least a chain transitions is upper bounded by by 1.12.20, hence the probability is upper bounded by
By linearity of expectation,
Again by path coupling argument, let
be a chain of states where neighboring states have pre-metric distance 1. The move in gives a coupled move for , and eventually leads to a coupled move for . Let be the state after the move is made from , and let
By linearity of expectation,
and we conclude the proof. ∎