For a probabilistic binary classifier issuing discrete forecast values f1,…,fK with bin sizes n1,…,nK (summing to N), bin observed frequencies oˉk=1nk∑i∈Bkyi and overall base rate oˉ=1N∑i=1Nyi, how do you derive Murphy’s three-term decomposition of the Brier score into reliability, resolution and uncertainty, and what does each term measure?

ML systems and evaluation, Calibration
Level L5 Expert. Length Long. Nature Mat Mathematical.

What's being asked

Whether you can prove the calibration–sharpness decomposition of the Brier score and interpret the trade-off between reliability and resolution.

Key idea

Adding and subtracting the within-bin observed frequency oˉk inside (fk−yi)2 for each i∈Bk and cancelling cross-terms yields BS=1N∑knk(fk−oˉk)2⏟reliability (calibration)−1N∑knk(oˉk−oˉ)2⏟resolution+oˉ(1−oˉ)⏟uncertainty.

Steps

  1. Group the Brier score by forecast bins Bk (the set of examples receiving forecast fk): BS=1N∑k=1K∑i∈Bk(fk−yi)2.
  2. Insert ±oˉk inside the square: (fk−yi)2=(fk−oˉk)2+2(fk−oˉk)(oˉk−yi)+(oˉk−yi)2. Summing over i∈Bk, the cross-term vanishes because ∑i∈Bk(oˉk−yi)=nkoˉk−nkoˉk=0, leaving BS=1N∑knk(fk−oˉk)2+1N∑k∑i∈Bk(oˉk−yi)2.
  3. Decompose the total outcome variance oˉ(1−oˉ)=1N∑i=1N(yi−oˉ)2 (since yi∈{0,1} implies yi2=yi) identically by inserting ±oˉk: 1N∑k∑i∈Bk(yi−oˉk+oˉk−oˉ)2=1N∑k∑i∈Bk(yi−oˉk)2+1N∑knk(oˉk−oˉ)2, because the cross-term again sums to zero within each bin.
  4. Substitute 1N∑k∑i∈Bk(oˉk−yi)2=oˉ(1−oˉ)−1N∑knk(oˉk−oˉ)2 back into Step 2 to obtain BS=REL−RES+UNC.
  5. Interpret each term: REL≥0 measures miscalibration (zero if fk=oˉk everywhere); RES≥0 measures sharpness, i.e., how well forecasts separate different risk groups away from oˉ (subtracted, so higher resolution lowers the Brier score); UNC=oˉ(1−oˉ) is the inherent dataset variance independent of the model (achieved when always predicting oˉ, where REL=0 and RES=0).

Common mistakes

How long your answer should be

About one page with the two square expansions and interpretation; 7–9 minutes.

Last checked on 4 December 2026.

Read this

Previous in ML systems and evaluation: How does DP-SGD (differentially private stochastic gradient descent) bound per-example influence and add noise during training? In a batch of size B=100 with clipping threshold C=1 and noise multiplier σ=1.2, two per-example gradients have ℓ2 norms 5 and 0.5: what are their clipping scale factors, what is the per-coordinate noise standard deviation on the averaged gradient, and why do per-example clipping, subsampling, and larger batches matter?
Next in ML systems and evaluation: For a binary classifier evaluated on a demographic group with base rate p=P(Y=1∣A=a)∈(0,1), how do you derive Chouldechova’s identity relating false positive rate (FPR), false negative rate (FNR), positive predictive value (PPV) and p, and why does it prove that an imperfect classifier cannot satisfy both predictive parity and equalised odds when two groups have unequal base rates?