Sub-Gaussian and Sub-Exponential Variables
Two ways to say a random variable has a thin tail. Sub-Gaussian tails vanish like a Gaussian, sub-exponential tails vanish a little slower, and both give you exponential concentration for averages.
Why Does This Exist?
Averages are the workhorse of learning: training loss, validation error and gradient estimates are all means. Markov and Chebyshev inequalities bound those means with only a variance, but the bound decays like , which is painfully slow. To promise that 1,000 samples pin a mean within , you want a bound that decays like , exponentially fast.
Sub-Gaussian and sub-exponential variables are the two classes where that fast decay holds. Bounded variables like coin flips, Gaussians themselves and averages of many small independent effects all qualify. This page defines both classes, shows the tail each one buys, and gives the one worked number you will reuse everywhere. Concentration of measure then applies the same idea to functions, and high-dimensional probability and statistics shows why it matters when dimensions pile up.
Prerequisite in one paragraph. You need the moment generating function , which is the expected value of the exponential of ; it encodes all moments at once. If has mean zero, and the growth of controls the tails. Background on means and spreads is in expectation, variance and covariance.
Think of It Like This
Two kinds of leash on a dog
A sub-Gaussian dog wears a short elastic leash. The further it runs, the harder the leash pulls back, quadratically. It almost never gets far. A sub-exponential dog wears a longer rope leash. Near you it behaves the same, but once it builds speed the restraint is only linear, so rare long runs happen more often.
Both dogs stay close almost all the time, which is what concentration needs. But if you plan a fence from the Gaussian formula while walking the rope-leash dog, the rare escape surprises you. Knowing which leash you hold decides which bound you may quote.
Where the analogy stops: real tails are about chance, not force. The leash never physically pulls; it just says far outcomes are rare in a precise quantitative way.
How It Actually Works
A mean-zero variable is sub-Gaussian with variance proxy (a number playing the role of variance in the bound) when its moment generating function satisfies for every real . In words: the exponential moments grow no faster than a Gaussian with variance . The payoff is the tail bound , where is chance and is the deviation size.
A mean-zero is sub-exponential with parameters when for . Same shape near zero, but the control stops at . The tail splits: for small (Gaussian-like centre) and for large (exponential far tail). Squares of Gaussians and exponential variables live here.
The two facts you will quote weekly: any variable bounded in is sub-Gaussian with , and a sum of independent sub-Gaussians with proxy is sub-Gaussian with proxy , so its average has proxy . Averages inherit thin tails with the proxy shrinking like .
Worked example
Flip a fair coin 100 times and track the fraction of heads . Each flip shifted to mean zero lives in , so each is sub-Gaussian with . The average over 100 flips has proxy , meaning .
Ask for deviation , that is, the fraction leaving . The bound gives . So chance above of staying inside. Tighten with Hoeffding's exact constant for bounded sums, , same number. Chebyshev would only give variance over , a useless bound of on the nose with no exponential improvement as grows.
Watch Out For
Quoting a Gaussian tail for a squared Gaussian
If is standard normal, is sub-Gaussian but is only sub-exponential. Its far tail decays like , not . Plugging the Gaussian formula underestimates the chance of a large chi-squared deviation by orders of magnitude, which is exactly how a variance estimate blows past its supposed confidence band.
Fix: squares, products and norms of sub-Gaussians are sub-exponential. Switch to the Bernstein split tail the moment a square appears.
Treating the variance proxy as the variance
The proxy is an upper control, not the actual variance. A Rademacher flip taking values has variance and smallest valid proxy , fine. But a bounded variable in with tiny true variance still gets proxy from the interval length. Using where the true variance is loosens every downstream sample-size calculation by a factor of 25.
Fix: the proxy is safe but pessimistic. When the true variance is much smaller than the range suggests, reach for Bernstein, which uses both.
The Quick Version
- Sub-Gaussian means exponential moments grow at most like a Gaussian, giving tail .
- Sub-exponential matches that near zero but switches to far out.
- Anything bounded in is sub-Gaussian with proxy .
- Averages of independent sub-Gaussians shrink the proxy by , so 100 flips stay within 0.10 of half with chance above 0.73.
- Squares of sub-Gaussians are sub-exponential, never sub-Gaussian.