Deterministic Quadrature Fourier Features
- Deterministic Quadrature Fourier Features (DQFF) are explicit feature mappings that deterministically approximate shift-invariant kernels using polynomially exact quadrature rules.
- They replace Monte Carlo Random Fourier Features with deterministic nodes and weights, achieving exponential error reduction and zero sampling variance.
- DQFF enable efficient kernel approximations in high-dimensional applications such as adaptive filtering, Gaussian process regression, and deep learning.
Deterministic Quadrature Fourier Features (DQFF) are a class of explicit feature mappings for approximating shift-invariant kernels in machine learning and signal processing. DQFF replace the stochastic Monte Carlo sampling of Random Fourier Features (RFF) with deterministic, polynomially-exact quadrature rules in the frequency domain, yielding exponential improvements in approximation error, zero sampling variance, and positive-definiteness guarantees. DQFF have been developed and analyzed in the context of scalable kernel machines, adaptive filtering, Gaussian process regression, and kernel-based deep learning across a wide range of problem domains (Li et al., 2019, Dao et al., 2017, Angelis et al., 2020, Belhadji et al., 2024, Liu et al., 2020, Li et al., 2023, Wesel et al., 2021).
1. Theoretical Foundations: Fourier Representations and Quadrature
A shift-invariant, continuous, positive-definite kernel on admits a Fourier-domain representation by Bochner's theorem: where is the spectral density associated with . For real-valued kernels (including the Gaussian RBF), this is equivalently
with often factorizing across coordinates.
RFF approximate this integral via Monte Carlo draws . DQFF, in contrast, construct a set of deterministic quadrature nodes and weights 0 such that the approximation is polynomially exact up to a degree 1, i.e.,
2
where 3 is a multi-index. For the Gaussian RBF kernel, 4 is also Gaussian, so classical rules such as Gauss–Hermite or their sparse-grid analogues are applicable (Li et al., 2019, Dao et al., 2017, Liu et al., 2020).
2. Deterministic Quadrature Feature Construction
Given quadrature nodes and weights, DQFF define explicit mappings: 5 such that the dot product 6 deterministically approximates the kernel: 7 Complex-valued forms are equivalent but less standard in practical implementations (Li et al., 2019, Dao et al., 2017, Angelis et al., 2020).
For product kernels (8 factorized), high-dimensional quadrature is constructed via tensor products of univariate rules or via sparse Smolyak grids. For isotropic kernels in high dimensions, recent approaches employ spherical–radial decompositions and quadrature rules tailored to the geometry of the measure (Belhadji et al., 2024).
3. Approximation Guarantees, Positive Definiteness, and Variance
The deterministic quadrature ensures that 9 defines a positive-definite kernel, since each weighted trigonometric component is a positive-definite function and nonnegative weighted sums preserve this property (Li et al., 2019). DQFF induce a new finite-dimensional RKHS.
The approximation error is controlled by the degree of exactness 0 and the feature count 1. For sub-Gaussian kernels over a domain of diameter 2, the uniform error is
3
where 4 is the sub-Gaussian scale. To reach error 5, DQFF require 6 (for any 7), an exponential improvement over the 8 scaling of RFF (Li et al., 2019, Dao et al., 2017, Angelis et al., 2020).
DQFF incur zero sampling variance—unlike RFF, whose empirical kernel approximations fluctuate and only converge in expectation at a slow 9 or 0 rate (Li et al., 2019, Dao et al., 2017).
4. Computational Complexity and Practical Implementation
DQFF decouple into an offline precomputation phase and an online evaluation phase. Precomputing multidimensional quadrature nodes and weights typically costs 1 for sparse-grid or 2 for least-squares weight fitting; the same nodes/weights are reused for all data (Li et al., 2019, Dao et al., 2017, Liu et al., 2020). Feature evaluation for a single input vector is 3: each 4 (inner product), 5 trigonometric evaluations, and 6 scalar multiplications.
Random Fourier features cost 7 per evaluation but additionally incur runtime random sampling or the need to cache randomly drawn 8.
For tensor-product quadrature in 9 dimensions, the feature count grows as 0 (with 1 points per dimension). Methods such as sparse grids, spherical–radial factorization, or low-rank tensor decomposition alleviate this curse in moderate to high dimensions (Belhadji et al., 2024, Wesel et al., 2021). For ANOVA or locally supported kernels, DQFF exploit structured quadratures on the relevant subsets (Dao et al., 2017).
5. Empirical Performance across Application Domains
DQFF have been systematically evaluated in adaptive filtering, high-dimensional supervised learning, and Gaussian Process (GP) settings:
- In kernel adaptive filtering (e.g., NT-KLMS/NT-KRLS), DQFF match or outperform RFF and dictionary-based kernel methods in MSE convergence and computational efficiency, with fixed per-step costs and robust performance under noise (Li et al., 2019).
- For GP regression and classification, DQFF achieve exponentially decaying kernel and posterior approximation error, outpace RFF in matching full-GP performance using far fewer features, and scale linearly in the number of data points (Angelis et al., 2020, Li et al., 2023).
- In large-scale learning (e.g., MNIST, TIMIT), DQFF accelerate feature construction and kernel evaluation, attain lower RMS error, and equal or exceed the classification and regression accuracy of competing state-of-the-art kernel approximations (Dao et al., 2017, Liu et al., 2020).
- Recent advances using spherical–radial DQFF achieve superior kernel approximation in high dimensions by carefully balancing radial and spherical quadrature components (Belhadji et al., 2024).
Selected comparative statistics:
| Method | D (features) | Kernel RMS Error | Feature Gen. Time |
|---|---|---|---|
| Random RF | 5,000 | 0.025 ± 0.003 | 1.0× |
| Subsampled DQFF | 5,000 | 0.024 ± 0.002 | 0.50× |
| Reweighted DQFF | 5,000 | 0.008 ± 0.001 | 0.55× |
6. Advances in High-Dimensional and Structured Kernels
DQFF methodology extends to scenarios where direct tensor-product quadrature would be intractable:
- Spherical–radial DQFF (Belhadji et al., 2024) utilize separable quadrature on the radial (Gauss–Laguerre) and spherical (uniform or optimal quadrature) components, exploiting the isotropy of the Gaussian measure. This dramatically reduces feature counts in high 2, allowing 3 features for suitable precision.
- For sparse ANOVA kernels, DQFF build low-dimensional quadratures on subkernels and combine the resulting features, yielding favorable scaling in 4 and improved sample complexity 5 (Dao et al., 2017).
- Tensor decomposition techniques learn weight tensors as low-rank CP representations, reducing storage and computation from 6 to 7 for rank-8 models, and achieving competitive empirical error and generalization (Wesel et al., 2021).
7. Hyperparameter Optimization and Practical Trade-Offs
Key hyperparameters include kernel bandwidth 9, polynomial degree 0, and number of features 1. Sparse-grid or random-subsampled quadrature can be used to fit budgeted 2. Choice of quadrature level 3 is determined by the dimensionality and precision target (e.g., 4). Feature count should be increased until the kernel approximation error on a small validation set plateaus (Li et al., 2019, Dao et al., 2017).
For data with unbounded support, input normalization to 5 is crucial to preserve sub-Gaussianity and prevent error inflation. In applications requiring variable feature dimension (e.g., stochastic online learning), hybrid rules combining deterministic quadrature and stochastic sampling have been proposed, offering unbiasedness and variance reduction over plain RFF (Liu et al., 2020).
References:
(Li et al., 2019, Dao et al., 2017, Angelis et al., 2020, Liu et al., 2020, Belhadji et al., 2024, Li et al., 2023, Wesel et al., 2021)