Show that Bayesian linear regression with features and weight prior is a Gaussian process, and that its predictive mean and variance equal the GP formulas with . What does this imply for the RBF kernel?
Probabilistic models, Gaussian processes
Level L5 Expert. Length Long. Nature Mat Mathematical.
What's being asked
Whether you can move between weight space and function space using the push-through identity and the matrix inversion lemma.
Key idea
Weight-space predictions use (an matrix). The identity converts these to an form that depends only on .
Steps
- Prior: is a linear function of a Gaussian, so any finite collection of values is jointly Gaussian with mean 0 and . This is a GP.
- Weight-space posterior (with the design matrix and noise variance ): . At a test input, mean and variance .
- Push-through identity: . Multiplying by on the left and by on the right gives .
- Mean: , since . This is the GP mean.
- Variance: the matrix inversion lemma gives . Then , the GP variance.
- Implication: the RBF kernel equals for an infinite set of Gaussian bump features (a limit of bumps spread over the line). So a GP with an RBF kernel is Bayesian linear regression with infinitely many features, and it is computable because the cost is , not .
Common mistakes
- Thinking that the GP needs a different set of assumptions. It is the same model written in function space.
- Quoting as the variance of a noisy observation . It is the variance of the latent , so add for .
- Assuming a finite number of features can reproduce the RBF kernel exactly. Exact equality needs infinitely many.
How long your answer should be
A page or more. About 10 minutes.
Last checked on 4 December 2026.
Read this
Previous in Probabilistic models: Show that a single-site Gibbs update is a Metropolis–Hastings move that is always accepted, and that it leaves the target invariant. Why does a fixed-order sweep not give a reversible chain, and can you give an example where Gibbs sampling fails to converge?
Next in Probabilistic models: Let factorise over the cliques of an undirected graph . Prove that if a set separates from in (every path from to passes through ), then . Where does the converse need extra assumptions?