Billiard Walk (BW) Algorithm
- Billiard Walk (BW) is an MCMC sampler that generates uniform samples in bounded, open, convex sets using billiard-style trajectories with specular reflections.
- It combines random direction sampling, exponentially distributed free-flight lengths, and deterministic reflection dynamics to improve mixing and efficiency over traditional methods like Hit-and-Run.
- Empirical studies show that BW reduces reflection counts and autocorrelation in high-dimensional and geometrically complex domains, highlighting its potential for efficient uniform sampling.
The Billiard Walk (BW) algorithm is a Markov chain Monte Carlo (MCMC) sampler for generating uniformly distributed samples from a bounded, open, connected, convex domain with piecewise-smooth boundary. Distinguished by its use of billiard-style trajectories with specular reflections, BW aims to accelerate mixing—particularly in high-dimensional or geometrically challenging settings—relative to classical algorithms such as Hit-and-Run. The method’s core innovation lies in combining independent random directions, exponentially distributed free-flight lengths, and deterministic reflection dynamics to traverse the sample space efficiently while maintaining uniformity and ergodicity of the stationary law (Gryazina et al., 2012).
1. Mathematical Formulation
Let be a bounded, open, connected, convex set with piecewise-smooth boundary . The sampling target is the uniform measure on with density
BW operates as follows:
- Direction sampling: From the current state , draw direction . Typically, where .
- Random trajectory length: Draw , set for , so has density for .
- Billiard trajectory with reflections: Starting from in direction , move at unit speed until either (a) distance is exhausted, or (b) is hit. On collision at with inward normal , if remaining length allows, the direction is updated via the reflection law:
and the trajectory continues. The walk terminates when the total distance is achieved; the endpoint becomes .
- Safeguards: If more than reflections are incurred before exhausting or a nonsmooth corner is encountered, the step is rejected and restarted with a new direction.
2. Algorithmic Specification
The BW algorithm admits the following pseudocode structure:
The transition law in each step is symmetric and reversible, essential for guaranteeing convergence to the uniform distribution.
3. Stationarity and Mixing-Time Analysis
The algorithm’s design ensures that the uniform law is the unique stationary distribution. The essential properties enabling this are:
- Symmetry: Each step’s direction is sampled uniformly from .
- Reversibility: The billiard dynamics, including the reflection law, are time-reversible.
- Positivity: The one-step transition density for all .
Thus, as , the chain’s distribution converges in total variation to [(Gryazina et al., 2012), Theorem 1].
Mixing-time bounds are benchmarked against Hit-and-Run (HR), for which it is known that if has inradius and outradius , then the mixing time obeys
For BW, no explicit polynomial bound is established, but a plausible conjecture, reflecting the efficiency of ballistic segments, is
This suggests potential for improved scaling in dimension and path efficiency, though rigorous proofs are pending.
4. Empirical Performance and Comparisons
Numerical experiments systematically compare BW and HR under a fixed “boundary-oracle” (BO) call budget, which counts line– intersection queries:
- Plane angle : BW guarantees exit after at most reflections with probability $1$; HR’s exit probability after steps is . Empirically, BW averages reflections vs HR’s steps.
- Nonnegative orthant : BW exits in at most reflections, while HR requires approximately steps to exit with constant probability.
- Strip domain : BW moves along about six times faster per BO call than HR.
- Unit cube : For under equal BO budgets, BW yields markedly lower serial correlation and passes fit tests more frequently.
- High-dimensional simplex and toroid: In cases such as simplex and toroid, empirical CDFs and 2D projections show that BW samples adhere much more closely to the uniform law.
The ballistic movement with reflection enhances exploration in domains with narrow passages or sharp corners, areas where HR shows slow progress.
5. Assumptions, Parameterization, and Limitations
BW requires that be open, bounded, connected, and possess a piecewise-smooth boundary so that normals are defined almost everywhere. The algorithm assumes:
- Well-defined tangent planes at collision points for the reflection law (nonsmooth, “cornery” points have measure zero or trigger rejection and restart).
- Trajectory parameter chosen , interpolating between local walk behavior for and excessive reflection for .
- Reflection limit is suggested to prevent rare, pathological infinite-bounce situations.
- No explicit spectral or conductance bounds yet exist for BW; derivation of polynomial mixing-time bounds remains open.
A summary is given in the table below:
| Assumption / Parameter | Required Value | Practical Guidance |
|---|---|---|
| Open, bounded, connected, piecewise-smooth boundary | ||
| Reflection law | Well-defined normal at collision | Corners handled by rejection |
| Interpolates locality vs. globality | ||
| Prevents infinite reflection loops |
6. Applications and Practical Considerations
BW’s most pronounced advantages appear in high-dimensional, sharply bounded, or geometrically intricate sets—domains where rapid movement along straight-line segments and exploitation of reflections yields superior mixing and lower autocorrelation relative to classical HR. Areas with sharp “corners” or thin “tunnels” see especially notable improvements, as confirmed by empirical studies. The uniform ergodicity and reversibility properties ensure robust integration with established MCMC and convex analysis frameworks. A plausible implication is that, subject to theoretical refinements, the algorithm could set a new benchmark for high-dimensional random sampling, once rigorous mixing-time bounds are established (Gryazina et al., 2012).