Stochastic Low-Rank Kernel Learning for Regression

Pierre Machart, Thomas Peel, Liva Ralaivola, Sandrine Anthoine, Hervé Glotin

Introduction

Kernel methods, such as Kernel Ridge Regression (KRR), are highly effective for modeling non-linear relationships. However, they are often limited by two significant challenges: the "Memory Wall" and the difficulty of kernel selection. Standard KRR requires the computation and storage of an $n \times n$ Gram matrix, which becomes computationally prohibitive as the number of data points $n$ grows. Furthermore, selecting the optimal kernel and its parameters typically involves manual tuning or expensive cross-validation.

This paper introduces Stochastic Low-Rank Kernel Learning (SLKL), a framework designed to address these issues by learning a task-specific kernel while maintaining a low memory footprint.

Methodology: Stochastic Coordinate Newton Descent

The SLKL approach constructs a kernel as a conical combination of multiple rank-1 data-parameterized kernels, essentially leveraging Nyström-like approximations. To optimize the weights of these components efficiently, the authors propose the Stochastic Coordinate Newton Descent (SCND) algorithm.

Unlike traditional gradient descent, SCND utilizes second-order Hessian information to accelerate convergence. By updating only a single randomly selected weight in each iteration and employing the Woodbury matrix identity for efficient matrix inversions, the algorithm reduces the per-step computational complexity to $O(nm_0)$, where $m_0$ is the number of active weights. This allows the model to scale to large datasets like MNIST without requiring the full Gram matrix to be stored in memory.

Experimental Evaluation

The performance of SLKL was evaluated on several benchmarks, ranging from synthetic data to large-scale real-world datasets:

  • sinc: A synthetic 2D dataset used to visualize model behavior.
  • Abalone & Boston Housing: Standard regression tasks from the UCI repository.
  • USPS & MNIST: Handwritten digit datasets used to test scalability, with MNIST containing 60,000 training samples.

Results and Insights

The experimental results demonstrate that SLKL provides a robust balance between accuracy and efficiency.

Superior Accuracy and Sparsity

On the sinc, boston, and abalone datasets, SLKL consistently outperformed standard Nyström approximations and uniform-weighting schemes. The optimization process naturally encourages sparsity in the kernel weights, meaning the final model relies on only a small subset of the candidate basis kernels.

Table comparing Mean Square Error (MSE) across different datasets and methods. SLKL (bold) consistently achieves lower error rates than baseline methods.

Convergence and Scalability

A key advantage of the SCND algorithm is its convergence properties. The authors provide theoretical and empirical evidence that the stochastic procedure reliably reaches the global minimum of the convex objective function.

Log-log plot showing the convergence of the objective value over iterations for multiple runs of the SLKL algorithm.

On the MNIST dataset, SLKL achieved a ~2% error rate using only $M=1000$ basis components, demonstrating its ability to handle large-scale problems that would be infeasible for standard KRR implementations.

Conclusion

Stochastic Low-Rank Kernel Learning offers a scalable and adaptive solution for kernel regression. By integrating task-specific kernel learning with an efficient stochastic optimization algorithm, it bypasses the memory constraints of traditional methods. Future work may focus on improving the computational speed for extremely large datasets and extending the framework to classification and clustering tasks.

Summary updated

BibTeX
@inproceedings{machart2011stochastic,
  author = {Pierre Machart and Thomas Peel and Liva Ralaivola and Sandrine Anthoine and Hervé Glotin},
  title = {{Stochastic Low-Rank Kernel Learning for Regression}},
  booktitle = {International Conference on Machine Learning},
  year = {2011},
  url = {https://openreview.net/forum?id=r1bsTqWO-B},
}
Figure