Learning Bounds for Greedy Approximation with Explicit Feature Maps from Multiple Kernels

Shahin Shahrampour, Vahid Tarokh

The Challenge of Scaling Kernel Methods

Kernel methods, such as Support Vector Machines with Gaussian kernels, are highly effective at capturing complex nonlinear patterns in data. However, they scale poorly—typically requiring $O(N^2)$ or $O(N^3)$ computational time relative to the number of data points $N$. To handle large-scale datasets, researchers often rely on low-rank approximations like Random Fourier Features. These methods map data into a finite-dimensional space where efficient linear solvers can be applied.

Despite their utility, random approximations introduce a difficult trade-off: using too few features degrades model accuracy, while using too many eliminates the computational advantage. The core challenge lies in identifying exactly which features matter most for a given dataset.

The Solution: Multi Feature Greedy Approximation (MFGA)

To address this, the authors introduce Multi Feature Greedy Approximation (MFGA). This method efficiently selects a small, high-impact set of explicit features from multiple kernels to approximate complex nonlinear models. By treating feature selection as a greedy optimization problem, MFGA operates through the following steps:

  1. Candidate Pool: Instead of relying on random sampling, MFGA utilizes explicit feature maps (such as Taylor expansions) derived from a set of base kernels (e.g., Gaussian and Linear kernels).
  2. Greedy Selection: Starting with an empty set, the algorithm sequentially adds one feature at a time. It selects the feature that exhibits the highest correlation with the gradient of the empirical risk (the "residual" error of the current model).
  3. Optimization: After a new feature is added, the model weights are updated by minimizing the loss function over the currently active set of features.
  4. Theoretical Bounds: The authors provide a novel generalization bound that decomposes the error into three components:
  5. Estimation Error: The standard error arising from finite training data.
  6. Approximation Error: Error that decays exponentially with the number of features $M$ (a significant improvement over the typical $1/\sqrt{M}$ rate seen in random features).
  7. Spectral Error: Error related to how well the "true" underlying model can be represented by the chosen kernel's tail coefficients.

Datasets Evaluated

The authors evaluated MFGA on four diverse datasets from the UCI Machine Learning Repository, covering both regression and classification tasks.

Summary of the four UCI datasets used for evaluation.

Key Insights and Results

The most striking insight from this work is that greedy selection beats random selection. By choosing features based on data correlation, MFGA achieves an exponential reduction in approximation error. This means far fewer features are needed to reach a target accuracy compared to non-greedy, randomized techniques.

Furthermore, the "spectral error" analysis confirms that for many smooth kernels, the most important information is concentrated in the first few coefficients. If the underlying data model is sparse in this sense, MFGA performs exceptionally well with a tiny feature set. By drawing from multiple kernels simultaneously, the algorithm doesn't have to guess the best kernel beforehand; it simply picks the most useful features from the entire library.

Test error vs. number of explicit feature maps across all four datasets.

Empirical results strongly support the theoretical claims:

  • Superior Accuracy: On datasets like "Year prediction" and "Adult," MFGA consistently achieved lower test errors than standard Random Kitchen Sinks (RKS) and data-dependent random features (LKRF, EERF) for the same number of features.
  • Massive Speedups: Compared to traditional Gaussian Kernels (GK), MFGA reduced training time by orders of magnitude. For the "Adult" dataset, MFGA was roughly 27 times faster than the standard kernel approach while achieving better accuracy.
  • Efficiency: On the "Online news popularity" dataset, MFGA reduced the error of the best baseline (EERF) by approximately 65% while using a time budget that was about 80% smaller.

Limitations and Future Work

While MFGA offers substantial improvements, it does have limitations:

  • Candidate Set Dependency: The method's success relies on the necessary features being present in the initial candidate pool. If the true model requires features not covered by the chosen expansions, the spectral error will remain high.
  • Computational Overhead: Each greedy step requires calculating correlations across the entire candidate pool. For extremely large candidate sets, this could become a computational bottleneck.
  • Loss Function Constraints: The current theoretical framework assumes differentiable, smooth, and strongly convex loss functions. Extending the theory to non-differentiable losses, such as the Hinge loss, remains an important direction for future research.

Summary updated

BibTeX
@inproceedings{shahrampour2018learning,
  author = {Shahin Shahrampour and Vahid Tarokh},
  title = {{Learning Bounds for Greedy Approximation with Explicit Feature Maps from Multiple Kernels}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2018},
  url = {https://openreview.net/forum?id=B14vKL-_bB},
}
Figure