Papers
Topics
Authors
Recent
Search
2000 character limit reached

Regularized Random Fourier Features (RRFF)

Updated 26 December 2025
  • RRFF are advanced kernel approximations that integrate explicit regularization with data-dependent feature selection for efficient, statistically sound learning.
  • The method balances kernel regularization and feature truncation via plain or leverage-weighted sampling to reduce sample complexity and achieve minimax rates.
  • RRFF extends to operator learning and high-dimensional regimes, revealing phenomena such as implicit regularization, double descent, and stable reconstructions.

Regularized Random Fourier Features (RRFF) are a class of random feature approximations for kernel methods that incorporate explicit regularization and data-dependent feature selection to achieve sharp statistical guarantees and significant reductions in computational cost relative to classical kernel learning. RRFF systematically balances kernel regularization with random feature truncation—using the number and distribution of features, frequency-weighted penalties, and potentially empirical (leverage-score) weighting—yielding algorithms that attain minimax learning rates with dramatically fewer features, provide robust operator generalization in the presence of noise, and reveal new phenomena such as implicit regularization and double descent in high-dimensional regimes.

1. Mathematical Foundations and Problem Setup

RRFF begins with a shift-invariant positive definite kernel k(x,y)k(x, y) on X×X\mathcal{X} \times \mathcal{X}, possessing a Bochner spectral representation:

k(x,y)=Vz(v,x)z(v,y)p(v)dv,k(x, y) = \int_{\mathbb{V}} z(v, x)\,z(v, y)\,p(v)\,dv,

where pp is a probability density over V\mathbb{V}, and z(v,x)z(v, x) is typically trigonometric (e.g., z(v,x)=2cos(vTx+b)z(v, x) = \sqrt{2} \cos(v^T x + b) for bUniform[0,2π]b \sim \mathrm{Uniform}[0, 2\pi]). Observing nn i.i.d. data pairs (xi,yi)(x_i, y_i) drawn from X×X\mathcal{X} \times \mathcal{X}0 and denoting by X×X\mathcal{X} \times \mathcal{X}1 the Gram matrix, RRFF replaces X×X\mathcal{X} \times \mathcal{X}2 by a Monte Carlo average:

X×X\mathcal{X} \times \mathcal{X}3

where X×X\mathcal{X} \times \mathcal{X}4 are drawn from X×X\mathcal{X} \times \mathcal{X}5 (“plain RFF”) or a data-dependent density X×X\mathcal{X} \times \mathcal{X}6 (“weighted RFF”).

In the context of empirical risk minimization with convex loss X×X\mathcal{X} \times \mathcal{X}7 and Tikhonov regularization parameter X×X\mathcal{X} \times \mathcal{X}8, RRFF reduces infinite-dimensional kernel regression/classification to finite-dimensional linear problems:

X×X\mathcal{X} \times \mathcal{X}9

2. Risk Guarantees and Sample Complexity

Rigorous non-asymptotic risk bounds under both squared error and general Lipschitz loss have been established for RRFF (Li et al., 2018, Li, 2021). The key complexity control parameter is the effective degrees of freedom of the kernel,

k(x,y)=Vz(v,x)z(v,y)p(v)dv,k(x, y) = \int_{\mathbb{V}} z(v, x)\,z(v, y)\,p(v)\,dv,0

where k(x,y)=Vz(v,x)z(v,y)p(v)dv,k(x, y) = \int_{\mathbb{V}} z(v, x)\,z(v, y)\,p(v)\,dv,1 are the eigenvalues of k(x,y)=Vz(v,x)z(v,y)p(v)dv,k(x, y) = \int_{\mathbb{V}} z(v, x)\,z(v, y)\,p(v)\,dv,2.

For Kernel Ridge Regression (squared error loss), the risk excess of RRFF with k(x,y)=Vz(v,x)z(v,y)p(v)dv,k(x, y) = \int_{\mathbb{V}} z(v, x)\,z(v, y)\,p(v)\,dv,3 features is—under mild moment assumptions—upper bounded by:

