High-Dimensional Geometry and Concentration of the Norm
Why a Gaussian vector lives on a thin shell, why random directions are nearly orthogonal, and why almost all of a sphere's volume sits near any equator.
The norm of a random vector
Let . Then exactly, and
Let have independent, mean-zero coordinates with and . Then there is an absolute constant with
Equivalently, for all , with absolute. The bound does not depend on .
Key idea
Step 3 is where the dimension cancels. The squared norm has fluctuations of order — that is the ordinary central-limit scaling for a sum of terms — and the square root map has derivative at the relevant point, so the fluctuations of the norm itself are of order . Nothing deeper than the chain rule is happening, but the consequence is the defining phenomenon of the subject.
What this does not say
The theorem is about the norm, not about the coordinates. Each coordinate is a perfectly ordinary variable, spread over the whole real line; nothing about it concentrates. The concentration is a property of the aggregate, and it requires independence across coordinates. Correlated coordinates — the normal case for real embeddings — can fail this badly: if all coordinates are equal, has fluctuations of order .
Near-orthogonality
Let be independent and uniform on the unit sphere . Then
Spheres, caps and shells
Let be the uniform probability measure on and fix a unit vector . For ,
In particular, for the cap still carries a constant fraction of the measure, while for fixed the fraction is exponentially small in .
Let be the unit ball in and . The fraction of the volume of lying at radius less than is exactly . Consequently, all but an fraction of the volume lies in the shell of thickness at the boundary.
Taking : over of the volume of the -dimensional unit ball lies within of the surface. In , that is the outermost half-percent of the radius.
Heuristic — a reasoning shortcut that predicts the right answer in the regimes discussed here. It is not a proof and can fail outside them.
Concentration is usually introduced as the "curse of dimensionality" and separately as the reason random projections work. They are the same statement seen from two sides.
The pessimistic reading: if all pairwise distances between random points concentrate around the same value , then "nearest neighbour" carries almost no information — the nearest and the farthest point are within a factor of each other. This is the precise version of the failure of local methods discussed on the nearest neighbours page.
The optimistic reading: if every geometric quantity is this predictable, then a random linear map preserves it, because there is nothing left to vary. That is Johnson–Lindenstrauss.
What this does not say
Neither reading is a theorem about real data. Both assume the points are drawn independently from an isotropic distribution. Real data typically lies near a low-dimensional structure, in which case the relevant dimension is the intrinsic one and the concentration is correspondingly weaker. When nearest-neighbour search works well on a nominally -dimensional embedding, it is because the data is not isotropic in — and quantifying that gap is an open practical problem, not a solved one.
Problems
Concentration of the norm — the transfer stepProof · Advanced · 30 min How many nearly-orthogonal directions fit in R^d?Proof · Advanced · 30 min Volume concentrates near the boundaryNumerical · Beginner · 15 min Simulate the measure of a spherical capCoding · Intermediate · 30 min Distance contrast in high dimensionProof · Advanced · 1 hourReferences
- BookRoman Vershynin (2018). High-Dimensional Probability: An Introduction with Applications in Data ScienceChapter 3 covers random vectors in high dimension. The proofs below are written independently.
- Lecture notesKeith Ball (1997). An Elementary Introduction to Modern Convex GeometryThe classical source for the volume and spherical-cap computations.
- BookAvrim Blum, John Hopcroft and Ravindran Kannan (2020). Foundations of Data ScienceChapter 2 gives an accessible account of high-dimensional geometry.
These works are cited as sources to read, not reproduced. All exposition, examples and problems on this site are written independently; where an argument is standard, the citation points to a canonical treatment.
Results stated on this page
- TheoremConcentration of the norm of a sub-Gaussian vectorproof includedFor a vector with independent sub-Gaussian coordinates, the norm deviates from the square root of the dimension by an O(1) sub-Gaussian amount.
- PropositionThe expected norm of a Gaussian vectorproof includedThe mean of the norm is the square root of the dimension up to a 1/d correction, and the variance is bounded by a constant.
- PropositionRandom directions are nearly orthogonalproof includedThe inner product of two independent uniform directions is of order one over the square root of the dimension.
- TheoremMeasure concentration on the sphereproof includedA spherical cap at distance t from the equator carries at most exp(-d t^2 / 2) of the sphere's measure.
- PropositionVolume concentrates in a thin shellproof includedAlmost all of the volume of a high-dimensional ball lies within O(1/d) of its boundary.
- HeuristicThe curse and blessing of dimensionalityThe same concentration that destroys local methods is what makes random projections and dot-product retrieval work.
Experiments
Problems (5)
All problems- Simulate the measure of a spherical capCodingIntermediate⏱ 30 min
- Distance contrast in high dimensionProofAdvanced⏱ 1 hour
- Concentration of the norm — the transfer stepProofAdvanced⏱ 30 min
- How many nearly-orthogonal directions fit in R^d?ProofAdvanced⏱ 30 min
- Volume concentrates near the boundaryNumericalBeginner⏱ 15 min