Bayes by Backprop is a method that represents each weight of a neural network not as a single value but as a probability distribution (a mean and a width per weight), and learns that distribution with backpropagation. Blundell et al. proposed it in 2015 as a training procedure that approximates the posterior over the weights with variational inference.
An ordinary network finds only one set of weights that best fits the training data. As a result, it is prone to overfitting and tends to make confident predictions even where data is scarce. Giving the weights a distribution makes it possible to express uncertainty such as "any value in this range is fine for this weight." Sampling weights from the distribution at every prediction amounts to averaging over a collection (ensemble) of networks with slightly different weights.
The paper gives three reasons for putting uncertainty on the weights.
- Regularization: The term that pulls the weight distribution toward the prior suppresses overfitting.
- Cheap model averaging: With only twice the parameters, predictions are averaged over infinitely many networks.
- Exploration: In bandit problems, a type of reinforcement learning, uncertain weights encourage exploration.
As an analogy, instead of a single expert saying "the answer is 3.2," each weight carries an answer with a range: "somewhere between 3.0 and 3.4, with 3.2 the most likely."

