Let μ and ν be two probability measures over a finite set Ω.
Definition. A probability measure ω over Ω×Ω is a coupling of (μ,ν) if its marginals are μ and ν:
- ∀x∈Ω, ∑y∈Ωω(x,y)=μ(x),
- ∀y∈Ω, ∑x∈Ωω(x,y)=ν(y).
Coupling Lemma
Lemma
- For any coupling ω of (μ,ν), if the random variable (X,Y) is distributed according to ω, then
Pr[X=Y]≥∥μ−ν∥TV.
- There exists a coupling ω∗ (which is called the maximal coupling) for (μ,ν) for which
Pr[X=Y]=∥μ−ν∥TV.
First Proof
Claim 1.
First, observe that for every measurable set S⊆Ω, it holds that
μ(S)−ν(S)=Pr[X∈S]−Pr[Y∈S]≤Pr[X∈S,Y∈/S]≤Pr[X=Y].It follows that
∥μ−ν∥TV= measurable S⊆Ωmax(μ(S)−ν(S))≤Pr[X=Y].Claim 2.
Next, we show how to construct ω∗.
For each z∈Ω, define
ω∗(z,z)=min{μ(z),ν(z)}.Clearly it holds that
Pr[X=Y]=1−z∈Ω∑min{μ(z),ν(z)}=∥μ−ν∥TV.It is left to assign the probability mass ∥μ−ν∥TV to (x,y)∈Ω×Ω, for x=y.
Case 1 (∥μ−ν∥TV=0).
Then we can set ω∗(x,y)=0 for all x=y.
Further, it holds that μ(z)=ν(z) for all z∈Ω.
Therefore,
y∈Ω∑w∗(x,y)=w∗(x,x)=min{μ(x),ν(x)}=μ(x),x∈Ω∑w∗(x,y)=w∗(y,y)=min{μ(y),ν(y)}=ν(y).Case 2 (∥μ−ν∥TV=0).
Denote S+≐{z∈Ω:μ(z)≥ν(z)}.
Define two probability mass functions
λ1(z)≐∥μ−ν∥TVμ(z)−ν(z)⋅1[z∈S+],λ2(z)≐∥μ−ν∥TVν(z)−μ(z)⋅1[z∈/S+].Then λ1(Ω)=λ1(S+)=λ2(Ω)=λ2(Sˉ+)=1.
Now, for x,y∈Ω,x=y, define
ω∗(x,y)=∥μ−ν∥TV⋅λ1(x)⋅λ2(y).Also note that for all z∈Ω, ∥μ−ν∥TV⋅λ1(z)⋅λ2(z)=0.
Therefore,
y∈Ω∑w∗(x,y)=w∗(x,x)+y∈Ω:y=x∑w∗(x,y)=min{μ(x),ν(x)}+y∈Ω∑∥μ−ν∥TV⋅λ1(x)⋅λ2(y)=min{μ(x),ν(x)}+∥μ−ν∥TV⋅λ1(x)⋅λ2(Ω)=min{μ(x),ν(x)}+(μ(x)−ν(x))⋅1[x∈S+]=μ(x).Similarly, we can verify that for each y∈Ω,
y∈Ω∑ω∗(x,y)=ν(y).□
Second Proof
Claim 1. We see that
Pr[X=Y]=z∈Ω∑Pr[X=z,Y=z]≤z∈Ω∑min{μ(z),ν(z)}.Hence,
Pr[X=Y]=1−Pr[X=Y]≥1−z∈Ω∑min{μ(z),ν(z)}=z∈Ω∑(μ(z)−min{μ(z),ν(z)})=∥μ−ν∥TV.Claim 2.
The case is trivial if ∥μ−ν∥TV.
Suppose that η=∥μ−ν∥TV>0.
Define
λ(z)≐min{μ(z),ν(z)},∀z∈Ω.Further, define the distributions π0 and π1 by
π0(x,y)π1(x,y)≐1−η1⋅λ(x)⋅I[x=y],≐ημ(x)−λ(x)⋅ην(y)−λ(y)∀x,y∈Ω,∀x,y∈Ω.Then π=(1−η)π0+ηπ1 is a distribution, whose marginals are
y∈Ω∑π(x,y)x∈Ω∑π(x,y)=λ(x)+(μ(x)−λ(x))=μ(x),=λ(y)+(ν(y)−λ(y))=ν(y),where we use the fact that
∥μ−ν∥TV=x∈Ω∑(μ(x)−λ(x))=y∈Ω∑(ν(y)−λ(y)).Finally, consider the marginals of π0 and π1:
π0(x,⋅)π0(⋅,y)π1(x,⋅)π1(⋅,y)≐y∈Ω∑1−η1⋅λ(x)⋅I[x=y]=1−η1⋅λ(x)≐x∈Ω∑1−η1⋅λ(x)⋅I[x=y]=1−η1⋅λ(y)≐y∈Ω∑ημ(x)−λ(x)⋅ην(y)−λ(y)=ημ(x)−λ(x)≐x∈Ω∑ημ(x)−λ(x)⋅ην(y)−λ(y)=ην(y)−λ(y)∀x∈Ω,∀y∈Ω,∀x∈Ω,∀y∈Ω,Then π1(x,⋅) and π1(⋅,y) have disjoint support, and η is the minimum parameter such that the following condition hold:
μ=(1−η)⋅π0(x,⋅)+η⋅π1(x,⋅),ν=(1−η)⋅π0(⋅,y)+η⋅π1(⋅,y).□
Reference
[1] Constantinos Daskalakis, 6.896 Probability and Computation, Lecture 3, 2011.