k(x,y)=Vz(v,x)z(v,y)p(v)dv,k(x, y) = \int_{\mathbb{V}} z(v, x)\,z(v, y)\,p(v)\,dv,4

as soon as k(x,y)=Vz(v,x)z(v,y)p(v)dv,k(x, y) = \int_{\mathbb{V}} z(v, x)\,z(v, y)\,p(v)\,dv,5, where k(x,y)=Vz(v,x)z(v,y)p(v)dv,k(x, y) = \int_{\mathbb{V}} z(v, x)\,z(v, y)\,p(v)\,dv,6 depends on the sampling density (k(x,y)=Vz(v,x)z(v,y)p(v)dv,k(x, y) = \int_{\mathbb{V}} z(v, x)\,z(v, y)\,p(v)\,dv,7 for plain RFF, k(x,y)=Vz(v,x)z(v,y)p(v)dv,k(x, y) = \int_{\mathbb{V}} z(v, x)\,z(v, y)\,p(v)\,dv,8 for leverage-weighted RFF).

Refined Rates: Fast spectral decay of k(x,y)=Vz(v,x)z(v,y)p(v)dv,k(x, y) = \int_{\mathbb{V}} z(v, x)\,z(v, y)\,p(v)\,dv,9 allows replacement of pp0 with pp1, or better (Li et al., 2018).

For general convex Lipschitz losses (e.g., SVM or logistic regression), the same structure holds, but the bias term pp2 is replaced by pp3, necessitating smaller pp4 to attain minimax rates (Li, 2021).

3. Feature Selection Schemes and Leverage Weighting

Two principal feature sampling regimes are studied (Li et al., 2018, Li, 2021):

  • Plain RFF: Frequencies pp5 drawn i.i.d. from pp6; sample complexity is pp7, which (with pp8) is typically pp9.
  • Leverage-Weighted RFF: Sampling frequencies proportional to empirical ridge leverage scores

V\mathbb{V}0

normalized to V\mathbb{V}1. This reduces the required features to V\mathbb{V}2, which is often V\mathbb{V}3 or V\mathbb{V}4 in benign regimes.

Since computing leverage scores V\mathbb{V}5 exactly is computationally prohibitive, a fast two-stage approximation is used: a large pool of candidate features is sampled from V\mathbb{V}6. The V\mathbb{V}7-based expressions are replaced by their empirical RFF proxy, and a smaller subset is then sampled using these approximate leverage weights, retaining the same statistical guarantees (Li et al., 2018).

Pseudocode: Approximate Leverage-Weighted RFF

nn2

4. Extensions: Frequency-Weighted Regularization and Operator Learning

