5.1 Basic Concentration Inequalities

Suppose we have a random variable \(X \sim \mathbb {P}_X\), sampled from the distribution \(\mathbb {P}_X\). Let \(\mu = \mathbb {E}_{X \sim \mathbb {P}_X}[X]\) be its expectation. In general, \(|x - \mu |\) could be very large. However, in many scenarios (especially when \(X\) takes a special form), \(|x - \mu |\) is very small with high probability.

5.1.1 Sub-Gaussians

Now we discuss an important type of random variables.

Proof. Instead of a direct calculation, we use a series of tricks.

Trick 1: Let \(X' \stackrel {d}{=} X\) with \(X, X'\) independent. Then \[ \mathbb {E}_X[e^{\lambda (X-\mu )}] = \mathbb {E}_X[e^{\lambda X - \mathbb {E}_X[X']}] \] Trick 2: Use Jensen’s inequality to get \(e^{-\lambda \mathbb {E}[X']} \leq \mathbb {E}[e^{-\lambda X'}]\). This gives \[ \leq \mathbb {E}_{X, X'}\, \mathbb {E}[e^{\lambda (X - X')}] \] Trick 3: Introduce \(\varepsilon \sim \mathrm {Unif}(\{\pm 1\})\) with \(\varepsilon \) independent of \((X, X')\). Then \(\varepsilon (X - X') \stackrel {d}{=} X - X'\). \[ = \mathbb {E}_{\varepsilon , X, X'}\, \mathbb {E}[e^{\lambda \varepsilon (X - X')}] \] Using the tower property of conditional expectation, \[ = \mathbb {E}_{X, X'}\!\left [ \mathbb {E}_\varepsilon [e^{\lambda \varepsilon (X - X')} \mid X, X'] \right ] \] By the \(1\)-sub-Gaussianity of \(\varepsilon \), \[ \leq \mathbb {E}_{X, X'}[e^{\lambda ^2 (X - X')^2 / 2}] \] Since \((X - X')^2 \leq (b - a)^2\) by the boundedness of \(X, X'\), \[ \leq e^{\lambda ^2 (b - a)^2 / 2}. {\qquad\square} \]

5.1.2 Sub-Exponentials

Let \(G \sim \mathcal {N}(0, 1)\). Then \(G^2\) is not sub-Gaussian. This is because \(\mathbb {E}[G^2] = 1\), and \begin{align*} \mathbb {E}[e^{\lambda (G^2 - 1)}] &= \frac {1}{\sqrt {2\pi }} \int _{-\infty }^{\infty } e^{\lambda (z^2 - 1)} e^{-z^2/2} \, dz \\ &= \begin {cases} \dfrac {e^{-\lambda }}{\sqrt {1 - 2\lambda }} & \lambda < 1/2 \\ \infty & \lambda \geq 1/2. \end {cases} \end{align*}

We can still derive a good but weaker tail bound for this kind of random variable.

We can see from this definition that sub-Gaussian variables are sub-exponential with any \(\alpha > 0\).

Proof. We want to show that \[ \mathbb {E}[e^{\lambda (G^2 - 1)}] = \frac {e^{-\lambda }}{\sqrt {1 - 2\lambda }} \leq e^{2\lambda ^2} \qquad \forall |\lambda | \leq \frac {1}{4}. \] We can do this by comparing Taylor series. □

Proof. We just need to show that the moment generating function is bounded. Do a Taylor expansion: \begin{align*} \mathbb {E}[e^{\lambda (X-\mu )}] &= 1 + \frac {\lambda ^2 \sigma ^2}{2} + \sum _{k=3}^{\infty } \lambda ^k \frac {\mathbb {E}[(X-\mu )^k]}{k!} \\ &\leq 1 + \frac {\lambda ^2 \sigma ^2}{2} + \frac {\lambda ^2 \sigma ^2}{2} \sum _{k=3}^{\infty } (|\lambda | b)^{k-2}. \end{align*}

This is a geometric series, so we can simplify it: \begin{align*} &\leq 1 + \frac {\lambda ^2 \sigma ^2 / 2}{1 - b|\lambda |} \\ &\leq e^{(\lambda ^2 \sigma ^2 / 2) / (1 - b|\lambda |)}. \end{align*}

When \(|\lambda | \leq \tfrac {1}{2b}\), \[ \leq e^{\lambda ^2 (\sqrt {2}\sigma )^2 / 2}. {\qquad\square} \]

5.1.3 Maximal Inequality

Proof. \begin{align*} \mathbb {E}\!\left [ \max _{i \in [n]} X_i \right ] &= \mathbb {E}\!\left [ \psi ^{-1}\!\left ( \max _{i \in [n]} \psi (X_i) \right ) \right ] && \text {($\psi $ strictly increasing)} \\ &\leq \psi ^{-1}\!\left ( \mathbb {E}\!\left [ \max _{i \in [n]} \psi (X_i) \right ] \right ) && \text {(Jensen, $\psi ^{-1}$ concave)} \\ &\leq \psi ^{-1}\!\left ( \sum _{i=1}^n \mathbb {E}[\psi (X_i)] \right ) && \text {(max $\leq $ sum)}. {\qquad\square} \end{align*}

This gives an important intuition: \(n\) sub-Gaussian random variables have maximum of order \(\sqrt {\log n}\).

Search definitions, theorems, and topics across the notes.