Contents
04The orange is all peel
4.1Volume moves to the surface
Picture an orange as a ball of radius 1 whose peel is the outer 10\% of the radius. The juice is the inner ball of radius 0.9. Volume in d dimensions scales as radius^d, so the juice has a share 0.9^d of the volume and the peel the rest. With a peel of relative thickness \epsilon,
For \epsilon=0.1 the peel is 10\% of a one-dimensional “orange” (a segment), 19\% in two dimensions, 27\% in three, 65\% in ten and 99.997\% in a hundred (Figure 3a). Even a skin of 1\% of the radius holds 9.6\% of the volume for d=10, 63\% for d=100 and 99.3\% for d=500 (Bishop, 2006, §1.4). As Domingos (2012) puts it, most of the volume of a high-dimensional orange is in the skin.
4.2Where random points land
The same fact tells us where random points fall. For a point drawn uniformly from the unit ball, P(\|X\|\le\rho)=\rho^d, so its distance from the center has density d\rho^{d-1} and mean d/(d+1); one can sample it as U^{1/d} with U uniform on [0,1]. For d=3 the mean is 0.75; in 3{,}000 draws it was 0.747, and 27.3\% of points fell in the peel beyond 0.9 (the theory says 27.1\%). For d=100 the mean is 100/101=0.990; the draws averaged 0.9903, the median was 0.993, and every one of the 3{,}000 points was beyond 0.9: the closest to the center was at 0.928 (Figure 3b). There is nothing in the middle of the orange.
4.3Two more faces of the same fact
The corners take over the cube. The ball inscribed in the cube [-1,1]^d fills a share \pi^{d/2}/\bigl(2^d\,\Gamma(d/2+1)\bigr) of it: 0.785 in two dimensions, 0.524 in three, 0.164 in five, 0.0025 in ten and 2.5\times10^{-8} in twenty. Almost all of a high-dimensional cube is in its corners, far from the center. The volume of the unit ball itself peaks near d=5 (at 5.26) and then falls to zero (2.55 at d=10, 0.026 at d=20).
Gaussian samples live on a shell. For z\sim\mathcal N(0,I_d), \|z\|^2 is a sum of d independent squares with mean d and variance 2d, so \|z\|\approx\sqrt d\pm1/\sqrt2. In 10{,}000 draws the norm averaged 9.98 with standard deviation 0.70 for d=100, and 31.62\pm0.70 for d=1{,}000. The density of a Gaussian is highest at its center, yet a sample is almost never near the center: it sits on a thin shell of radius about \sqrt d, like a soap bubble.
Pause and think. The mean image of a data set of photos often looks like a blurry gray blob that resembles no photo at all. How does the shell picture explain this?
Show the answer
The mean is the center of the cloud, and in high dimensions almost no data point lies near the center: they all sit on a shell far from it. The same holds for any point near the center of a Gaussian, which is why sampling generative models never output their mode.