Abstract
This paper introduces a highly efficient, greedy forward selection algorithm for kernel regression that optimizes marginal likelihood. By iteratively adding basis vectors and utilizing low-rank kernel approximations, the method achieves linear time complexity relative to the number of training examples ($O(n)$). It matches the predictive accuracy of Relevance Vector Machines (RVMs) but scales significantly better for large datasets, avoiding the cubic time complexity that plagues traditional methods.
Introduction
In kernel-based machine learning, such as Support Vector Machines or kernel ridge regression, sparsity is a highly desirable property. A sparse model uses only a small fraction of training data points as "basis vectors," which prevents overfitting and ensures fast inference. Relevance Vector Machines (RVMs) achieve sparsity by optimizing the marginal likelihood (ML) loss function. However, traditional RVMs typically employ a backward-elimination approach, starting with a full $n \times n$ kernel matrix and pruning it down. This process incurs a computational cost of $O(n^3)$ and memory requirements of $O(n^2)$, making RVMs impractical for large-scale datasets. This paper proposes a sequential forward selection algorithm that optimizes the same marginal likelihood objective while scaling linearly with dataset size.
Methodology
The proposed approach shifts from pruning to a sequential forward selection algorithm:
- Greedy Addition: Starting from an empty model, the algorithm evaluates all available training examples and adds the one that most significantly reduces the negative log marginal likelihood.
- Recursive Matrix Updates: To maintain efficiency, the authors derive recursive update rules for the underlying matrices ($A_k, B_k, M_k$). This avoids expensive matrix inversions at each step by leveraging results from the previous iteration.
- Low-Rank Kernel Approximation: The primary computational bottleneck—calculating cross-product vectors for unselected basis vectors—is addressed using low-rank kernel approximations ($K \approx GG^T$). This reduces the complexity of the bottleneck operation from $O(n^2)$ to $O(np)$, where $p$ is the rank ($p \ll n$).
By capping the number of selected basis vectors at $k_{max}$, the overall time complexity is reduced to $O(n k_{max}^2)$ with $O(n k_{max})$ storage requirements.
Experimental Evaluation
The algorithm was benchmarked against standard RVMs using several datasets:
- UCI Benchmarks: Ozone, Boston Housing, and Abalone were used to compare predictive accuracy and model sparsity.
- Large-Scale Scaling: The California Housing dataset (20,640 examples) was used to test runtime scaling as training size increased from 1,000 to 10,000 examples.
Results and Discussion
The experimental results demonstrate that the forward selection method breaks the $O(n^3)$ barrier without sacrificing predictive performance.
As shown in Figure 3, the proposed "Forward" algorithm exhibits superior scaling. While the original RVM and the "fast" RVM hit memory or time limits at 2,500 and 4,500 examples respectively, the forward algorithm scales linearly up to 10,000 examples. Crucially, the right panel of Figure 3 shows that this speedup does not come at the cost of accuracy; the Normalized Mean Square Error (NMSE) for all three methods converges as the training set size increases.
Table 1 (Figure 4) further confirms that the forward algorithm achieves MSE scores statistically comparable to both the original and "fast" RVMs across various benchmarks. While the RVM variants tend to produce slightly more sparse models (e.g., 25-85 basis vectors for Abalone vs. 100 for the forward method), the massive gains in training efficiency make this a favorable trade-off for large-scale applications. Furthermore, the forward algorithm avoids the numerical instabilities often found in iterative "fast" RVM implementations.
Conclusion
The proposed forward selection framework provides a scalable alternative for optimizing marginal likelihood in kernel regression. By achieving $O(n)$ complexity, it enables the application of RVM-like sparse modeling to much larger datasets than previously possible. Future work includes extending this framework to Gaussian Process Regression (GPR) and conducting broader comparisons with other sparse learning algorithms.
Summary updated