Show that the predictive distribution of Bayesian linear regression at a new input has variance , where is the feature vector. How do you show that the second term can only shrink when a new data point is added?
Probabilistic models, Bayesian linear regression
Level L3 Intermediate. Length Medium. Nature Mat Mathematical.
What's being asked
Whether you can split predictive uncertainty into noise and parameter uncertainty, and prove it decreases with data using the Sherman–Morrison identity.
Key idea
with and independent Gaussians, so the variances add. Adding a point updates , a positive semi-definite increase in precision.
Steps
- Write with and , independent. A linear function of Gaussians is Gaussian.
- Mean: . Variance: .
- After a new point : .
- Sherman–Morrison: .
- Then . The subtracted term is non-negative, so .
- Consequence: as data accumulate in all directions of feature space, and the variance tends to the noise floor . The noise part never goes away.
Common mistakes
- Forgetting the noise term . The uncertainty in is smaller than the predictive uncertainty in .
- Claiming the variance shrinks to 0. It reaches only.
- Assuming the shrinkage is the same at every test input. It is largest for inputs whose features resemble the new point.
How long your answer should be
Half a page. About 4 minutes.
Last checked on 4 December 2026.
Read this
Previous in Probabilistic models: For Bayesian linear regression with prior and likelihood , how do you derive the posterior by completing the square, and how does its mean relate to ridge regression?
Next in Probabilistic models: A GP with kernel and noise variance is trained on and . What are the predictive mean and variance at ?