Volume outruns any sample you can collect
- : how many samples you want per axis.
- : the number of dimensions.
Ten samples along each axis is 100 points in two dimensions, a million in six, and in twenty.
Put it the other way: to capture 10 percent of the volume of a 10-dimensional unit cube, an edge must be of the full range.
A neighbourhood that holds a tenth of the data is therefore 80 percent as wide as the whole space, which makes the word local meaningless.
Distances stop distinguishing anything
As dimensions grow, the distance from a query to its nearest point and to its furthest point converge on each other.
Every pair of random points ends up at nearly the same distance, because each of the coordinates adds its own variance to the sum and the total concentrates.
This is why k-NN, k-means, DBSCAN and anything else built on a distance degrade in high dimensions. The ranking they depend on becomes noise.
Where the volume actually sits
In 100 dimensions, 99 percent of a ball's volume lies within the outer 5 percent of its radius.
The ball inscribed in a cube takes almost none of the cube's volume once is large, so nearly every point of the cube is in a corner.
Intuition built in two and three dimensions is not merely imprecise here. It is the opposite of what happens.
What saves it in practice
Real data almost never fills its space. Images of faces, sentences and sensor readings lie on a much lower dimensional surface inside the high dimensional box.
The manifold hypothesis is the reason machine learning works on 150,000-dimensional images at all, and it is an assumption about the data rather than a theorem.
Where it fails, no amount of data helps, and the only fix is fewer dimensions.
One high dimensional problem, in order
- Count the features and compare that with the number of rows.
- Remove features that are constant, duplicated or unrelated to the target.
- Project the rest down with PCA or a learned embedding, keeping enough components to hold the variance.
- Prefer models that regularise hard or split on single features, since trees and linear models suffer far less than distance-based ones.
- Re-measure, because a lower dimensional representation that scores worse was the wrong projection, not proof that the dimensions were needed.