Abstract: Probability measures on the sphere form an important class of statistical models and are used, for example, in modeling directional data or shapes. Due to their widespread use, but also as an algorithmic building block, efficient sampling of distributions on the sphere is highly desirable. We propose a shrinkage based and an idealized geodesic slice sampling Markov chain, designed to generate approximate samples from distributions on the sphere. In particular, the shrinkage-based version of the algorithm can be implemented such that it runs efficiently and has no tuning parameters. We verify reversibility and prove that under weak regularity conditions geodesic slice sampling is uniformly ergodic. Numerical experiments show that the proposed slice samplers achieve excellent mixing on challenging targets including distributions arising in rigid-registration problems and mixtures of von Mises-Fisher distributions. In these settings our approach outperforms standard samplers such as random-walk Metropolis-Hastings and Hamiltonian Monte Carlo.
Introduction
Sampling from probability distributions on a sphere is a fundamental task in fields ranging from structural biology (protein folding) to computer vision (3D object alignment). While standard tools like Hamiltonian Monte Carlo (HMC) exist, they often require tedious manual tuning and struggle with multimodal "spiky" distributions.
The Challenge of Spherical Sampling
Sampling on manifolds—surfaces like the sphere—is inherently harder than sampling in flat Euclidean space. Standard Random Walk Metropolis-Hastings (RWMH) is often too slow because it takes tiny, diffusive steps. HMC is more efficient but requires calculating gradients and carefully tuning step sizes and integration lengths. If a distribution has multiple isolated peaks (modes), both methods tend to get "trapped" in one peak, failing to explore the entire landscape.
Slice sampling is a popular "automatic" alternative in flat space that adapts to the local scale of the density. The challenge addressed here is generalizing slice sampling to the curved geometry of a sphere without losing its efficiency or theoretical guarantees.
Geodesic Slice Sampling (geoSSS)
The authors propose Geodesic Slice Sampling (geoSSS), a new class of MCMC algorithms designed specifically for the sphere. By moving along "great circles" (geodesics) and using a slice sampling approach, the algorithm creates a robust, tuning-parameter-free sampler that excels at exploring complex distributions.
The paper details two versions:
- Ideal Geodesic Slice Sampler: From the current point, it picks a random great circle and a vertical "slice" level $t$ below the current density value. It then samples the next point uniformly from the parts of that great circle where the density is higher than $t$.
- Geodesic Shrinkage Slice Sampler: Since finding the exact "higher than $t$" regions can be hard, this version uses a shrinkage procedure. It starts with the whole circle and iteratively narrows the search interval whenever a proposed point is rejected.
Key Insights and Results
- Geometry as a Guide: By restricting moves to 1D geodesics, the complex $d$-dimensional sampling problem is reduced to a series of 1D problems, leveraging the sphere's inherent symmetry.
- Tuning-Free Robustness: Unlike HMC, the shrinkage version of geoSSS "finds" the right scale automatically, making it a "plug-and-play" tool.
- Mode Jumping: Because a great circle can pass through multiple peaks, geoSSS can "jump" between modes in a single step—a feat RWMH and HMC rarely achieve.
- Performance: In protein registration tasks and 10D vMF mixture tests, geoSSS significantly outperformed RWMH and HMC in terms of mixing speed and the ability to find all modes of the distribution.
Conclusion
Geodesic Slice Sampling offers a powerful alternative for researchers working with directional data. While HMC may still be preferable in extremely high dimensions where gradients are highly informative, geoSSS provides a robust, efficient, and tuning-free solution for a wide range of spherical sampling problems.
Summary updated