Coupling inequality for total variation Created 2026-09-24 Updated 2026-10-14
For any coupling of random variables, the coupling characterization of total variation distance gives , where denotes the law of a random variable. If two coupled Markov chains stay identical after their coalescence time , then and
The persistent agreement is essential: a first meeting time does not give this bound if the chains can separate again. A coalescing coupling turns a difficult comparison of probability distributions into a concrete question about how long a joint simulation takes to merge.
Maximal coupling Created 2026-09-24 Updated 2026-10-14
A maximal coupling of two probability distributions maximizes the agreement probability among all their couplings. Equivalently, it minimizes . The coupling characterization of total variation distance identifies the minimum mismatch with the total variation distance of the two marginal laws. The term maximal concerns agreement, rather than the size of a correlation coefficient or closeness in a geometric metric.
On a finite set, retain all common probability mass at equal pairs and match the excesses elsewhere. The explicit four-outcome example in coupling characterization of total variation distance realizes this construction and checks its marginal distributions. A maximal coupling need not be unique: different joint arrangements of the residual mass can have the same optimal mismatch.
Let be the transition matrix of a finite irreducible Markov chain with at least two states, reversible with stationary distribution . Its Dirichlet form of a Markov chain is
The Discrete Poincare inequality states that for every real . Its optimal constant is , where is the second largest eigenvalue of . Indeed, detailed balance makes self-adjoint on . Expand in an orthonormal eigenbasis. Then and , proving the inequality and its sharpness.
The useful constructive version is the canonical paths Poincare bound. Choose transition graph paths between each ordered pair, write , and define
where counts occurrences of the directed transition. The Cauchy-Schwarz inequality along each path in a graph gives . Multiply by and sum. The identity proves .
For a lazy Markov chain this also proves the mixing time estimate
To see this, the centred initial density has norm at most ; laziness puts all nonconstant eigenvalues between zero and . Their powers contract that norm, and the Cauchy-Schwarz inequality bounds total variation distance by half the density's norm.
Here is a precise sufficient density condition for the permanent application: every row and every column has more than ones. Interpret the permanent of a matrix as the number of perfect matchings in its bipartite graph, with vertices per side. Write for the number of -edge matchings in a graph.
First prove the short augmenting paths in a dense bipartite graph bound. Given a nonperfect matching in a graph, choose unmatched on opposite sides. If either has an unmatched neighbour, augment with one edge. Otherwise the matched partners of and the neighbours are subsets of the same -element side whose total size exceeds . Their intersection gives an alternating path in a graph of length three, with a matching edge. Repeating proves . Choose augmentations by a fixed deterministic rule. A reverse augmentation is specified by at most four vertices, so a next-size matching in a graph has at most preimages. Therefore
Use the matching generating function and the weighted matching Markov chain on all matchings in a graph, with stationary weights . It stays put with probability ; otherwise it chooses a graph edge uniformly and proposes its deletion, its addition if both endpoints are unmatched, or its exchange for the unique incident matching edge if precisely one endpoint is matched. Other proposals stay put. Accept with probability . Reverse proposals use the opposite exchanged edge, so detailed balance holds. Deletions connect every state to the empty matching in a graph.
For completeness, the canonical paths for the weighted matching chain give a polynomial bound without assuming a mixing theorem. The symmetric difference consists of alternating graph paths and graph cycles. Order its components deterministically, orient open components from their smaller endpoint, and convert them from to by moving an unmatched endpoint with exchanges. If the first edge belongs to , delete it first. For a graph cycle, delete one -edge, move the unmatched endpoint around the opened cycle, then insert the last -edge. Each intermediate state is a matching in a graph, and each entire transition path in a graph has length at most .
Fix a directed transition with initial state . The complementary edge set agrees with one of the two matchings in a graph outside the active component and has at most two degree-two vertices on that component. Remove at most two offending edges to obtain a matching in a graph . Store those edges and one bit specifying the initial alternating colour of the active component. This encoding is injective for the fixed transition: it restores and , identifies the active component from the changed edges, and recovers the two colours using the fixed component order. Completed components have 's colour in , pending components have 's colour, and the stored bit resolves the active component. Common edges are .
There are at most auxiliary records per , where is the number of graph edges. If , then
Also . Sum over the encodings and use the path length bound to obtain
This is polynomial whenever and are polynomially bounded. Starting at the empty matching in a graph, , so the Discrete Poincare inequality gives polynomial-time sampling to any prescribed total variation distance. The addition/deletion/exchange construction is also described in Section 12.4 of Jerrum and Sinclair's survey.
It remains to turn sampling into a relative count; merely sampling perfect matchings would not do that. For , choose and . The elementary bounds above give
Choose a schedule whose successive ratios are at most . It has stages. The annealing ratios for a matching generating function satisfy
Each observable lies in , so the Hoeffding inequality gives relative accuracy with independent samples per stage. Run independent copies of the chain from the empty matching in a graph; make the total variation distance per sample at most , where is that sample count. The coupling characterization of total variation distance and the union bound make the entire sample collection coincide with exact stationary samples except with probability at most . Choose the sample-count constant so all stationary sample means are accurate except with probability at most .
Let be the product of the sample means, and output . On the successful event its multiplicative error relative to lies between and . Combining the two endpoint bounds proves
Activities, sample counts, simulation lengths and rational bit lengths are polynomial in . Thus this is a fully polynomial randomized approximation scheme. Small dimensions can be evaluated directly.
Let and let be the invariant distribution. Iterating the assumed Wasserstein contraction gives
Since , the coupling characterization of total variation distance implies
The right side is at most when
which proves the claimed mixing bound.
Total variation distance Created 2026-09-24 Updated 2026-10-13
Total variation distance asks how much two probability distributions can disagree about the same event. For probability measures on one measurable space , its definition is
The supremum ranges over all measurable sets, so guarantees that every yes-or-no prediction has probability error at most . This metric takes values between zero and one; it is zero exactly when the two probability measures agree. This makes it useful for comparing a sampling algorithm's output with its target probability distribution, and for defining the mixing time of a Markov chain.
On a finite set, add the excess probability mass wherever exceeds . That excess is also half the sum of all absolute differences:
The last expression reveals the common probability mass that the two probability distributions can share.[ref] The coupling characterization of total variation distance turns this overlap into an actual joint construction; minimum sum of errors in a simple hypothesis test gives it a statistical interpretation. One quantity connects probability bookkeeping, comparison of sampling methods, and the limits of a statistical test.