Exercise: Why Halton fails in high dimensions — projection pathology
The Halton sequence uses prime bases: The -th coordinate of point is , the radical inverse of in base .
High-dimensional Halton is known to have correlated projections: for large primes , plotting the -projection of the first points shows systematic line patterns.
Tasks
-
Generate the first points of the 30-dimensional Halton sequence. Plot the 2D projections (dimensions 1 and 2, bases ) and (dimensions 29 and 30, bases ).
-
Describe the visual pattern in each projection. Why are the two so different?
-
Compute the 2-dimensional star-discrepancy of each projection numerically using a Monte Carlo approximation (sample many test boxes, take the max deviation). Compare.
-
Explain the mathematical reason: for consecutive integers and , (modulo "carry" effects), so when are both large, consecutive Halton points are close in both coordinates, tracing parallel lines.
-
Leaped Halton — one fix — takes every -th point for well-chosen . Explain how leaping disrupts the projection pathology and why Sobol sequences avoid the problem structurally.
Hint
For the simulation, implement
phi_p(n, p) by writing in base and reversing digits after the radix point.