Researchers at IIT Bombay have developed a practical toolkit for scaling a powerful but computationally demanding family of kernels. By developing explicit random feature maps, the authors bridge the gap between the theoretical expressivity of Laplacian-style kernels and the efficiency required for modern large-scale machine learning.
The Challenge of Non-Separability
In kernel methods, the Gaussian kernel is the standard choice primarily due to its mathematical convenience. It is separable, meaning a multi-dimensional Gaussian kernel is a product of one-dimensional ones. This property simplifies approximation via Random Fourier Features (RFF), which maps data into a low-dimensional space for linear modeling.
However, the Laplacian kernel often performs better in practice, showing greater robustness to bandwidth selection and a strong theoretical link to the Neural Tangent Kernel (NTK). The primary obstacle is that the Laplacian kernel is non-separable, making it difficult to sample the random weights required for RFF.
Methods: Explicit Sampling Recipes
The paper's core contribution is a set of "recipes" for sampling weight matrices $W$ to create feature maps $\phi(x) = \cos(Wx + b)$. Leveraging Bochner’s Theorem, the authors demonstrate that for non-separable kernels, random weights must be "coupled" along the rows of the weight matrix.
The authors provide explicit sampling schemes for three kernel families:
- Laplacian Kernel: Weights from a multivariate Cauchy distribution.
- Matérn Kernel: Weights from a multivariate $t$-distribution.
- Exponential-power Kernel: Weights from an elliptically contoured $\alpha$-stable distribution.
They also introduce Orthogonal Random Features (ORF) versions, which use structured orthogonal matrices to reduce approximation variance.
Key Insights
- Coupling is Essential: For radial but non-separable kernels, weights cannot be independent across dimensions. "Weakly coupled heavy-tailed randomness" is necessary for accurate approximation.
- Computational Efficiency: The Matérn kernel usually requires expensive modified Bessel function calculations. Random features bypass these, leading to significant speedups.
- Improved Calibration: Kernel Logistic Regression (KLR) using these features produces better-calibrated models compared to standard Kernel Ridge Regression.
- Scalability: These maps allow kernel methods to use deep learning techniques like mini-batch training and data augmentation.
Performance and Results
The proposed methods were evaluated on 11 datasets, including image data (FMNIST, SVHN) and tabular data (Skin, CovType).
The results highlight:
- Speed: The ORF approach was up to 50x faster than exact methods for logistic regression. Matérn kernel evaluation saw a 10x speedup.
- Accuracy: Approximation error is negligible; models achieved nearly identical accuracy to exact kernel solutions on datasets like SVHN.
- Convergence: Relative approximation error decays rapidly as the number of random features increases, following a power-law trend.
Limitations
The authors note that sampling from very heavy-tailed distributions (e.g., Exponential-power with low $\alpha$) can lead to numerical instability in 32-bit floating-point math. While 64-bit precision resolves this, it may impact speed. Future work is needed to understand the impact of these rounding errors on generalization.
Summary updated