A Bayesian Neural Network (BNN) is a type of neural network where the weights and biases are represented as probability distributions instead of single deterministic values. This probabilistic treatment, grounded in Bayesian inference, allows the model to capture epistemic uncertainty—the uncertainty arising from a lack of knowledge about the best model parameters. Unlike standard networks that output a single prediction, a BNN outputs a predictive distribution, enabling more reliable confidence estimates, especially for data far from the training distribution.
