Subgroup-based Rank-1 Lattice Quasi-Monte Carlo

Yueming Lyu, Yuan Yuan, Ivor W. Tsang

Overview

This paper introduces a breakthrough in Quasi-Monte Carlo (QMC) methods by providing a closed-form mathematical formula to construct rank-1 lattices. By leveraging group theory, the authors eliminate the need for time-consuming exhaustive computer searches, achieving up to a $10^5\times$ speedup in lattice construction while maintaining near-optimal integration accuracy.

The Problem: Monte Carlo vs. Quasi-Monte Carlo

In fields like Bayesian inference and machine learning, calculating complex integrals without simple analytical solutions is a common challenge. Monte Carlo (MC) sampling is the standard tool, but it is often slow to converge because it relies on purely random points that tend to "clump" together, leaving large gaps in the sampling space.

Quasi-Monte Carlo (QMC) improves upon this by using "low-discrepancy" point sets that are more evenly spread out. Rank-1 lattices are a popular type of QMC due to their simplicity—a single "generating vector" creates the entire set. However, finding a good generating vector has historically required a brute-force or greedy computer search (such as the Korobov search). As the number of points ($n$) or dimensions ($d$) grows, these searches become computationally prohibitive.

Comparison of point distributions: (a) Monte Carlo shows clumping, (b) Sobol is more uniform, and (c) the proposed subgroup rank-1 lattice achieves highly regular spacing.

Methodology: Subgroup-based Construction

The authors propose a subgroup-based construction method. Instead of searching for an optimal vector empirically, they calculate it directly using concepts from group theory.

  1. The Subgroup Idea: The core discovery is that if the elements of the generating vector form a subgroup of the multiplicative group of integers modulo $n$, the resulting lattice has fewer distinct pairwise distances. This mathematical symmetry forces the lattice to be highly "regular" and evenly spaced.
  2. Closed-Form Formula: The paper provides a simple algebraic recipe: find a primitive root $g$ of a prime number $n$, and use powers of $g$ to populate the generating vector.
  3. Theoretical Bounds: The authors prove theoretical upper and lower bounds for the "minimum toroidal distance" (a metric for how well-separated the points are). They demonstrate that when $n = 2d + 1$, their method produces a theoretically optimal lattice.

Key Insights

  • Regularity via Group Theory: The most significant insight is that mathematical symmetry (subgroups) directly translates to geometric regularity (even spacing). By forcing the points to follow a subgroup structure, a "good" lattice is generated automatically without evaluating every possibility.
  • Search is Unnecessary: For many practical applications, the "near-optimal" lattice generated by this closed-form solution performs just as well as—or better than—the "optimal" lattice found via exhaustive search.
  • Toroidal Distance as a Proxy: Maximizing the minimum toroidal distance ensures that no two points are too close together. This geometric perspective is key to reducing approximation error in QMC.

Experimental Results

The authors evaluated their method across several benchmarks, including synthetic integration, kernel approximation (using DNA and SIFT1M datasets), and graphical models (Continuous Boltzmann Machines).

  • Massive Speedup: The proposed method constructs lattices in less than a second, whereas the traditional Korobov search can take hours. This represents a $10,000\times$ to $100,000\times$ speedup in the setup phase.
  • Superior Accuracy: In high-dimensional integration tests (up to 1000 dimensions), the subgroup lattice consistently achieved lower mean approximation errors than standard Monte Carlo, Sobol sequences, and other existing lattice rules.
  • Kernel and Inference Performance: On the DNA dataset, the method showed significantly lower reconstruction errors for Gaussian and Arc-cosine kernels compared to random sampling. For Boltzmann machines, it outperformed MCMC methods like Slice Sampling and Hamiltonian Monte Carlo in both accuracy and computational cost.
Approximation error across 50 to 1000 dimensions. The proposed subgroup method (red) consistently achieves lower error compared to standard MC and other QMC methods.

Limitations and Future Work

  • Prime Constraints: The current construction requires $n$ to be a prime number and $2d$ to divide $n-1$. While this is generally easy to satisfy by picking an appropriate $n$, it limits the flexibility of choosing an exact, arbitrary number of points.
  • Adaptive Sampling: If the "interesting" part of an integral is concentrated in a tiny region of the space, a static lattice might still be less efficient than Adaptive Importance Sampling.
  • Future Directions: The authors suggest combining their fast lattice construction with adaptive techniques—using the lattice to find high-mass regions and then refining the search locally. They also note potential extensions for generating QMC points on a sphere, which has promising applications in generative modeling.

Summary updated

BibTeX
@inproceedings{lyu2020subgroup,
  author = {Yueming Lyu and Yuan Yuan and Ivor W. Tsang},
  title = {{Subgroup-based Rank-1 Lattice Quasi-Monte Carlo}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2020},
  url = {https://openreview.net/forum?id=IfNrqdR70Kc},
}
Figure