The Gaussian soap bubble
Published
My favorite stats fun fact is that high-dimensional isotropic Gaussian distributions have almost all of their probability mass concentrated in a thin spherical shell centered on the mean, like a soap bubble, even though their density is bell-shaped and maximized at the center of that shell.
To see it, draw a point from a standard Gaussian in dimensions:
This is the standard multivariate Gaussian, usually written : independent standard-normal coordinates give a jointly normal vector with mean zero and identity covariance.
The point is not usually close to the origin: its typical distance is about . Although the pointwise Gaussian density is highest at the origin and decreases outward, the radial density of behaves differently. For it initially rises, because thin shells farther from the origin contain more volume. In high dimensions it peaks near , and most of the mass lies in a shell that is thin relative to that radius.
The proof is a trivial application of the central limit theorem. Let
The are iid, so the central limit theorem says is approximately normal, centered around , with fluctuations of order . Equivalently, fluctuates around on the scale . In short,
and therefore
Thus has constant-order fluctuations around . A central band containing, say, 90% of the radii has constant-order absolute width. But , so that band becomes arbitrarily thin relative to its radius. This relative thinning is the soap bubble phenomenon.
The simulation below draws Gaussian points and plots the distribution of . Move the dimension slider and watch the distribution march outward while its relative width shrinks.
Each sample is a draw from N(0, I_d). As d grows, the radius moves outward to sqrt(d) while R / sqrt(d) concentrates near 1.
50 dimensions- sqrt(d)
- 7.07
- mean radius
- 7.02
- middle 90%
- 5.89 to 8.20
- relative width
- 32.8%
This is one of the reasons high-dimensional probability can feel geometrically strange. In one or two dimensions, “near the origin” feels like a plausible place for Gaussian mass to be. In many dimensions, the origin is still the point of highest density, but any small neighborhood around it contains almost no probability mass.
The tension is between pointwise density and available volume. At radius , the Gaussian density supplies a factor proportional to , while the surface area of a thin spherical shell supplies a factor proportional to . The radial density is therefore exactly proportional to . For it starts at zero, rises, and peaks at , where volume growth and density decay balance exactly; after that, density decay dominates and the radial density falls. Since , the balance occurs at the same radius predicted by the CLT. This is a concrete example of concentration of measure: in high dimensions, probability mass can be confined to a region that is narrow relative to its scale even when the underlying density looks smooth and bell-shaped.
This is not only a really neat fact, it is also relevant in practice. Pairwise distances between independent Gaussian points concentrate around , so distance-based methods see less relative contrast as dimension grows. Likelihood-based anomaly detectors can mistake a high-density but atypical point, such as the mean, for an ordinary observation. And in Bayesian computation, mode-based summaries can miss the typical set where most posterior mass and representative draws are found.