Types of uncertainty
There are two main types of uncertainty a Bayesian model can quantify, the Aleatoric uncertainty which refers to variability in outcome when the same experiment is run multiple times. This is what was illustrated above when we fed an X into the model for handwritten digits, the probability was distributed fairly evenly across several potential digits for the Bayesian model.
The other type of uncertainty is Epistemic uncertainty, which can be thought of as systematic uncertainty. It quantifies things one could in principle know but does not in practice. This may be because the measurement is not accurate, because the model neglects certain effects, or that some particular data is missing from the model.
A simple example of this is someone is rolling a die 4 times and gets 2, 4, 4, 6, what should the model be for the possible numbers the die can give be? Most dies have 6 sides and values 1 to 6, but maybe it has 8 sides, or the numbers are not in the range 1 to 6 but rather 2, 4, 6, 8, 10, 12. One can improve this model by simply rolling the die more times, this is what Epistemic uncertainty quantifies.
To better illustrate this we use Fig. 2 which illustrates two patients (left, and right) asking our AI Physician if they have cancer. The upper section shows what happens when the physician is built on traditional (frequentist) AI/ML methods i.e. no uncertainty. Since there is no uncertainty in the frequentist case, he will give the same answer every time asked about the same patient. Whereas the bayesian can give different answers, this is visualized in Fig. 2 by showing only one patient to the frequentist doctor and two patients to the bayesian doctor.
The patient to the left shows the effect of Epistemic uncertainty, i.e. how confident the AI Physician is in his diagnosis. The frequentist doctor has no way of knowing how confident he is in his prediction, so most times he will be right but sometimes he will miss diagnosing the patient. The Bayesian doctor knows when he is confident in his predictions and knows when his predictions will vary, thus knowing when further testing is needed.
The patient to the right shows the effect of Aleatoric uncertainty, for this patient the epistemic uncertainty (patient to the left) is low, however, the Aleatoric uncertainty is high. This corresponds to our AI physician being very sure that it doesn't know the correct diagnosis and that the patient should be referred to an expert.