Lune

ICLR2023Top-tier venue

On The Relative Error of Random Fourier Features for Preserving Kernel Distance

Kuan Cheng, Shaofeng H.-C. Jiang, Luojian Wei, Zhide Wei

Abstract

The method of random Fourier features (RFF), proposed in a seminal paper by Rahimi and Recht (NIPS'07), is a powerful technique to find approximate low-dimensional representations of points in (high-dimensional) kernel space, for shift-invariant kernels. While RFF has been analyzed under various notions of error guarantee, the ability to preserve the kernel distance with relative error is less understood. We show that for a significant range of kernels, including the well-known Laplacian kernels, RFF cannot approximate the kernel distance with small relative error using low dimensions. We complement this by showing as long as the shift-invariant kernel is analytic, RFF with poly(ε−1log⁡n)\mathrm{poly}(ε^{-1} \log n) dimensions achieves εε-relative error for pairwise kernel distance of nn points, and the dimension bound is improved to poly(ε−1log⁡k)\mathrm{poly}(ε^{-1}\log k) for the specific application of kernel kk-means. Finally, going beyond RFF, we make the first step towards data-oblivious dimension-reduction for general shift-invariant kernels, and we obtain a similar poly(ε−1log⁡n)\mathrm{poly}(ε^{-1} \log n) dimension bound for Laplacian kernels. We also validate the dimension-error tradeoff of our methods on simulated datasets, and they demonstrate superior performance compared with other popular methods including random-projection and Nyström methods.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

3 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Fourier Sparse Leverage Scores and Approximate Kernel Learning cites Oblivious Sketching of High-Degree Polynomial Kernels
  • Fourier Sparse Leverage Scores and Approximate Kernel Learning cites Random Fourier Features via Fast Surrogate Leverage Weighted Sampling
  • Deterministic Sparse Fourier Transform for Continuous Signals with Frequency Gap cites Oblivious Sketching of High-Degree Polynomial Kernels
  • Deterministic Sparse Fourier Transform for Continuous Signals with Frequency Gap cites Fast Sketching of Polynomial Kernels of Polynomial Degree
  • Fast Sketching of Polynomial Kernels of Polynomial Degree cites Oblivious Sketching of High-Degree Polynomial Kernels
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers3

  1. Fast Summation of Radial Kernels via QMC SlicingJohannes Hertrich, Tim Jahn, Michael QuellmalzICLR 2025
  2. Deterministic Sparse Fourier Transform for Continuous Signals with Frequency GapXiaoyu Li, Zhao Song, Shenghao XieICML 2025
  3. Enhancing Kernel Power KK-means: Scalable and Robust Clustering with Random Fourier Features and Possibilistic MethodYixi Chen, Weixuan Liang, Tianrui Liu, Jun-Jie Huang et al.AAAI 2026

Builds on6

  1. A random matrix analysis of random Fourier features: beyond the Gaussian kernel, a precise phase transition, and the corresponding double descentZhenyu Liao, Romain Couillet, Michael W. MahoneyNeurIPS 2020 · 102 citations
  2. Fast Sketching of Polynomial Kernels of Polynomial DegreeZhao Song, David P. Woodruff, Zheng Yu, Lichen ZhangICML 2021 · 48 citations
  3. Oblivious Sketching of High-Degree Polynomial KernelsThomas D. Ahle, Michael Kapralov, Jakob Bæk Tejs Knudsen, Rasmus Pagh et al.SODA 2020 · 42 citations
  4. Fourier Sparse Leverage Scores and Approximate Kernel LearningTamás Erdélyi, Cameron Musco, Christopher MuscoNeurIPS 2020 · 28 citations
  5. Random Fourier Features via Fast Surrogate Leverage Weighted SamplingFanghui Liu, Xiaolin Huang, Yudong Chen, Jie Yang et al.AAAI 2020 · 21 citations

Related papers

  1. TRF: Learning Kernels with Tuned Random FeaturesAlistair Shilton, Sunil Gupta, Santu Rana, Arun Kumar Anjanapura Venkatesh et al.AAAI 2022
  2. On the Size and Approximation Error of Distilled DatasetsAlaa Maalouf, Murad Tukan, Noel Loo, Ramin M. Hasani et al.NeurIPS 2023 · 2 citations
  3. Quantization Algorithms for Random Fourier FeaturesXiaoyun Li, Ping LiICML 2021 · 15 citations
  4. Taming graph kernels with random featuresKrzysztof Marcin ChoromanskiICML 2023 · 21 citations
  5. Generalization Guarantees for Sparse Kernel Approximation with Entropic Optimal FeaturesLiang Ding, Rui Tuo, Shahin ShahrampourICML 2020 · 7 citations
Dusk over the sea between two cliffs drawn in fine vertical lines