Introduction
Kernel methods are powerful tools for non-linear pattern recognition, yet they are often hampered by $O(N^3)$ computational complexity and the manual effort required for kernel selection. Random Fourier Features (RFF) addressed the scalability issue by approximating kernels in the spectral domain, but the challenge of choosing the right kernel remains a significant hurdle for practitioners. This paper introduces Tuned Random Features (TRF), a method that simultaneously learns the optimal translation-invariant kernel and model parameters in the spectral domain.
Methodology
TRF treats kernel learning as a spectral density estimation problem. By Bochner’s theorem, any translation-invariant kernel corresponds to a spectral density function. TRF learns this density by introducing a "meta-kernel" that defines a Reproducing Kernel Hilbert Space (RKHS) for the density function itself. This allows for the injection of prior knowledge about the kernel's properties without hardcoding its exact form.
To prevent overfitting, the framework incorporates reference kernel regularization, pulling the learned density toward a default prior. The resulting optimization problem is convex, enabling efficient end-to-end training via standard gradient descent (e.g., the Adam optimizer), avoiding the complex alternating optimization schemes required by previous methods.
The authors provide theoretical guarantees using Rademacher complexity, demonstrating that TRF uniformly converges to the true optimal risk as the number of random features ($D$) and data points ($N$) increase, as illustrated in the relationship between empirical risk and actual risk minimization.
Empirical Evaluation
The authors benchmarked TRF against standard Support Vector Machines (SVM-RBF), Multiple Kernel Learning (SVM-MKL), and Fourier Kernel Learning (FKL) across several UCI datasets for both classification and regression tasks.
Results Summary
TRF demonstrated superior performance, achieving the lowest error rates on 5 of 7 classification tasks and the lowest Root Mean Square Error (RMSE) on 4 of 5 regression tasks. For example, on the Biodeg classification dataset, TRF achieved an 11.2% error rate, significantly lower than the 12.0% of FKL and 13.9% of SVM-RBF. In regression, TRF's RMSE of 0.43 on the Airfoil dataset outperformed FKL's 0.46 and SVM-RBF's 0.48. Furthermore, the gradient-based optimization of TRF proved more computationally efficient and stable than traditional loss-specific alternating optimization loops.
Conclusion
Tuned Random Features provides a robust, mathematically grounded approach to automated kernel selection. By operating in the spectral domain and utilizing meta-kernels, TRF combines the scalability of random features with the flexibility of learned kernels. While hyperparameter selection for the meta-kernel remains necessary, the framework's theoretical guarantees and empirical success mark a significant advancement in kernel-based learning, laying the groundwork for more efficient hyperparameter search strategies.
Summary updated