[Paper Review] Linearized GMM Kernels and Normalized Random Fourier Features
This paper introduces the normalized random Fourier features (NRFF) to reduce variance in RBF kernel approximation and proposes the generalized min-max (GMM) kernel with generalized consistent weighted sampling (GCWS) for efficient, low-variance kernel linearization. GCWS consistently outperforms NRFF in classification accuracy with significantly fewer samples, making it more practical for large-scale learning due to lower training, storage, and transmission costs.
The method of "random Fourier features (RFF)" has become a popular tool for approximating the "radial basis function (RBF)" kernel. The variance of RFF is actually large. Interestingly, the variance can be substantially reduced by a simple normalization step as we theoretically demonstrate. We name the improved scheme as the "normalized RFF (NRFF)". We also propose the "generalized min-max (GMM)" kernel as a measure of data similarity. GMM is positive definite as there is an associated hashing method named "generalized consistent weighted sampling (GCWS)" which linearizes this nonlinear kernel. We provide an extensive empirical evaluation of the RBF kernel and the GMM kernel on more than 50 publicly available datasets. For a majority of the datasets, the (tuning-free) GMM kernel outperforms the best-tuned RBF kernel. We conduct extensive experiments for comparing the linearized RBF kernel using NRFF with the linearized GMM kernel using GCWS. We observe that, to reach a comparable classification accuracy, GCWS typically requires substantially fewer samples than NRFF, even on datasets where the original RBF kernel outperforms the original GMM kernel. The empirical success of GCWS (compared to NRFF) can also be explained from a theoretical perspective. Firstly, the relative variance (normalized by the squared expectation) of GCWS is substantially smaller than that of NRFF, except for the very high similarity region (where the variances of both methods are close to zero). Secondly, if we make a model assumption on the data, we can show analytically that GCWS exhibits much smaller variance than NRFF for estimating the same object (e.g., the RBF kernel), except for the very high similarity region.
Motivation & Objective
- To reduce the high variance inherent in standard random Fourier features (RFF) for approximating the RBF kernel.
- To propose a new similarity measure, the generalized min-max (GMM) kernel, that effectively captures data nonlinearity and supports both positive and negative entries.
- To develop a hashing method, generalized consistent weighted sampling (GCWS), that linearizes the GMM kernel with low estimation variance.
- To empirically and theoretically compare GCWS with NRFF in terms of sample efficiency and accuracy for large-scale learning.
- To demonstrate that GCWS enables superior performance with fewer samples than NRFF, reducing computational and storage costs.
Proposed method
- Proposes normalized random Fourier features (NRFF) by applying a normalization step to standard RFF, reducing variance in RBF kernel approximation.
- Introduces the generalized min-max (GMM) kernel that transforms data into nonnegative vectors via sign-based splitting and computes similarity as the ratio of sum of minima to sum of maxima over transformed dimensions.
- Develops generalized consistent weighted sampling (GCWS) as a hashing method to linearize the GMM kernel, generating discrete hash values from weighted sampling of transformed data.
- Applies theoretical analysis to show that GCWS has significantly lower relative variance than NRFF, except in the high-similarity region where both variances approach zero.
- Employs a gentle model assumption to analytically demonstrate that GCWS has much smaller variance than NRFF for estimating the same kernel object.
- Validates performance through extensive experiments on over 50 public datasets using linear classifiers (e.g., LIBLINEAR), comparing GCWS and NRFF under identical conditions.
Experimental results
Research questions
- RQ1Can a simple normalization step significantly reduce the variance of random Fourier features for RBF kernel approximation?
- RQ2Does the generalized min-max (GMM) kernel, which handles both positive and negative data, provide a more effective similarity measure than the RBF kernel?
- RQ3Can GCWS linearize the GMM kernel with substantially lower estimation variance than NRFF?
- RQ4How does the sample size required for GCWS compare to NRFF to achieve the same classification accuracy on real-world datasets?
- RQ5Can the theoretical variance advantage of GCWS be empirically validated across diverse datasets?
Key findings
- NRFF reduces the variance of RBF kernel approximation compared to standard RFF, as theoretically proven and validated by simulations.
- For the majority of the 50+ datasets tested, the (tuning-free) GMM kernel outperforms the best-tuned RBF kernel in classification accuracy.
- GCWS consistently requires substantially fewer samples than NRFF to achieve comparable classification accuracy, even when the original RBF kernel outperforms the original GMM kernel.
- The training, storage, and transmission costs are proportional to the number of nonzeros per data vector; GCWS achieves better accuracy at lower sample sizes, reducing these costs significantly.
- GCWS has much lower relative variance than NRFF across most similarity regions, explaining its superior empirical performance.
- GCWS is naturally suitable for efficient near neighbor search due to its discrete hash values, unlike NRFF or Nystrom-based methods.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.