One smaller assigned true-label probability can add more exact surprise bits, raising the mean without any decimal loss values.
highlighted = computed this step
Show four assigned probabilities
Use 4 displayed rows. The first three true-label probabilities are 1/2, and the fourth is 1/32. These are assigned toy probabilities for loss arithmetic.
ptrue=(1/2,1/2,1/2,1/32)
Three rows add one bit each
Each 1/2 row contributes 1 bit, so the first 3 rows have running sum 3 bits.
1+1+1=3
The small probability adds five bits
The fourth true-label probability is 1/32. With log base 2, that row contributes 5 bits, taking the sum to 8 bits.
−log2(1/32)=5,3+5=8
Mean over the four rows
The mean is 8 bits divided by 4 rows, which is 2 bits. The fourth row is not a verdict on training, generalization, or calibration; it is assigned loss arithmetic.