Interactive demo · Bayesian and Probabilistic Machine Learning · Chapter 7

The relevance vector machine: sparsity from the evidence

The RVM is a linear model in kernel basis functions centred on the data, y(x) = ∑n wn k(x, xn) + w0, with a separate Gaussian prior precision αi on every weight. Maximising the marginal likelihood over the αi drives most of them to infinity, which removes those basis functions: the survivors are the relevance vectors. Press One update to apply one re-estimation step αi = γi/mi² (and the noise update), or Run, and watch the evidence rise and the basis functions drop out. In regression, click a data point to see its own evidence curve λ(αi) (Figure 7.11).

Problem

Number of points N

Noise standard deviation

Kernel width γ in exp(−γ‖x−x′‖²)

Hyperparameter updates

Try these

Regression data: t = sin(2πx) + noise at evenly spaced x. Classification data: two overlapping classes, each a mixture of two Gaussians (a stand-in for the synthetic set of Bishop 2006, Appendix A), 50 points per class; the SVM beside it is the C-SVM with C chosen so that about half of the points are support vectors. Green rings: relevance vectors; orange rings: support vectors.

In the lecture notes