These days, higher dimensional spaces are not regarded as weirdly as they were formerly. Most people – in the United States, at least – have seen the e-Harmony advertisements in which the company boasts it “matches single women and men based on 29 Dimensions® of Compatibility“. And most educated people are more or less familiar with the idea of a 4-dimensional space-time continuum.
What is well-known to people working in optimization and in statistics, but less well-known generally, is that some of our intuitions about distribution of points do not serve us well in going from 2 and 3 dimensions to higher dimensions.
In this post I want to look at just one peculiar feature of the distribution of points in higher-dimensional space: the fact that in balls in higher dimensional space overwhelmingly most points lie close to the boundary of the ball.
We can see the beginnings of this peculiar distribution of points even in 2 dimensions, where fully 36% of a 10′ pizza with a 1″ crust lies on the crust. In higher dimensions this apparently uneven distribution of points becomes much more marked.
To begin our exploration of this phenomenon in higher dimensions we turn to Dave Richeson’s excellent account of the volumes of balls in higher dimensional spaces.
d-dimensional space consists of “points” where the are real numbers. Here are a few points in 5-dimensional space, generated randomly using Mathematica®:
The ball of radius in d-dimensional space consists of all points for which .
The surface, or boundary, of the ball of radius R in d-dimensional space is the (d-1)-dimensional sphere, consisting of all points for which .
I want to address the question: in a d-dimensional ball of radius R, what percentage of the volume of the ball is occupied by points lying within 10% of the boundary?
Fortunately the beautiful formula for the volume of a d-dimensional ball of radius R allows us to answer this question very easily: the volume of a d-dimensional ball of radius R is , where the gamma function is a generalization of the factorial function to fractional values of the variable.
From this lovely formula we can easily calculate the ratio of the volume in the outermost 10% of the d-dimensional ball of radius R to the whole volume of this ball.
The volume in the outermost 10% is .
The ratio of this to the volume of the entire ball is, after some simple algebra, .
This quantity approaches 1 very rapidly as d increases:
By the time we reach 29-dimensional space, the percentage of volume of a 29-dimensional ball occupied by the 10% of the points nearest the boundary is a whopping 95.3%.
To put it slightly differently, a 29-dimensional ball of radius 0.9, has only 4.7% of the volume of a 29-dimensional ball of radius 1.
To put it in another graphic way, if we populate a 29-dimensional ball of radius R with a bunch of uniformly distributed points – that is, each small volume elements in the ball gets approximately the same number of points – then 95.3% of the points will lie within 10% of the boundary of the ball. Doesn’t this sound counter-intuitive? If the points are uniformly distributed in the ball shouldn’t just 10% of them lie within 10% of the boundary? The key thing to observe is that uniform distribution means each very small volume element gets about the right proportion of points, and the counter-intuitive fact that most of the volume of the ball lies near the boundary in high dimensional space.
How does this look in dimensions 2 and 3 where we can see the points in a ball?
To answer this question we first have to figure out how to choose a bunch of points randomly and uniformly in a ball. Fortunately this was resolved by George Marsaglia in 1972 who showed how to choose points uniformly on a sphere in d-dimensional space. First one chooses many points where the are normally distributed, and then divides each by its length ; we then choose uniformly random numbers between 0 and R, and multiply to get points which are uniformly distributed in d-dimensional ball. This procedure is easily implemented in Mathematica, and here is the result of producing 10,000 points uniformly distributed in a 2-dimensional ball, and a 3-dimensional ball, respectively. The points within 10% of the boundary are colored red, and the other points blue:
Beginning August 2, 2010, Case Western Reserve University will host a conference “Perspectives in High Dimensions” dealing with asymptotic geometric analysis. V. D. Milman (2007) has written an overview of asymptotic geometric analysis: Asymptotic_geometric_analysis_ Milman