Consider a -dimensional unit-radius hypersphere inscribed inside the hypercube . Using the hypersphere volume (where for an integer ), what fraction of the hypercube's volume does the sphere occupy for , and , and what does this imply about uniformly sampled points in high dimensions?
Foundations, Curse of dimensionality
Level L3 Intermediate. Length Medium. Nature Mat Mathematical.
What's being asked
Whether you can compute high-dimensional volume ratios and explain why volume concentrates in the corners of a hypercube.
Key idea
The hypercube has edge length and volume , while the inscribed unit sphere has volume for even , so their ratio shrinks rapidly toward zero as grows and almost all uniform points land in the corners outside the sphere.
Steps
- Write the volume ratio for radius : the hypercube has edge length and volume , so the ratio is For even , .
- Evaluate at : ().
- Evaluate at : ().
- Evaluate at : ().
- Interpret: in dimensions, over of the hypercube's volume sits in the spiky corners at distance from the centre (the corner lies at Euclidean distance ). Uniform sampling therefore leaves the interior empty and puts nearly all points far from the origin.
Common mistakes
- Using cube volume (unit hypercube ) instead of for when inscribing a sphere of radius (diameter ).
- Mistaking for instead of .
How long your answer should be
3–4 minutes: the ratio formula, the three numbers, and two sentences on corner concentration.
Read this
Previous in Foundations: Why is the predictor that minimises the expected squared loss the conditional mean , and why is the classifier that minimises the expected 0-1 loss ?
Next in Foundations: In positive-unlabelled (PU) learning, every labelled example is positive (), and each true positive is labelled independently of its features with constant probability . How do you express the true posterior in terms of the observed-label posterior and , and how can be estimated from a held-out set of labelled positives?