Randomized Quasi-Monte Carlo Features for Kernel Approximation

Yian Huang, Zhen HuangarXiv 2025 · DOI

Introduction

Kernel methods, such as Support Vector Machines and Gaussian Processes, are fundamental tools in non-parametric machine learning. Despite their expressive power, they face a significant "computational wall" due to their $O(n^3)$ scaling with respect to the number of data points $n$. To mitigate this, practitioners often turn to Random Features (RF) to approximate the kernel function, effectively transforming the problem into a linear one.

The standard approach for generating these features relies on Monte Carlo (MC) sampling. While easy to implement, MC converges at a relatively slow rate of $O_P(1/\sqrt{M})$, where $M$ is the number of features. Deterministic Quasi-Monte Carlo (QMC) sequences offer a theoretically superior rate of $O(1/M)$, but they are notoriously fragile in high-dimensional spaces, often underperforming compared to simple random sampling when the dimension $d$ exceeds 10. This work explores Randomized Quasi-Monte Carlo (RQMC) as a robust middle ground that captures the efficiency of QMC without its high-dimensional drawbacks.

The RQMC Approach

The authors propose the use of Randomized Quasi-Monte Carlo features, specifically focusing on scrambled digital nets such as scrambled Sobol' sequences. RQMC combines the benefits of low-discrepancy sequences with a randomization scheme—such as Owen’s digital scrambling or Cranley-Patterson rotation.

This hybridization provides three critical advantages:

  1. Unbiasedness: Unlike deterministic QMC, the RQMC estimator is unbiased, ensuring that the expected value of the approximation matches the true kernel.
  2. Variance Estimation: The inherent randomness allows for empirical variance calculation, providing a practical way to assess approximation quality.
  3. Enhanced Convergence: The authors establish new theoretical bounds, demonstrating that RQMC can achieve near $O(1/M)$ convergence rates while maintaining stability.

Theoretical Contributions to Kernel Ridge Regression

A key contribution of this research is the application of RQMC to Kernel Ridge Regression (KRR). The authors prove that RQMC significantly reduces the number of features required to achieve optimal statistical accuracy. Specifically, for a smoothness parameter $r$, RQMC requires approximately $M \approx n^{1/(2r+1)}$ features, whereas standard MC requires $M \approx n^{2r/(2r+1)}$. This reduction translates to substantial savings in both memory and computation time without sacrificing the model's predictive power.

Empirical Validation and the "Safety Net" Effect

Through extensive simulations using Gaussian kernels across dimensions up to $d=50$, the authors demonstrate the practical superiority of RQMC. The most significant finding is the "safety net" behavior of the method:

  • Low Dimensions: RQMC matches the high-efficiency $O(1/M)$ performance of QMC.
  • High Dimensions: Where QMC often fails—sometimes producing errors 5-10x higher than MC—RQMC gracefully degrades. It consistently performs as well as, or slightly better than, the standard MC baseline, even as the dimensionality increases.

The study utilized the scrambled Sobol' sequence implementation from Python’s SciPy library, showing that these benefits are accessible using standard computational tools.

Conclusion and Future Work

RQMC features represent a significant step forward in scaling kernel methods. By providing a faster convergence rate than MC and greater robustness than QMC, they offer a "best of both worlds" solution for high-dimensional kernel approximation.

While the results are promising for shift-invariant kernels like Gaussian and Cauchy kernels, future research is needed to extend these theoretical guarantees to non-stationary or more exotic kernel types. Additionally, testing these methods on large-scale real-world datasets remains an important next step to confirm their utility in production-level machine learning pipelines.

Summary updated

BibTeX
@misc{huang2025randomized,
  author = {Yian Huang and Zhen Huang},
  title = {{Randomized Quasi-Monte Carlo Features for Kernel Approximation}},
  year = {2025},
  eprint = {2503.06041},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2503.06041},
}
Figure