Coupling and Total Variation Distance
A precise way to measure "how different are two distributions" by building the best possible joint experiment that makes two random variables agree as often as probability allows.
Prerequisites: Markov Chains, The Law of Large Numbers
How different are two probability distributions? "Different means" is one answer, but crude — two distributions can share a mean and still barely overlap. Total variation distance answers a sharper question: what's the largest possible gap between the probabilities the two distributions assign to any event? Coupling is the constructive trick for computing it: instead of comparing distributions in the abstract, build two random variables on the same coin flips that agree as often as is mathematically possible.
The analogy: two biased dice, matched as often as possible
Imagine two dice with slightly different weightings — die A favors 6s a bit, die B is fair. You want to roll them "together" so that, as often as possible, they land on the same face — using a single shared source of randomness to drive both rolls at once. The best such construction succeeds in matching them with probability exactly , the total variation distance. Any joint construction — any "coupling" — can do no better; that ceiling is precisely what total variation distance measures.
Writing it down
For distributions and on the same space, total variation distance is
the biggest possible disagreement between and on the probability of any single event . In words: find the event both distributions disagree about the most — that disagreement, at its worst, is the distance. Equivalently, for discrete distributions with probability mass functions ,
In words: sum up the absolute gap between the two distributions at every outcome, and halve it. A coupling is a joint distribution with and marginally. The coupling inequality says for every coupling, with equality achieved by the best one — called the maximal coupling. In words: no matter how cleverly you try to link two random draws from and , they'll disagree at least of the time — and there's always a way to hit that floor exactly.
Compare two normal curves with different means side by side mentally: the region where one curve sits clearly above the other is the "disagreement" total variation distance is built from — shift the mean and watch that overlap shrink.
Worked example 1: two coins
Coin A: . Coin B: . Total variation distance: . So the best possible coupling makes them land the same 90% of the time — construct it explicitly: draw ; set A's result to heads if , B's result to heads if . They agree whenever (both heads) or (both tails) — that's of the time, matching exactly.
Worked example 2: Markov chain mixing
A Markov chain modeling a market regime (say, "calm" vs. "stressed" states, each day) has a stationary distribution . Starting from "calm" with certainty, after days the chain's distribution has moved partway to . Suppose (a typical geometric mixing rate for a simple two-state chain with self-transition probability 0.75). After : distance — still very far from stationary, the "calm" start dominates. After : distance — under 97% coupled with the long-run distribution; for most practical purposes ("has the regime forgotten where it started?") the chain has mixed. This is literally how "mixing time" is defined: the smallest such that drops below a small threshold like 0.25.
Sample a few paths here and watch how quickly they forget their shared starting point and spread across the range typical of the process — that forgetting is mixing in action, and total variation distance is exactly what measures how much "started here" information is left at any given time.
What this means in practice
- Markov chain Monte Carlo. Total variation distance to the target distribution, tracked via coupling arguments, is the standard way to certify that an MCMC sampler has "burned in" and its samples can be trusted.
- Regime-switching models. How fast a hidden-state model forgets its initial state (calm vs. crisis) is a mixing-time question answered with exactly this machinery.
- Model comparison. Two calibrated models that produce nearly identical means and variances can still have large total variation distance — meaning they disagree sharply on tail events, which is often exactly what matters for risk.
Total variation distance is the largest possible probability gap between two distributions on any single event, and a coupling — a joint construction of two random variables sharing the same randomness — achieves agreement exactly of the time, no better and no worse than the best coupling can.
It's tempting to think a small total variation distance means the distributions are "close" in every practical sense — but treats all disagreements equally regardless of magnitude. Two distributions can have tiny total variation distance while disagreeing enormously on rare, extreme outcomes if that disagreement is confined to a low-probability region; TV distance says nothing about how far apart the outcomes are when they do disagree, only how often. For that, see The Wasserstein Distance.
Related concepts
Practice in interviews
Further reading
- Levin, Peres, Markov Chains and Mixing Times (ch. 4)
- Lindvall, Lectures on the Coupling Method