Abstract
Kernel methods like Support Vector Machines (SVMs) are valued for their sparsity but often lack a rigorous probabilistic framework. Conversely, standard Bayesian kernel models typically result in dense solutions that are computationally prohibitive for large datasets. This paper introduces Fully Bayesian Generalized Kernel Models (FBGKM), which bridge this gap by employing a mixture of a point-mass distribution and Silverman’s $g$-prior. This framework enables automatic selection of "active vectors," maintaining sparsity while providing full posterior distributions and robust uncertainty quantification.
Introduction
In supervised learning, the "sparsity paradox" describes the tension between the efficiency of frequentist kernel methods and the richness of Bayesian inference. While SVMs rely on a small fraction of training data (support vectors), standard Bayesian priors (e.g., Gaussians) assign non-zero coefficients to every training point, leading to dense models. FBGKM addresses this by treating sparsity as a model selection problem within a fully Bayesian framework, allowing for efficient inference without sacrificing the benefits of a probabilistic approach.
Methodology
The proposed Generalized Kernel Models (GKMs) extend Generalized Linear Models into the feature space of a Reproducing Kernel Hilbert Space (RKHS).
Silverman $g$-prior Mixture and Active Vectors
To induce sparsity, the authors assign a prior to regression coefficients that is a mixture of a "point-mass" at zero (the "spike") and a Silverman $g$-prior (the "slab"). This allows the model to effectively "turn off" unnecessary basis functions. The non-zero components correspond to "active vectors," which are determined by the posterior probability of the model structure rather than a specific loss function.
Reversible Jump MCMC (RJMCMC)
Since the number of active vectors is dynamic, the authors utilize Reversible Jump MCMC (RJMCMC) to sample from the posterior. This allows the Markov chain to "jump" between models of different dimensions—adding, removing, or swapping active vectors. To handle non-normal likelihoods in classification, auxiliary variables are introduced, transforming the sampling problem into a series of efficient Gibbs sampling steps.
Experimental Evaluation
The authors evaluated FBGKM across a diverse set of benchmarks, ranging from image recognition to text classification.
The datasets include:
- Image/Digit Recognition: USPS (0 vs 1, 0 vs 9), Digit1, COIL2.
- Text Classification: NewsGroups.
- Bioinformatics/General Benchmarks: BCI, g241d, Letters (A vs B, A vs C).
- Synthetic Benchmarks: Ringnorm, Thyroid, Twonorm, and Waveform.
Key Results and Insights
- Computational Efficiency: FBGKM demonstrated significant speedups over non-sparse Bayesian competitors. On the NewsGroups dataset, it was nearly 8x faster than the non-sparse Bayesian SVM.
- Predictive Accuracy: The model achieved lower or comparable error rates to both frequentist sparse models (e.g., Import Vector Machine) and dense Bayesian models. Notably, on the Ringnorm dataset, error rates dropped from ~2.0% to 1.51%.
- Robustness via Model Averaging: Instead of selecting a single sparse model, FBGKM averages predictions across the MCMC samples (Bayesian Model Averaging), leading to better uncertainty quantification and more robust predictions.
Conclusion
FBGKM successfully combines the sparsity of SVMs with the probabilistic rigor of Bayesian methods. By limiting the maximum number of active vectors ($k_{max}$), the approach remains feasible for larger datasets where standard Bayesian methods would be computationally prohibitive. Future work may address multi-class extensions and the automated tuning of kernel hyperparameters within the sampling process.
Summary updated