Level 0: Foundation
★☆☆☆☆ Introductory⏱ 5 minGeneral audience. No mathematics required.Light tails and heavy tails
Some random things almost never go crazy. A coin flip is 0 or 1, and noise in a good sensor is nearly always small. These have light tails: the chance of a huge value drops off super fast, as fast as for a bell curve. We call them sub-Gaussian.
Others have heavier tails: waiting times, the energy of a noisy signal, or the squared length of a random vector. Big values are still rare, but not that rare. These are sub-exponential. Knowing which kind you have tells you how many samples you need and how big an “unusual” value can get.
Is your sensor noise light-tailed enough for a Gaussian filter? How large can the worst of 10,000 random errors get? How far can you compress a 3000-number descriptor and still compare places correctly? These questions are answered by knowing whether a variable is sub-Gaussian or sub-exponential.
- 1. A sub-Gaussian variable has tails that drop off…
- 2. A coin flip (0 or 1) is…
- 3. Waiting times (exponential) are…
Level 1: Beginner
★★☆☆☆ Basic⏱ 20 minSecondary-school mathematics: arithmetic and elementary algebra.Sub-Gaussian: three equivalent views
A centred variable is sub-Gaussian with variance proxy if
Up to constants, this is equivalent to:
- tails: (Chernoff, A4.3-3);
- moments: ;
- Orlicz norm: .
Examples: (proxy ), Rademacher (proxy 1), and any variable in (proxy , by Hoeffding’s lemma). The proxy is always at least the variance. A skewed Bernoulli(0.1) has variance 0.09 but proxy about 0.18.
Sums
If are independent and -sub-Gaussian, then is -sub-Gaussian, since MGFs multiply. This is Hoeffding’s inequality, in one line.
- 1. A variable in [0, 1] is sub-Gaussian with proxy at most…
- 2. The sum of 10 independent 2-sub-Gaussian variables has proxy…
- 3. Can the variance proxy be smaller than the variance?
Level 2: Intermediate
★★★☆☆ Intermediate⏱ 45 minUndergraduate students and practising engineers.Sub-exponential variables
(centred) is sub-exponential with parameters if
The MGF need only be controlled near 0. It can blow up at finite , as for the exponential and the Laplace. The resulting Bernstein-type tail has two regimes:
Key fact: if and are sub-Gaussian, then and are sub-exponential, with . Squared norms, energies, empirical covariances and quadratic forms all fall in this class.
Example: chi-square. . Laurent and Massart (2000) give . The term is the Gaussian regime and the term is the exponential regime.
Maxima grow slowly
For variables, each -sub-Gaussian (no independence needed),
Proof: . Take logs and optimize over . A thousand standard Gaussians rarely exceed 3.7.
- 1. The square of a standard Gaussian, minus 1, is…
- 2. E max of 1000 standard Gaussians is at most…
- 3. A sub-exponential tail bound has…
Level 3: Advanced
★★★★☆ Advanced⏱ 45 minGraduate level, with full derivations and proofs.From tails to the MGF (one direction of the equivalence)
Suppose and .
- Moments. (layer cake, A4.3-1). So .
- MGF. , since the term vanishes. Using and , the series is at most . ∎
The constants are not optimal. The point is that tails, moments and the MGF all carry the same information, so you can prove a bound in whichever form is easiest.
Johnson–Lindenstrauss
Take with iid or entries. For a fixed unit vector , is an average of iid sub-exponential variables with mean 1. Bernstein gives
Apply this to all difference vectors with a union bound. Then preserves every pairwise distance within , whatever is (Johnson and Lindenstrauss, 1984; Dasgupta and Gupta, 2003).
Exercise 3.1: Show that the variance proxy is at least the variance
Near 0, . If for all small , divide by and let : .
- 1. JL's target dimension depends on…
- 2. Sub-Gaussian tails imply the p-th moment norm grows like…
- 3. In JL, ‖Ax‖² for fixed x is a sum of…
Level 4: Expert
★★★★★ Expert⏱ 45 minResearchers: original papers and open problems.Compressing place-recognition descriptors
A robot’s loop-closure module stores a 3000-number descriptor per place. A random ±1 projection to numbers preserves all pairwise distances within 35% for 100 places, with no training. Because JL is oblivious, the same matrix works for places not yet visited. Random projections and their sub-Gaussian analysis also underlie compressed sensing (Candès and Tao, 2006; Baraniuk et al., 2008), sketching for fast least squares (Woodruff, 2014), and locality-sensitive hashing for nearest-neighbour search.
Sub-Gaussian tools in AI, robotics and aerospace
- Random-matrix bounds. A random sub-Gaussian matrix has singular values in (Vershynin, 2018). This governs sample covariance estimation, compressed sensing guarantees and the conditioning of random-feature models.
- Regret of bandits and RL. Analyses of UCB, Thompson sampling and linear bandits assume sub-Gaussian reward noise. Self-normalized bounds (Abbasi-Yadkori, Pál and Szepesvári, 2011) are built on sub-Gaussian martingales.
- Robust estimation. With heavy tails, means aren’t sub-Gaussian. Median-of-means estimators recover sub-Gaussian-type confidence bounds with only a finite variance (Lugosi and Mendelson, 2019). This matters for outlier-prone sensors.
- Anomaly thresholds. predicts the largest of healthy residuals. Thresholds below it raise false alarms at scale, for example in telemetry monitoring across thousands of channels.
- Neural network theory. Sub-Gaussian weight initialization gives concentration of norms and kernels at initialization, the basis of NTK and mean-field analyses.
References
- R. Vershynin (2018). High-Dimensional Probability, Ch. 2–3 and 5. Cambridge University Press.
- M. Wainwright (2019). High-Dimensional Statistics: A Non-Asymptotic Viewpoint, Ch. 2. Cambridge University Press.
- S. Boucheron, G. Lugosi, P. Massart (2013). Concentration Inequalities. Oxford University Press.
- B. Laurent, P. Massart (2000). “Adaptive estimation of a quadratic functional by model selection.” Annals of Statistics, 28(5).
- W. Johnson, J. Lindenstrauss (1984). “Extensions of Lipschitz mappings into a Hilbert space.” Contemporary Mathematics, 26.
- S. Dasgupta, A. Gupta (2003). “An elementary proof of a theorem of Johnson and Lindenstrauss.” Random Structures & Algorithms, 22(1).
- D. Achlioptas (2003). “Database-friendly random projections: Johnson–Lindenstrauss with binary coins.” JCSS, 66(4).
- M. Kearns, L. Saul (1998). “Large deviation methods for approximate probabilistic inference.” UAI.
- E. Candès, T. Tao (2006). “Near-optimal signal recovery from random projections.” IEEE Transactions on Information Theory, 52(12).
- Y. Abbasi-Yadkori, D. Pál, C. Szepesvári (2011). “Improved algorithms for linear stochastic bandits.” NeurIPS.
- G. Lugosi, S. Mendelson (2019). “Mean estimation and regression under heavy-tailed distributions: a survey.” Foundations of Computational Mathematics, 19.