Beyond ridge regularization, RRFF incorporates frequency-weighted penalties to suppress high-frequency noise, particularly beneficial for operator learning in Sobolev or Matérn spaces (Yu et al., 19 Dec 2025). Features can be drawn from heavy-tailed distributions (e.g., Student's V\mathbb{V}8), and regularization weights may grow as a function of frequency, V\mathbb{V}9 or z(v,x)z(v, x)0.

This methodology extends to RRFF-FEM for operator learning, coupling the finite-dimensional RRFF regression with finite element reconstruction to produce stable z(v,x)z(v, x)1-regular output functions. High-probability bounds on singular values of the random feature matrix guarantee well-conditioning and generalization once z(v,x)z(v, x)2, with robustness to noise in practical PDE benchmarks (Yu et al., 19 Dec 2025).

5. Implicit Regularization and High-Dimensional Phenomena

RRFF with a finite number of features introduces implicit regularization beyond the explicit ridge penalty. In the Gaussian RFF model, for z(v,x)z(v, x)3 features and regularization z(v,x)z(v, x)4, the average RF predictor matches a KRR predictor with effective ridge z(v,x)z(v, x)5, determined as the solution to

z(v,x)z(v, x)6

The gap z(v,x)z(v, x)7 vanishes as z(v,x)z(v, x)8 but accounts for most of the finite-sample bias/variance trade-off (Jacot et al., 2020).

In the double-asymptotic regime (large z(v,x)z(v, x)9), phase transitions and double descent emerge. At the interpolation threshold (z(v,x)=2cos(vTx+b)z(v, x) = \sqrt{2} \cos(v^T x + b)0), test error exhibits a singularity in the ridgeless regime (z(v,x)=2cos(vTx+b)z(v, x) = \sqrt{2} \cos(v^T x + b)1). For z(v,x)=2cos(vTx+b)z(v, x) = \sqrt{2} \cos(v^T x + b)2 (under-parameterized), train/test errors increase with decreasing z(v,x)=2cos(vTx+b)z(v, x) = \sqrt{2} \cos(v^T x + b)3; for z(v,x)=2cos(vTx+b)z(v, x) = \sqrt{2} \cos(v^T x + b)4 (over-parameterized), errors descend again, with best results in the mildly over-parameterized regime (Liao et al., 2020).

6. Computational Complexity and Practical Performance

RRFF reduces computational bottlenecks from z(v,x)=2cos(vTx+b)z(v, x) = \sqrt{2} \cos(v^T x + b)5 time and z(v,x)=2cos(vTx+b)z(v, x) = \sqrt{2} \cos(v^T x + b)6 memory (full kernel methods) to z(v,x)=2cos(vTx+b)z(v, x) = \sqrt{2} \cos(v^T x + b)7 time and z(v,x)=2cos(vTx+b)z(v, x) = \sqrt{2} \cos(v^T x + b)8 memory, where z(v,x)=2cos(vTx+b)z(v, x) = \sqrt{2} \cos(v^T x + b)9 is typically bUniform[0,2π]b \sim \mathrm{Uniform}[0, 2\pi]0 or smaller with leverage-weighting (Li et al., 2018, Li, 2021). Operator learning benchmarks confirm reductions in both error and run time relative to unregularized RFF, with RRFF-FEM producing smoother, more stable reconstructions with lower error in noisy settings (Yu et al., 19 Dec 2025).

In classification settings with Lipschitz loss, plain RRFF achieves minimax bUniform[0,2π]b \sim \mathrm{Uniform}[0, 2\pi]1 risk with bUniform[0,2π]b \sim \mathrm{Uniform}[0, 2\pi]2 features and fast bUniform[0,2π]b \sim \mathrm{Uniform}[0, 2\pi]3 rates under low-noise, while leverage-weighted RRFF can achieve near-linear scaling in benign regimes (Li, 2021).

7. Summary and Typical Parameter Choices

RRFF unites kernel regularization and random feature approximation. Selecting

bUniform[0,2π]b \sim \mathrm{Uniform}[0, 2\pi]4

features suffices to match the statistical performance of full-kernel methods, and leverage weighting further reduces bUniform[0,2π]b \sim \mathrm{Uniform}[0, 2\pi]5 by directly targeting the effective degrees of freedom. Frequency weighting and operator reconstruction via finite elements enable robust, scalable learning of function-to-function maps with stability in high-noise and high-dimensional regimes.

Feature Selection Sample Complexity Computational Cost
Plain RFF bUniform[0,2π]b \sim \mathrm{Uniform}[0, 2\pi]6 bUniform[0,2π]b \sim \mathrm{Uniform}[0, 2\pi]7
Leverage-Weighted RFF bUniform[0,2π]b \sim \mathrm{Uniform}[0, 2\pi]8 bUniform[0,2π]b \sim \mathrm{Uniform}[0, 2\pi]9
RRFF-FEM (operator learn.) nn0 nn1 (FE solve)

RRFF methods have established theoretical risk guarantees, efficient algorithms for approximating leverage scores, phase-aware regularization effects, and demonstrated empirical superiority in regression, classification, and operator learning across a broad range of settings (Li et al., 2018, Li, 2021, Jacot et al., 2020, Yu et al., 19 Dec 2025, Liao et al., 2020).

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Regularized Random Fourier Feature (RRFF).