NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

On the design of scalable, high-precision spherical-radial Fourier features

Ayoub Belhadji, Qianyu Julie Zhu, Youssef M. MarzoukarXiv 2024 · DOI

Abstract

Approximating the squared exponential kernel is a fundamental challenge in scaling kernel-based machine learning. Standard Random Fourier Features (RFF) rely on Monte Carlo sampling, which often requires a prohibitive number of features for high-precision tasks. Researchers from MIT propose a novel "spherical-radial" (SR) approach that decomposes the kernel integral into radial and spherical components. By employing generalized Laguerre quadrature and orthogonal Monte Carlo sampling, the method achieves significantly higher precision and better scalability than traditional RFF, particularly in high-dimensional spaces.

Introduction

Kernel methods are renowned for their expressive power in pattern recognition but are limited by the $O(N^2)$ or $O(N^3)$ complexity of handling the kernel matrix. Random Fourier Features (RFF) address this by approximating the kernel as a dot product of random features, effectively linearizing the problem. However, the inherent noise in vanilla Monte Carlo sampling necessitates a large number of features for accuracy. While Gaussian quadrature offers a high-precision alternative, it typically fails in high dimensions due to the "curse of dimensionality." This paper introduces a structured quadrature rule designed to be both high-precision and scalable.

The Spherical-Radial Approach

The core innovation lies in exploiting the isotropy of the Gaussian distribution. The authors decompose the kernel's integral representation into two distinct parts:

  1. Radial Component: Determining the distance from the origin using Generalized Laguerre Quadrature. This is more efficient than random guessing as it uses optimal distances derived from orthogonal polynomials.
  2. Spherical Component: Determining the direction using Orthogonal Monte Carlo (SR-OMC). Instead of random directions, the method uses sets of orthogonal vectors to ensure directions are spread more evenly.
Radial analysis on Powerplant across different bandwidths.

As shown in the radial analysis on the Powerplant dataset ($d=4$), the kernel bandwidth ($\sigma$) significantly influences the error trade-off. While increasing the number of radial nodes ($M_R$) is crucial for reducing error in lower dimensions, the authors observed a "high-dimension paradox" where the Gaussian measure concentrates on a thin shell, often requiring only a single radial node ($M_R=1$) in very high-dimensional spaces.

Key Insights

  • Orthogonality and Precision: Enforcing orthogonality in spherical nodes drastically reduces approximation error compared to standard Monte Carlo, even with a small number of features.
  • Optimal Weighting: By applying "Optimal Kernel Quadrature" (OKQ) to fine-tune feature weights, the authors achieve exponential convergence in certain settings, far surpassing the $1/\sqrt{M}$ rate of standard RFF.
  • Bandwidth Sensitivity: The parameter $\sigma$ is critical; it dictates the balance between radial and spherical approximation errors and must be considered during feature design.

Performance Evaluation

The proposed methods were tested on datasets ranging from low-dimensional (Powerplant, $d=4$) to high-dimensional (MNIST, $d=784$).

Comparison of kernel approximation methods on the Powerplant dataset.

On the Powerplant dataset, the SR-OKQ-SOMC variant achieved relative errors several orders of magnitude lower than standard RFF for the same feature count. In practical downstream tasks like Support Vector Regression (SVR) and Classification (SVC), these features reached peak accuracy much faster—often requiring only half the features of other state-of-the-art techniques.

Conclusion

The spherical-radial framework provides a robust path toward high-precision kernel approximation. By replacing random noise with structured orthogonality and quadrature, the authors demonstrate that it is possible to maintain scalability without sacrificing accuracy. Future work aims to extend these principles to other shift-invariant kernels, such as the Matern family, and to further refine weight optimization stability.

Summary updated

BibTeX
@misc{belhadji2024design,
  author = {Ayoub Belhadji and Qianyu Julie Zhu and Youssef M. Marzouk},
  title = {{On the design of scalable, high-precision spherical-radial Fourier features}},
  year = {2024},
  eprint = {2408.13231},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2408.13231},
}
Figure