SECTION 01Chi-Squared Variables

Example · Sub-Exponential but Not Sub-Gaussian

Let Z ∼ N(0, 1) and X = Z². Then X has a chi-squared distribution with one degree of freedom. For λ < 1/2,

E[eλ(X−1)]=e−λ1−2λ

The MGF is infinite for λ ≥ 1/2, so X is not sub-Gaussian. However, near zero,

e−λ1−2λ≤e2λ2,|λ|<14

This is the sub-exponential MGF bound with parameters (ν, α) = (2, 4).

Formulation · Concentration of a Chi-Squared Variable

Let Z₁, …, Zₙ be independent standard Gaussian variables. Their squared sum Y = ∑ₖ₌₁ⁿ Zₖ² has a chi-squared distribution with n degrees of freedom. By the independent-sum property, Y is sub-exponential with parameters (2√n, 4), and E[Y] = n. Therefore,

P(|∑k=1nZk2n−1|≥t)≤2e−nt28,0<t<1

Concentration of chi-squared variables is useful for analyzing random projections.

SECTION 02Johnson–Lindenstrauss Embedding

Setting · Preserve Distances in Fewer Dimensions

Suppose we have N ≥ 2 distinct vectors u₁, …, uN in ℝᵈ. When d is large, storing and processing them can be expensive. We seek a map F: ℝᵈ → ℝᵐ, with m much smaller than d, that approximately preserves all pairwise distances.

For a tolerance δ ∈ (0, 1), the goal is

1−δ≤‖F(ui)−F(uj)‖22‖ui−uj‖22≤1+δ,i≠j

Formulation · A Gaussian Random Projection

Generate a matrix A ∈ ℝᵐˣᵈ with independent N(0, 1) entries and define

F(u)=Aum

Claim · A Dimension Bound for Preserving All Pairwise Distances

For δ, ϵ ∈ (0, 1), if

m>16δ2logNϵ

then, with probability at least 1 − ϵ over A, the distance guarantee holds for every pair of data points.

Proof of the Embedding Claim

(1) Fix a nonzero u ∈ ℝᵈ. Let aₖ be row k of A. Since aₖ is a standard Gaussian vector, the variables ⟨aₖ, u⟩/‖u‖₂ are independent N(0, 1). Thus

‖Au‖22‖u‖22=∑k=1m⟨ak,u⟩‖u‖22∼χm2

Apply the chi-squared concentration bound:

P(|‖F(u)‖22‖u‖22−1|≥δ)≤2e−mδ28

(2) Apply this result to each difference uᵢ − uⱼ. There are (N2)=N(N−1)2 distinct pairs. The union bound gives

P(‖F(ui−uj)‖22‖ui−uj‖22∉[1−δ,1+δ] for some i < j)≤N(N−1)e−mδ28

(3) Since N(N − 1) ≤ N², it suffices to make N² exp(−mδ²/8) smaller than ϵ. Taking logs gives

m>8δ2(2logN+log1ϵ)

The simpler condition m > (16/δ²) log(N/ϵ) is slightly stronger and therefore sufficient.