Overview
The Relevance Vector Machine (RVM) is a Bayesian alternative to the Support Vector Machine (SVM) that provides probabilistic outputs and achieves comparable accuracy while using significantly fewer basis functions. By applying Automatic Relevance Determination (ARD), the RVM "prunes" unnecessary parameters, resulting in a model that is often an order of magnitude sparser than its SVM counterpart.
What Problem Does This Paper Address?
In the late 1990s, the Support Vector Machine (SVM) was the undisputed king of supervised learning. However, Michael Tipping identified several nagging flaws in the SVM framework:
- Non-probabilistic outputs: SVMs provide "hard" classifications or point estimates rather than class probabilities or error bars.
- Parameter Sensitivity: Users must painstakingly tune the trade-off parameter $C$ (and $\epsilon$ for regression) via cross-validation.
- Kernel Restrictions: SVMs require "Mercer" kernels (positive semi-definite functions).
- Scaling Complexity: While SVMs are "sparse," the number of support vectors typically grows linearly with the size of the training set.
The RVM was designed to fix these issues by reframing the kernel machine problem through a Bayesian lens.
Methods
The RVM adopts the same functional form as the SVM: $y(x) = \sum w_n K(x, x_n) + w_0$. However, the learning process is fundamentally different.
- Automatic Relevance Determination (ARD): Instead of a single global regularization term, the RVM assigns an individual hyperparameter $\alpha_i$ to every weight $w_i$. These hyperparameters represent the inverse variance of a zero-mean Gaussian prior.
- The "Pruning" Mechanism: During training, the model optimizes the "marginal likelihood" (the evidence). For weights that don't contribute significantly to explaining the data, the optimization drives their corresponding $\alpha_i$ to infinity. This effectively sets the weight to zero, "pruning" that kernel function from the model.
- Probabilistic Framework: For regression, the RVM assumes Gaussian noise. For classification, it uses a logistic sigmoid link function. Because it is a fully probabilistic model, it naturally outputs the uncertainty of its predictions.
- Optimization: The paper uses a "Type II Maximum Likelihood" approach to iteratively update the weights and hyperparameters. In classification, where the posterior isn't analytical, it employs a Laplace approximation (a Gaussian centered at the mode).
Key Insights and Ideas
- Occam’s Razor in Action: The sparsity of the RVM isn't forced by a hinge loss; it emerges naturally from the Bayesian framework. The marginal likelihood includes a penalty for model complexity, leading the algorithm to favor the simplest model that explains the data.
- Basis Function Freedom: Because the RVM doesn't rely on the "kernel trick" in the same way as SVMs, the basis functions $K(x, x_n)$ do not need to satisfy Mercer’s condition. You can use virtually any set of basis functions.
- Prototypical vs. Boundary Vectors: In an SVM, "Support Vectors" are the points that are hardest to classify—those lying on or near the decision boundary. In an RVM, "Relevance Vectors" are "prototypes"—points that are representative of their class centers.
Key Results
The paper evaluates the RVM against several standard benchmarks of the era, including synthetic regression (the sinc(x) function), Friedman’s synthetic functions, the Boston Housing dataset, and the U.S.P.S. handwritten digit database.
- Extreme Sparsity: On the
sincregression task, the RVM achieved better accuracy than the SVM using only 9 relevance vectors compared to the SVM's 39. On the Pima Diabetes set, the RVM used just 4 kernels to match the performance of an SVM using 109.
- Competitive Accuracy: Across all benchmarks, the RVM produced errors comparable to or lower than the SVM, despite the massive reduction in model complexity.
- Probabilistic Clarity: The RVM successfully produced "error bars" for regression and posterior probabilities for classification, which are vital for decision-making in high-stakes fields like medicine.
Limitations and Future Work
The primary "tax" paid for the RVM's benefits is computational complexity.
- Training Speed: The training phase requires the repeated inversion of a Hessian matrix. This results in $O(N^3)$ complexity and $O(N^2)$ storage, where $N$ is the number of training examples. This makes the RVM significantly slower than the SVM for very large datasets.
- Scalability: At the time of writing, the author noted that memory constraints limited training to roughly 5,000 examples without using approximation methods.
- Future Directions: The author suggests developing more efficient approximation methods to handle larger datasets, some of which were already being applied to the U.S.P.S. digit data in this paper.
Summary updated