[Paper Review] Deep Kernel Learning via Random Fourier Features
This paper proposes RFFNet, a deep kernel learning framework that uses random Fourier features (RFF) to enable end-to-end training of kernels across multiple layers, combining the generalization strength of kernel methods with the representational power of deep networks. By training the RFF distribution parameters via backpropagation, RFFNet achieves state-of-the-art performance on small, large-scale, and image datasets, outperforming both classical kernel methods and deep neural networks in low-data regimes.
Kernel learning methods are among the most effective learning methods and have been vigorously studied in the past decades. However, when tackling with complicated tasks, classical kernel methods are not flexible or "rich" enough to describe the data and hence could not yield satisfactory performance. In this paper, via Random Fourier Features (RFF), we successfully incorporate the deep architecture into kernel learning, which significantly boosts the flexibility and richness of kernel machines while keeps kernels' advantage of pairwise handling small data. With RFF, we could establish a deep structure and make every kernel in RFF layers could be trained end-to-end. Since RFF with different distributions could represent different kernels, our model has the capability of finding suitable kernels for each layer, which is much more flexible than traditional kernel-based methods where the kernel is pre-selected. This fact also helps yield a more sophisticated kernel cascade connection in the architecture. On small datasets (less than 1000 samples), for which deep learning is generally not suitable due to overfitting, our method achieves superior performance compared to advanced kernel methods. On large-scale datasets, including non-image and image classification tasks, our method also has competitive performance.
Motivation & Objective
- To address the limited representational capacity of shallow kernel methods in complex, non-linear tasks.
- To overcome the challenge of training kernel functions in deep architectures, where kernels are traditionally fixed or manually tuned.
- To enable end-to-end learning of kernel parameters across multiple layers using random Fourier features.
- To improve generalization on small datasets where deep learning typically overfits, by combining kernel methods’ inductive bias with deep architecture flexibility.
- To develop a scalable, differentiable kernel learning framework that can automatically discover suitable kernels per layer.
Proposed method
- RFFNet uses random Fourier features to approximate shift-invariant, positive-definite kernels via a stochastic feature map $ \zeta_\omega(\mathbf{u}) = e^{j\omega^T\mathbf{u}} $, where $ \omega $ is drawn from a distribution $ \rho(k) $ associated with the kernel $ k $.
- Each layer in RFFNet applies an RFF-based kernel transformation, allowing the model to learn the distribution $ \rho(k) $ for each layer via backpropagation, effectively training the kernel structure.
- The model stacks multiple RFF layers, enabling hierarchical feature learning and composition of complex, non-linear kernels through deep functional composition.
- The kernel approximation is differentiable, allowing end-to-end optimization of the RFF parameters (e.g., the distribution of $ \omega $) using standard backpropagation.
- The architecture supports both small-data and large-scale learning, with batch normalization and max-pooling layers used in image experiments.
- The method avoids explicit kernel matrix computation by operating in the feature space, maintaining computational efficiency even in deep structures.
Experimental results
Research questions
- RQ1Can random Fourier features be used to construct a deep, end-to-end trainable kernel network that improves generalization on small datasets?
- RQ2Can the distribution of RFF frequencies be learned during training to automatically discover optimal kernel structures per layer?
- RQ3How does the proposed deep kernel model compare to standard kernel methods and deep neural networks in terms of performance across small, large-scale, and image datasets?
- RQ4Can the model achieve superior performance on low-data regimes where deep learning typically overfits?
- RQ5Does the ability to learn kernel parameters per layer lead to better representation learning than fixed or pre-selected kernels?
Key findings
- On the small dataset 'monks1', RFFNet achieves 100% test accuracy, outperforming MLP (99.1%) and other kernel-based methods.
- On 'monks2', RFFNet exceeds the next best method by over 10% in accuracy, demonstrating strong performance in small-data, non-linear settings.
- On the 'fertility' dataset, RFFNet achieves 91.2% accuracy, outperforming MLP and approaching the performance of DKL(GP), which uses a more complex architecture with a Gaussian process layer.
- On large-scale datasets like 'phishing', 'EEG', 'ijcnn1', and 'covtype', RFFNet achieves state-of-the-art performance, ranking first on three of them.
- On MNIST, RFFNet achieves 99.1% test accuracy, and on CIFAR-10, it reaches 84.6%, demonstrating strong performance on image data despite no specific design for computer vision.
- The model's performance is robust across data regimes, showing that end-to-end trained RFF kernels significantly enhance representational capacity while maintaining generalization.
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.