Given a dense graph G=⟨V,E⟩ and relative error threshold ϵ, we want to get a spare graph G′=⟨V,E′⟩, such that G′(S,Sˉ)∈(1±ϵ)G(S,Sˉ) for any cut (S,Sˉ)∈V×V, where G′(S,Sˉ) stands for the number of edges between S and S′ in G′.
G′ can be constructed as follows:
Keep all vertices V in G′,
Keep each edge e∈E in G′ with probability p. If an edge is kept, set its weight to 1/p.
We will determine the value of p later.
There are many possible G′'s -- precisely, 2∣E∣ of G′'s. At the first glimpse, it not clear what we get out of them. However, we will show that for a large fraction of them satisfy our requirement. In other words, we get a goodG′ with high probability.
To show this, first observe that each edge has expected weight p⋅1/p+(1−p)⋅0=1. Therefore, by linearity of expectation, the expected value of each cut in G′ equals to its value in G, i.e., E[G′(S,Sˉ)]=G(S,Sˉ), for ∀(S,Sˉ)∈V×V.
By proper choice of p, all G′(S,Sˉ) will concentrate around its expectation. Moreover, the more edges a cut (S,Sˉ)∈G has, the more likely its expectation has a smaller deviation. This motivates that p is set according to the min-cut of G.
Throughout discussion below, we denote n as the number of vertices, m the number of edges, and c∗ the min-cut value in G.
Two Important Results
The first one is the famous combinatorial ramification of Karger Algorithm.
Theorem 1. The number of cuts whose weight are within αc∗ is upper bounded by n2α(2α)!22α2π2e, where α≥1,2α∈N+.
Define f(x) (x∈R,x≥1) the number of cuts in G′ with value xc∗, where xc∗ is an integer. F(α)=∑x≤αf(x) is bounded by n2α.
The second is Chernoff Bound.
Theorem 2. Let {Xi} be a set of random variables and X≐ΣXi, E[X]=μ, then Pr[∣X−μ∣≥ϵμ]≤2exp(−ϵ2μ/3).
By Chernoff bound, the probability that a min-cut derivate more than ϵc∗ is bounded by 2exp(−ϵ2pc∗/3). Similarly, the bound for a cut with value αc∗ is 2exp(−ϵ2αpc∗/3).
Denote c′=cp. It follows by union bound that the probability that some cut deviate more than ϵ times it expected value is at most ∑xf(x)⋅2exp(−ϵ2xc′/3).
It can be shown that to maximum this value, we need F(α) takes the value n2α any for α≥1,2α∈N+. Hence the sum is less than
2f(1)e−ϵ2c′/3+2∫x=1∞∂x∂n2xe−ϵ2xc′/3dx
That is
2n2e−ϵ2c′/3(1+ϵ2c′/3−lnn2lnn2)
If we let p=3(d+2)lnn/(ϵ2c) for some parameter d, then the bound becomes O(n−d).