Introduction
Using probabilistic predictions for decisions requires more than accurate class predictions: the probabilities should also be calibrated. Calibration means that predicted probabilities agree with outcome frequencies among examples assigned those probabilities. For example, among examples assigned an eighty percent probability of a positive outcome, about eighty percent should be positive [13 , 37 ] . Calibration evaluation and post-hoc recalibration usually treat held-out labels as ground truth [13 , 8 ] . In medical annotation and crowdsourcing, however, multiple annotators label each example, and these labels may contain errors [31 , 36 ] . Medical experts may disagree in their annotations [12 , 7 ] , and majority voting does not necessarily eliminate annotation errors [20 ] . We study how to evaluate and improve a fixed binary predictor’s calibration under the underlying clean-label distribution when only noisy annotations are available.
Noisy-label evaluation confounds predictor miscalibration with annotator response tendencies [4 , 26 ] . For example, excess positive responses can reflect either underpredicted probabilities or an annotator’s tendency to report positives. With a fixed number of annotators, more evaluation examples generally leave this bias intact; averaging or majority vote need not remove it either. Recalibration toward annotation agreement can even worsen true-label calibration. Reliable uncertainty assessment is important in medical decision support, where expert judgments may disagree [22 ] . Noisy evaluation labels complicate predictive reliability assessment.
Loss correction for learning with noisy labels provides our starting point. Known noise probabilities can yield unbiased estimators of clean-label risk [23 , 25 , 39 ] . We apply this principle to calibration evaluation in § 3 . Under annotator-specific class-conditional noise, inverting each known channel yields a corrected label whose conditional expectation given the prediction matches that of the true label. Subtracting the prediction gives a corrected residual with the desired conditional mean (Lemma 1). This gives unbiased estimates of clean-label bin residual moments, whose absolute values are summed to form a noise-corrected binned ECE estimator (Definition 4).
The required noise probabilities, however, are usually unknown. Response frequencies mix annotator errors with true-class proportions and need not identify either [18 ] . Multiple annotations of the same example supply additional information [4 , 1 ] . Under conditional independence and label-orientation assumptions, we use their joint distribution, supplemented where necessary by score-defined groups. § 4 characterizes identification conditions and constructs channel estimators accordingly, using two annotators with score-defined groups (Theorem 2) or three or more informative annotators. We then account for their estimation errors in ECE evaluation rather than treating estimated noise probabilities as exact.
Our analysis connects noise-probability estimation to calibration evaluation under the clean-label distribution, separating bin approximation, sampling variation, and channel-estimation errors (Theorem 1). The same corrected labels support post-hoc recalibration in § 5 : corrected-loss fitting provides a clean-risk guarantee, while histogram fitting provides a calibration guarantee (Proposition 2). Both evaluation and recalibration thus address the underlying clean-label distribution using noisy annotations alone.
Our contributions are threefold.
Calibration evaluation. We propose a noise-corrected binned ECE estimator with separate binning, sampling, and channel-estimation error bounds (Theorem 1), including sample reuse with fixed bins (Proposition 1). We also optimize annotator weights to reduce residual variance (Lemma 2).
Recalibration. Corrected-loss and projected histogram fitting provide clean-risk and calibration guarantees, respectively (§ 5 ; Proposition 2).
Empirical validation. Controlled and semi-synthetic experiments assess estimation and recalibration (§ 6 ). Human annotations show how label choice can reverse recalibration assessments.
Related work. Calibration evaluation and binning bias have been studied extensively [37 , 33 , 9 ] . Weighted test functions provide a common view of calibration criteria [3 , 11 ] . Unbiased class-conditional loss correction is also established [23 ] . Kiryo et al. [2026] estimate ECE from positive and unlabeled data, and Futami and Ishida [2026] develop decontamination-based multicalibration estimators and post-processing for weak supervision. We build on this correction principle. Our focus is the statistical link from unknown, annotator-specific rates in repeated annotations to ECE evaluation and recalibration, including finite-sample error propagation and sample reuse.
For identification, our two-group construction instantiates the Hui–Walter setting of two imperfect tests in populations with different prevalences [18 ] . Here the populations are observable score groups. The identification structure is classical. Our analysis connects quantitative channel-estimation guarantees in this setting to latent ECE. With additional annotators, we use the classical Dawid–Skene product-mixture model [4 , 1 ] . Joint noisy-label classifier training [36 ] estimates a predictor together with the annotation model. Our analysis evaluates and recalibrates a fixed predictor. Disagreement-based approaches model the distribution of annotator judgments [22 , 32 ] . Our target is calibration to one latent binary outcome. The distinction between correcting known channels and identifying unknown ones determines the assumptions and scope of our results.
Preliminaries
Notation. For a positive integer d d d , let [ d ] : = { 1 , … , d } [d] := \{1, \ldots, d\} [ d ] := { 1 , … , d } . Capital letters denote random variables and lower-case letters their realizations. We write P V P_V P V for the distribution of V V V and P V ∣ W P_{V\mid W} P V ∣ W for its conditional distribution given W W W . Probabilities and expectations are denoted by P P P and E \mathbb{E} E . The indicator 1 ( E ) \mathbf{1}(E) 1 ( E ) equals one on event E E E and zero otherwise. Conditional-expectation equalities hold almost surely. Further notation is in Appendix § 9 .
Calibration in binary classification
Let X \mathcal{X} X and Y : = { 0 , 1 } \mathcal{Y} := \{0,1\} Y := { 0 , 1 } be the input and label spaces, and let ( X , Y ) ∼ P X , Y (X,Y) \sim P_{X,Y} ( X , Y ) ∼ P X , Y . Fix a measurable predictor f : X → [ 0 , 1 ] f : \mathcal{X} \to[0,1] f : X → [ 0 , 1 ] and write Z : = f ( X ) Z := f(X) Z := f ( X ) . The score f ( x ) f(x) f ( x ) is intended to estimate E [ Y ∣ X = x ] \mathbb{E}[Y \mid X = x] E [ Y ∣ X = x ] . Calibration compares a predicted probability with the positive-label frequency among inputs assigned that probability.
Definition 1 (Expected calibration error). The predictor f f f is perfectly calibrated if E [ Y ∣ Z ] = Z \mathbb{E}[Y \mid Z] = Z E [ Y ∣ Z ] = Z almost surely. Its expected calibration error (ECE) is
ECE ( f ) : = E [ ∣ E [ Y ∣ Z ] − Z ∣ ] . (1) \operatorname{ECE}(f) := \mathbb{E}\left[\left|\mathbb{E}[Y \mid Z] - Z\right|\right]. \tag*{(1)} ECE ( f ) := E [ ∣ E [ Y ∣ Z ] − Z ∣ ] . (1)
To estimate ECE from data, binning groups examples with similar predicted probabilities [13 ] . Let S = { ( X i , Y i ) } i = 1 n S = \{(X_i,Y_i)\}_{i=1}^{n} S = {( X i , Y i ) } i = 1 n be an independent and identically distributed (i.i.d.) sample from P X , Y P_{X,Y} P X , Y , independent of the training of f f f , and put Z i : = f ( X i ) Z_i := f(X_i) Z i := f ( X i ) .
Definition 2 (Binning ECE). Let B : = { B 1 , … , B M } \mathcal{B} := \{B_1,\ldots,B_M\} B := { B 1 , … , B M } partition [ 0 , 1 ] [0,1] [ 0 , 1 ] into M ≥ 1 M \ge1 M ≥ 1 measurable bins. For ℓ ∈ [ M ] \ell\in[M] ℓ ∈ [ M ] , set I ℓ : = { i ∈ [ n ] : Z i ∈ B ℓ } I_\ell:= \{i \in[n] : Z_i \in B_\ell\} I ℓ := { i ∈ [ n ] : Z i ∈ B ℓ } and n ℓ : = ∣ I ℓ ∣ n_\ell:= |I_\ell| n ℓ := ∣ I ℓ ∣ . For n ℓ > 0 n_\ell> 0 n ℓ > 0 , define Y ‾ ℓ : = n ℓ − 1 ∑ i ∈ I ℓ Y i \overline{Y}_\ell:= n_\ell^{-1}\sum_{i\in I_\ell}Y_i Y ℓ := n ℓ − 1 ∑ i ∈ I ℓ Y i and Z ‾ ℓ : = n ℓ − 1 ∑ i ∈ I ℓ Z i \overline{Z}_\ell:= n_\ell^{-1}\sum_{i\in I_\ell}Z_i Z ℓ := n ℓ − 1 ∑ i ∈ I ℓ Z i ; set both means to zero otherwise. The Binning ECE estimator is
ECE ^ B ( f , S ) : = ∑ ℓ = 1 M ( n ℓ / n ) ∣ Y ‾ ℓ − Z ‾ ℓ ∣ \widehat{\operatorname{ECE}}_{\mathcal{B}}(f,S) := \sum_{\ell=1}^{M}(n_\ell/n)\left|\overline{Y}_\ell-\overline{Z}_\ell\right| ECE B ( f , S ) := ℓ = 1 ∑ M ( n ℓ / n ) Y ℓ − Z ℓ = ∑ ℓ = 1 M ∣ n − 1 ∑ i = 1 n ( Y i − Z i ) 1 ( Z i ∈ B ℓ ) ∣ . (2) = \sum_{\ell=1}^{M}\left|n^{-1}\sum_{i=1}^{n}(Y_i-Z_i)\mathbf{1}(Z_i\in B_\ell)\right|. \tag*{(2)} = ℓ = 1 ∑ M n − 1 i = 1 ∑ n ( Y i − Z i ) 1 ( Z i ∈ B ℓ ) . (2)
Binning ECE compares each bin’s positive-label frequency with its average prediction. Sampling introduces error in these averages, while binning can conceal opposite residuals within a bin. Both errors must be accounted for when estimating ECE(f f f ) [33 , 9 ] .
Multi-annotator setting
In medical annotation and crowdsourcing, multiple annotators may supply noisy labels for each input when clean evaluation labels are unavailable [31 , 36 ] . Let K ≥ 1 K \ge1 K ≥ 1 be the number of annotators and A j ∈ Y A_j \in\mathcal{Y} A j ∈ Y the label supplied by annotator j ∈ [ K ] j \in[K] j ∈ [ K ] . Write A 1 : K : = ( A 1 , … , A K ) A_{1:K} := (A_1,\ldots,A_K) A 1 : K := ( A 1 , … , A K ) . The annotation model P A 1 : K ∣ X , Y P_{A_{1:K}\mid X,Y} P A 1 : K ∣ X , Y extends P X , Y P_{X,Y} P X , Y to the joint distribution of inputs, true labels, and annotations. We impose the following condition given ( Y , Z ) (Y,Z) ( Y , Z ) .
Assume 0 < P ( Y = 1 ) < 1 0 < P(Y=1) < 1 0 < P ( Y = 1 ) < 1 . For each j ∈ [ K ] j \in[K] j ∈ [ K ] , define a j : = P ( A j = 1 ∣ Y = 0 ) a_j := P(A_j=1 \mid Y=0) a j := P ( A j = 1 ∣ Y = 0 ) , b j : = P ( A j = 1 ∣ Y = 1 ) b_j := P(A_j=1 \mid Y=1) b j := P ( A j = 1 ∣ Y = 1 ) , and δ j : = b j − a j \delta_j := b_j-a_j δ j := b j − a j . The pair ( a j , b j ) (a_j,b_j) ( a j , b j ) is the annotator’s binary noise channel : a j a_j a j is its false-positive probability and 1 − b j 1-b_j 1 − b j its false-negative probability. The channel gap is δ j \delta_j δ j ; the channel is informative if δ j ≠ 0 \delta_j \ne0 δ j = 0 .
Assumption 1 (Class-conditional annotation noise). For every j ∈ [ K ] j \in[K] j ∈ [ K ] , E [ A j ∣ Y , Z ] = a j + δ j Y \mathbb{E}[A_j \mid Y,Z] = a_j + \delta_jY E [ A j ∣ Y , Z ] = a j + δ j Y .
Since A j A_j A j is binary, this excludes score-dependent errors: its error probabilities do not vary with the score once the true label is fixed. Write m ( z ) : = E [ Y ∣ Z = z ] m(z) := \mathbb{E}[Y \mid Z = z] m ( z ) := E [ Y ∣ Z = z ] for a measurable version m : [ 0 , 1 ] → [ 0 , 1 ] m : [0, 1] \to[0, 1] m : [ 0 , 1 ] → [ 0 , 1 ] of the conditional expectation. Then
E [ A j ∣ Z ] = a j + δ j m ( Z ) , j ∈ [ K ] . (3) \mathbb{E}[A_j \mid Z] = a_j + \delta_j m(Z), \qquad j \in[K]. \tag*{(3)} E [ A j ∣ Z ] = a j + δ j m ( Z ) , j ∈ [ K ] . (3)
Let A i j A_{ij} A ij denote annotator j j j ’s label for example i i i . Evaluating ECE directly from annotator j j j ’s labels amounts to replacing Y i Y_i Y i by A i j A_{ij} A ij in Eq. (2) . The label-side conditional mean is then a j + δ j m ( Z ) a_j + \delta_j m(Z) a j + δ j m ( Z ) rather than m ( Z ) m(Z) m ( Z ) . Annotation noise therefore generally biases estimation of ECE with respect to the true label. Increasing the evaluation sample size, averaging annotations, or taking a majority vote does not in general remove this noise-induced bias (Appendix § 10 .§ 3 ).
Calibration Estimation
We evaluate ECE ( f ) \operatorname{ECE}(f) ECE ( f ) using known channel probabilities a j , b j a_j, b_j a j , b j , j ∈ [ K ] j \in[K] j ∈ [ K ] , or supplied estimates a ^ j , b ^ j \widehat{a}_j, \widehat{b}_j a j , b j . § 4 gives methods for estimating these probabilities.
For each j ∈ [ K ] j \in[K] j ∈ [ K ] with known channel probabilities and δ j ≠ 0 \delta_j \ne0 δ j = 0 , Eq. (3) gives
E [ Y ∣ Z ] = E [ A j ∣ Z ] − a j δ j = E [ A j − a j δ j | Z ] . \mathbb{E}[Y \mid Z] = \frac{\mathbb{E}[A_j \mid Z] - a_j}{\delta_j} = \mathbb{E}\left[\frac{A_j-a_j}{\delta_j} \,\middle|\, Z\right]. E [ Y ∣ Z ] = δ j E [ A j ∣ Z ] − a j = E [ δ j A j − a j Z ] .
Applying this inverse transformation to an annotation therefore recovers the true label’s conditional expectation given the prediction.
Definition 3 (Corrected labels and residuals). For known channels with δ j ≠ 0 \delta_j \ne0 δ j = 0 for every j ∈ [ K ] j \in[K] j ∈ [ K ] , define U j : = ( A j − a j ) / δ j U_j := (A_j-a_j)/\delta_j U j := ( A j − a j ) / δ j and ψ j : = U j − Z \psi_j := U_j-Z ψ j := U j − Z . We call U j U_j U j the corrected label and ψ j \psi_j ψ j the corrected residual of annotator j j j . Let Δ K : = { α ∈ [ 0 , 1 ] K : ∑ j = 1 K α j = 1 } \Delta_K := \{\alpha\in[0,1]^K : \sum_{j=1}^K \alpha_j = 1\} Δ K := { α ∈ [ 0 , 1 ] K : ∑ j = 1 K α j = 1 } . For fixed α ∈ Δ K \alpha\in\Delta_K α ∈ Δ K , define their convex combinations by
U α : = ∑ j = 1 K α j U j , ψ α : = ∑ j = 1 K α j ψ j . (4) U_\alpha:= \sum_{j=1}^K \alpha_j U_j,\qquad\psi_\alpha:= \sum_{j=1}^K \alpha_j\psi_j. \tag*{(4)} U α := j = 1 ∑ K α j U j , ψ α := j = 1 ∑ K α j ψ j . (4) Thus ψ α = U α − Z \psi_\alpha= U_\alpha-Z ψ α = U α − Z .
Lemma 1 (Corrected ECE representation). Under Assumption 1, the corrections in Definition 3 satisfy, for every fixed α ∈ Δ K \alpha\in\Delta_K α ∈ Δ K ,
ECE ( f ) = E [ ∣ E [ ψ α ∣ Z ] ∣ ] . (5) \operatorname{ECE}(f) = \mathbb{E}\left[\left|\mathbb{E}[\psi_\alpha\mid Z]\right|\right]. \tag*{(5)} ECE ( f ) = E [ ∣ E [ ψ α ∣ Z ] ∣ ] . (5)
The proof is in Appendix § 11 .§ 1 . The identity holds for every fixed α \alpha α . Under conditional independence, § 4.4 derives weights minimizing the total variance of the bin-moment estimates.
Estimation from finite samples. We estimate the conditional residual in Eq. (5) by bin averages, replacing unknown channel probabilities with estimates. If f f f is learned, condition on its training data and randomness. Let D c h \mathcal{D}_{\mathrm{ch}} D ch and D e v \mathcal{D}_{\mathrm{ev}} D ev be independent i.i.d. samples of O : = ( Z , A 1 : K ) ∼ P O O := (Z, A_{1:K}) \sim P_O O := ( Z , A 1 : K ) ∼ P O , with sizes n c h n_{\mathrm{ch}} n ch and n e v n_{\mathrm{ev}} n ev . Neither sample contains true labels; both are independent of the training of f f f .
Definition 4 (Noise Corrected ECE (NC-ECE)). For each j ∈ [ K ] j \in[K] j ∈ [ K ] , let a ^ j , b ^ j \widehat{a}_j,\widehat{b}_j a j , b j be measurable estimators of a j , b j a_j,b_j a j , b j based on D c h \mathcal{D}_{\mathrm{ch}} D ch , with 0 ≤ a ^ j < b ^ j ≤ 1 0 \le\widehat{a}_j < \widehat{b}_j \le1 0 ≤ a j < b j ≤ 1 . Let α ^ ∈ Δ K \widehat{\alpha} \in\Delta_K α ∈ Δ K and the evaluation partition B \mathcal{B} B also be chosen measurably from D c h \mathcal{D}_{\mathrm{ch}} D ch , not D e v \mathcal{D}_{\mathrm{ev}} D ev . Set δ ^ j : = b ^ j − a ^ j \widehat{\delta}_j := \widehat{b}_j-\widehat{a}_j δ j := b j − a j . For each example i ∈ [ n e v ] i \in[n_{\mathrm{ev}}] i ∈ [ n ev ] and annotator j ∈ [ K ] j \in[K] j ∈ [ K ] , define U ^ i j : = ( A i j − a ^ j ) / δ ^ j \widehat{U}_{ij} := (A_{ij}-\widehat{a}_j)/\widehat{\delta}_j U ij := ( A ij − a j ) / δ j and ψ ^ i j : = U ^ i j − Z i \widehat{\psi}_{ij} := \widehat{U}_{ij}-Z_i ψ ij := U ij − Z i . Their weighted aggregates are
U ^ i : = ∑ j = 1 K α ^ j U ^ i j , ψ ^ i : = ∑ j = 1 K α ^ j ψ ^ i j . (6) \widehat{U}_i := \sum_{j=1}^K \widehat{\alpha}_j\widehat{U}_{ij},\qquad\widehat{\psi}_i := \sum_{j=1}^K \widehat{\alpha}_j\widehat{\psi}_{ij}. \tag*{(6)} U i := j = 1 ∑ K α j U ij , ψ i := j = 1 ∑ K α j ψ ij . (6)
Then ψ ^ i = U ^ i − Z i \widehat{\psi}_i=\widehat{U}_i-Z_i ψ i = U i − Z i . Define I ℓ , n ℓ , Z ‾ ℓ I_\ell,n_\ell,\overline{Z}_\ell I ℓ , n ℓ , Z ℓ on D e v \mathcal{D}_{\mathrm{ev}} D ev as in Definition 2, and set U ‾ ℓ : = n ℓ − 1 ∑ i ∈ I ℓ U ^ i \overline{U}_\ell:=n_\ell^{-1}\sum_{i\in I_\ell}\widehat{U}_i U ℓ := n ℓ − 1 ∑ i ∈ I ℓ U i when n ℓ > 0 n_\ell>0 n ℓ > 0 , and zero otherwise. In a nonempty bin, U ‾ ℓ − Z ‾ ℓ \overline{U}_\ell-\overline{Z}_\ell U ℓ − Z ℓ is the sample mean of the corrected residuals ψ ^ i \widehat{\psi}_i ψ i . We define Noise Corrected ECE (NC-ECE) by
ECE ^ B N C ( f , D e v ) : = ∑ ℓ = 1 M n ℓ n e v ∣ U ‾ ℓ − Z ‾ ℓ ∣ . (7) \widehat{\operatorname{ECE}}_{B}^{\mathrm{NC}}(f,\mathcal{D}_{\mathrm{ev}}):=\sum_{\ell=1}^{M}\frac{n_\ell}{n_{\mathrm{ev}}}\left|\overline{U}_\ell-\overline{Z}_\ell\right|. \tag*{(7)} ECE B NC ( f , D ev ) := ℓ = 1 ∑ M n ev n ℓ U ℓ − Z ℓ . (7)
Write U ^ ( A 1 : K ) \widehat{U}_{(A_{1:K})} U ( A 1 : K ) for the fitted correction of a new annotation vector. Its residual is ψ ^ ( O ) : = U ^ ( A 1 : K ) − Z \widehat{\psi}(O):=\widehat{U}_{(A_{1:K})}-Z ψ ( O ) := U ( A 1 : K ) − Z .
Error relative to ECE. The estimation error separates into bin approximation, evaluation-sample fluctuation, and channel-estimation error.
Theorem 1 (ECE estimation with independent samples). Suppose Assumption 1 holds, and use the estimator in Definition 4 with independent samples D c h , D e v \mathcal{D}_{\mathrm{ch}},\mathcal{D}_{\mathrm{ev}} D ch , D ev . Assume r ( z ) : = m ( z ) − z r(z):=m(z)-z r ( z ) := m ( z ) − z has a version satisfying ∣ r ( z ) − r ( z ′ ) ∣ ≤ L r ∣ z − z ′ ∣ |r(z)-r(z')|\le L_r|z-z'| ∣ r ( z ) − r ( z ′ ) ∣ ≤ L r ∣ z − z ′ ∣ on the support of P Z P_Z P Z . Let h B : = max ℓ ∈ [ M ] diam ( B ℓ ) h_B:=\max_{\ell\in[M]}\operatorname{diam}(B_\ell) h B := max ℓ ∈ [ M ] diam ( B ℓ ) , B ^ : = ∑ j = 1 K a ^ j / δ ^ j \widehat{B}:=\sum_{j=1}^{K}\widehat{a}_j/\widehat{\delta}_j B := ∑ j = 1 K a j / δ j , and define
d c h : = ∑ j = 1 K a ^ j max ( ∣ a ^ j − a j ∣ , ∣ b ^ j − b j ∣ ) / δ ^ j . (8) d_{\mathrm{ch}}:=\sum_{j=1}^{K}\widehat{a}_j\max\left(|\widehat{a}_j-a_j|,|\widehat{b}_j-b_j|\right)/\widehat{\delta}_j. \tag*{(8)} d ch := j = 1 ∑ K a j max ( ∣ a j − a j ∣ , ∣ b j − b j ∣ ) / δ j . (8) For every η ∈ ( 0 , 1 ) \eta\in(0,1) η ∈ ( 0 , 1 ) , conditional on D c h \mathcal{D}_{\mathrm{ch}} D ch , with probability at least 1 − η 1-\eta 1 − η ,
∣ ECE ^ B N C ( f , D e v ) − ECE ( f ) ∣ ≤ L r h B + B ^ 2 ( M log 2 + log ( 2 / η ) ) n e v + d c h . (9) \left|\widehat{\operatorname{ECE}}_{B}^{\mathrm{NC}}(f,\mathcal{D}_{\mathrm{ev}})-\operatorname{ECE}(f)\right|
\le L_rh_B+\widehat{B}\sqrt{\frac{2(M\log2+\log(2/\eta))}{n_{\mathrm{ev}}}}+d_{\mathrm{ch}}. \tag*{(9)} ECE B NC ( f , D ev ) − ECE ( f ) ≤ L r h B + B n ev 2 ( M log 2 + log ( 2/ η )) + d ch . (9)
The proof is in Appendix § 11 .§ 2 .
Remark 1 (Three sources of error). The terms represent binning, sampling, and channel-estimation errors. Smoothness controls binning; the proof also gives a smoothness-free fixed-bin bound. Because d c h d_{\mathrm{ch}} d ch contains unknown parameters, the bound alone does not yield a computable confidence interval.
Convergence rates. Define the maximum channel estimation error across annotators by
e c h : = max 1 ≤ j ≤ K ( ∣ a ^ j − a j ∣ + ∣ b ^ j − b j ∣ ) . (10) e_{\mathrm{ch}}:=\max_{1\le j\le K}\left(|\widehat{a}_j-a_j|+|\widehat{b}_j-b_j|\right). \tag*{(10)} e ch := 1 ≤ j ≤ K max ( ∣ a j − a j ∣ + ∣ b j − b j ∣ ) . (10)
Corollary 1 (Convergence rates). Under Theorem 1, keep K K K fixed and assume δ j ≥ δ min > 0 \delta_j\ge\delta_{\min}>0 δ j ≥ δ m i n > 0 for every j ∈ [ K ] j\in[K] j ∈ [ K ] . Suppose e c h = O p ( ε n c h ) e_{\mathrm{ch}}=O_p(\varepsilon_{n_{\mathrm{ch}}}) e ch = O p ( ε n ch ) , where ε n c h > 0 \varepsilon_{n_{\mathrm{ch}}}>0 ε n ch > 0 is a deterministic sequence tending to zero. For M M M equal-width evaluation bins,
∣ ECE ^ B N C ( f , D e v ) − ECE ( f ) ∣ = O p ( M − 1 + M / n e v + ε n c h ) . (11) \left|\widehat{\operatorname{ECE}}_{B}^{\mathrm{NC}}(f,\mathcal{D}_{\mathrm{ev}})-\operatorname{ECE}(f)\right|
=O_p\left(M^{-1}+\sqrt{M/n_{\mathrm{ev}}}+\varepsilon_{n_{\mathrm{ch}}}\right). \tag*{(11)} ECE B NC ( f , D ev ) − ECE ( f ) = O p ( M − 1 + M / n ev + ε n ch ) . (11)
Thus M ≍ n e v 1 / 3 M\asymp n_{\mathrm{ev}}^{1/3} M ≍ n ev 1/3 gives O p ( n e v − 1 / 3 + ε n c h ) O_p(n_{\mathrm{ev}}^{-1/3}+\varepsilon_{n_{\mathrm{ch}}}) O p ( n ev − 1/3 + ε n ch ) .
The proof is in Appendix § 11 .§ 2.1 . If e c h = O p ( n c h − 1 / 2 ) e_{\mathrm{ch}}=O_p(n_{\mathrm{ch}}^{-1/2}) e ch = O p ( n ch − 1/2 ) and M ≍ n e v 1 / 3 M\asymp n_{\mathrm{ev}}^{1/3} M ≍ n ev 1/3 , the error is O p ( n e v − 1 / 3 + n c h − 1 / 2 ) O_p(n_{\mathrm{ev}}^{-1/3}+n_{\mathrm{ch}}^{-1/2}) O p ( n ev − 1/3 + n ch − 1/2 ) . In particular, n c h ≍ n e v ≍ n n_{\mathrm{ch}}\asymp n_{\mathrm{ev}}\asymp n n ch ≍ n ev ≍ n gives O p ( n − 1 / 3 ) O_p(n^{-1/3}) O p ( n − 1/3 ) . This matches the order of existing binning-based ECE estimation bounds with clean labels [9 ] .
Reusing the estimation sample. We next reuse one sample for channel estimation and ECE evaluation, with f f f and the evaluation bins fixed independently of that sample.
Proposition 1 (ECE estimation with a reused sample). Suppose Assumption 1 and the Lipschitz condition of Theorem 1 hold. Fix f f f , B B B independently of an i.i.d. sample D \mathcal{D} D of size n n n . Let a ^ j , b ^ j \widehat{a}_j,\widehat{b}_j a j , b j , j ∈ [ K ] j \in[K] j ∈ [ K ] , be measurable channel estimates fitted on D \mathcal{D} D , with 0 ≤ a ^ j < b ^ j ≤ 1 0 \leq\widehat{a}_j < \widehat{b}_j \leq1 0 ≤ a j < b j ≤ 1 , and let α ^ ∈ Δ K \widehat{\alpha} \in\Delta_K α ∈ Δ K also depend on D \mathcal{D} D . Compute the estimator in Definition 4 on D \mathcal{D} D with these values. For every η ∈ ( 0 , 1 ) \eta\in(0,1) η ∈ ( 0 , 1 ) , with probability at least 1 − η 1-\eta 1 − η ,
∣ ECE ^ B N C ( f , D ) − ECE ( f ) ∣ ≤ L r h B + B ^ 2 ( M log 2 + log ( 6 K / η ) ) n + d c h , (12) \left|\widehat{\operatorname{ECE}}^{\mathrm{NC}}_B(f,\mathcal{D})-\operatorname{ECE}(f)\right|
\leq L_r h_B+\widehat{B}\sqrt{\frac{2(M\log2+\log(6K/\eta))}{n}}+d_{\mathrm{ch}}, \tag*{(12)} ECE B NC ( f , D ) − ECE ( f ) ≤ L r h B + B n 2 ( M log 2 + log ( 6 K / η )) + d ch , (12) where B ^ , d c h \widehat{B},d_{\mathrm{ch}} B , d ch are defined in Theorem 1 using estimates fitted on D \mathcal{D} D .
The proof is in Appendix C.3; Appendix C.4 treats the estimator based on cross-fitting. With fixed K K K , δ j ≥ δ min > 0 \delta_j \geq\delta_{\min}>0 δ j ≥ δ m i n > 0 for all j ∈ [ K ] j \in[K] j ∈ [ K ] , and e c h = O p ( ϵ n ) e_{\mathrm{ch}}=O_p(\epsilon_n) e ch = O p ( ϵ n ) , Proposition 1 also gives the rate in Corollary 1, with D e v , n e v , n c h D_{\mathrm{ev}},n_{\mathrm{ev}},n_{\mathrm{ch}} D ev , n ev , n ch replaced by D , n , n \mathcal{D},n,n D , n , n .
Channel and Weight Estimation
Setting and assumptions
Section 3 requires channel probabilities a j , b j a_j,b_j a j , b j . Without true labels, response frequencies mix annotation errors and class proportions; we identify these quantities using joint responses and score groups.
We retain Assumption 1 and assume that annotations are independent conditional on the true label and score, extending the class-conditional noise model proposed by Natarajan et al. [ [23 ] to multiple annotators.
Assumption 2 (Conditionally independent annotations). For every s = ( s 1 , … , s K ) ∈ { 0 , 1 } K s=(s_1,\ldots,s_K)\in\{0,1\}^K s = ( s 1 , … , s K ) ∈ { 0 , 1 } K ,
P ( A 1 : K = s ∣ Y , Z ) = ∏ j = 1 K P ( A j = s j ∣ Y , Z ) . P(A_{1:K}=s\mid Y,Z)=\prod_{j=1}^{K}P(A_j=s_j\mid Y,Z). P ( A 1 : K = s ∣ Y , Z ) = j = 1 ∏ K P ( A j = s j ∣ Y , Z ) . Together, Assumptions 1 and 2 give independence conditional on Y Y Y and channels shared across score groups (Appendix B.2).
The observation distribution must determine the parameters (identification). One annotator, or two without scores, are generally insufficient (Appendix D.1).
Remark 2 (Label orientation). Relabeling Y ⋆ : = 1 − Y Y^\star:=1-Y Y ⋆ := 1 − Y exchanges a j , b j a_j,b_j a j , b j and complements class proportions without changing the observations. To resolve this exchange, we specify an orientation, such as a j < b j a_j<b_j a j < b j for a designated annotator. Orientation alone does not resolve this information shortage.
Two annotators and two score groups
Let K = 2 K=2 K = 2 . Choose a threshold t ∈ ( 0 , 1 ) t\in(0,1) t ∈ ( 0 , 1 ) in advance or on data independent of D c h \mathcal{D}_{\mathrm{ch}} D ch , and define G : = 1 ( Z ≥ t ) G:=1(Z\geq t) G := 1 ( Z ≥ t ) . Here G = 0 G=0 G = 0 is the low-score group and G = 1 G=1 G = 1 the high-score group. The group indicator G G G is not the true label Y Y Y : either group may contain both classes. For g ∈ { 0 , 1 } g\in\{0,1\} g ∈ { 0 , 1 } , assume P ( G = g ) > 0 P(G=g)>0 P ( G = g ) > 0 and let μ g : = P ( Y = 1 ∣ G = g ) \mu_g:=P(Y=1\mid G=g) μ g := P ( Y = 1 ∣ G = g ) be its unknown positive-class proportion. We jointly estimate θ : = ( a 1 , b 1 , a 2 , b 2 , μ 0 , μ 1 ) \theta:=(a_1,b_1,a_2,b_2,\mu_0,\mu_1) θ := ( a 1 , b 1 , a 2 , b 2 , μ 0 , μ 1 ) . The groups share channels; their class proportions may differ.
Estimation idea and observable moments. We recover channel probabilities from response-pair means and covariances within each score group, together with differences between the group means. For each g ∈ { 0 , 1 } g \in\{0,1\} g ∈ { 0 , 1 } , define q 1 , g : = E [ A 1 ∣ G = g ] q_{1,g} := \mathbb{E}[A_1 \mid G = g] q 1 , g := E [ A 1 ∣ G = g ] , q 2 , g : = E [ A 2 ∣ G = g ] q_{2,g} := \mathbb{E}[A_2 \mid G = g] q 2 , g := E [ A 2 ∣ G = g ] , and q 12 , g : = E [ A 1 A 2 ∣ G = g ] q_{12,g} := \mathbb{E}[A_1A_2 \mid G = g] q 12 , g := E [ A 1 A 2 ∣ G = g ] . They are the probabilities that annotator 1, annotator 2, and both answer positively, respectively. Averaging over the true label gives the following three identities for each g ∈ { 0 , 1 } g \in\{0,1\} g ∈ { 0 , 1 } , hence six moment equations in total:
q 1 , g = a 1 + δ 1 μ g , q 2 , g = a 2 + δ 2 μ g , q 12 , g = ( 1 − μ g ) a 1 a 2 + μ g b 1 b 2 , g ∈ { 0 , 1 } . (13) \begin{aligned}
q_{1,g} &= a_1 + \delta_1\mu_g,\qquad q_{2,g} = a_2 + \delta_2\mu_g,\\
q_{12,g} &= (1-\mu_g)a_1a_2 + \mu_gb_1b_2,\qquad g \in\{0,1\}. \tag*{(13)}
\end{aligned} q 1 , g q 12 , g = a 1 + δ 1 μ g , q 2 , g = a 2 + δ 2 μ g , = ( 1 − μ g ) a 1 a 2 + μ g b 1 b 2 , g ∈ { 0 , 1 } . (13)
Conditional independence gives the joint-positive terms and, for g ∈ { 0 , 1 } g \in\{0,1\} g ∈ { 0 , 1 } ,
q 1 , 1 − q 1 , 0 = δ 1 ( μ 1 − μ 0 ) , q 2 , 1 − q 2 , 0 = δ 2 ( μ 1 − μ 0 ) , q 12 , g − q 1 , g q 2 , g = δ 1 δ 2 μ g ( 1 − μ g ) . \begin{aligned}
q_{1,1}-q_{1,0} &= \delta_1(\mu_1-\mu_0),\\
q_{2,1}-q_{2,0} &= \delta_2(\mu_1-\mu_0),\\
q_{12,g}-q_{1,g}q_{2,g} &= \delta_1\delta_2\mu_g(1-\mu_g).
\end{aligned} q 1 , 1 − q 1 , 0 q 2 , 1 − q 2 , 0 q 12 , g − q 1 , g q 2 , g = δ 1 ( μ 1 − μ 0 ) , = δ 2 ( μ 1 − μ 0 ) , = δ 1 δ 2 μ g ( 1 − μ g ) .
The last line is the within-group covariance. These relations yield a closed-form inverse; its lengthy expression is given in Appendix § 12 .§ 2 .
Theorem 2 (Two-group identification). Suppose Assumptions 1 and 2 hold with K = 2 K = 2 K = 2 , 0 ≤ a j < b j ≤ 1 0 \leq a_j < b_j \leq1 0 ≤ a j < b j ≤ 1 for j ∈ [ 2 ] j \in[2] j ∈ [ 2 ] , and 0 < μ 0 , μ 1 < 1 0 < \mu_0,\mu_1 < 1 0 < μ 0 , μ 1 < 1 with μ 0 ≠ μ 1 \mu_0 \ne\mu_1 μ 0 = μ 1 . For the two positive-probability groups above, the six moments
Γ ( θ ) : = ( q 1 , 0 , q 2 , 0 , q 12 , 0 , q 1 , 1 , q 2 , 1 , q 12 , 1 ) \Gamma(\theta) := (q_{1,0}, q_{2,0}, q_{12,0}, q_{1,1}, q_{2,1}, q_{12,1}) Γ ( θ ) := ( q 1 , 0 , q 2 , 0 , q 12 , 0 , q 1 , 1 , q 2 , 1 , q 12 , 1 ) uniquely determine θ \theta θ .
Appendix § 12 .§ 2 gives the inverse and proof. The class proportions are estimated, not supplied. Calibration of f f f is unnecessary, but a low/high score split alone does not ensure μ 0 ≠ μ 1 \mu_0 \ne\mu_1 μ 0 = μ 1 .
Finite-sample estimation. On D c h \mathcal{D}_{\mathrm{ch}} D ch , let G i : = 1 ( Z i ≥ t ) G_i := 1(Z_i \geq t) G i := 1 ( Z i ≥ t ) and n g : = ∑ i = 1 n c h 1 ( G i = g ) n_g := \sum_{i=1}^{n_{\mathrm{ch}}} 1(G_i = g) n g := ∑ i = 1 n ch 1 ( G i = g ) . For g ∈ { 0 , 1 } g \in\{0,1\} g ∈ { 0 , 1 } with n g > 0 n_g > 0 n g > 0 , estimate the three moments by
q ^ j , g : = n g − 1 ∑ i : G i = g A i j , j ∈ [ 2 ] , \widehat{q}_{j,g} := n_g^{-1}\sum_{i:G_i=g} A_{ij},\qquad j \in[2], q j , g := n g − 1 i : G i = g ∑ A ij , j ∈ [ 2 ] ,
q ^ 12 , g : = n g − 1 ∑ i : G i = g A i 1 A i 2 . (14) \widehat{q}_{12,g} := n_g^{-1}\sum_{i:G_i=g} A_{i1}A_{i2}. \tag*{(14)} q 12 , g := n g − 1 i : G i = g ∑ A i 1 A i 2 . (14)
Let Γ ^ \widehat{\Gamma} Γ collect the six estimates in the order of Γ ( θ ) \Gamma(\theta) Γ ( θ ) . The closed-form estimator is θ ^ m o m : = H ( Γ ^ ) \widehat{\theta}_{\mathrm{mom}} := H(\widehat{\Gamma}) θ mom := H ( Γ ) , where H H H is the inverse in Theorem 2, whenever it is feasible.
Sampling error can make the closed-form inverse infeasible. We therefore also fit the same moment model by constrained generalized method of moments (GMM; Appendices § 15 .§ 2 and § 12 .§ 4 ). Under separation and interiority, the feasible inverse and an exact GMM minimizer satisfy e c h = O p ( n c h − 1 / 2 ) e_{\mathrm{ch}} = O_p(n_{\mathrm{ch}}^{-1/2}) e ch = O p ( n ch − 1/2 ) (Theorems D.2 and D.3 ), supplying the rate in Corollary 1. Constraints do not resolve weak identification.
Three or more annotators
With at least three informative annotators, the response vectors alone suffice under Assumptions 1 and 2: no threshold or score-group separation is required.
Response distribution. Let K ≥ 3 K \ge3 K ≥ 3 , μ : = P ( Y = 1 ) ∈ ( 0 , 1 ) \mu:= P(Y = 1) \in(0,1) μ := P ( Y = 1 ) ∈ ( 0 , 1 ) , and θ : = ( μ , a 1 , b 1 , … , a K , b K ) \theta:= (\mu, a_1, b_1, \ldots, a_K, b_K) θ := ( μ , a 1 , b 1 , … , a K , b K ) , with true value θ 0 \theta_0 θ 0 . Under Assumptions 1 and 2, the responses are independent conditional on Y Y Y . Marginalizing Y Y Y therefore gives the joint response distribution P ( A 1 : K = s ) = p θ 0 ( s ) P(A_{1:K} = s) = p_{\theta_0}(s) P ( A 1 : K = s ) = p θ 0 ( s ) , where
p θ ( s ) : = ( 1 − μ ) ∏ j = 1 K a j s j ( 1 − a j ) 1 − s j + μ ∏ j = 1 K b j s j ( 1 − b j ) 1 − s j , s ∈ { 0 , 1 } K . (15) p_\theta(s) := (1-\mu)\prod_{j=1}^{K} a_j^{s_j}(1-a_j)^{1-s_j}
+\mu\prod_{j=1}^{K} b_j^{s_j}(1-b_j)^{1-s_j}, \qquad s \in\{0,1\}^{K}. \tag*{(15)} p θ ( s ) := ( 1 − μ ) j = 1 ∏ K a j s j ( 1 − a j ) 1 − s j + μ j = 1 ∏ K b j s j ( 1 − b j ) 1 − s j , s ∈ { 0 , 1 } K . (15)
Eq. (15) is the binary Dawid–Skene model [4 ] , a mixture of response distributions for the two classes.
Maximum-likelihood estimation. Using only responses, not predictions Z = f ( X ) Z=f(X) Z = f ( X ) , we jointly estimate μ \mu μ and ( a j , b j ) j ∈ [ K ] (a_j,b_j)_{j\in[K]} ( a j , b j ) j ∈ [ K ] on a compact set Θ ⊂ ( 0 , 1 ) 2 K + 1 \Theta\subset(0,1)^{2K+1} Θ ⊂ ( 0 , 1 ) 2 K + 1 containing θ 0 \theta_0 θ 0 with the prescribed orientation. On D c h \mathcal{D}_{\mathrm{ch}} D ch , define the log likelihood and a measurable maximizer:
L n c h ( θ ) : = n c h − 1 ∑ i = 1 n c h log p θ ( A i , 1 : K ) , L_{n_{\mathrm{ch}}}(\theta) := n_{\mathrm{ch}}^{-1}\sum_{i=1}^{n_{\mathrm{ch}}}\log p_\theta(A_{i,1:K}), L n ch ( θ ) := n ch − 1 i = 1 ∑ n ch log p θ ( A i , 1 : K ) ,
θ ^ M L ∈ arg max θ ∈ Θ L n c h ( θ ) . (16) \widehat{\theta}_{\mathrm{ML}} \in\mathop{\arg\max}_{\theta\in\Theta} L_{n_{\mathrm{ch}}}(\theta). \tag*{(16)} θ ML ∈ arg max θ ∈ Θ L n ch ( θ ) . (16)
The channel coordinates give a ^ j , b ^ j \widehat{a}_j,\widehat{b}_j a j , b j for the correction in § 3 . Numerical likelihood maximization uses expectation–maximization (EM; Appendix § 14 ). A finite EM run need not reach a global maximizer [41 ] .
Why three annotations suffice. The third-order central moment, together with the three pairwise covariances, determines μ \mu μ up to its complement. The prescribed orientation resolves this exchange; response means and covariances then recover the channels. Proposition D.2 gives the exact inverse, including μ = 1 / 2 \mu=1/2 μ = 1/2 [1 ] .
For fixed K K K , Theorem D.4 gives O p ( n c h − 1 / 2 ) O_p(n_{\mathrm{ch}}^{-1/2}) O p ( n ch − 1/2 ) error under its identification, interiority, and Fisher-information conditions. Its channel estimates can be used in Corollary 1 when the positive-gap conditions hold.
Prediction information can also be used: divide the prediction range into pre-specified intervals and jointly estimate their positive-class proportions and each annotator’s channel probabilities, shared across intervals. The EM algorithm (Joint score-bin EM) and numerical comparisons are in Appendices § 14 and § 15 , respectively.
Choosing aggregation weights
Channel and class-proportion estimates also determine the aggregation weights in § 3 . We design the weights by minimizing the known-channel residual variance, then substitute the estimated parameters. For fixed f f f and nonzero channel gaps, choose constant α ∈ Δ K \alpha\in\Delta_K α ∈ Δ K to minimize V r e s ( α ) : = Var ( ψ α ) V_{\mathrm{res}}(\alpha) := \operatorname{Var}(\psi_\alpha) V res ( α ) := Var ( ψ α ) , where
V r e s ( α ) = Var ( Y − Z ) + E [ ( U α − Y ) 2 ] . (17) V_{\mathrm{res}}(\alpha)=\operatorname{Var}(Y-Z)+\mathbb{E}[(U_\alpha-Y)^2]. \tag*{(17)} V res ( α ) = Var ( Y − Z ) + E [( U α − Y ) 2 ] . (17)
The equality follows from E [ U α − Y ∣ Y , Z ] = 0 \mathbb{E}[U_\alpha-Y\mid Y,Z]=0 E [ U α − Y ∣ Y , Z ] = 0 ; only the second term depends on the weights. For each j ∈ [ K ] j\in[K] j ∈ [ K ] , the corrected annotation-noise variance v ‾ j : = E [ ( U j − Y ) 2 ] = E [ Var ( U j ∣ Y , Z ) ] \overline{v}_j := \mathbb{E}[(U_j-Y)^2]=\mathbb{E}[\operatorname{Var}(U_j\mid Y,Z)] v j := E [( U j − Y ) 2 ] = E [ Var ( U j ∣ Y , Z )] satisfies
v ‾ j = ( 1 − μ ) a j ( 1 − a j ) + μ b j ( 1 − b j ) δ j 2 . \overline{v}_j=\frac{(1-\mu)a_j(1-a_j)+\mu b_j(1-b_j)}{\delta_j^2}. v j = δ j 2 ( 1 − μ ) a j ( 1 − a j ) + μ b j ( 1 − b j ) .
Thus the channel and class-proportion estimates give a plug-in estimate of this variance without true labels.
Lemma 2 (Inverse-variance weights). Under Assumptions 1 and 2 , with δ j ≠ 0 \delta_j \ne0 δ j = 0 for all j ∈ [ K ] j \in[K] j ∈ [ K ] , V r e s ( α ) = Var ( Y − Z ) + ∑ j = 1 K α j 2 v ˉ j V_{\mathrm{res}}(\alpha) = \operatorname{Var}(Y-Z) + \sum_{j=1}^{K} \alpha_j^2 \bar{v}_j V res ( α ) = Var ( Y − Z ) + ∑ j = 1 K α j 2 v ˉ j . If every v ˉ j > 0 \bar{v}_j > 0 v ˉ j > 0 , the unique minimizer over Δ K \Delta_K Δ K is
α j I V : = v ˉ j − 1 ( ∑ k = 1 K v ˉ k − 1 ) − 1 , j ∈ [ K ] . (18) \alpha_j^{\mathrm{IV}} := \bar{v}_j^{-1} \bigl(\sum_{k=1}^{K} \bar{v}_k^{-1}\bigr)^{-1}, \qquad j \in[K]. \tag*{(18)} α j IV := v ˉ j − 1 ( k = 1 ∑ K v ˉ k − 1 ) − 1 , j ∈ [ K ] . (18) The proof and zero-variance case are in Appendix § 11 .§ 6 . For known channels and a fixed evaluation partition, these weights also minimize the total variance of the unbiased bin-moment estimates (Proposition C.1). In practice, we replace a j a_j a j , b j b_j b j , μ \mu μ by their estimates and normalize the inverse estimated variances; Appendix § 14 .§ 4 specifies this plug-in rule. This optimality result assumes known channels.
Recalibration
We fit a measurable post-processing map g : [ 0 , 1 ] → [ 0 , 1 ] g : [0,1] \to[0,1] g : [ 0 , 1 ] → [ 0 , 1 ] to improve the calibration of f f f . Let D r e c : = { ( Z i , A i , 1 : K ) } i ∈ [ n r e c ] \mathcal{D}_{\mathrm{rec}} := \{(Z_i,A_{i,1:K})\}_{i\in[n_{\mathrm{rec}}]} D rec := {( Z i , A i , 1 : K ) } i ∈ [ n rec ] be an i.i.d. sample from P O P_O P O , independent of D c h \mathcal{D}_{\mathrm{ch}} D ch . We fit g g g on D r e c \mathcal{D}_{\mathrm{rec}} D rec using the corrected labels U ^ i = U ^ ( A i , 1 : K ) \widehat{U}_i = \widehat{U}(A_{i,1:K}) U i = U ( A i , 1 : K ) defined as in Eq. (6) .
Corrected-loss fitting
We use unbiased loss correction for class-conditional label noise [23 ] . Logarithmic loss is affine in the binary label, so E [ U α ∣ Y , Z ] = Y \mathbb{E}[U_\alpha\mid Y,Z] = Y E [ U α ∣ Y , Z ] = Y recovers the clean-label expected loss when the channels are known. We fit the map using corrected labels U ^ i \widehat{U}_i U i computed from estimated channels.
Definition 5 (Corrected logarithmic loss). Let G \mathcal{G} G be a class of measurable maps [ 0 , 1 ] → ( 0 , 1 ) [0,1] \to(0,1) [ 0 , 1 ] → ( 0 , 1 ) . For p ∈ ( 0 , 1 ) p \in(0,1) p ∈ ( 0 , 1 ) , i ∈ [ n r e c ] i \in[n_{\mathrm{rec}}] i ∈ [ n rec ] , and g ∈ G g \in\mathcal{G} g ∈ G , define the corrected loss and empirical risk by
ℓ ^ i ( p ) : = − U ^ i log p − ( 1 − U ^ i ) log ( 1 − p ) , \widehat{\ell}_i(p) := -\widehat{U}_i \log p - (1-\widehat{U}_i)\log(1-p), ℓ i ( p ) := − U i log p − ( 1 − U i ) log ( 1 − p ) , R ^ ( g ) : = n r e c − 1 ∑ i = 1 n r e c ℓ ^ i ( g ( Z i ) ) . (19) \widehat{R}(g) := n_{\mathrm{rec}}^{-1}\sum_{i=1}^{n_{\mathrm{rec}}}\widehat{\ell}_i(g(Z_i)). \tag*{(19)} R ( g ) := n rec − 1 i = 1 ∑ n rec ℓ i ( g ( Z i )) . (19)
We minimize this risk over temperature or Platt scaling maps [13 , 27 ] . Appendix § 13 .§ 2 defines these families with clipped input scores and compact parameter sets. These restrictions keep predictions away from zero and one and prevent an unbounded objective when corrected labels lie outside [ 0 , 1 ] [0,1] [ 0 , 1 ] .
Remark 3 (Risk and calibration guarantees). Minimizing the corrected empirical risk attains clean log risk close to the best in the chosen family. Theorem E.2 bounds the excess risk by sampling, channel-estimation, and optimization errors. This is a log-risk guarantee, not a guarantee that every fitted temperature or Platt map reduces ECE ( g ∘ f ) \operatorname{ECE}(g \circ f) ECE ( g ∘ f ) .
Fixed-bin recalibration
Histogram binning offers a nonparametric alternative [14 ] . The fitting bins need not coincide with the channel-estimation groups or the evaluation bins.
Definition 6 (Projected histogram recalibration). For a positive integer J J J , let H : = { H h } h ∈ [ J ] \mathcal{H} := \{H_h\}_{h\in[J]} H := { H h } h ∈ [ J ] be a measurable partition of [ 0 , 1 ] [0,1] [ 0 , 1 ] chosen independently of D r e c \mathcal{D}_{\mathrm{rec}} D rec . For h ∈ [ J ] h \in[J] h ∈ [ J ] , set I h : = { i ∈ [ n r e c ] : Z i ∈ H h } I_h := \{i \in[n_{\mathrm{rec}}] : Z_i \in H_h\} I h := { i ∈ [ n rec ] : Z i ∈ H h } and n h : = ∣ I h ∣ n_h := |I_h| n h := ∣ I h ∣ . Write Π [ 0 , 1 ] ( u ) : = min ( 1 , max ( 0 , u ) ) \Pi_{[0,1]}(u) := \min(1,\max(0,u)) Π [ 0 , 1 ] ( u ) := min ( 1 , max ( 0 , u )) for projection onto [ 0 , 1 ] [0,1] [ 0 , 1 ] . If n h > 0 n_h > 0 n h > 0 , define
m ~ h : = n h − 1 ∑ i ∈ I h U ^ i , m ^ h : = Π [ 0 , 1 ] ( m ~ h ) . (20) \widetilde{m}_h := n_h^{-1}\sum_{i\in I_h}\widehat{U}_i,\qquad\widehat{m}_h := \Pi_{[0,1]}(\widetilde{m}_h). \tag*{(20)} m h := n h − 1 i ∈ I h ∑ U i , m h := Π [ 0 , 1 ] ( m h ) . (20) For an empty bin, choose m ^ h ∈ [ 0 , 1 ] \widehat{m}_h \in[0,1] m h ∈ [ 0 , 1 ] arbitrarily. The recalibration map is m ^ H ( z ) : = ∑ h = 1 J m ^ h 1 ( z ∈ H h ) \widehat{m}_{\mathcal{H}}(z) := \sum_{h=1}^{J}\widehat{m}_h \mathbf{1}(z \in H_h) m H ( z ) := ∑ h = 1 J m h 1 ( z ∈ H h ) .
The bin mean estimates E [ Y ∣ Z ∈ H h ] \mathbb{E}[Y \mid Z \in H_h] E [ Y ∣ Z ∈ H h ] , and projection makes its output a probability.
Proposition 2 (Calibration of projected bin averages). Suppose Assumption 1 holds, D r e c ⊥ ⊥ D c h D_{\mathrm{rec}} \perp\!\!\!\perp D_{\mathrm{ch}} D rec ⊥ ⊥ D ch , and 0 ≤ a ^ j < b ^ j ≤ 1 0 \le\hat{a}_j < \hat{b}_j \le1 0 ≤ a ^ j < b ^ j ≤ 1 for j ∈ [ K ] j \in[K] j ∈ [ K ] . Let H \mathcal{H} H and α ^ ∈ Δ K \hat{\alpha} \in\Delta_K α ^ ∈ Δ K be fixed conditional on D c h D_{\mathrm{ch}} D ch . For every η ∈ ( 0 , 1 ) \eta\in(0,1) η ∈ ( 0 , 1 ) , conditional on D c h D_{\mathrm{ch}} D ch , with probability at least 1 − η 1-\eta 1 − η ,
ECE ( m ^ H ∘ f ) ≤ d c h + ( B ^ + 1 ) 2 ( J log 2 + log ( 4 / η ) ) n r e c . (21) \operatorname{ECE}(\hat{m}_{\mathcal{H}} \circ f) \le d_{\mathrm{ch}} + (\hat{B}+1)\sqrt{\frac{2(J\log2+\log(4/\eta))}{n_{\mathrm{rec}}}}. \tag*{(21)} ECE ( m ^ H ∘ f ) ≤ d ch + ( B ^ + 1 ) n rec 2 ( J log 2 + log ( 4/ η )) . (21) The proof is in Appendix § 13 .
Experiments
We use three settings: fully synthetic toy data to study ECE estimation and sample reuse; real tabular data with simulated label noise to test recalibration; and real images with collected human labels to stress-test both procedures without guaranteed theoretical assumptions. Appendix § 15 gives details and additional results.
Toy data
We examine whether noisy labels suffice to estimate the ECE of a fixed predictor, with either known or estimated noise probabilities. We generate X ∼ 1 2 N ( − 1 , 1 ) + 1 2 N ( 1 , 1 ) X \sim\frac{1}{2}\mathcal{N}(-1,1)+\frac{1}{2}\mathcal{N}(1,1) X ∼ 2 1 N ( − 1 , 1 ) + 2 1 N ( 1 , 1 ) , fix f ( X ) = σ ( 0.3 − X ) f(X)=\sigma(0.3-X) f ( X ) = σ ( 0.3 − X ) , and draw Y ∣ Z ∼ Bernoulli ( m ( Z ) ) Y \mid Z \sim\operatorname{Bernoulli}(m(Z)) Y ∣ Z ∼ Bernoulli ( m ( Z )) , where Z = f ( X ) Z=f(X) Z = f ( X ) and σ \sigma σ is the logistic function. Each of three annotators labels every example, independently conditional on Y Y Y , with false-positive probabilities ( 0.08 , 0.13 , 0.18 ) (0.08,0.13,0.18) ( 0.08 , 0.13 , 0.18 ) and false-negative probabilities ( 0.16 , 0.11 , 0.06 ) (0.16,0.11,0.06) ( 0.16 , 0.11 , 0.06 ) . Here m ( z ) = P ( Y = 1 ∣ Z = z ) m(z)=P(Y=1\mid Z=z) m ( z ) = P ( Y = 1 ∣ Z = z ) is the true positive-label probability. Keeping the input distribution, f f f , and noise probabilities unchanged, we vary only m m m : m ( z ) = z m(z)=z m ( z ) = z (Calibrated), m ( z ) = σ ( 0.65 log z 1 − z − 0.3 ) m(z)=\sigma(0.65\log\frac{z}{1-z}-0.3) m ( z ) = σ ( 0.65 log 1 − z z − 0.3 ) (Shifted), or m ( z ) = Π [ 0.02 , 0.98 ] ( z + 0.12 sin ( 2 π z ) ) m(z)=\Pi_{[0.02,0.98]}(z+0.12\sin(2\pi z)) m ( z ) = Π [ 0.02 , 0.98 ] ( z + 0.12 sin ( 2 π z )) (Nonlinear), where Π \Pi Π clips to the indicated interval. The latter two make f f f miscalibrated; no recalibration is performed. Figure 1 uses only Calibrated, whose true ECE is zero; Table 1 uses all three.
Table 1. Toy ECE estimation at N = 8000 N=8000 N = 8000 : mean ± \pm ± SD of absolute error over 200 repetitions (× 100 \times100 × 100 ).
Figure 1. Toy ECE-estimation MAE (×100, m ( z ) = z m(z) = z m ( z ) = z ).
ECE estimation. Soft-vote ECE and Majority-vote ECE replace the corrected label U ^ i \hat{U}_i U ^ i in Eq. (7) by K − 1 ∑ j = 1 K A i j K^{-1}\sum_{j=1}^{K}A_{ij} K − 1 ∑ j = 1 K A ij and 1 { ∑ j = 1 K A i j > K / 2 } \mathbb{1}\{\sum_{j=1}^{K}A_{ij}>K/2\} 1 { ∑ j = 1 K A ij > K /2 } , respectively, with K = 3 K=3 K = 3 . NC-ECE uses true noise probabilities (given rates ) or estimates obtained from noisy responses using Joint score-bin EM (Appendix § 14 .1.2); both use equal weights. ECE uses ten equal-width bins. Clean-label ECE replaces U ^ i \hat{U}_i U ^ i by Y i Y_i Y i only as a reference. For N ∈ { 500 , 1000 , 2000 , 4000 , 8000 } N\in\{500,1000,2000,4000,8000\} N ∈ { 500 , 1000 , 2000 , 4000 , 8000 } , half the examples estimate noise probabilities; all methods use the remaining half for ECE. We report mean absolute error (MAE) relative to population ECE over 200 repetitions; error bars show one Monte Carlo standard error.
Figure 1 shows decreasing NC-ECE errors, with estimated rates performing close to given rates, illustrating Lemma 1 and Theorem 1. Majority voting is wrong only when at least two of the three annotators are wrong, which is unlikely with low error rates and conditionally independent errors. These nonzero rates still change label expectations; correction need not have lower finite-sample MAE. Appendix Figure 2 shows the Shifted and Nonlinear comparisons: voting is close to NC-ECE in Shifted, whereas the difference is clearer at larger sample sizes in Nonlinear.
Sample reuse. For each of the three conditions, we compare how the same N N N examples, each labeled by three annotators, are used: sample splitting (half for noise estimation, half for ECE), full-sample reuse (all examples for both), and five-fold cross-fitting (estimate noise probabilities on four folds and apply the correction to the remaining fold). Cross-fitting combines the held-out residuals before computing ECE. The predictor and bin boundaries remain fixed, and every method uses Joint score-bin EM and equal weights.
Table 1 shows similar mean errors for reuse and cross-fitting, both lower than for splitting in all three conditions. Even when the true ECE is zero, finite-sample estimation error remains. The calibrated case illustrates the reuse allowed by Proposition 1, not a theoretical ranking of the methods.
Recalibration on tabular data
We examine whether recalibration improves an existing predictor when only noisy labels are available for post-hoc fitting. We train decision trees, random forests, SVMs, naive Bayes, logistic regression, and MLPs with the original labels of ACSIncome, CreditDefault, HMDA, and MEPS [15 ] . Each held-out example receives labels from K = 2 , 3 , 4 K = 2, 3, 4 K = 2 , 3 , 4 simulated annotators, generated by flipping its original label with annotator- and class-specific probabilities. Joint score-bin EM estimates the unknown noise probabilities on the recalibration sample (Appendix § 15 .§ 3 ), and the methods of § 5 recalibrate the predictions using only these noisy labels. Naive uses averaged noisy annotations as targets. Corrected adjusts each annotation using estimated noise probabilities and combines the corrected labels with inverse-variance weights. Table 2 checks improvement using original labels of separate test examples. Corrected Platt and fixed-bin methods reduce mean ECE relative to Base on all four datasets, whereas corrected temperature scaling worsens ECE on MEPS. Improvements are not universal.
Table 2. Recalibration on tabular data: dataset-wise Oracle ECE (×100), mean ± SD over ten seeds.
Real label noise: a stress test
We stress-test ECE evaluation and recalibration on CIFAR-10N, where class-conditional noise (Assumption 1) and conditional independence (Assumption 2) are not assured. Each image has its original CIFAR-10 label and three additional classifications by distinct people, who can vary across images. The original multiclass study reports feature-dependent noise [40 ] . No artificial corruption is introduced.
Both label sets are mapped to animal/vehicle. CLIP ViT-B/32’s animal probability is the score [30 ] . We compare the base predictor, fixed-bin fitting to mean responses (Naive), and noise-corrected fixed-bin fitting (Corrected). For recalibration and evaluation, marginal Dawid–Skene EM estimates noise probabilities from responses alone on separate images. We reserve original CIFAR-10 labels [21 ] as benchmark reference labels for binned Oracle ECE ; they are not used for fitting or selection.
Table 3 averages five fits sharing held-out samples. Naive recalibration reduces Soft-vote ECE but worsens reference-label ECE; correction reverses both changes. In this fixed-bin comparison, NC-ECE is close to Oracle ECE values and tracks their direction of change using noisy responses alone; the noise assumptions remain unverified.
Table 3. CIFAR-10N fixed-bin recalibration: mean ± SD over five pilot splits (×100).
Conclusion and Limitations
Corrected annotations enable ECE evaluation and recalibration from noisy responses. Our bounds separate binning, sampling, and channel-estimation errors, including fixed-bin sample reuse. Corrected-loss and histogram fitting provide clean-risk and calibration guarantees, respectively.
Our framework assumes score-invariant error rates within each true class. Identifying unknown channels additionally requires conditional independence of annotators given the true label and score, and label orientation. Even under these strong assumptions, small channel gaps can amplify correction variance, while weak separation between group class proportions can destabilize two-annotator estimation. Likelihood rates need not hold after finitely many EM steps. Addressing the limitations of these assumptions and extending the framework to multiclass labels remain directions for future work.
Supplementary Material
The supplement gives proofs, additional statistical results, algorithms, and experimental protocols. Appendix § 9 collects the notation; Appendix § 10 discusses the annotation model. Appendices § 11 –§ 13 establish the results of § 3 –§ 5 . Algorithms and experiments are given in Appendices § 14 and § 15 , followed by additional related work and discussion in Appendix § 16 .
Notation
The input space is standard Borel. Predictors, post-processing maps, and bin-membership indicators are measurable, jointly with any fitting data. A learned predictor is fixed by conditioning on its training data and randomness; all subsequent samples are independent of that information. We assume the same K K K response slots are observed for every example; sparse responses require additional missingness assumptions and example-dependent aggregation. Conditional expectations hold almost surely. Pointwise statements about m ( z ) = E [ Y ∣ Z = z ] m(z) = \mathbb{E}[Y \mid Z = z] m ( z ) = E [ Y ∣ Z = z ] use a measurable version; regularity assumptions require a version with the stated property.
Table 9.
Expectations of fitted functions integrate over a fresh independent example, with the fit held fixed. Conditional risk and bias statements require finite integrals for almost every fit, not finite averages over the fitting data. Positive fitted gaps give a finite B ^ \widehat{B} B for each fit but need not give E [ B ^ ] < ∞ \mathbb{E}[\widehat{B}] < \infty E [ B ] < ∞ . We use the usual O p O_p O p , o p o_p o p , ≍ \asymp ≍ notation and natural logarithms. Norms ∥ ⋅ ∥ 2 \lVert\cdot\rVert_2 ∥ ⋅ ∥ 2 , ∥ ⋅ ∥ ∞ \lVert\cdot\rVert_\infty ∥ ⋅ ∥ ∞ , ∥ ⋅ ∥ o p \lVert\cdot\rVert_{\mathrm{op}} ∥ ⋅ ∥ op are Euclidean, maximum-coordinate, and induced operator norms; D F DF D F , ∇ \nabla ∇ , and ∇ 2 \nabla^2 ∇ 2 denote Jacobian, gradient, and Hessian. Matrix inequalities use the positive-semidefinite order.
A fixed nonempty informative subset I ⊆ [ K ] \mathcal{I} \subseteq[K] I ⊆ [ K ] can replace [ K ] [K] [ K ] in correction formulas, with weights in Δ I = { α j ≥ 0 : ∑ j ∈ I α j = 1 } \Delta_{\mathcal{I}} = \{\alpha_j \ge0 : \sum_{j\in\mathcal{I}}\alpha_j = 1\} Δ I = { α j ≥ 0 : ∑ j ∈ I α j = 1 } . An excluded zero-gap channel is not evaluated as a zero-weighted inverse. For equal-width partitions, bins are left-closed and right-open, except that the last bin includes 1 1 1 . The same convention applies to M M M , L L L , J J J bins. Write Π [ a , b ] ( u ) = min ( b , max ( a , u ) ) \Pi_{[a,b]}(u) = \min(b,\max(a,u)) Π [ a , b ] ( u ) = min ( b , max ( a , u )) and interpret factors with exponent zero in Bernoulli mass functions as one, including 0 0 = 1 0^0 = 1 0 0 = 1 .
Calibration and the Annotation Model
Population and empirical binned errors
For a fixed partition, the clean estimator and its population counterpart are
E C E ^ B ( f , S ) = ∑ ℓ = 1 M ∣ 1 n ∑ i = 1 n ( Y i − Z i ) 1 ( Z i ∈ B ℓ ) ∣ , (22) \widehat{\mathrm{ECE}}_B(f,S) = \sum_{\ell=1}^{M} \left| \frac{1}{n}\sum_{i=1}^{n}(Y_i-Z_i)\mathbf{1}(Z_i \in B_\ell) \right|, \tag*{(22)} ECE B ( f , S ) = ℓ = 1 ∑ M n 1 i = 1 ∑ n ( Y i − Z i ) 1 ( Z i ∈ B ℓ ) , (22)
E C E B ( f ) = ∑ ℓ = 1 M ∣ E [ ( Y − Z ) 1 ( Z ∈ B ℓ ) ] ∣ . (23) \mathrm{ECE}_B(f) = \sum_{\ell=1}^{M} \left|\mathbb{E}[(Y-Z)\mathbf{1}(Z \in B_\ell)]\right|. \tag*{(23)} ECE B ( f ) = ℓ = 1 ∑ M ∣ E [( Y − Z ) 1 ( Z ∈ B ℓ )] ∣ . (23)
For a positive-mass bin, conditional Jensen gives ∣ E [ r ( Z ) ∣ Z ∈ B ℓ ] ∣ ≤ E [ ∣ r ( Z ) ∣ ∣ Z ∈ B ℓ ] \left|\mathbb{E}[r(Z) \mid Z \in B_\ell]\right| \le\mathbb{E}[|r(Z)| \mid Z \in B_\ell] ∣ E [ r ( Z ) ∣ Z ∈ B ℓ ] ∣ ≤ E [ ∣ r ( Z ) ∣ ∣ Z ∈ B ℓ ] . Multiplying by p ℓ = P ( Z ∈ B ℓ ) p_\ell= P(Z \in B_\ell) p ℓ = P ( Z ∈ B ℓ ) and summing proves E C E B ( f ) ≤ E C E ( f ) \mathrm{ECE}_B(f) \le\mathrm{ECE}(f) ECE B ( f ) ≤ ECE ( f ) . Fixed-bin estimation can therefore leave binning error even as sampling error vanishes. An independently fitted partition is held fixed in these expectations.
Example B.1 (Cancellation within a bin). If Z Z Z is uniform on { 1 / 4 , 3 / 4 } \{1/4, 3/4\} { 1/4 , 3/4 } and Y ∼ Bernoulli ( 1 / 2 ) Y \sim\operatorname{Bernoulli}(1/2) Y ∼ Bernoulli ( 1/2 ) is independent of Z Z Z , then E C E ( f ) = 1 / 4 \mathrm{ECE}(f) = 1/4 ECE ( f ) = 1/4 but one bin gives E C E B ( f ) = ∣ E [ Y − Z ] ∣ = 0 \mathrm{ECE}_B(f) = |\mathbb{E}[Y-Z]| = 0 ECE B ( f ) = ∣ E [ Y − Z ] ∣ = 0 .
Conditional distributions and identification
Because annotations are binary, Assumption 1 is equivalent to
P ( A j = 1 ∣ Y , Z ) = a j + δ j Y , δ j = b j − a j . (24) P(A_j = 1 \mid Y,Z) = a_j + \delta_jY,\qquad\delta_j = b_j-a_j. \tag*{(24)} P ( A j = 1 ∣ Y , Z ) = a j + δ j Y , δ j = b j − a j . (24)
Taking conditional expectations yields
q j ( z ) = E [ A j ∣ Z = z ] = a j + δ j m ( z ) . (25) q_j(z) = \mathbb{E}[A_j \mid Z=z] = a_j + \delta_jm(z). \tag*{(25)} q j ( z ) = E [ A j ∣ Z = z ] = a j + δ j m ( z ) . (25)
Known-channel correction uses this marginal relation and nonzero gaps; it requires neither positive orientation nor independence among annotators. Assumption 2 additionally gives
P ( A 1 : K = s ∣ Y = y , Z = z ) = ∏ j = 1 K p j ( y ) s j ( 1 − p j ( y ) ) 1 − s j , p j ( y ) = a j + δ j y . (26) P(A_{1:K}=s \mid Y=y,Z=z) = \prod_{j=1}^{K} p_j(y)^{s_j}(1-p_j(y))^{1-s_j},\qquad p_j(y)=a_j+\delta_jy. \tag*{(26)} P ( A 1 : K = s ∣ Y = y , Z = z ) = j = 1 ∏ K p j ( y ) s j ( 1 − p j ( y ) ) 1 − s j , p j ( y ) = a j + δ j y . (26)
This implies independence of the annotations given Y Y Y and A 1 : K ⊥ ⊥ Z ∣ Y A_{1:K} \perp\!\!\!\perp Z \mid Y A 1 : K ⊥ ⊥ Z ∣ Y , producing the likelihood model [4 ] . Dependence can violate this product relation while preserving the marginal correction identity. If the marginal channels themselves vary with Z Z Z given Y Y Y , a single shared correction need not remain valid. Table 4 separates the requirements.
Table 4. Information sufficient for correction or identification. Unknown-channel estimation also requires label orientation; rate results impose the regularity conditions in Appendix § 12 .
Remark B.1 (Label orientation). Replacing μ \mu μ by 1 − μ 1-\mu 1 − μ and exchanging a j , b j a_j,b_j a j , b j leaves the marginal response law unchanged. Identification therefore needs a prescribed orientation, such as a j < b j a_j < b_j a j < b j for a specified informative annotator.
Aggregation before correction
Proposition B.1 (Expectation of an aggregated annotation). Suppose P A 1 : K ∣ Y , Z = P A 1 : K ∣ Y P_{A_{1:K}\mid Y,Z}=P_{A_{1:K}\mid Y} P A 1 : K ∣ Y , Z = P A 1 : K ∣ Y . For a fixed finite-valued v : { 0 , 1 } K → R v:\{0,1\}^{K}\to\mathbb{R} v : { 0 , 1 } K → R , let c y = E [ v ( A 1 : K ) ∣ Y = y ] c_y=\mathbb{E}[v(A_{1:K})\mid Y=y] c y = E [ v ( A 1 : K ) ∣ Y = y ] . Then
E [ v ( A 1 : K ) ∣ Z ] = c 0 + ( c 1 − c 0 ) m ( Z ) . (27) \mathbb{E}[v(A_{1:K})\mid Z]=c_0+(c_1-c_0)m(Z). \tag*{(27)} E [ v ( A 1 : K ) ∣ Z ] = c 0 + ( c 1 − c 0 ) m ( Z ) . (27) The affine expression c 0 + ( c 1 − c 0 ) t c_0+(c_1-c_0)t c 0 + ( c 1 − c 0 ) t equals t t t for all t ∈ [ 0 , 1 ] t\in[0,1] t ∈ [ 0 , 1 ] if and only if c 0 = 0 c_0=0 c 0 = 0 , c 1 = 1 c_1=1 c 1 = 1 .
Proof. Iterated expectation gives E [ v ( A 1 : K ) ∣ Z ] = E [ c Y ∣ Z ] = ( 1 − m ( Z ) ) c 0 + m ( Z ) c 1 \mathbb{E}[v(A_{1:K})\mid Z]=\mathbb{E}[c_Y\mid Z]=(1-m(Z))c_0+m(Z)c_1 E [ v ( A 1 : K ) ∣ Z ] = E [ c Y ∣ Z ] = ( 1 − m ( Z )) c 0 + m ( Z ) c 1 . Evaluating the affine expression at 0 and 1 proves the last assertion.
The proposition covers majority vote and fixed weighted averages. For fixed K K K , more evaluation examples do not remove a conditional-mean mismatch, although particular distributions may have equal scalar ECEs.
Remark B.2 (Prediction-dependent aggregation). For the correctly specified posterior τ ( A 1 : K , Z ) = E [ Y ∣ A 1 : K , Z ] \tau(A_{1:K},Z)=\mathbb{E}[Y\mid A_{1:K},Z] τ ( A 1 : K , Z ) = E [ Y ∣ A 1 : K , Z ] ,
E [ τ ( A 1 : K , Z ) ∣ Z ] = m ( Z ) . (28) \mathbb{E}[\tau(A_{1:K},Z)\mid Z]=m(Z). \tag*{(28)} E [ τ ( A 1 : K , Z ) ∣ Z ] = m ( Z ) . (28)
This follows by iterated expectation. Such prediction-dependent rules are not excluded by Proposition B.1 ; fitted posteriors require their own estimation-error analysis.
Calibration Estimation: Statements and Proofs
Weighted representations and corrected moments
A bounded function w w w selects or weights predictions. Bin indicators recover the usual ECE moments. Allowing one sign in each bin expresses the sum of absolute moments as a maximum, which is useful for concentration bounds; it does not change how the estimator is computed. Let W ∞ \mathcal{W}_{\infty} W ∞ be the class of measurable maps [ 0 , 1 ] → [ − 1 , 1 ] [0,1]\to[-1,1] [ 0 , 1 ] → [ − 1 , 1 ] and define the calibration moment
M f ( w ) : = E [ ( Y − Z ) w ( Z ) ] , w ∈ W ∞ . (29) M_f(w):=\mathbb{E}[(Y-Z)w(Z)],\qquad w\in\mathcal{W}_{\infty}. \tag*{(29)} M f ( w ) := E [( Y − Z ) w ( Z )] , w ∈ W ∞ . (29)
For B : = { B ℓ } ℓ ∈ [ M ] \mathcal{B}:=\{B_\ell\}_{\ell\in[M]} B := { B ℓ } ℓ ∈ [ M ] , let r ℓ : = E [ ( Y − Z ) 1 ( Z ∈ B ℓ ) ] r_\ell:=\mathbb{E}[(Y-Z)\mathbf{1}(Z\in B_\ell)] r ℓ := E [( Y − Z ) 1 ( Z ∈ B ℓ )] , w s ( z ) : = ∑ ℓ = 1 M s ℓ 1 ( z ∈ B ℓ ) w_s(z):=\sum_{\ell=1}^{M}s_\ell\mathbf{1}(z\in B_\ell) w s ( z ) := ∑ ℓ = 1 M s ℓ 1 ( z ∈ B ℓ ) , and W B : = { w s : s ∈ [ − 1 , 1 ] M } \mathcal{W}_{\mathcal{B}}:=\{w_s:s\in[-1,1]^M\} W B := { w s : s ∈ [ − 1 , 1 ] M } .
Lemma C.1 (Weighted calibration representations). For the fixed predictor f f f ,
ECE ( f ) = sup w ∈ W ∞ M f ( w ) = sup w ∈ W ∞ ∣ M f ( w ) ∣ , (30) \operatorname{ECE}(f)=\sup_{w\in\mathcal{W}_{\infty}}M_f(w)=\sup_{w\in\mathcal{W}_{\infty}}|M_f(w)|, \tag*{(30)} ECE ( f ) = w ∈ W ∞ sup M f ( w ) = w ∈ W ∞ sup ∣ M f ( w ) ∣ , (30) ECE B ( f ) = sup w ∈ W B M f ( w ) = max s ∈ { − 1 , 1 } M ∑ ℓ = 1 M s ℓ r ℓ . (31) \operatorname{ECE}_{\mathcal{B}}(f)=\sup_{w\in\mathcal{W}_{\mathcal{B}}}M_f(w)=\max_{s\in\{-1,1\}^{M}}\sum_{\ell=1}^{M}s_\ell r_\ell. \tag*{(31)} ECE B ( f ) = w ∈ W B sup M f ( w ) = s ∈ { − 1 , 1 } M max ℓ = 1 ∑ M s ℓ r ℓ . (31)
Proof. Since w ( Z ) w(Z) w ( Z ) is measurable with respect to Z Z Z , M f ( w ) = E [ ( m ( Z ) − Z ) w ( Z ) ] M_f(w)=\mathbb{E}[(m(Z)-Z)w(Z)] M f ( w ) = E [( m ( Z ) − Z ) w ( Z )] . Its absolute value is at most E [ ∣ m ( Z ) − Z ∣ ] \mathbb{E}[|m(Z)-Z|] E [ ∣ m ( Z ) − Z ∣ ] . Equality is attained by the measurable sign of m ( z ) − z m(z)-z m ( z ) − z , with any value in [ − 1 , 1 ] [-1,1] [ − 1 , 1 ] at zero. The class is symmetric under sign change, which gives both suprema. For a binwise-constant w s w_s w s , M f ( w s ) = ∑ ℓ = 1 M s ℓ r ℓ M_f(w_s)=\sum_{\ell=1}^{M}s_\ell r_\ell M f ( w s ) = ∑ ℓ = 1 M s ℓ r ℓ . Choosing each sign to agree with r ℓ r_\ell r ℓ gives ∑ ℓ = 1 M ∣ r ℓ ∣ \sum_{\ell=1}^{M}|r_\ell| ∑ ℓ = 1 M ∣ r ℓ ∣ , including zero-moment bins.
Lemma C.2 (Corrected moments and unbiased empirical moments). Suppose Assumption 1 holds and δ j ≠ 0 \delta_j\ne0 δ j = 0 for j ∈ [ K ] j\in[K] j ∈ [ K ] . For U j : = ( A j − a j ) / δ j U_j:=(A_j-a_j)/\delta_j U j := ( A j − a j ) / δ j and ψ j : = U j − Z \psi_j:=U_j-Z ψ j := U j − Z , and every fixed α ∈ Δ K \alpha\in\Delta_K α ∈ Δ K ,
E [ U j ∣ Y , Z ] = Y , E [ U α ∣ Y , Z ] = Y , (32) \mathbb{E}[U_j\mid Y,Z]=Y,\qquad\mathbb{E}[U_\alpha\mid Y,Z]=Y, \tag*{(32)} E [ U j ∣ Y , Z ] = Y , E [ U α ∣ Y , Z ] = Y , (32) E [ ψ j ∣ Z ] = E [ ψ α ∣ Z ] = m ( Z ) − Z , (33) \mathbb{E}[\psi_j\mid Z]=\mathbb{E}[\psi_\alpha\mid Z]=m(Z)-Z, \tag*{(33)} E [ ψ j ∣ Z ] = E [ ψ α ∣ Z ] = m ( Z ) − Z , (33) E [ ψ j w ( Z ) ] = E [ ψ α w ( Z ) ] = M f ( w ) , w ∈ W ∞ . (34) \mathbb{E}[\psi_jw(Z)]=\mathbb{E}[\psi_\alpha w(Z)]=M_f(w),\qquad w\in\mathcal{W}_{\infty}. \tag*{(34)} E [ ψ j w ( Z )] = E [ ψ α w ( Z )] = M f ( w ) , w ∈ W ∞ . (34) For an independent evaluation sample, the empirical corrected moment is unbiased, conditional on any independent data determining α , w \alpha,w α , w .
Proof of Lemmas 1 and C.2. Eq. (B.3) gives E [ ( A j − a j ) / δ j ∣ Y , Z ] = Y \mathbb{E}[(A_j-a_j)/\delta_j \mid Y,Z]=Y E [( A j − a j ) / δ j ∣ Y , Z ] = Y . Linearity and ∑ j = 1 K α j = 1 \sum_{j=1}^{K}\alpha_j=1 ∑ j = 1 K α j = 1 give the aggregate identity. Conditioning again on Z Z Z gives E [ U j ∣ Z ] = E [ U α ∣ Z ] = m ( Z ) \mathbb{E}[U_j\mid Z]=\mathbb{E}[U_\alpha\mid Z]=m(Z) E [ U j ∣ Z ] = E [ U α ∣ Z ] = m ( Z ) . Subtracting Z Z Z proves Eq. (C.5). Substitution into the ECE definition in Eq. (1) proves Eq. (5) . Multiplication by bounded w ( Z ) w(Z) w ( Z ) and expectation yield Eq. (C.6). All variables are integrable because the finite set of inverted gaps is nonzero. Finally, expectation of an empirical average equals its population expectation when the function is fixed independently of the sample. No joint annotator independence is used.
Independent-sample ECE bound
Write ψ ^ ( O ) = U ^ ( A 1 : K ) − Z \widehat{\psi}(O)=\widehat{U}(A_{1:K})-Z ψ ( O ) = U ( A 1 : K ) − Z and define
r ^ ℓ : = E D e v [ ψ ^ 1 ( Z ∈ B ℓ ) ] , E C E ^ B N C ( f , D e v ) = ∑ ℓ = 1 M ∣ r ^ ℓ ∣ . (35) \widehat{r}_{\ell}:=\mathbb{E}_{\mathrm{Dev}}\left[\widehat{\psi}\mathbf{1}(Z\in B_{\ell})\right], \qquad\widehat{\mathrm{ECE}}_{B}^{\mathrm{NC}}(f,\mathcal{D}_{\mathrm{ev}})=\sum_{\ell=1}^{M}\left|\widehat{r}_{\ell}\right|. \tag*{(35)} r ℓ := E Dev [ ψ 1 ( Z ∈ B ℓ ) ] , ECE B NC ( f , D ev ) = ℓ = 1 ∑ M ∣ r ℓ ∣ . (35)
The estimates, weights, and bins are measurable functions of D c h \mathcal{D}_{\mathrm{ch}} D ch , which may include independent pilot information. They are independent of D e v \mathcal{D}_{\mathrm{ev}} D ev .
Lemma C.3 (Conditional-expectation error and bounds). Under Assumption 1, assume 0 ≤ a ^ j < b ^ j ≤ 1 0\leq\widehat{a}_j<\widehat{b}_j\leq1 0 ≤ a j < b j ≤ 1 for j ∈ [ K ] j\in[K] j ∈ [ K ] and α ^ ∈ Δ K \widehat{\alpha}\in\Delta_K α ∈ Δ K . For an independent example O ∼ P O O\sim P_O O ∼ P O , with D c h \mathcal{D}_{\mathrm{ch}} D ch held fixed as in Appendix § 9 ,
b c h ( z ) : = E [ U ^ ∣ Z = z , D c h ] − m ( z ) = ∑ j = 1 K α ^ j ( 1 − m ( z ) ) ( a j − a ^ j ) + m ( z ) ( b j − b ^ j ) δ ^ j , (36) b_{\mathrm{ch}}(z):=\mathbb{E}[\widehat{U}\mid Z=z,\mathcal{D}_{\mathrm{ch}}]-m(z)
=\sum_{j=1}^{K}\widehat{\alpha}_j\frac{(1-m(z))(a_j-\widehat{a}_j)+m(z)(b_j-\widehat{b}_j)}{\widehat{\delta}_j}, \tag*{(36)} b ch ( z ) := E [ U ∣ Z = z , D ch ] − m ( z ) = j = 1 ∑ K α j δ j ( 1 − m ( z )) ( a j − a j ) + m ( z ) ( b j − b j ) , (36) ∣ b c h ( Z ) ∣ ≤ d c h , ∣ U ^ ∣ ≤ B ^ , ∣ ψ ^ ∣ ≤ B ^ . (37) |b_{\mathrm{ch}}(Z)|\leq d_{\mathrm{ch}},\qquad|\widehat{U}|\leq\widehat{B},\qquad|\widehat{\psi}|\leq\widehat{B}. \tag*{(37)} ∣ b ch ( Z ) ∣ ≤ d ch , ∣ U ∣ ≤ B , ∣ ψ ∣ ≤ B . (37) These bounds also hold for zero true gaps. In that case they need not be small, and they do not imply that the channel can be identified.
Proof. Independence of the example and D c h \mathcal{D}_{\mathrm{ch}} D ch allows the estimates to be held fixed. By Eq. (B.4), the conditional expectation of the j j j th estimated corrected label is ( a j + δ j m ( z ) − a ^ j ) / δ ^ j (a_j+\delta_jm(z)-\widehat{a}_j)/\widehat{\delta}_j ( a j + δ j m ( z ) − a j ) / δ j . Subtracting m ( z ) m(z) m ( z ) and using δ j − δ ^ j = ( b j − b ^ j ) − ( a j − a ^ j ) \delta_j-\widehat{\delta}_j=(b_j-\widehat{b}_j)-(a_j-\widehat{a}_j) δ j − δ j = ( b j − b j ) − ( a j − a j ) proves Eq. (C.8). Its numerator is a convex combination of two endpoint errors, so its absolute value is bounded by their maximum. Summing gives d c h d_{\mathrm{ch}} d ch . The label bound follows from ∣ A j − a ^ j ∣ ≤ 1 |A_j-\widehat{a}_j|\leq1 ∣ A j − a j ∣ ≤ 1 . For the residual, note that a ^ j + δ ^ j Z = ( 1 − Z ) a ^ j + Z b ^ j ∈ [ 0 , 1 ] \widehat{a}_j+\widehat{\delta}_jZ=(1-Z)\widehat{a}_j+Z\widehat{b}_j\in[0,1] a j + δ j Z = ( 1 − Z ) a j + Z b j ∈ [ 0 , 1 ] . Thus ∣ A j − a ^ j − δ ^ j Z ∣ ≤ 1 |A_j-\widehat{a}_j-\widehat{\delta}_jZ|\leq1 ∣ A j − a j − δ j Z ∣ ≤ 1 ; division and convex aggregation prove the last bound.
Theorem C.1 (Finite-sample error and conditional bias). Suppose Assumption 1 holds. Let D c h \mathcal{D}_{\mathrm{ch}} D ch and D e v \mathcal{D}_{\mathrm{ev}} D ev be independent i.i.d. samples from P O P_O P O , with the predictor fixed independently of both. Let the estimates, weights and partition satisfy Definition 4, and set p ℓ : = P ( Z ∈ B ℓ ∣ D c h ) p_{\ell}:=P(Z\in B_{\ell}\mid\mathcal{D}_{\mathrm{ch}}) p ℓ := P ( Z ∈ B ℓ ∣ D ch ) . No smoothness is needed for the first two assertions. Conditional on D c h \mathcal{D}_{\mathrm{ch}} D ch ,
− d c h ≤ E [ E C E ^ B N C ( f , D e v ) ∣ D c h ] − E C E B ( f ) ≤ B ^ M n e v + d c h . (38) -d_{\mathrm{ch}}\leq\mathbb{E}\left[\widehat{\mathrm{ECE}}_{B}^{\mathrm{NC}}(f,\mathcal{D}_{\mathrm{ev}})\mid\mathcal{D}_{\mathrm{ch}}\right]-\mathrm{ECE}_{B}(f)\leq\widehat{B}\sqrt{\frac{M}{n_{\mathrm{ev}}}}+d_{\mathrm{ch}}. \tag*{(38)} − d ch ≤ E [ ECE B NC ( f , D ev ) ∣ D ch ] − ECE B ( f ) ≤ B n ev M + d ch . (38) For every η ∈ ( 0 , 1 ) \eta\in(0,1) η ∈ ( 0 , 1 ) , with conditional probability at least 1 − η 1-\eta 1 − η ,
∣ E C E ^ B N C ( f , D e v ) − E C E B ( f ) ∣ ≤ B ^ 2 ( M log 2 + log ( 2 / η ) ) n e v + d c h . (39) \left|\widehat{\mathrm{ECE}}_{B}^{\mathrm{NC}}(f,\mathcal{D}_{\mathrm{ev}})-\mathrm{ECE}_{B}(f)\right|
\leq\widehat{B}\sqrt{\frac{2(M\log2+\log(2/\eta))}{n_{\mathrm{ev}}}}+d_{\mathrm{ch}}. \tag*{(39)} ECE B NC ( f , D ev ) − ECE B ( f ) ≤ B n ev 2 ( M log 2 + log ( 2/ η )) + d ch . (39) If r ( z ) : = m ( z ) − z r(z):=m(z)-z r ( z ) := m ( z ) − z has an L r L_r L r -Lipschitz version on the support of P Z P_Z P Z , and h B : = max ℓ ∈ [ M ] diam ( B ℓ ) h_B:=\max_{\ell\in[M]}\operatorname{diam}(B_{\ell}) h B := max ℓ ∈ [ M ] diam ( B ℓ ) , then
0 ≤ E C E ( f ) − E C E B ( f ) ≤ L r h B . (40) 0\leq\mathrm{ECE}(f)-\mathrm{ECE}_{B}(f)\leq L_rh_B. \tag*{(40)} 0 ≤ ECE ( f ) − ECE B ( f ) ≤ L r h B . (40) Combining Eq. (C.11) and Eq. (C.12) proves Theorem 1 for the population target.
Proof. Condition throughout on D c h \mathcal{D}_{\mathrm{ch}} D ch . Set q ℓ = E [ ψ ^ 1 ( Z ∈ B ℓ ) ∣ D c h ] q_\ell=\mathbb{E}[\widehat{\psi}_1(Z\in B_\ell)\mid\mathcal{D}_{\mathrm{ch}}] q ℓ = E [ ψ 1 ( Z ∈ B ℓ ) ∣ D ch ] and Q B = ∑ ℓ ∣ q ℓ ∣ Q_B=\sum_\ell|q_\ell| Q B = ∑ ℓ ∣ q ℓ ∣ . Lemma C.3 gives
∑ ℓ ∣ q ℓ − r ℓ ∣ ≤ ∑ ℓ E [ ∣ b c h ( Z ) ∣ 1 ( Z ∈ B ℓ ) ∣ D c h ] ≤ d c h . (41) \sum_\ell|q_\ell-r_\ell|\le\sum_\ell\mathbb{E}[|b_{\mathrm{ch}}(Z)|\mathbb{1}(Z\in B_\ell)\mid\mathcal{D}_{\mathrm{ch}}]\le d_{\mathrm{ch}}. \tag*{(41)} ℓ ∑ ∣ q ℓ − r ℓ ∣ ≤ ℓ ∑ E [ ∣ b ch ( Z ) ∣1 ( Z ∈ B ℓ ) ∣ D ch ] ≤ d ch . (41)
Thus ∣ Q B − ECE B ( f ) ∣ ≤ d c h |Q_B-\operatorname{ECE}_B(f)|\le d_{\mathrm{ch}} ∣ Q B − ECE B ( f ) ∣ ≤ d ch . Since E [ r ^ ℓ ] = q ℓ \mathbb{E}[\widehat{r}_\ell]=q_\ell E [ r ℓ ] = q ℓ and Var ( r ^ ℓ ) ≤ B ^ 2 p ℓ / n e v \operatorname{Var}(\widehat{r}_\ell)\le\widehat{B}^2p_\ell/n_{\mathrm{ev}} Var ( r ℓ ) ≤ B 2 p ℓ / n ev , Jensen and Cauchy–Schwarz yield 0 ≤ E [ ECE ^ B N C ] − Q B ≤ ∑ ℓ E ∣ r ^ ℓ − q ℓ ∣ ≤ B ^ n e v − 1 / 2 ∑ ℓ p ℓ ≤ B ^ M / n e v 0\le\mathbb{E}[\widehat{\operatorname{ECE}}^{\mathrm{NC}}_B]-Q_B\le\sum_\ell\mathbb{E}|\widehat{r}_\ell-q_\ell|\le\widehat{B}n_{\mathrm{ev}}^{-1/2}\sum_\ell\sqrt{p_\ell}\le\widehat{B}\sqrt{M/n_{\mathrm{ev}}} 0 ≤ E [ ECE B NC ] − Q B ≤ ∑ ℓ E ∣ r ℓ − q ℓ ∣ ≤ B n ev − 1/2 ∑ ℓ p ℓ ≤ B M / n ev , proving Eq. (C.10). For the deviation bound,
∑ ℓ ∣ r ^ ℓ − q ℓ ∣ = max s ∈ { − 1 , 1 } M ∣ ( E D e v − E ) [ ψ ^ w s ( Z ) ] ∣ . (42) \sum_\ell|\widehat{r}_\ell-q_\ell|=\max_{s\in\{-1,1\}^M}\left|(\mathbb{E}_{\mathrm{Dev}}-\mathbb{E})[\widehat{\psi}w_s(Z)]\right|. \tag*{(42)} ℓ ∑ ∣ r ℓ − q ℓ ∣ = s ∈ { − 1 , 1 } M max ( E Dev − E ) [ ψ w s ( Z )] . (42)
Each of the 2 M 2^M 2 M functions is bounded by B ^ \widehat{B} B in absolute value. Two-sided Hoeffding and a union bound give tail probability at most 2 M + 1 exp ( − n e v t 2 / ( 2 B ^ 2 ) ) 2^{M+1}\exp(-n_{\mathrm{ev}}t^2/(2\widehat{B}^2)) 2 M + 1 exp ( − n ev t 2 / ( 2 B 2 )) . Setting this equal to η \eta η and using Eq. (C.13) proves Eq. (C.11). Finally, in each positive-mass bin let r ‾ ℓ = E [ r ( Z ) ∣ Z ∈ B ℓ ] \overline{r}_\ell=\mathbb{E}[r(Z)\mid Z\in B_\ell] r ℓ = E [ r ( Z ) ∣ Z ∈ B ℓ ] . An independent conditional copy Z ′ Z' Z ′ gives ∣ r ( z ) − r ‾ ℓ ∣ ≤ E [ ∣ r ( z ) − r ( Z ′ ) ∣ ∣ Z ′ ∈ B ℓ ] ≤ L r diam ( B ℓ ) |r(z)-\overline{r}_\ell|\le\mathbb{E}[|r(z)-r(Z')|\mid Z'\in B_\ell]\le L_r\operatorname{diam}(B_\ell) ∣ r ( z ) − r ℓ ∣ ≤ E [ ∣ r ( z ) − r ( Z ′ ) ∣ ∣ Z ′ ∈ B ℓ ] ≤ L r diam ( B ℓ ) almost surely. Conditional Jensen and summation with bin masses prove 0 ≤ ECE ( f ) − ECE B ( f ) ≤ L r h B 0\le\operatorname{ECE}(f)-\operatorname{ECE}_B(f)\le L_rh_B 0 ≤ ECE ( f ) − ECE B ( f ) ≤ L r h B and Theorem 1.
Lemma C.4 (Known-channel bias). Suppose Assumption 1 holds and δ j ≠ 0 \delta_j\ne0 δ j = 0 for j ∈ [ K ] j\in[K] j ∈ [ K ] . Set
B ρ : = max j ∈ [ K ] ∣ δ j ∣ − 1 . (43) B_\rho:=\max_{j\in[K]}|\delta_j|^{-1}. \tag*{(43)} B ρ := j ∈ [ K ] max ∣ δ j ∣ − 1 . (43)
Let α ∈ Δ K \alpha\in\Delta_K α ∈ Δ K and B \mathcal{B} B be fixed. On an i.i.d. sample D = { O i } i ∈ [ n ] ∼ P O n \mathcal{D}=\{O_i\}_{i\in[n]}\sim P_{\mathcal{O}}^n D = { O i } i ∈ [ n ] ∼ P O n , define the known-channel estimator ECE ^ ρ , B N C ( f , D ) : = ∑ ℓ = 1 M ∣ E D [ ( U α − Z ) 1 ( Z ∈ B ℓ ) ] ∣ \widehat{\operatorname{ECE}}_{\rho,B}^{\mathrm{NC}}(f,\mathcal{D}):=\sum_{\ell=1}^M|\mathbb{E}_{\mathcal{D}}[(U_\alpha-Z)\mathbb{1}(Z\in B_\ell)]| ECE ρ , B NC ( f , D ) := ∑ ℓ = 1 M ∣ E D [( U α − Z ) 1 ( Z ∈ B ℓ )] ∣ . Each corrected bin moment is unbiased, and
0 ≤ E [ ECE ^ ρ , B N C ( f , D ) ] − ECE B ( f ) ≤ B ρ M / n . (44) 0\le\mathbb{E}[\widehat{\operatorname{ECE}}_{\rho,B}^{\mathrm{NC}}(f,\mathcal{D})]-\operatorname{ECE}_B(f)\le B_\rho\sqrt{M/n}. \tag*{(44)} 0 ≤ E [ ECE ρ , B NC ( f , D )] − ECE B ( f ) ≤ B ρ M / n . (44)
If the weights and partition are chosen using independent data, the same statement holds conditional on those data.
Proof. Lemma C.2 gives unbiased bin moments. Since a j + δ j Z ∈ [ 0 , 1 ] a_j+\delta_jZ\in[0,1] a j + δ j Z ∈ [ 0 , 1 ] , ∣ ψ j ∣ ≤ ∣ δ j ∣ − 1 |\psi_j|\le|\delta_j|^{-1} ∣ ψ j ∣ ≤ ∣ δ j ∣ − 1 , including negative nonzero gaps. Thus ∣ ψ α ∣ ≤ B ρ |\psi_\alpha|\le B_\rho ∣ ψ α ∣ ≤ B ρ . The Jensen and variance argument in the preceding proof, now with q ℓ = r ℓ q_\ell=r_\ell q ℓ = r ℓ , yields the result.
Proof of Corollary 1
Proof. Use e c h e_{\mathrm{ch}} e ch from Eq. (10) . The assumption e c h = O p ( ε n c h ) e_{\mathrm{ch}}=O_p(\varepsilon_{n_{\mathrm{ch}}}) e ch = O p ( ε n ch ) with ε n c h → 0 \varepsilon_{n_{\mathrm{ch}}}\to0 ε n ch → 0 implies e c h = o p ( 1 ) e_{\mathrm{ch}}=o_p(1) e ch = o p ( 1 ) . For every j ∈ [ K ] j\in[K] j ∈ [ K ] , ∣ δ ^ j − δ j ∣ ≤ ∣ a ^ j − a j ∣ + ∣ b ^ j − b j ∣ ≤ e c h |\widehat{\delta}_j-\delta_j|\le|\widehat{a}_j-a_j|+|\widehat{b}_j-b_j|\le e_{\mathrm{ch}} ∣ δ j − δ j ∣ ≤ ∣ a j − a j ∣ + ∣ b j − b j ∣ ≤ e ch . Thus, on the event e c h ≤ δ min / 2 e_{\mathrm{ch}}\le\delta_{\min}/2 e ch ≤ δ m i n /2 , whose probability tends to one, δ ^ j ≥ δ min / 2 \widehat{\delta}_j\ge\delta_{\min}/2 δ j ≥ δ m i n /2 for all j j j , and B ^ ≤ 2 / δ min \widehat{B}\le2/\delta_{\min} B ≤ 2/ δ m i n , d c h ≤ 2 e c h / δ min d_{\mathrm{ch}}\le2e_{\mathrm{ch}}/\delta_{\min} d ch ≤ 2 e ch / δ m i n . The conditional probability bound in Theorem 1, integrated over D c h \mathcal{D}_{\mathrm{ch}} D ch , therefore gives a sampling term of order O p ( M / n e v ) O_p(\sqrt{M/n_{\mathrm{ev}}}) O p ( M / n ev ) and channel error O p ( ε n c h ) O_p(\varepsilon_{n_{\mathrm{ch}}}) O p ( ε n ch ) . For equal-width bins, h B = M − 1 h_B=M^{-1} h B = M − 1 , proving Eq. (11) . The choice M ≍ n e v 1 / 3 M\asymp n_{\mathrm{ev}}^{1/3} M ≍ n ev 1/3 balances binning and sampling. For the reused sample, the same event and deterministic inequalities apply with e c h = O p ( ε n ) e_{\mathrm{ch}}=O_p(\varepsilon_n) e ch = O p ( ε n ) . Apply Proposition 1; fixed K K K changes only a constant inside the logarithm. This gives O p ( M − 1 + M / n + ε n ) O_p(M^{-1}+\sqrt{M/n}+\varepsilon_n) O p ( M − 1 + M / n + ε n ) and the stated choice of M M M . Neither argument treats fitted coefficients as independent of the sample that fitted them.
The smoothness-free bound in Theorem C.1 also gives O p ( n e v − 1 / 2 + ε n c h ) O_p(n_{\mathrm{ev}}^{-1/2}+\varepsilon_{n_{\mathrm{ch}}}) O p ( n ev − 1/2 + ε n ch ) error relative to ECE B ( f ) \operatorname{ECE}_B(f) ECE B ( f ) for a fixed partition. That statement concerns the auxiliary binned quantity, not ECE ( f ) \operatorname{ECE}(f) ECE ( f ) .
Remark C.1 (Evaluation bins and channel groups). A growing evaluation bin count M M M need not change the dimension of the channel estimator: its group count L L L can remain fixed. The rates above require the stated channel-error rate; fixed-dimensional channel theory does not supply that rate when its group count also grows.
Same-sample estimation with fixed bins
A uniform finite-class argument permits the same observations to fit the channels, choose the weights, and evaluate ECE. It controls the empirical deviations simultaneously over all admissible fitted corrections. Population expectations of a fitted function always refer to an independent example, with its realized coefficients held fixed.
Corollary C.1 (Same-sample ECE estimation). Let D = { O i } i ∈ [ n ] \mathcal{D} = \{O_i\}_{i \in[n]} D = { O i } i ∈ [ n ] be i.i.d. from P O P_O P O , and let the predictor and partition B \mathcal{B} B be fixed independently of this sample. Suppose Assumption 1 holds. Let 0 ≤ a ^ j < b ^ j ≤ 1 0 \le\hat{a}_j < \hat{b}_j \le1 0 ≤ a ^ j < b ^ j ≤ 1 for j ∈ [ K ] j \in[K] j ∈ [ K ] and α ^ ∈ Δ K \hat{\alpha} \in\Delta_K α ^ ∈ Δ K be arbitrary measurable functions of D \mathcal{D} D . Define B ^ , d c h \widehat{\mathcal{B}}, d_{\mathrm{ch}} B , d ch as in Theorem 1 for these estimates. For every η ∈ ( 0 , 1 ) \eta\in(0,1) η ∈ ( 0 , 1 ) , with probability at least 1 − η 1-\eta 1 − η ,
∣ E C E ^ B ^ N C ( f , D ) − E C E B ( f ) ∣ ≤ B ^ 2 ( M log 2 + log ( 6 K / η ) ) n + d c h . (45) \left|\widehat{\mathrm{ECE}}_{\widehat{\mathcal{B}}}^{\mathrm{NC}}(f,\mathcal{D})-\mathrm{ECE}_{\mathcal{B}}(f)\right|
\le\widehat{B}\sqrt{\frac{2(M\log2+\log(6K/\eta))}{n}}+d_{\mathrm{ch}}. \tag*{(45)} ECE B NC ( f , D ) − ECE B ( f ) ≤ B n 2 ( M log 2 + log ( 6 K / η )) + d ch . (45) No nonzero-true-gap assumption is needed for this inequality. If r ( z ) : = m ( z ) − z r(z):=m(z)-z r ( z ) := m ( z ) − z has an L r L_r L r -Lipschitz version, add L r h B L_r h_{\mathcal{B}} L r h B to obtain a bound relative to E C E ( f ) \mathrm{ECE}(f) ECE ( f ) .
Proof. For j ∈ [ K ] j \in[K] j ∈ [ K ] , define three fixed functions h j , 0 ( O ) : = A j h_{j,0}(O):=A_j h j , 0 ( O ) := A j , h j , 1 ( O ) : = A j − Z h_{j,1}(O):=A_j-Z h j , 1 ( O ) := A j − Z , and h j , 2 ( O ) : = A j − 1 h_{j,2}(O):=A_j-1 h j , 2 ( O ) := A j − 1 . For every s ∈ { − 1 , 1 } M s \in\{-1,1\}^M s ∈ { − 1 , 1 } M and v ∈ { 0 , 1 , 2 } v \in\{0,1,2\} v ∈ { 0 , 1 , 2 } , h j , v w s h_{j,v}w_s h j , v w s takes values in [ − 1 , 1 ] [-1,1] [ − 1 , 1 ] . Hoeffding’s inequality and a union bound over the 3 K 2 M 3K2^M 3 K 2 M functions give an event of probability at least 1 − η 1-\eta 1 − η on which
max j , v , s ∣ ( E D − E ) [ h j , v w s ] ∣ ≤ t n , t n : = 2 ( M log 2 + log ( 6 K / η ) ) n . (46) \max_{j,v,s}\left|(\mathbb{E}_{\mathcal{D}}-\mathbb{E})[h_{j,v}w_s]\right|\le t_n,\qquad t_n:=\sqrt{\frac{2(M\log2+\log(6K/\eta))}{n}}. \tag*{(46)} j , v , s max ∣ ( E D − E ) [ h j , v w s ] ∣ ≤ t n , t n := n 2 ( M log 2 + log ( 6 K / η )) . (46)
For any 0 ≤ a ′ < b ′ ≤ 1 0\le a' < b'\le1 0 ≤ a ′ < b ′ ≤ 1 , the exact decomposition
A j − a ′ − ( b ′ − a ′ ) Z = ( 1 − b ′ ) h j , 0 + ( b ′ − a ′ ) h j , 1 + a ′ h j , 2 (47) A_j-a'-(b'-a')Z=(1-b')h_{j,0}+(b'-a')h_{j,1}+a'h_{j,2} \tag*{(47)} A j − a ′ − ( b ′ − a ′ ) Z = ( 1 − b ′ ) h j , 0 + ( b ′ − a ′ ) h j , 1 + a ′ h j , 2 (47)
has nonnegative coefficients summing to one. Consequently, on the same event, simultaneously for all admissible channel estimates and convex weights, max s ∣ ( E D − E ) [ ψ ^ w s ] ∣ ≤ ∑ j = 1 K α ^ j δ ^ j t n = B ^ t n \max_s\left|(\mathbb{E}_{\mathcal{D}}-\mathbb{E})[\widehat{\psi}_{w_s}]\right|\le\sum_{j=1}^K\frac{\hat{\alpha}_j}{\hat{\delta}_j}t_n=\widehat{B}t_n max s ( E D − E ) [ ψ w s ] ≤ ∑ j = 1 K δ ^ j α ^ j t n = B t n . The inequality holds for every realized sample on the uniform event, even when the coefficients are fitted on D \mathcal{D} D . For each realized correction, the algebra of Eq. (C.8), applied to an independent copy, also gives ∣ E [ ψ ^ w s ] − M f ( w s ) ∣ ≤ d c h \left|\mathbb{E}[\widehat{\psi}_{w_s}]-M_f(w_s)\right|\le d_{\mathrm{ch}} E [ ψ w s ] − M f ( w s ) ≤ d ch . Thus max s ∣ E D [ ψ ^ w s ] − M f ( w s ) ∣ ≤ B ^ t n + d c h \max_s\left|\mathbb{E}_{\mathcal{D}}[\widehat{\psi}_{w_s}]-M_f(w_s)\right|\le\widehat{B}t_n+d_{\mathrm{ch}} max s E D [ ψ w s ] − M f ( w s ) ≤ B t n + d ch . The difference between the two maxima defining the empirical and population binned errors is bounded by this maximum deviation. Eq. (C.12) gives the population extension and proves Proposition 1. □
Corollary C.2 (Explicit channel-error radius). Under the conditions of Corollary C.1, suppose δ j ≥ δ min > 0 \delta_j\ge\delta_{\min}>0 δ j ≥ δ m i n > 0 for j ∈ [ K ] j\in[K] j ∈ [ K ] and
P ( max j ∈ [ K ] ( ∣ a ^ j − a j ∣ + ∣ b ^ j − b j ∣ ) ≤ r n ) ≥ 1 − η c h , r n ≤ δ min / 2. (48) P\left(\max_{j\in[K]}(|\hat{a}_j-a_j|+|\hat{b}_j-b_j|)\le r_n\right)\ge1-\eta_{\mathrm{ch}},\qquad r_n\le\delta_{\min}/2. \tag*{(48)} P ( j ∈ [ K ] max ( ∣ a ^ j − a j ∣ + ∣ b ^ j − b j ∣ ) ≤ r n ) ≥ 1 − η ch , r n ≤ δ m i n /2. (48) Then, for η e v ∈ ( 0 , 1 ) \eta_{\mathrm{ev}}\in(0,1) η ev ∈ ( 0 , 1 ) , with probability at least 1 − η c h − η e v 1-\eta_{\mathrm{ch}}-\eta_{\mathrm{ev}} 1 − η ch − η ev ,
∣ E C E ^ B ^ N C ( f , D ) − E C E B ( f ) ∣ ≤ 2 δ min ( 2 ( M log 2 + log ( 6 K / η e v ) ) n + r n ) . (49) \left|\widehat{\mathrm{ECE}}_{\widehat{\mathcal{B}}}^{\mathrm{NC}}(f,\mathcal{D})-\mathrm{ECE}_{\mathcal{B}}(f)\right|
\le\frac{2}{\delta_{\min}}\left(\sqrt{\frac{2(M\log2+\log(6K/\eta_{\mathrm{ev}}))}{n}}+r_n\right). \tag*{(49)} ECE B NC ( f , D ) − ECE B ( f ) ≤ δ m i n 2 ( n 2 ( M log 2 + log ( 6 K / η ev )) + r n ) . (49)
Proof. On the channel event, δ ^ j ≥ δ min / 2 \widehat{\delta}_j \ge\delta_{\min}/2 δ j ≥ δ m i n /2 , B ^ ≤ 2 / δ min \widehat{B} \le2/\delta_{\min} B ≤ 2/ δ m i n , and d c h ≤ 2 r n / δ min d_{\mathrm{ch}} \le2r_n/\delta_{\min} d ch ≤ 2 r n / δ m i n . Substitute these bounds into Corollary C.1 and take a union bound with the channel event.
The bound is linear in the inverse gap multiplying the channel radius. For fixed K K K , consistent root-n n n channel estimates, a Lipschitz residual, and equal-width bins with M ≍ n 1 / 3 M \asymp n^{1/3} M ≍ n 1/3 , it yields
∣ E C E ^ B N C ( f , D ) − E C E ( f ) ∣ = O P ( n − 1 / 3 ) . (50) \left|\widehat{\mathrm{ECE}}_{\mathcal{B}}^{\mathrm{NC}}(f,\mathcal{D})-\mathrm{ECE}(f)\right|=O_{\mathbb{P}}(n^{-1/3}). \tag*{(50)} ECE B NC ( f , D ) − ECE ( f ) = O P ( n − 1/3 ) . (50)
This rate requires smoothness and does not establish distribution-free or minimax optimality.
Cross-fitting with one common evaluation partition
Let D = { O i } i ∈ [ n ] \mathcal{D}=\{O_i\}_{i\in[n]} D = { O i } i ∈ [ n ] consist of i.i.d. examples from P O P_O P O . Let the index sets I 1 , … , I F I_1,\ldots,I_F I 1 , … , I F partition [ n ] [n] [ n ] independently of the data, with F ≥ 2 F\ge2 F ≥ 2 and n k : = ∣ I k ∣ > 0 n_k:=|I_k|>0 n k := ∣ I k ∣ > 0 for k ∈ [ F ] k\in[F] k ∈ [ F ] . Fix a common partition B \mathcal{B} B independently of the full sample. For each fold k k k , fit channels and weights on D − k : = { O i : i ∈ [ n ] ∖ I k } \mathcal{D}_{-k}:=\{O_i:i\in[n]\setminus I_k\} D − k := { O i : i ∈ [ n ] ∖ I k } , obtaining 0 ≤ a ^ j ( − k ) < b ^ j ( − k ) ≤ 1 0\le\widehat{a}_j^{(-k)}<\widehat{b}_j^{(-k)}\le1 0 ≤ a j ( − k ) < b j ( − k ) ≤ 1 and α ^ ( − k ) ∈ Δ K \widehat{\alpha}^{(-k)}\in\Delta_K α ( − k ) ∈ Δ K . For each k ∈ [ F ] k\in[F] k ∈ [ F ] , define ψ ^ ( − k ) ( O ) : = ∑ j = 1 K α ^ j ( − k ) A j − a ^ j ( − k ) b ^ j ( − k ) − a ^ j ( − k ) − Z \widehat{\psi}^{(-k)}(O):=\sum_{j=1}^{K}\widehat{\alpha}_j^{(-k)}\frac{A_j-\widehat{a}_j^{(-k)}}{\widehat{b}_j^{(-k)}-\widehat{a}_j^{(-k)}}-Z ψ ( − k ) ( O ) := ∑ j = 1 K α j ( − k ) b j ( − k ) − a j ( − k ) A j − a j ( − k ) − Z . The held-out bin moments and their aggregate are
r ^ k , ℓ : = 1 n k ∑ i ∈ I k ψ ^ ( − k ) ( O i ) 1 ( Z i ∈ B ℓ ) , r ^ ℓ c f : = ∑ k = 1 F n k n r ^ k , ℓ , E C E ^ B c f ( f , D ) : = ∑ ℓ = 1 M ∣ r ^ ℓ c f ∣ . (51) \widehat{r}_{k,\ell}:=\frac{1}{n_k}\sum_{i\in I_k}\widehat{\psi}^{(-k)}(O_i)\mathbf{1}(Z_i\in B_\ell),\qquad
\widehat{r}^{\mathrm{cf}}_\ell:=\sum_{k=1}^{F}\frac{n_k}{n}\widehat{r}_{k,\ell},\qquad
\widehat{\mathrm{ECE}}_{\mathcal{B}}^{\mathrm{cf}}(f,\mathcal{D}):=\sum_{\ell=1}^{M}\left|\widehat{r}^{\mathrm{cf}}_\ell\right|. \tag*{(51)} r k , ℓ := n k 1 i ∈ I k ∑ ψ ( − k ) ( O i ) 1 ( Z i ∈ B ℓ ) , r ℓ cf := k = 1 ∑ F n n k r k , ℓ , ECE B cf ( f , D ) := ℓ = 1 ∑ M r ℓ cf . (51)
The absolute values are taken after aggregating the moments, not before. For each k ∈ [ F ] k\in[F] k ∈ [ F ] , let B ^ ( − k ) \widehat{B}^{(-k)} B ( − k ) and d c h ( − k ) d_{\mathrm{ch}}^{(-k)} d ch ( − k ) be the quantities B ^ \widehat{B} B and d c h d_{\mathrm{ch}} d ch in Eq. (8) , computed using the channels and weights fitted without fold k k k .
Corollary C.3 (Cross-fitted calibration error). Under Assumption 1 and the preceding conditions, for η ∈ ( 0 , 1 ) \eta\in(0,1) η ∈ ( 0 , 1 ) , with probability at least 1 − η 1-\eta 1 − η ,
∣ E C E ^ B c f ( f , D ) − E C E B ( f ) ∣ ≤ ∑ k = 1 F n k n ( B ^ ( − k ) 2 ( M log 2 + log ( 2 F / η ) ) n k + d c h ( − k ) ) . (52) \left|\widehat{\mathrm{ECE}}_{\mathcal{B}}^{\mathrm{cf}}(f,\mathcal{D})-\mathrm{ECE}_{\mathcal{B}}(f)\right|
\le\sum_{k=1}^{F}\frac{n_k}{n}\left(\widehat{B}^{(-k)}\sqrt{\frac{2(M\log2+\log(2F/\eta))}{n_k}}+d_{\mathrm{ch}}^{(-k)}\right). \tag*{(52)} ECE B cf ( f , D ) − ECE B ( f ) ≤ k = 1 ∑ F n n k B ( − k ) n k 2 ( M log 2 + log ( 2 F / η )) + d ch ( − k ) . (52) An L r h h B L_{r_h}h_B L r h h B term gives the population extension under the same smoothness condition as Theorem 1.
Proof. Hold the independently chosen fold assignment and common partition fixed. For a fixed k k k , condition only on D − k \mathcal{D}_{-k} D − k . The held-out fold is an independent i.i.d. sample. The proof of Theorem C.1, before taking the difference of scalar errors, yields ∑ ℓ = 1 M ∣ r ^ k , ℓ − r ℓ ∣ ≤ B ^ ( − k ) 2 ( M log 2 + log ( 2 F / η ) ) / n k + d c h ( − k ) \sum_{\ell=1}^{M}|\widehat{r}_{k,\ell}-r_\ell|\le\widehat{B}^{(-k)}\sqrt{2(M\log2+\log(2F/\eta))/n_k}+d_{\mathrm{ch}}^{(-k)} ∑ ℓ = 1 M ∣ r k , ℓ − r ℓ ∣ ≤ B ( − k ) 2 ( M log 2 + log ( 2 F / η )) / n k + d ch ( − k ) with conditional probability at least 1 − η / F 1-\eta/F 1 − η / F . Integrating this conditional probability gives the same unconditional failure bound. A union bound over the F F F folds is valid without independence of their fitted estimators. On the simultaneous event, ∑ ℓ = 1 M ∣ r ^ ℓ c f − r ℓ ∣ ≤ ∑ k = 1 F n k n ∑ ℓ = 1 M ∣ r ^ k , ℓ − r ℓ ∣ \sum_{\ell=1}^{M}|\widehat{r}^{\mathrm{cf}}_\ell-r_\ell|\le\sum_{k=1}^{F}\frac{n_k}{n}\sum_{\ell=1}^{M}|\widehat{r}_{k,\ell}-r_\ell| ∑ ℓ = 1 M ∣ r ℓ cf − r ℓ ∣ ≤ ∑ k = 1 F n n k ∑ ℓ = 1 M ∣ r k , ℓ − r ℓ ∣ , which proves the claim by a reverse triangle inequality.
Remark C.3 (Common bins and the scope of cross-fitting). The common partition ensures that every fold estimates the same r ℓ r_\ell r ℓ . Arbitrary fold-specific partitions do not satisfy that requirement. Nor does this result establish calibration of a single map formed by combining independently fitted fold-specific recalibration maps. The fixed-bin recalibration theorem retains its stated sample splitting.
NC-ECE and histogram plug-in estimators
Let D = { O i } i ∈ [ n ] \mathcal{D}=\{O_i\}_{i\in[n]} D = { O i } i ∈ [ n ] be the evaluation sample, and set n ℓ : = ∑ i = 1 n 1 ( Z i ∈ B ℓ ) n_\ell:=\sum_{i=1}^{n}\mathbf{1}(Z_i\in B_\ell) n ℓ := ∑ i = 1 n 1 ( Z i ∈ B ℓ ) for ℓ ∈ [ M ] \ell\in[M] ℓ ∈ [ M ] . For a nonempty bin, let U ^ ℓ : = n ℓ − 1 ∑ i : Z i ∈ B ℓ U ^ i \widehat{U}_\ell:=n_\ell^{-1}\sum_{i:Z_i\in B_\ell}\widehat{U}_i U ℓ := n ℓ − 1 ∑ i : Z i ∈ B ℓ U i and Z ‾ ℓ : = n ℓ − 1 ∑ i : Z i ∈ B ℓ Z i \overline{Z}_\ell:=n_\ell^{-1}\sum_{i:Z_i\in B_\ell}Z_i Z ℓ := n ℓ − 1 ∑ i : Z i ∈ B ℓ Z i .
Lemma C.5 (Equivalent NC-ECE formulas). The following equality holds:
∑ ℓ : n ℓ > 0 n ℓ n ∣ U ˉ ℓ − Z ˉ ℓ ∣ = ∑ ℓ = 1 M ∣ 1 n ∑ i = 1 n ( U ^ i − Z i ) 1 ( Z i ∈ B ℓ ) ∣ (53) \sum_{\ell:n_\ell>0}\frac{n_\ell}{n}\left|\bar{U}_\ell-\bar{Z}_\ell\right|=\sum_{\ell=1}^{M}\left|\frac{1}{n}\sum_{i=1}^{n}(\hat{U}_i-Z_i)1(Z_i\in B_\ell)\right| \tag*{(53)} ℓ : n ℓ > 0 ∑ n n ℓ U ˉ ℓ − Z ˉ ℓ = ℓ = 1 ∑ M n 1 i = 1 ∑ n ( U ^ i − Z i ) 1 ( Z i ∈ B ℓ ) (53) Empty bins contribute zero to both sides.
Proof. For each nonempty bin, distribute n ℓ / n n_\ell/n n ℓ / n inside the absolute value and substitute the definitions of its two means. Empty bins have zero sample mass, so both expressions contribute zero there.
For constant weights and channels, averaging annotations within a bin and then applying their affine corrections gives exactly U ˉ ℓ \bar{U}_\ell U ˉ ℓ . Thus a histogram plug-in computation is not intrinsically a different estimator. Projection, a different fitting sample, different bins, or a different estimator of the conditional expectation can change the result, but those changes must be specified in a comparison. No uniform ranking of NC-ECE and plug-in estimators follows from the moment analysis.
Aggregation weights and residual variance
With the predictor, known channels, and constant weights fixed, V r e s ( α ) = Var ( ψ α ) V_{\mathrm{res}}(\alpha)=\operatorname{Var}(\psi_\alpha) V res ( α ) = Var ( ψ α ) is the variance over a fresh example. Let Assumptions 1 and 2 hold and suppose the channels used in correction have nonzero gaps. Define U j : = ( A j − a j ) / δ j U_j := (A_j-a_j)/\delta_j U j := ( A j − a j ) / δ j , μ : = P ( Y = 1 ) \mu:= P(Y=1) μ := P ( Y = 1 ) , and
v j ( z ) : = ( 1 − m ( z ) ) a j ( 1 − a j ) + m ( z ) b j ( 1 − b j ) δ j 2 , (54) v_j(z):=\frac{(1-m(z))a_j(1-a_j)+m(z)b_j(1-b_j)}{\delta_j^2}, \tag*{(54)} v j ( z ) := δ j 2 ( 1 − m ( z )) a j ( 1 − a j ) + m ( z ) b j ( 1 − b j ) , (54)
v ˉ j : = E [ v j ( Z ) ] = E [ ( U j − Y ) 2 ] = ( 1 − μ ) a j ( 1 − a j ) + μ b j ( 1 − b j ) δ j 2 . (55) \bar{v}_j:=\mathbb{E}[v_j(Z)]=\mathbb{E}[(U_j-Y)^2]=\frac{(1-\mu)a_j(1-a_j)+\mu b_j(1-b_j)}{\delta_j^2}. \tag*{(55)} v ˉ j := E [ v j ( Z )] = E [( U j − Y ) 2 ] = δ j 2 ( 1 − μ ) a j ( 1 − a j ) + μ b j ( 1 − b j ) . (55)
Lemma C.6 (Optimal constant weights for known channels). For α ∈ Δ K \alpha\in\Delta_K α ∈ Δ K ,
Var ( U α − Z ) = Var ( Y − Z ) + ∑ j = 1 K α j 2 v ˉ j . (56) \operatorname{Var}(U_\alpha-Z)=\operatorname{Var}(Y-Z)+\sum_{j=1}^{K}\alpha_j^2\bar{v}_j. \tag*{(56)} Var ( U α − Z ) = Var ( Y − Z ) + j = 1 ∑ K α j 2 v ˉ j . (56) If every v ˉ j > 0 \bar{v}_j>0 v ˉ j > 0 , the unique minimizing constant vector is
α j I V : = v ˉ j − 1 ∑ k = 1 K v ˉ k − 1 , j ∈ [ K ] . (57) \alpha_j^{\mathrm{IV}}:=\frac{\bar{v}_j^{-1}}{\sum_{k=1}^{K}\bar{v}_k^{-1}},\qquad j\in[K]. \tag*{(57)} α j IV := ∑ k = 1 K v ˉ k − 1 v ˉ j − 1 , j ∈ [ K ] . (57) If some v ˉ j = 0 \bar{v}_j=0 v ˉ j = 0 , the minimizers are precisely the convex vectors supported on zero-variance annotators.
Proof of Lemmas 2 and C.6. The decomposition U α − Z = ( Y − Z ) + ( U α − Y ) U_\alpha-Z=(Y-Z)+(U_\alpha-Y) U α − Z = ( Y − Z ) + ( U α − Y ) has uncorrelated terms because E [ U α − Y ∣ Y , Z ] = 0 \mathbb{E}[U_\alpha-Y\mid Y,Z]=0 E [ U α − Y ∣ Y , Z ] = 0 . Conditional independence gives Var ( U α ∣ Y , Z ) = ∑ j = 1 K α j 2 Var ( U j ∣ Y , Z ) \operatorname{Var}(U_\alpha\mid Y,Z)=\sum_{j=1}^{K}\alpha_j^2\operatorname{Var}(U_j\mid Y,Z) Var ( U α ∣ Y , Z ) = ∑ j = 1 K α j 2 Var ( U j ∣ Y , Z ) . Averaging the two Bernoulli conditional variances yields Eq. (C.28). For positive v ˉ j \bar{v}_j v ˉ j , Cauchy–Schwarz gives 1 = ( ∑ j = 1 K α j ) 2 ≤ ( ∑ j = 1 K α j 2 v ˉ j ) ( ∑ j = 1 K v ˉ j − 1 ) 1=\left(\sum_{j=1}^{K}\alpha_j\right)^2\leq\left(\sum_{j=1}^{K}\alpha_j^2\bar{v}_j\right)\left(\sum_{j=1}^{K}\bar{v}_j^{-1}\right) 1 = ( ∑ j = 1 K α j ) 2 ≤ ( ∑ j = 1 K α j 2 v ˉ j ) ( ∑ j = 1 K v ˉ j − 1 ) , with equality exactly when α j v ˉ j \alpha_j\bar{v}_j α j v ˉ j is constant. Normalization gives Eq. (C.29), and strict convexity proves uniqueness. If some v ˉ j = 0 \bar{v}_j=0 v ˉ j = 0 , the noise term is minimized exactly by assigning zero weight to annotators with positive variance.
Alternative constant rules. For positive gaps, Equal, Gap, and Squared-gap weights are proportional to 1 1 1 , δ j \delta_j δ j , δ j 2 \delta_j^2 δ j 2 . Writing ζ j = ( 1 − μ ) a j ( 1 − a j ) + μ b j ( 1 − b j ) \zeta_j=(1-\mu)a_j(1-a_j)+\mu b_j(1-b_j) ζ j = ( 1 − μ ) a j ( 1 − a j ) + μ b j ( 1 − b j ) gives α j I V ∝ δ j 2 / ζ j \alpha_j^{\mathrm{IV}}\propto\delta_j^2/\zeta_j α j IV ∝ δ j 2 / ζ j , so Squared-gap and IV agree when all positive ζ j \zeta_j ζ j are equal. These rules compare residual variance, not finite-sample ECE mean squared error. Plug-in IV and shrinkage are specified in Appendix § 14 .§ 4 .
Connection to bin-moment and NC-ECE variance
Fix the predictor, the true nonzero-gap channels, a partition B : = { B 1 , … , B M } \mathcal{B}:=\{B_1,\ldots,B_M\} B := { B 1 , … , B M } , and constant weights α ∈ Δ K \alpha\in\Delta_K α ∈ Δ K independently of an i.i.d. evaluation sample D : = { O i } i = 1 n \mathcal{D}:=\{O_i\}_{i=1}^n D := { O i } i = 1 n . For ℓ ∈ [ M ] \ell\in[M] ℓ ∈ [ M ] , define
R ℓ , α ( O ) : = ψ α ( O ) 1 ( Z ∈ B ℓ ) , r ℓ : = E [ ( Y − Z ) 1 ( Z ∈ B ℓ ) ] , R_{\ell,\alpha}(O):=\psi_\alpha(O)1(Z\in B_\ell),\qquad r_\ell:=\mathbb{E}[(Y-Z)1(Z\in B_\ell)], R ℓ , α ( O ) := ψ α ( O ) 1 ( Z ∈ B ℓ ) , r ℓ := E [( Y − Z ) 1 ( Z ∈ B ℓ )] ,
r ^ ℓ , α : = 1 n ∑ i = 1 n R ℓ , α ( O i ) , E ^ α : = ∑ ℓ = 1 M ∣ r ^ ℓ , α ∣ . (58) \widehat{r}_{\ell,\alpha}:=\frac{1}{n}\sum_{i=1}^n R_{\ell,\alpha}(O_i),\qquad\widehat{E}_\alpha:=\sum_{\ell=1}^M\left|\widehat{r}_{\ell,\alpha}\right|. \tag*{(58)} r ℓ , α := n 1 i = 1 ∑ n R ℓ , α ( O i ) , E α := ℓ = 1 ∑ M ∣ r ℓ , α ∣ . (58)
Here E ^ α \widehat{E}_\alpha E α is NC-ECE with known channels. Unbiasedness applies to each r ^ ℓ , α \widehat{r}_{\ell,\alpha} r ℓ , α , not generally to E ^ α \widehat{E}_\alpha E α ; the absolute values give E [ E ^ α ] ≥ ∑ ℓ = 1 M ∣ r ℓ ∣ \mathbb{E}[\widehat{E}_\alpha]\geq\sum_{\ell=1}^M|r_\ell| E [ E α ] ≥ ∑ ℓ = 1 M ∣ r ℓ ∣ .
Proposition C.1 (Variance of bin moments and NC-ECE). Under Assumption 1 and the preceding conditions, E [ r ^ ℓ , α ] = r ℓ \mathbb{E}[\widehat{r}_{\ell,\alpha}]=r_\ell E [ r ℓ , α ] = r ℓ ,
∑ ℓ = 1 M Var ( r ^ ℓ , α ) = 1 n ( E [ ψ α 2 ] − ∑ ℓ = 1 M r ℓ 2 ) = 1 n ( V r e s ( α ) + ( E [ Y − Z ] ) 2 − ∑ ℓ = 1 M r ℓ 2 ) . (59) \begin{aligned}
\sum_{\ell=1}^M\operatorname{Var}(\widehat{r}_{\ell,\alpha})
&=\frac{1}{n}\left(\mathbb{E}[\psi_\alpha^2]-\sum_{\ell=1}^M r_\ell^2\right)\\
&=\frac{1}{n}\left(V_{\mathrm{res}}(\alpha)+(\mathbb{E}[Y-Z])^2-\sum_{\ell=1}^M r_\ell^2\right). \tag*{(59)}
\end{aligned} ℓ = 1 ∑ M Var ( r ℓ , α ) = n 1 ( E [ ψ α 2 ] − ℓ = 1 ∑ M r ℓ 2 ) = n 1 ( V res ( α ) + ( E [ Y − Z ] ) 2 − ℓ = 1 ∑ M r ℓ 2 ) . (59) Thus minimizing V r e s V_{\mathrm{res}} V res is equivalent to minimizing the sum of variances, or the sum of mean squared errors, of these bin-moment estimates.
If M M M and B \mathcal{B} B remain fixed as n → ∞ n\to\infty n → ∞ , and r ℓ ≠ 0 r_\ell\neq0 r ℓ = 0 for every bin with P ( Z ∈ B ℓ ) > 0 P(Z\in B_\ell)>0 P ( Z ∈ B ℓ ) > 0 , then
Var ( E ^ α ) = σ α 2 n + o ( n − 1 ) , σ α 2 : = V r e s ( α ) + ( E [ Y − Z ] ) 2 − ECE B ( f ) 2 . (60) \operatorname{Var}(\widehat{E}_\alpha)=\frac{\sigma_\alpha^2}{n}+o(n^{-1}),\qquad\sigma_\alpha^2:=V_{\mathrm{res}}(\alpha)+(\mathbb{E}[Y-Z])^2-\operatorname{ECE}_{\mathcal{B}}(f)^2. \tag*{(60)} Var ( E α ) = n σ α 2 + o ( n − 1 ) , σ α 2 := V res ( α ) + ( E [ Y − Z ] ) 2 − ECE B ( f ) 2 . (60) Consequently, under Assumption 2 as well, the IV weights of Lemma C.6 minimize both the exact total bin-moment variance and, under the nonzero-moment condition, the leading asymptotic variance of known-channel NC-ECE among constant convex weights.
Proof. The corrected-moment identity gives E [ R ℓ , α ] = r ℓ \mathbb{E}[R_{\ell,\alpha}]=r_\ell E [ R ℓ , α ] = r ℓ . Independent evaluation examples imply Var ( r ^ ℓ , α ) = Var ( R ℓ , α ) / n \operatorname{Var}(\widehat{r}_{\ell,\alpha})=\operatorname{Var}(R_{\ell,\alpha})/n Var ( r ℓ , α ) = Var ( R ℓ , α ) / n . Since the bins partition the score space, ∑ ℓ = 1 M R ℓ , α 2 = ψ α 2 \sum_{\ell=1}^M R_{\ell,\alpha}^2=\psi_\alpha^2 ∑ ℓ = 1 M R ℓ , α 2 = ψ α 2 almost surely. Summing the variances and using E [ ψ α ] = E [ Y − Z ] \mathbb{E}[\psi_\alpha]=\mathbb{E}[Y-Z] E [ ψ α ] = E [ Y − Z ] proves Eq. (C.31). Its other terms do not depend on α \alpha α , and each bin-moment estimate is unbiased.
For the second part, zero-mass bins contribute zero almost surely. Let s ( z ) : = ∑ ℓ = 1 M sgn ( r ℓ ) 1 ( z ∈ B ℓ ) s(z):=\sum_{\ell=1}^M\operatorname{sgn}(r_\ell)1(z\in B_\ell) s ( z ) := ∑ ℓ = 1 M sgn ( r ℓ ) 1 ( z ∈ B ℓ ) and H n : = n − 1 ∑ i = 1 n ψ α ( O i ) s ( Z i ) H_n:=n^{-1}\sum_{i=1}^n\psi_\alpha(O_i)s(Z_i) H n := n − 1 ∑ i = 1 n ψ α ( O i ) s ( Z i ) . Then s ( Z ) 2 = 1 s(Z)^2=1 s ( Z ) 2 = 1 almost surely, E [ H n ] = ECE B ( f ) \mathbb{E}[H_n]=\operatorname{ECE}_{\mathcal{B}}(f) E [ H n ] = ECE B ( f ) , and Var ( H n ) = ( E [ ψ α 2 ] − ECE B ( f ) 2 ) / n \operatorname{Var}(H_n)=(\mathbb{E}[\psi_\alpha^2]-\operatorname{ECE}_{\mathcal{B}}(f)^2)/n Var ( H n ) = ( E [ ψ α 2 ] − ECE B ( f ) 2 ) / n . To control sign changes, let d : = min ℓ : P ( Z ∈ B ℓ ) > 0 ∣ r ℓ ∣ > 0 d:=\min_{\ell:P(Z\in B_\ell)>0}|r_\ell|>0 d := min ℓ : P ( Z ∈ B ℓ ) > 0 ∣ r ℓ ∣ > 0 and B ρ : = max j ∈ [ K ] ∣ δ j ∣ − 1 B_\rho:=\max_{j\in[K]}|\delta_j|^{-1} B ρ := max j ∈ [ K ] ∣ δ j ∣ − 1 . We have ∣ ψ α ∣ ≤ B ρ |\psi_\alpha|\leq B_\rho ∣ ψ α ∣ ≤ B ρ , and Hoeffding’s inequality gives P ( E ^ α ≠ H n ) ≤ 2 M exp ( − n d 2 2 B ρ 2 ) P(\widehat{E}_\alpha\neq H_n)\leq2M\exp\left(-\frac{nd^2}{2B_\rho^2}\right) P ( E α = H n ) ≤ 2 M exp ( − 2 B ρ 2 n d 2 ) . Indeed, the two statistics are equal whenever no estimated bin moment has the opposite sign to its population moment. Also ∣ E ^ α − H n ∣ ≤ 2 B ρ |\widehat{E}_\alpha-H_n|\leq2B_\rho ∣ E α − H n ∣ ≤ 2 B ρ , so E [ ( E ^ α − H n ) 2 ] \mathbb{E}[(\widehat{E}_\alpha-H_n)^2] E [( E α − H n ) 2 ] decays exponentially. It follows that n ∣ Var ( E ^ α ) − Var ( H n ) ∣ → 0 n|\operatorname{Var}(\widehat{E}_\alpha)-\operatorname{Var}(H_n)|\to0 n ∣ Var ( E α ) − Var ( H n ) ∣ → 0 . The identity E [ ψ α 2 ] = V r e s ( α ) + ( E [ Y − Z ] ) 2 \mathbb{E}[\psi_\alpha^2]=V_{\mathrm{res}}(\alpha)+(\mathbb{E}[Y-Z])^2 E [ ψ α 2 ] = V res ( α ) + ( E [ Y − Z ] ) 2 proves Eq. (C.32). Applying Lemma C.6 completes the argument. □ \square □
Example C.1 (Residual and finite-sample ECE variances can favor different weights). Let K = 2 K=2 K = 2 , Z = 1 / 2 Z=1/2 Z = 1/2 , Y ∼ Bernoulli ( 1 / 2 ) Y\sim\operatorname{Bernoulli}(1/2) Y ∼ Bernoulli ( 1/2 ) , and suppose the two annotators are conditionally independent with identical known channels a 1 = a 2 = 1 / 4 a_1=a_2=1/4 a 1 = a 2 = 1/4 , b 1 = b 2 = 3 / 4 b_1=b_2=3/4 b 1 = b 2 = 3/4 . Each ψ j = 2 A j − 1 \psi_j=2A_j-1 ψ j = 2 A j − 1 takes values − 1 , 1 -1,1 − 1 , 1 with equal probabilities. For n = 1 n=1 n = 1 and one bin, choosing α = ( 1 , 0 ) \alpha=(1,0) α = ( 1 , 0 ) gives Var ( ψ α ) = 1 \operatorname{Var}(\psi_\alpha)=1 Var ( ψ α ) = 1 but E ^ α = ∣ ψ 1 ∣ = 1 \widehat{E}_\alpha=|\psi_1|=1 E α = ∣ ψ 1 ∣ = 1 almost surely, so Var ( E ^ α ) = 0 \operatorname{Var}(\widehat{E}_\alpha)=0 Var ( E α ) = 0 . The IV weights are α = ( 1 / 2 , 1 / 2 ) \alpha=(1/2,1/2) α = ( 1/2 , 1/2 ) , with ψ α = A 1 + A 2 − 1 \psi_\alpha=A_1+A_2-1 ψ α = A 1 + A 2 − 1 . They reduce the residual variance to Var ( ψ α ) = 5 / 8 \operatorname{Var}(\psi_\alpha)=5/8 Var ( ψ α ) = 5/8 , but E ^ α \widehat{E}_\alpha E α is Bernoulli with success probability 5 / 8 5/8 5/8 and hence Var ( E ^ α ) = 15 / 64 > 0 \operatorname{Var}(\widehat{E}_\alpha)=15/64>0 Var ( E α ) = 15/64 > 0 . Both residual-moment estimates are unbiased for zero.
The asymptotic statement above excludes zero population bin moments and does not cover an increasing number of bins or estimated channels. Signed bin moments are unbiased with known channels, whereas their absolute values have nonnegative finite-sample bias by Jensen’s inequality. Small channel gaps can amplify this effect through larger corrected-label variance. IV weighting reduces signed-moment variance but does not remove this bias, so the result is not a finite-sample optimality claim for the absolute-value statistic.
Channel Identification and Estimation
Identification asks whether two parameter values can produce the same distribution of available data. Estimation asks how accurately the uniquely determined parameters can be recovered from a finite sample. We address these questions in that order. The channel-error bounds can then be inserted into the calibration bounds of Appendix § 11 . Within each model, θ \theta θ denotes a candidate parameter vector, θ 0 \theta_0 θ 0 its true value, and θ ^ \hat{\theta} θ ^ an estimate based on D c h D_{\mathrm{ch}} D ch . The coordinates of θ ^ \hat{\theta} θ ^ corresponding to a j , b j a_j,b_j a j , b j are the channel estimates a ^ j , b ^ j \hat{a}_j,\hat{b}_j a ^ j , b ^ j used in § 3 .
Proposition D.1 (One annotator ). Suppose K = 1 K=1 K = 1 and q ( z ) : = P ( A 1 = 1 ∣ Z = z ) q(z) := P(A_1 = 1 \mid Z = z) q ( z ) := P ( A 1 = 1 ∣ Z = z ) satisfies
0 < ess inf q ( Z ) ≤ ess sup q ( Z ) < 1. (61) 0 < \operatorname{ess\,inf} q(Z) \le\operatorname{ess\,sup} q(Z) < 1. \tag*{(61)} 0 < ess inf q ( Z ) ≤ ess sup q ( Z ) < 1. (61) There is a continuum of positively oriented class-conditional channels and true-label distributions inducing the same distribution of ( Z , A 1 ) (Z,A_1) ( Z , A 1 ) . The population true-label calibration error is not generally identifiable in this model.
Proof. Keep P Z P_Z P Z fixed. For any pair satisfying 0 ≤ a ′ < ess inf q ( Z ) ≤ ess sup q ( Z ) < b ′ ≤ 1 0 \le a' < \operatorname{ess\,inf} q(Z) \le\operatorname{ess\,sup} q(Z) < b' \le1 0 ≤ a ′ < ess inf q ( Z ) ≤ ess sup q ( Z ) < b ′ ≤ 1 , define m ′ ( z ) : = ( q ( z ) − a ′ ) / ( b ′ − a ′ ) m'(z) := (q(z)-a')/(b'-a') m ′ ( z ) := ( q ( z ) − a ′ ) / ( b ′ − a ′ ) outside a P Z P_Z P Z -null set and extend it measurably to that set, for example by setting it to 1 / 2 1/2 1/2 . Then 0 < m ′ ( Z ) < 1 0 < m'(Z) < 1 0 < m ′ ( Z ) < 1 almost surely. Generate Y ′ ∣ Z = z ∼ Bernoulli ( m ′ ( z ) ) Y' \mid Z=z \sim\operatorname{Bernoulli}(m'(z)) Y ′ ∣ Z = z ∼ Bernoulli ( m ′ ( z )) and A 1 ∣ ( Y ′ = 0 , Z ) ∼ Bernoulli ( a ′ ) A_1 \mid(Y'=0,Z) \sim\operatorname{Bernoulli}(a') A 1 ∣ ( Y ′ = 0 , Z ) ∼ Bernoulli ( a ′ ) , A 1 ∣ ( Y ′ = 1 , Z ) ∼ Bernoulli ( b ′ ) A_1 \mid(Y'=1,Z) \sim\operatorname{Bernoulli}(b') A 1 ∣ ( Y ′ = 1 , Z ) ∼ Bernoulli ( b ′ ) . This construction has P ( A 1 = 1 ∣ Z ) = a ′ + ( b ′ − a ′ ) m ′ ( Z ) = q ( Z ) P(A_1=1 \mid Z) = a' + (b'-a')m'(Z) = q(Z) P ( A 1 = 1 ∣ Z ) = a ′ + ( b ′ − a ′ ) m ′ ( Z ) = q ( Z ) , so the distribution of the available data is unchanged. The condition in Eq. (D.1) provides a continuum of such pairs.
To show that calibration itself can change, take Z ∼ Unif [ 0 , 1 ] Z \sim\operatorname{Unif}[0,1] Z ∼ Unif [ 0 , 1 ] . The models ( a , b , m ( z ) ) = ( 0.2 , 0.8 , 0.25 + 0.5 z ) (a,b,m(z)) = (0.2,0.8,0.25+0.5z) ( a , b , m ( z )) = ( 0.2 , 0.8 , 0.25 + 0.5 z ) , ( a ′ , b ′ , m ′ ( z ) ) = ( 0.1 , 0.9 , 0.3125 + 0.375 z ) (a',b',m'(z)) = (0.1,0.9,0.3125+0.375z) ( a ′ , b ′ , m ′ ( z )) = ( 0.1 , 0.9 , 0.3125 + 0.375 z ) both give q ( z ) = 0.35 + 0.3 z q(z) = 0.35+0.3z q ( z ) = 0.35 + 0.3 z . Their calibration errors are respectively 1 / 8 1/8 1/8 and 5 / 32 5/32 5/32 . Thus the same available-data distribution need not determine E C E ( f ) ECE(f) E C E ( f ) .
The essential bounds in Eq. (D.1) ensure that the alternative channels remain valid probabilities. The example establishes non-identification of ECE in general; particular equivalent models can still have equal calibration errors.
Two annotators after discarding scores. The following family produces identical marginal annotation distributions with different noise probabilities. Set μ = 1 / 2 \mu= 1/2 μ = 1/2 , choose d ∈ ( 0.24 , 1 ) d \in(0.24,1) d ∈ ( 0.24 , 1 ) , and define δ 1 : = d \delta_1 := d δ 1 := d , δ 2 : = 0.24 / d \delta_2 := 0.24/d δ 2 := 0.24/ d , a j : = ( 1 − δ j ) / 2 a_j := (1-\delta_j)/2 a j := ( 1 − δ j ) /2 , b j : = ( 1 + δ j ) / 2 b_j := (1+\delta_j)/2 b j := ( 1 + δ j ) /2 for j ∈ [ 2 ] j \in[2] j ∈ [ 2 ] . Generate the two annotations independently conditional on Y Y Y . For every such d d d , both annotation means equal 1 / 2 1/2 1/2 and their covariance is μ ( 1 − μ ) δ 1 δ 2 = 0.06 \mu(1-\mu)\delta_1\delta_2 = 0.06 μ ( 1 − μ ) δ 1 δ 2 = 0.06 . Hence the ( 0 , 0 ) (0,0) ( 0 , 0 ) , ( 0 , 1 ) (0,1) ( 0 , 1 ) , ( 1 , 0 ) (1,0) ( 1 , 0 ) , ( 1 , 1 ) (1,1) ( 1 , 1 ) probabilities are always ( 0.31 , 0.19 , 0.19 , 0.31 ) (0.31,0.19,0.19,0.31) ( 0.31 , 0.19 , 0.19 , 0.31 ) , although the channels vary continuously. All channels are positively oriented and interior. The marginal two-annotator model is therefore not generally identified. Longer optimization cannot recover information discarded with the scores.
Two annotators in two score groups
Let G : = 1 ( Z ≥ t ) G := \mathbb{1}(Z \ge t) G := 1 ( Z ≥ t ) , where t ∈ ( 0 , 1 ) t \in(0,1) t ∈ ( 0 , 1 ) is fixed independently of the channel sample, or is chosen on an independent pilot sample. All statements can be conditioned on that pilot sample. For g ∈ { 0 , 1 } g \in\{0,1\} g ∈ { 0 , 1 } and j ∈ [ 2 ] j \in[2] j ∈ [ 2 ] , assume
P ( G = g ) > 0 , 0 < μ g < 1 , μ 0 ≠ μ 1 , 0 ≤ a j < b j ≤ 1 , (62) P(G = g) > 0,\qquad0 < \mu_g < 1,\qquad\mu_0 \ne\mu_1,\qquad0 \le a_j < b_j \le1, \tag*{(62)} P ( G = g ) > 0 , 0 < μ g < 1 , μ 0 = μ 1 , 0 ≤ a j < b j ≤ 1 , (62)
and impose Assumptions 1 and 2 with K = 2 K = 2 K = 2 . The shared channels and group proportions are θ : = ( a 1 , b 1 , a 2 , b 2 , μ 0 , μ 1 ) \theta:= (a_1,b_1,a_2,b_2,\mu_0,\mu_1) θ := ( a 1 , b 1 , a 2 , b 2 , μ 0 , μ 1 ) . Define q 1 , g , q 2 , g , q 12 , g q_{1,g}, q_{2,g}, q_{12,g} q 1 , g , q 2 , g , q 12 , g as in Section 4.2; their model equations are Eq. (13) for g ∈ { 0 , 1 } g \in\{0,1\} g ∈ { 0 , 1 } . Let Γ ( θ ) : = ( q 1 , 0 , q 2 , 0 , q 12 , 0 , q 1 , 1 , q 2 , 1 , q 12 , 1 ) \Gamma(\theta) := (q_{1,0},q_{2,0},q_{12,0},q_{1,1},q_{2,1},q_{12,1}) Γ ( θ ) := ( q 1 , 0 , q 2 , 0 , q 12 , 0 , q 1 , 1 , q 2 , 1 , q 12 , 1 ) .
Theorem D.1 (Closed-form two-group identification). Under Assumptions 1 and 2 and the conditions in Eq. (D.2), let
c g : = q 12 , g − q 1 , g q 2 , g , β : = q 2 , 1 − q 2 , 0 q 1 , 1 − q 1 , 0 , h g : = c g β + q 1 , g 2 , (63) c_g := q_{12,g} - q_{1,g}q_{2,g},\qquad\beta:= \frac{q_{2,1}-q_{2,0}}{q_{1,1}-q_{1,0}},\qquad h_g := \frac{c_g}{\beta} + q_{1,g}^{2}, \tag*{(63)} c g := q 12 , g − q 1 , g q 2 , g , β := q 1 , 1 − q 1 , 0 q 2 , 1 − q 2 , 0 , h g := β c g + q 1 , g 2 , (63) u : = h 1 − h 0 q 1 , 1 − q 1 , 0 , v : = u q 1 , 0 − h 0 , τ : = q 2 , 0 − β q 1 , 0 . (64) u := \frac{h_1-h_0}{q_{1,1}-q_{1,0}},\qquad v := uq_{1,0}-h_0,\qquad\tau:= q_{2,0}-\beta q_{1,0}. \tag*{(64)} u := q 1 , 1 − q 1 , 0 h 1 − h 0 , v := u q 1 , 0 − h 0 , τ := q 2 , 0 − β q 1 , 0 . (64) Then the channels and proportions are uniquely recovered by
a 1 = u − u 2 − 4 v 2 , b 1 = u + u 2 − 4 v 2 , a_1 = \frac{u-\sqrt{u^2-4v}}{2},\qquad b_1 = \frac{u+\sqrt{u^2-4v}}{2}, a 1 = 2 u − u 2 − 4 v , b 1 = 2 u + u 2 − 4 v , a 2 = τ + β a 1 , b 2 = τ + β b 1 , μ g = q 1 , g − a 1 b 1 − a 1 , g ∈ { 0 , 1 } . (65) a_2 = \tau+\beta a_1,\qquad b_2 = \tau+\beta b_1,\qquad\mu_g = \frac{q_{1,g}-a_1}{b_1-a_1},\qquad g \in\{0,1\}. \tag*{(65)} a 2 = τ + β a 1 , b 2 = τ + β b 1 , μ g = b 1 − a 1 q 1 , g − a 1 , g ∈ { 0 , 1 } . (65) The Jacobian determinant is
det D Γ ( θ ) = δ 1 2 δ 2 2 ( μ 1 − μ 0 ) 2 . (66) \det D\Gamma(\theta) = \delta_1^2\delta_2^2(\mu_1-\mu_0)^2. \tag*{(66)} det D Γ ( θ ) = δ 1 2 δ 2 2 ( μ 1 − μ 0 ) 2 . (66)
Proof. The group-moment equations follow by conditioning on Y Y Y and using the product assumption. In particular, q 1 , 1 − q 1 , 0 = δ 1 ( μ 1 − μ 0 ) ≠ 0 q_{1,1}-q_{1,0}=\delta_1(\mu_1-\mu_0)\ne0 q 1 , 1 − q 1 , 0 = δ 1 ( μ 1 − μ 0 ) = 0 and q 2 , 1 − q 2 , 0 = δ 2 ( μ 1 − μ 0 ) q_{2,1}-q_{2,0}=\delta_2(\mu_1-\mu_0) q 2 , 1 − q 2 , 0 = δ 2 ( μ 1 − μ 0 ) , so β = δ 2 / δ 1 > 0 \beta=\delta_2/\delta_1>0 β = δ 2 / δ 1 > 0 . Conditional independence gives c g = δ 1 δ 2 μ g ( 1 − μ g ) c_g=\delta_1\delta_2\mu_g(1-\mu_g) c g = δ 1 δ 2 μ g ( 1 − μ g ) . Since q 1 , g − a 1 = δ 1 μ g q_{1,g}-a_1=\delta_1\mu_g q 1 , g − a 1 = δ 1 μ g and b 1 − q 1 , g = δ 1 ( 1 − μ g ) b_1-q_{1,g}=\delta_1(1-\mu_g) b 1 − q 1 , g = δ 1 ( 1 − μ g ) , c g β = ( q 1 , g − a 1 ) ( b 1 − q 1 , g ) \frac{c_g}{\beta}=(q_{1,g}-a_1)(b_1-q_{1,g}) β c g = ( q 1 , g − a 1 ) ( b 1 − q 1 , g ) , h g = ( a 1 + b 1 ) q 1 , g − a 1 b 1 h_g=(a_1+b_1)q_{1,g}-a_1b_1 h g = ( a 1 + b 1 ) q 1 , g − a 1 b 1 . The two distinct values of q 1 , g q_{1,g} q 1 , g identify the slope a 1 + b 1 a_1+b_1 a 1 + b 1 and the negative intercept − a 1 b 1 -a_1b_1 − a 1 b 1 . The polynomial q 2 − u q + v = ( q − a 1 ) ( q − b 1 ) q^2-uq+v=(q-a_1)(q-b_1) q 2 − u q + v = ( q − a 1 ) ( q − b 1 ) therefore has the two ordered roots in Eq. (D.5). Positive orientation fixes the ordering. Also q 2 , g − β q 1 , g = a 2 − β a 1 q_{2,g}-\beta q_{1,g}=a_2-\beta a_1 q 2 , g − β q 1 , g = a 2 − β a 1 , proving the remaining channel formulas. Finally μ g = ( q 1 , g − a 1 ) / δ 1 \mu_g=(q_{1,g}-a_1)/\delta_1 μ g = ( q 1 , g − a 1 ) / δ 1 . This proves identification and Theorem 2.
For completeness, replace the input coordinates by ( a 1 , δ 1 , a 2 , δ 2 , μ 0 , μ 1 ) (a_1,\delta_1,a_2,\delta_2,\mu_0,\mu_1) ( a 1 , δ 1 , a 2 , δ 2 , μ 0 , μ 1 ) and the output coordinates by ( q 1 , 0 , q 2 , 0 , c 0 , q 1 , 1 , q 2 , 1 , c 1 ) (q_{1,0},q_{2,0},c_0,q_{1,1},q_{2,1},c_1) ( q 1 , 0 , q 2 , 0 , c 0 , q 1 , 1 , q 2 , 1 , c 1 ) . Both changes have determinant one. The resulting Jacobian is
\begin{pmatrix}
1 & \mu_0 & 0 & 0 & \delta_1 & 0 \\
0 & 0 & 1 & \mu_0 & \delta_2 & 0 \\
0 & \delta_2\mu_0(1-\mu_0) & 0 & \delta_1\mu_0(1-\mu_0) & \delta_1\delta_2(1-2\mu_0) & 0 \\
1 & \mu_1 & 0 & 0 & 0 & \delta_1 \\
0 & 0 & 1 & \mu_1 & 0 & \delta_2 \\
0 & \delta_2\mu_1(1-\mu_1) & 0 & \delta_1\mu_1(1-\mu_1) & 0 & \delta_1\delta_2(1-2\mu_1)
\end{pmatrix}. \tag*{(67)}\end{pmatrix}
Subtract the first three rows from their corresponding last rows and write d = μ 1 − μ 0 d=\mu_1-\mu_0 d = μ 1 − μ 0 and q = 1 − μ 0 − μ 1 q=1-\mu_0-\mu_1 q = 1 − μ 0 − μ 1 . Expanding along the first and third columns leaves the negative of a 4 × 4 4\times4 4 × 4 determinant. Subtracting q δ 2 q\delta_2 q δ 2 times its second row and q δ 1 q\delta_1 q δ 1 times its third row from its fourth row leaves ( 0 , 0 , δ 1 δ 2 ( 1 − 2 μ 1 ) , − δ 1 δ 2 ( 1 − 2 μ 0 ) ) (0,0,\delta_1\delta_2(1-2\mu_1),-\delta_1\delta_2(1-2\mu_0)) ( 0 , 0 , δ 1 δ 2 ( 1 − 2 μ 1 ) , − δ 1 δ 2 ( 1 − 2 μ 0 )) . Expansion gives − δ 1 2 δ 2 2 d 2 -\delta_1^2\delta_2^2d^2 − δ 1 2 δ 2 2 d 2 ; the preceding sign proves Eq. (D.6). ∎
These are the classical two-test, two-population conditions [18 ] . Scores need not be calibrated, but the group class proportions must differ. Small between-group response-mean differences or a small minimum singular value of D Γ ( θ ^ ) D\Gamma(\hat{\theta}) D Γ ( θ ^ ) diagnose weak identification, but do not test the latent condition μ 0 ≠ μ 1 \mu_0 \ne\mu_1 μ 0 = μ 1 . The exactly identified model supplies no excess moments for testing its assumptions.
Concentration and stable inversion
Let D c h \mathcal{D}_{\mathrm{ch}} D ch consist of i.i.d. examples and let G i G_i G i be the group assigned to its i i i th example by the fixed score partition. For groups indexed by [ L ] [L] [ L ] , let n g : = ∑ i = 1 n c h 1 ( G i = g ) n_g := \sum_{i=1}^{n_{\mathrm{ch}}} \mathbb{1}(G_i = g) n g := ∑ i = 1 n ch 1 ( G i = g ) and n min : = min g ∈ [ L ] n g n_{\min} := \min_{g \in[L]} n_g n m i n := min g ∈ [ L ] n g . For positive group counts, define, for j ∈ [ 2 ] j \in[2] j ∈ [ 2 ] and g ∈ [ L ] g \in[L] g ∈ [ L ] ,
q ^ j , g : = 1 n g ∑ i : G i = g A i j , q ^ 12 , g : = 1 n g ∑ i : G i = g A i 1 A i 2 . (68) \widehat{q}_{j,g} := \frac{1}{n_g} \sum_{i:G_i=g} A_{ij}, \qquad\widehat{q}_{12,g} := \frac{1}{n_g} \sum_{i:G_i=g} A_{i1}A_{i2}. \tag*{(68)} q j , g := n g 1 i : G i = g ∑ A ij , q 12 , g := n g 1 i : G i = g ∑ A i 1 A i 2 . (68)
Stack ( q ^ 1 , g , q ^ 2 , g , q ^ 12 , g ) (\widehat{q}_{1,g},\widehat{q}_{2,g},\widehat{q}_{12,g}) ( q 1 , g , q 2 , g , q 12 , g ) in increasing order of g g g to obtain Γ ^ L \widehat{\Gamma}_L Γ L . Its population counterpart is Γ L ( θ 0 ) \Gamma_L(\theta_0) Γ L ( θ 0 ) .
Lemma D.1 (Group-moment concentration). For η ∈ ( 0 , 1 ) \eta\in(0,1) η ∈ ( 0 , 1 ) , conditional on positive group counts,
P ( ∥ Γ ^ L − Γ L ( θ 0 ) ∥ ∞ > log ( 6 L / η ) 2 n min | ( n g ) g ∈ [ L ] ) ≤ η . (69) P\left(\left\lVert\widehat{\Gamma}_L-\Gamma_L(\theta_0)\right\rVert_\infty> \sqrt{\frac{\log(6L/\eta)}{2n_{\min}}}\ \middle|\ (n_g)_{g\in[L]}\right) \le\eta. \tag*{(69)} P Γ L − Γ L ( θ 0 ) ∞ > 2 n m i n log ( 6 L / η ) ( n g ) g ∈ [ L ] ≤ η . (69) Proof. Conditional on the group assignments, each coordinate is an average of n g n_g n g independent variables in [ 0 , 1 ] [0,1] [ 0 , 1 ] from that group’s distribution. Hoeffding’s inequality bounds its two-sided deviation by 2 exp ( − 2 n g t 2 ) ≤ 2 exp ( − 2 n min t 2 ) 2\exp(-2n_g t^2) \le2\exp(-2n_{\min}t^2) 2 exp ( − 2 n g t 2 ) ≤ 2 exp ( − 2 n m i n t 2 ) . The bound does not depend on which indices form each group, so it also holds conditional only on group counts. A union bound over 3 L 3L 3 L coordinates and the stated choice of t t t prove the result. Independence between coordinates is not needed.
For two groups, use indices g ∈ { 0 , 1 } g \in\{0,1\} g ∈ { 0 , 1 } as in Appendix D.2 and write Γ ^ \widehat{\Gamma} Γ for the resulting six sample moments. Let H H H denote the inverse given by Eq. (D.3) and Eq. (D.5). The method-of-moments estimator is θ ^ m o m : = H ( Γ ^ ) \hat{\theta}_{\mathrm{mom}} := H(\widehat{\Gamma}) θ ^ mom := H ( Γ ) whenever the formulas are real, the denominators are nonzero, and the resulting probabilities are feasible with positive gaps. Otherwise the inversion procedure reports failure. The following theorem gives a high-probability event on which the estimate is both defined and accurate.
Theorem D.2 (Finite-sample closed-form inversion). Suppose the conditions of Theorem D.1 hold and, for fixed positive constants π min , δ min , γ min , ϵ \pi_{\min}, \delta_{\min}, \gamma_{\min}, \epsilon π m i n , δ m i n , γ m i n , ϵ ,
P ( G = g ) ≥ π min , δ j ≥ δ min , ∣ μ 1 − μ 0 ∣ ≥ γ min , a j , b j , μ g ∈ [ ϵ , 1 − ϵ ] (70) P(G=g) \ge\pi_{\min}, \qquad\delta_j \ge\delta_{\min}, \qquad|\mu_1-\mu_0| \ge\gamma_{\min}, \qquad a_j,b_j,\mu_g \in[\epsilon,1-\epsilon] \tag*{(70)} P ( G = g ) ≥ π m i n , δ j ≥ δ m i n , ∣ μ 1 − μ 0 ∣ ≥ γ m i n , a j , b j , μ g ∈ [ ϵ , 1 − ϵ ] (70) for j ∈ [ 2 ] j \in[2] j ∈ [ 2 ] , g ∈ { 0 , 1 } g \in\{0,1\} g ∈ { 0 , 1 } . There is R 0 > 0 R_0>0 R 0 > 0 such that the inverse H H H in Eq. (D.5) is continuously differentiable on an open set containing the closed Euclidean ball N : = B ‾ 2 ( Γ ( θ 0 ) , R 0 ) \mathcal{N}:=\overline{B}_2(\Gamma(\theta_0),R_0) N := B 2 ( Γ ( θ 0 ) , R 0 ) and maps N \mathcal{N} N into feasible, positively oriented probability parameters. Let L H : = sup γ ∈ N ∥ D H ( γ ) ∥ o p < ∞ L_H := \sup_{\gamma\in\mathcal{N}}\lVert DH(\gamma)\rVert_{\mathrm{op}} < \infty L H := sup γ ∈ N ∥ D H ( γ ) ∥ op < ∞ . Conditional on positive group counts, if
6 ϵ n ( η ) ≤ R 0 , ϵ n ( η ) : = log ( 12 / η ) 2 n min , (71) \sqrt{6}\,\epsilon_n(\eta) \le R_0, \qquad\epsilon_n(\eta) := \sqrt{\frac{\log(12/\eta)}{2n_{\min}}}, \tag*{(71)} 6 ϵ n ( η ) ≤ R 0 , ϵ n ( η ) := 2 n m i n log ( 12/ η ) , (71) then with probability at least 1 − η 1-\eta 1 − η , the empirical inverse is feasible and
∥ θ ^ m o m − θ 0 ∥ 2 ≤ 6 L H ϵ n ( η ) . (72) \left\lVert\hat{\theta}_{\mathrm{mom}}-\theta_0\right\rVert_2 \le\sqrt{6}L_H\epsilon_n(\eta). \tag*{(72)} θ ^ mom − θ 0 2 ≤ 6 L H ϵ n ( η ) . (72) Proof. At the true moment vector, ∣ q 1 , 1 − q 1 , 0 ∣ ≥ δ min γ min |q_{1,1}-q_{1,0}| \ge\delta_{\min}\gamma_{\min} ∣ q 1 , 1 − q 1 , 0 ∣ ≥ δ m i n γ m i n , β = δ 2 / δ 1 > 0 \beta=\delta_2/\delta_1>0 β = δ 2 / δ 1 > 0 , and the discriminant equals δ 1 2 ≥ δ min 2 \delta_1^2 \ge\delta_{\min}^2 δ 1 2 ≥ δ m i n 2 . All denominators and the square root are therefore separated from their singularities. The inverse is continuously differentiable on a sufficiently small open neighborhood.
By continuity and the interior assumptions, choose a closed ball N N N contained in that neighborhood whose image remains feasible and positively oriented. Continuity of D H DH D H on the compact ball gives finite L H L_H L H . On the event from Lemma D.1 with L = 2 L=2 L = 2 , ∥ Γ ^ − Γ ( θ 0 ) ∥ 2 ≤ 6 ϵ n ≤ R 0 \|\widehat{\Gamma}-\Gamma(\theta_0)\|_2\le\sqrt{6}\epsilon_n\le R_0 ∥ Γ − Γ ( θ 0 ) ∥ 2 ≤ 6 ϵ n ≤ R 0 . The segment joining these two vectors is in the convex ball N N N . The integral form of the mean-value formula gives H ( Γ ^ ) − H ( Γ ( θ 0 ) ) = ∫ 0 1 D H ( Γ ( θ 0 ) + t ( Γ ^ − Γ ( θ 0 ) ) ) ( Γ ^ − Γ ( θ 0 ) ) d t H(\widehat{\Gamma})-H(\Gamma(\theta_0))=\int_0^1DH(\Gamma(\theta_0)+t(\widehat{\Gamma}-\Gamma(\theta_0)))(\widehat{\Gamma}-\Gamma(\theta_0))\,\mathrm{d}t H ( Γ ) − H ( Γ ( θ 0 )) = ∫ 0 1 D H ( Γ ( θ 0 ) + t ( Γ − Γ ( θ 0 ))) ( Γ − Γ ( θ 0 )) d t . Taking norms proves Eq. (D.12).
For the asymptotic statement, extend the estimator by any fixed feasible value when inversion fails; the finite-sample bound concerns its valid event. Experimental failures remain reported separately. Each individual endpoint error is at most the Euclidean bound, while ∣ a ^ j − a j ∣ + ∣ b ^ j − b j ∣ ≤ 2 ∥ θ ^ m o m − θ 0 ∥ 2 |\widehat{a}_j-a_j|+|\widehat{b}_j-b_j|\le\sqrt{2}\|\widehat{\theta}_{\mathrm{mom}}-\theta_0\|_2 ∣ a j − a j ∣ + ∣ b j − b j ∣ ≤ 2 ∥ θ mom − θ 0 ∥ 2 . The endpoint bound controls d c h d_{\mathrm{ch}} d ch in both independent-sample and same-sample evaluation. The sum bound is useful when a result is stated in terms of the maximum two-endpoint error. Since P ( G = g ) ≥ π min P(G=g)\ge\pi_{\min} P ( G = g ) ≥ π m i n , P ( n g < n c h π min / 2 ) ≤ exp ( − n c h π min / 8 ) P(n_g<n_{\mathrm{ch}}\pi_{\min}/2)\le\exp(-n_{\mathrm{ch}}\pi_{\min}/8) P ( n g < n ch π m i n /2 ) ≤ exp ( − n ch π m i n /8 ) by a binomial multiplicative Chernoff bound. Thus positive counts and n min n_{\min} n m i n of order n c h n_{\mathrm{ch}} n ch have probability tending to one, giving O p ( n c h − 1 / 2 ) O_p(n_{\mathrm{ch}}^{-1/2}) O p ( n ch − 1/2 ) parameter error. Neither R 0 R_0 R 0 nor L H L_H L H is an automatically observable confidence bound. They quantify local stability under the specified separation assumptions.
Constrained GMM and optimization error
We estimate the grouped parameters by generalized method of moments (GMM) [16 ] . Let C : = { C g } g ∈ [ L ] \mathcal{C}:=\{C_g\}_{g\in[L]} C := { C g } g ∈ [ L ] be a partition independent of the channel sample, where L ≥ 2 L\ge2 L ≥ 2 is fixed and G = g G=g G = g exactly when Z ∈ C g Z\in C_g Z ∈ C g . In this subsection write n : = n c h n:=n_{\mathrm{ch}} n := n ch . For K = 2 K=2 K = 2 , define θ : = ( a 1 , b 1 , a 2 , b 2 , μ 1 , … , μ L ) ∈ R L + 4 \theta:=(a_1,b_1,a_2,b_2,\mu_1,\ldots,\mu_L)\in\mathbb{R}^{L+4} θ := ( a 1 , b 1 , a 2 , b 2 , μ 1 , … , μ L ) ∈ R L + 4 . For each candidate parameter θ \theta θ , let Γ L ( θ ) ∈ R 3 L \Gamma_L(\theta)\in\mathbb{R}^{3L} Γ L ( θ ) ∈ R 3 L collect ( q 1 , g , q 2 , g , q 12 , g ) (q_{1,g},q_{2,g},q_{12,g}) ( q 1 , g , q 2 , g , q 12 , g ) from the same three model equations as Eq. (13) , now for each g ∈ [ L ] g\in[L] g ∈ [ L ] , in increasing order of g g g . Let Γ ^ L \widehat{\Gamma}_L Γ L contain the corresponding empirical averages in Eq. (D.8).
Definition D.1 (Constrained GMM estimator). Let W n ∈ R 3 L × 3 L W_n\in\mathbb{R}^{3L\times3L} W n ∈ R 3 L × 3 L be symmetric positive definite, and let Θ \Theta Θ be compact, contain the true parameter θ 0 \theta_0 θ 0 , and impose interior probability bounds and gaps at least δ min > 0 \delta_{\min}>0 δ m i n > 0 . Define
Q n ( θ ) : = ∥ W n 1 / 2 ( Γ ^ L − Γ L ( θ ) ) ∥ 2 2 , θ ^ G M M ∈ arg min θ ∈ Θ Q n ( θ ) . (73) Q_n(\theta):=\left\|W_n^{1/2}\left(\widehat{\Gamma}_L-\Gamma_L(\theta)\right)\right\|_2^2,\qquad\widehat{\theta}_{\mathrm{GMM}}\in\operatorname*{arg\,min}_{\theta\in\Theta}Q_n(\theta). \tag*{(73)} Q n ( θ ) := W n 1/2 ( Γ L − Γ L ( θ ) ) 2 2 , θ GMM ∈ θ ∈ Θ arg min Q n ( θ ) . (73) choosing any measurable minimizer.
We use the following explicit conditions.
Assumption D.1 (GMM estimation conditions). Assumptions 1 and 2 hold with K = 2 K=2 K = 2 , and:
(i) P ( G = g ) ≥ π min > 0 P(G=g)\ge\pi_{\min}>0 P ( G = g ) ≥ π m i n > 0 for all g ∈ [ L ] g\in[L] g ∈ [ L ] .
(ii) θ 0 \theta_0 θ 0 belongs to a compact set Θ \Theta Θ on which all probability coordinates lie in [ ϵ , 1 − ϵ ] [\epsilon,1-\epsilon] [ ϵ , 1 − ϵ ] for some ϵ ∈ ( 0 , 1 / 2 ) \epsilon\in(0,1/2) ϵ ∈ ( 0 , 1/2 ) , and b j − a j ≥ δ min > 0 b_j-a_j\ge\delta_{\min}>0 b j − a j ≥ δ m i n > 0 for j ∈ [ 2 ] j\in[2] j ∈ [ 2 ] .
(iii) There exist g 0 ≠ g 1 g_0\ne g_1 g 0 = g 1 in [ L ] [L] [ L ] such that ∣ μ g 1 − μ g 0 ∣ ≥ γ min > 0 |\mu_{g_1}-\mu_{g_0}|\ge\gamma_{\min}>0 ∣ μ g 1 − μ g 0 ∣ ≥ γ m i n > 0 at the true parameter.
(iv) The symmetric moment-weighting matrix W n ∈ R 3 L × 3 L W_n\in\mathbb{R}^{3L\times3L} W n ∈ R 3 L × 3 L may depend on the sample but satisfies deterministic bounds 0 < λ − ≤ λ min ( W n ) ≤ λ max ( W n ) ≤ λ + < ∞ 0<\lambda_-\le\lambda_{\min}(W_n)\le\lambda_{\max}(W_n)\le\lambda_+<\infty 0 < λ − ≤ λ m i n ( W n ) ≤ λ m a x ( W n ) ≤ λ + < ∞ almost surely.
Define the quantitative identification constant
κ Θ : = inf θ ∈ Θ ∖ { θ 0 } ∥ Γ L ( θ ) − Γ L ( θ 0 ) ∥ 2 ∥ θ − θ 0 ∥ 2 . (74) \kappa_\Theta:=\inf_{\theta\in\Theta\setminus\{\theta_0\}}\frac{\|\Gamma_L(\theta)-\Gamma_L(\theta_0)\|_2}{\|\theta-\theta_0\|_2}. \tag*{(74)} κ Θ := θ ∈ Θ ∖ { θ 0 } inf ∥ θ − θ 0 ∥ 2 ∥ Γ L ( θ ) − Γ L ( θ 0 ) ∥ 2 . (74)
Its positivity follows from the preceding conditions; it is not a separate assumption of a well-behaved inverse.
Lemma D.2 (Quantitative identification on the compact parameter set). Under Assumption D.1, Γ L ( θ ) = Γ L ( θ 0 ) \Gamma_L(\theta) = \Gamma_L(\theta_0) Γ L ( θ ) = Γ L ( θ 0 ) for θ ∈ Θ \theta\in\Theta θ ∈ Θ implies θ = θ 0 \theta= \theta_0 θ = θ 0 , its Jacobian at θ 0 \theta_0 θ 0 has full column rank, and κ Θ > 0 \kappa_\Theta> 0 κ Θ > 0 .
Proof. Restrict the moments to the two separated groups g 0 , g 1 g_0, g_1 g 0 , g 1 . Their first-annotator means differ because δ 1 ( μ g 1 − μ g 0 ) ≠ 0 \delta_1(\mu_{g_1} - \mu_{g_0}) \ne0 δ 1 ( μ g 1 − μ g 0 ) = 0 . Every parameter with these same moments must therefore also have different group proportions. The two-group inverse identifies its shared channels and these two proportions uniquely. All remaining proportions follow from μ g = ( q 1 , g − a 1 ) / δ 1 \mu_g = (q_{1,g} - a_1)/\delta_1 μ g = ( q 1 , g − a 1 ) / δ 1 . This proves identification of θ 0 \theta_0 θ 0 on Θ \Theta Θ .
If D Γ L ( θ 0 ) v = 0 D\Gamma_L(\theta_0)v = 0 D Γ L ( θ 0 ) v = 0 , restriction to these same two groups and Eq. (D.6) forces the four channel coordinates of v v v and its two group-proportion coordinates to vanish. For each remaining group, the derivative of q 1 , g q_{1,g} q 1 , g is then δ 1 v μ g = 0 \delta_1v_{\mu_g} = 0 δ 1 v μ g = 0 , so v = 0 v = 0 v = 0 . Let s 0 > 0 s_0 > 0 s 0 > 0 be the smallest singular value of this full-column-rank Jacobian. Differentiability gives a radius r 0 > 0 r_0 > 0 r 0 > 0 such that ∥ Γ L ( θ ) − Γ L ( θ 0 ) ∥ 2 ≥ ( s 0 / 2 ) ∥ θ − θ 0 ∥ 2 \lVert\Gamma_L(\theta) - \Gamma_L(\theta_0)\rVert_2 \ge(s_0/2)\lVert\theta- \theta_0\rVert_2 ∥ Γ L ( θ ) − Γ L ( θ 0 ) ∥ 2 ≥ ( s 0 /2 ) ∥ θ − θ 0 ∥ 2 when ∥ θ − θ 0 ∥ 2 ≤ r 0 \lVert\theta- \theta_0\rVert_2 \le r_0 ∥ θ − θ 0 ∥ 2 ≤ r 0 . On the remaining compact set, the numerator has a positive minimum by identification and continuity, while the denominator is bounded above. Combining the two regions gives κ Θ > 0 \kappa_\Theta> 0 κ Θ > 0 .
This lemma does not provide a separation-free numerical lower bound: κ Θ \kappa_\Theta κ Θ may become small as gaps or group differences decrease.
Theorem D.3 (Finite-sample GMM bound). Suppose Assumption D.1 holds and condition on positive group counts. For the objective Q n Q_n Q n in Definition D.1, any measurable feasible estimate satisfying
Q n ( θ ^ ) ≤ inf θ ∈ Θ Q n ( θ ) + ϵ o p t , ϵ o p t ≥ 0 , (75) Q_n(\hat{\theta}) \le\inf_{\theta\in\Theta} Q_n(\theta) + \epsilon_{\mathrm{opt}}, \qquad\epsilon_{\mathrm{opt}} \ge0, \tag*{(75)} Q n ( θ ^ ) ≤ θ ∈ Θ inf Q n ( θ ) + ϵ opt , ϵ opt ≥ 0 , (75) satisfies, for every η ∈ ( 0 , 1 ) \eta\in(0, 1) η ∈ ( 0 , 1 ) , with probability at least 1 − η 1 - \eta 1 − η ,
∥ θ ^ − θ 0 ∥ 2 ≤ 2 3 L κ Θ λ max ( W n ) λ min ( W n ) log ( 6 L / η ) 2 n min + ϵ o p t κ Θ λ min ( W n ) . (76) \lVert\hat{\theta} - \theta_0\rVert_2 \le\frac{2\sqrt{3L}}{\kappa_\Theta}\sqrt{\frac{\lambda_{\max}(W_n)}{\lambda_{\min}(W_n)}}\sqrt{\frac{\log(6L/\eta)}{2n_{\min}}} + \frac{\sqrt{\epsilon_{\mathrm{opt}}}}{\kappa_\Theta\sqrt{\lambda_{\min}(W_n)}}. \tag*{(76)} ∥ θ ^ − θ 0 ∥ 2 ≤ κ Θ 2 3 L λ m i n ( W n ) λ m a x ( W n ) 2 n m i n log ( 6 L / η ) + κ Θ λ m i n ( W n ) ϵ opt . (76) A global minimizer has ϵ o p t = 0 \epsilon_{\mathrm{opt}} = 0 ϵ opt = 0 .
Proof. Because θ 0 ∈ Θ \theta_0 \in\Theta θ 0 ∈ Θ , Eq. (D.15) and x 2 + y ≤ x + y \sqrt{x^2 + y} \le x + \sqrt{y} x 2 + y ≤ x + y for x , y ≥ 0 x, y \ge0 x , y ≥ 0 give ∥ W n 1 / 2 ( Γ ^ L − Γ L ( θ ^ ) ) ∥ 2 ≤ ∥ W n 1 / 2 ( Γ ^ L − Γ L ( θ 0 ) ) ∥ 2 + ϵ o p t \lVert W_n^{1/2}(\hat{\Gamma}_L - \Gamma_L(\hat{\theta}))\rVert_2 \le\lVert W_n^{1/2}(\hat{\Gamma}_L - \Gamma_L(\theta_0))\rVert_2 + \sqrt{\epsilon_{\mathrm{opt}}} ∥ W n 1/2 ( Γ ^ L − Γ L ( θ ^ )) ∥ 2 ≤ ∥ W n 1/2 ( Γ ^ L − Γ L ( θ 0 )) ∥ 2 + ϵ opt . The triangle inequality and the eigenvalue bounds therefore imply ∥ Γ L ( θ ^ ) − Γ L ( θ 0 ) ∥ 2 ≤ 2 λ max ( W n ) / λ min ( W n ) ∥ Γ ^ L − Γ L ( θ 0 ) ∥ 2 + ϵ o p t / λ min ( W n ) \lVert\Gamma_L(\hat{\theta}) - \Gamma_L(\theta_0)\rVert_2 \le2\sqrt{\lambda_{\max}(W_n)/\lambda_{\min}(W_n)}\lVert\hat{\Gamma}_L - \Gamma_L(\theta_0)\rVert_2 + \sqrt{\epsilon_{\mathrm{opt}}/\lambda_{\min}(W_n)} ∥ Γ L ( θ ^ ) − Γ L ( θ 0 ) ∥ 2 ≤ 2 λ m a x ( W n ) / λ m i n ( W n ) ∥ Γ ^ L − Γ L ( θ 0 ) ∥ 2 + ϵ opt / λ m i n ( W n ) . Apply Eq. (D.14), ∥ v ∥ 2 ≤ 3 L ∥ v ∥ ∞ \lVert v\rVert_2 \le\sqrt{3L}\lVert v\rVert_\infty ∥ v ∥ 2 ≤ 3 L ∥ v ∥ ∞ in R 3 L \mathbb{R}^{3L} R 3 L , and Lemma D.1. All inequalities hold for each realized W n W_n W n , so its independence from Γ ^ L \hat{\Gamma}_L Γ ^ L is not required.
A stopping tolerance or a stationary point is not a certificate for Eq. (D.15) with a specified global objective gap. The theorem for a global minimizer must not be attributed to an arbitrary numerical output without that additional justification. For fixed L L L , a certified optimization gap O p ( n c h − 1 ) O_p(n_{\mathrm{ch}}^{-1}) O p ( n ch − 1 ) preserves the root-n c h n_{\mathrm{ch}} n ch order under the stated stability conditions.
Propagation to ECE. Let R Θ R_\Theta R Θ be the right-hand side of Eq. (D.16), using channel failure probability η c h \eta_{\mathrm{ch}} η ch . For any channel-data-dependent convex weights, d c h ≤ R Θ / δ min d_{\mathrm{ch}} \le R_\Theta/\delta_{\min} d ch ≤ R Θ / δ m i n and B ^ ≤ 1 / δ min \hat{B} \le1/\delta_{\min} B ^ ≤ 1/ δ m i n because the feasible estimate has gaps at least δ min \delta_{\min} δ m i n . If r ( z ) : = m ( z ) − z r(z) := m(z) - z r ( z ) := m ( z ) − z has an L r L_r L r -Lipschitz version, independent evaluation gives, with probability at least 1 − η c h − η e v 1 - \eta_{\mathrm{ch}} - \eta_{\mathrm{ev}} 1 − η ch − η ev conditional on positive group counts,
∣ E C E ^ B N C ( f , D e v ) − E C E ( f ) ∣ ≤ L r h B + 1 δ min 2 ( M log 2 + log ( 2 / η e v ) ) n e v + R Θ δ min . (77) \left|\widehat{\mathrm{ECE}}_{\mathrm{B}}^{\mathrm{NC}}(f,\mathcal{D}_{\mathrm{ev}}) - \mathrm{ECE}(f)\right| \le L_r h_B + \frac{1}{\delta_{\min}}\sqrt{\frac{2(M\log2 + \log(2/\eta_{\mathrm{ev}}))}{n_{\mathrm{ev}}}} + \frac{R_\Theta}{\delta_{\min}}. \tag*{(77)} ECE B NC ( f , D ev ) − ECE ( f ) ≤ L r h B + δ m i n 1 n ev 2 ( M log 2 + log ( 2/ η ev )) + δ m i n R Θ . (77)
For a global minimizer, the last term is exactly
2 3 L κ Θ δ min λ max ( W n ) λ min ( W n ) log ( 6 L / η c h ) 2 n min . (78) \frac{2\sqrt{3L}}{\kappa_\Theta\delta_{\min}}\sqrt{\frac{\lambda_{\max}(W_n)}{\lambda_{\min}(W_n)}}\sqrt{\frac{\log(6L/\eta_{\mathrm{ch}})}{2n_{\min}}}. \tag*{(78)} κ Θ δ m i n 2 3 L λ m i n ( W n ) λ m a x ( W n ) 2 n m i n log ( 6 L / η ch ) . (78)
This independent-sample propagation has one inverse gap factor, in addition to the conditioning already present in κ Θ \kappa_\Theta κ Θ . For same-sample evaluation, the same bounds d c h ≤ R θ / δ min d_{\mathrm{ch}} \le R_\theta/\delta_{\min} d ch ≤ R θ / δ m i n and B ^ ≤ 1 / δ min \widehat{B} \le1/\delta_{\min} B ≤ 1/ δ m i n can be inserted directly into Corollary C.1. No additional channel-radius restriction is needed, since the feasible GMM set already imposes the lower gap bound. The logarithmic term then uses log ( 12 / η e v ) \log(12/\eta_{\mathrm{ev}}) log ( 12/ η ev ) because K = 2 K=2 K = 2 . The same-sample concentration event is unconditional. Combine it with the group-count event as below; conditioning it on successful channel fitting is not justified by the uniform bound alone.
Accounting for random group counts. The preceding bounds condition on positive counts, rather than treating these counts as fixed design quantities. For an unconditional statement, the multiplicative binomial bound gives P ( n min < n c h π min / 2 ) ≤ L exp ( − n c h π min / 8 ) P(n_{\min}<n_{\mathrm{ch}}\pi_{\min}/2)\le L\exp(-n_{\mathrm{ch}}\pi_{\min}/8) P ( n m i n < n ch π m i n /2 ) ≤ L exp ( − n ch π m i n /8 ) . On its complement, replace n min n_{\min} n m i n in Eq. (D.16) by n c h π min / 2 n_{\mathrm{ch}}\pi_{\min}/2 n ch π m i n /2 . Combining with the channel and evaluation events gives probability at least 1 − η c h − η e v − L exp ( − n c h π min / 8 ) 1-\eta_{\mathrm{ch}}-\eta_{\mathrm{ev}}-L\exp(-n_{\mathrm{ch}}\pi_{\min}/8) 1 − η ch − η ev − L exp ( − n ch π m i n /8 ) for Eq. (D.17) with that enlarged radius. A procedure returning failure when a group is empty is thus covered on an explicit high-probability success event. This does not assign zero estimation loss to failed runs.
Marginal identification with three informative annotators
Let K ≥ 3 K\ge3 K ≥ 3 , μ : = P ( Y = 1 ) ∈ ( 0 , 1 ) \mu:=P(Y=1)\in(0,1) μ := P ( Y = 1 ) ∈ ( 0 , 1 ) , and assume Assumptions 1 and 2. Its probabilities are p θ ( s ) p_\theta(s) p θ ( s ) in Eq. (15) . The following moment argument gives the binary identification result under the stated nondegeneracy conditions; it is consistent with the latent-class identification framework of Allman et al. [ [1 ] .
For the identities behind the argument in § 4.3 , relabel an informative triple as 1, 2, 3, define q j : = E [ A j ] q_j:=\mathbb{E}[A_j] q j := E [ A j ] for j ∈ [ K ] j\in[K] j ∈ [ K ] and C j k : = Cov ( A j , A k ) C_{jk}:=\operatorname{Cov}(A_j,A_k) C j k := Cov ( A j , A k ) for distinct j , k ∈ [ K ] j,k\in[K] j , k ∈ [ K ] , and let T : = E [ ( A 1 − q 1 ) ( A 2 − q 2 ) ( A 3 − q 3 ) ] T:=\mathbb{E}[(A_1-q_1)(A_2-q_2)(A_3-q_3)] T := E [( A 1 − q 1 ) ( A 2 − q 2 ) ( A 3 − q 3 )] . Then
C j k = μ ( 1 − μ ) δ j δ k , T = μ ( 1 − μ ) ( 1 − 2 μ ) δ 1 δ 2 δ 3 . (79) C_{jk}=\mu(1-\mu)\delta_j\delta_k,\qquad T=\mu(1-\mu)(1-2\mu)\delta_1\delta_2\delta_3. \tag*{(79)} C j k = μ ( 1 − μ ) δ j δ k , T = μ ( 1 − μ ) ( 1 − 2 μ ) δ 1 δ 2 δ 3 . (79)
Combining them eliminates the channel gaps:
T 2 C 12 C 13 C 23 = ( 1 − 2 μ ) 2 μ ( 1 − μ ) = 1 μ ( 1 − μ ) − 4. (80) \frac{T^2}{C_{12}C_{13}C_{23}}=\frac{(1-2\mu)^2}{\mu(1-\mu)}=\frac{1}{\mu(1-\mu)}-4. \tag*{(80)} C 12 C 13 C 23 T 2 = μ ( 1 − μ ) ( 1 − 2 μ ) 2 = μ ( 1 − μ ) 1 − 4. (80)
The proposition and its proof justify these identities and recover the remaining parameters.
Proposition D.2 (Binary marginal identification). Under the conditions above, suppose three specified annotators are informative and the sign of one of their gaps is known. Then the marginal distribution of A 1 : K A_{1:K} A 1 : K identifies μ \mu μ and every a j , b j a_j,b_j a j , b j , up to the global permutation before orientation. Other modeled annotators may be uninformative.
Proof. Relabel the specified informative triple as 1, 2, 3 and first take the known anchor sign to be δ 1 > 0 \delta_1>0 δ 1 > 0 . For a negative anchor sign, exchange the two class labels for this calculation and undo that exchange afterwards. Put q j : = E [ A j ] q_j:=\mathbb{E}[A_j] q j := E [ A j ] , C j k : = E [ ( A j − q j ) ( A k − q k ) ] C_{jk}:=\mathbb{E}[(A_j-q_j)(A_k-q_k)] C j k := E [( A j − q j ) ( A k − q k )] for distinct j , k ∈ [ K ] j,k\in[K] j , k ∈ [ K ] , and T : = E [ ( A 1 − q 1 ) ( A 2 − q 2 ) ( A 3 − q 3 ) ] T:=\mathbb{E}[(A_1-q_1)(A_2-q_2)(A_3-q_3)] T := E [( A 1 − q 1 ) ( A 2 − q 2 ) ( A 3 − q 3 )] . To obtain the moment identities, write ξ j : = A j − a j − δ j Y \xi_j:=A_j-a_j-\delta_jY ξ j := A j − a j − δ j Y . The two assumptions imply conditional independence given Y Y Y and E [ ξ j ∣ Y ] = 0 \mathbb{E}[\xi_j\mid Y]=0 E [ ξ j ∣ Y ] = 0 . Also q j = a j + μ δ j q_j=a_j+\mu\delta_j q j = a j + μ δ j , so A j − q j = δ j ( Y − μ ) + ξ j A_j-q_j=\delta_j(Y-\mu)+\xi_j A j − q j = δ j ( Y − μ ) + ξ j . In products involving distinct annotators, terms containing any ξ j \xi_j ξ j have zero conditional expectation given Y Y Y . Using E [ ( Y − μ ) 2 ] = μ ( 1 − μ ) \mathbb{E}[(Y-\mu)^2]=\mu(1-\mu) E [( Y − μ ) 2 ] = μ ( 1 − μ ) and E [ ( Y − μ ) 3 ] = μ ( 1 − μ ) ( 1 − 2 μ ) \mathbb{E}[(Y-\mu)^3]=\mu(1-\mu)(1-2\mu) E [( Y − μ ) 3 ] = μ ( 1 − μ ) ( 1 − 2 μ ) therefore gives
C j k = μ ( 1 − μ ) δ j δ k , T = μ ( 1 − μ ) ( 1 − 2 μ ) δ 1 δ 2 δ 3 . (81) C_{jk}=\mu(1-\mu)\delta_j\delta_k,\qquad T=\mu(1-\mu)(1-2\mu)\delta_1\delta_2\delta_3. \tag*{(81)} C j k = μ ( 1 − μ ) δ j δ k , T = μ ( 1 − μ ) ( 1 − 2 μ ) δ 1 δ 2 δ 3 . (81)
For the triple, C 12 C 13 C 23 = [ μ ( 1 − μ ) ] 3 δ 1 2 δ 2 2 δ 3 2 > 0 C_{12}C_{13}C_{23}=[\mu(1-\mu)]^3\delta_1^2\delta_2^2\delta_3^2>0 C 12 C 13 C 23 = [ μ ( 1 − μ ) ] 3 δ 1 2 δ 2 2 δ 3 2 > 0 . Dividing the squared third moment by this expression gives Eq. (D.20); the channel gaps cancel exactly. To fix the branch left by that squared ratio, use the known anchor sign and the sign of the third moment. Let s δ : = sign ( C 12 C 13 ) s_\delta:=\operatorname{sign}(C_{12}C_{13}) s δ := sign ( C 12 C 13 ) and t : = s δ T / C 12 C 13 C 23 t := s_{\delta}T/\sqrt{C_{12}C_{13}C_{23}} t := s δ T / C 12 C 13 C 23 . Because δ 1 > 0 \delta_1 > 0 δ 1 > 0 , s δ s_{\delta} s δ is the sign of δ 1 δ 2 δ 3 \delta_1\delta_2\delta_3 δ 1 δ 2 δ 3 , and hence t = ( 1 − 2 μ ) / μ ( 1 − μ ) t = (1-2\mu)/\sqrt{\mu(1-\mu)} t = ( 1 − 2 μ ) / μ ( 1 − μ ) . Solving gives
μ = 1 2 ( 1 − t t 2 + 4 ) , δ 1 = C 12 C 13 C 23 μ ( 1 − μ ) . (82) \mu= \frac{1}{2}\left(1-\frac{t}{\sqrt{t^2+4}}\right), \qquad\delta_1 = \sqrt{\frac{C_{12}C_{13}}{C_{23}\mu(1-\mu)}}. \tag*{(82)} μ = 2 1 ( 1 − t 2 + 4 t ) , δ 1 = C 23 μ ( 1 − μ ) C 12 C 13 . (82)
When μ = 1 / 2 \mu= 1/2 μ = 1/2 , T = 0 T=0 T = 0 and t = 0 t=0 t = 0 , so the same formulas recover μ = 1 / 2 \mu= 1/2 μ = 1/2 and the oriented gaps. No nonzero-third-moment condition is needed. For j ∈ [ K ] ∖ { 1 } j \in[K] \setminus\{1\} j ∈ [ K ] ∖ { 1 } , δ j = C 1 j / ( μ ( 1 − μ ) δ 1 ) \delta_j = C_{1j}/(\mu(1-\mu)\delta_1) δ j = C 1 j / ( μ ( 1 − μ ) δ 1 ) , including zero gaps. Finally a j = q j − μ δ j a_j = q_j-\mu\delta_j a j = q j − μ δ j and b j = a j + δ j b_j = a_j+\delta_j b j = a j + δ j . All formulas are determined by the marginal distribution and the chosen orientation. Reversing the orientation applies the one global label permutation, completing the proof.
An uninformative channel can be estimated as part of this likelihood model but cannot be inverted as a known channel. In applying the known-channel correction or variance formulas, use only a specified informative subset as described in Appendix § 9 . The estimated-channel bound of Theorem 1 instead requires positive estimated gaps and records any large channel error explicitly; it does not make an uninformative annotator informative.
Regular likelihood estimators and grouped models
Write A = A 1 : K A=A_{1:K} A = A 1 : K in the likelihood formulas. For marginal estimation, let ℓ θ ( A ) : = log p θ ( A ) \ell_{\theta}(A):=\log p_{\theta}(A) ℓ θ ( A ) := log p θ ( A ) and θ : = ( μ , a 1 , b 1 , … , a K , b K ) \theta:= (\mu,a_1,b_1,\ldots,a_K,b_K) θ := ( μ , a 1 , b 1 , … , a K , b K ) . For grouped estimation with fixed L L L , set, for g ∈ [ L ] g \in[L] g ∈ [ L ] and s ∈ { 0 , 1 } K s \in\{0,1\}^{K} s ∈ { 0 , 1 } K ,
p θ ( s ∣ g ) : = ( 1 − μ g ) ∏ j = 1 K a j s j ( 1 − a j ) 1 − s j + μ g ∏ j = 1 K b j s j ( 1 − b j ) 1 − s j , (83) p_{\theta}(s\mid g):=(1-\mu_g)\prod_{j=1}^{K}a_j^{s_j}(1-a_j)^{1-s_j}+\mu_g\prod_{j=1}^{K}b_j^{s_j}(1-b_j)^{1-s_j}, \tag*{(83)} p θ ( s ∣ g ) := ( 1 − μ g ) j = 1 ∏ K a j s j ( 1 − a j ) 1 − s j + μ g j = 1 ∏ K b j s j ( 1 − b j ) 1 − s j , (83)
ℓ θ ( G , A ) : = log p θ ( A ∣ G ) , θ : = ( ( a j , b j ) j ∈ [ K ] , ( μ g ) g ∈ [ L ] ) . (84) \ell_{\theta}(G,A):=\log p_{\theta}(A\mid G), \qquad\theta:= ((a_j,b_j)_{j\in[K]},(\mu_g)_{g\in[L]}). \tag*{(84)} ℓ θ ( G , A ) := log p θ ( A ∣ G ) , θ := (( a j , b j ) j ∈ [ K ] , ( μ g ) g ∈ [ L ] ) . (84)
The group probabilities π g : = P ( G = g ) > 0 \pi_g:=P(G=g)>0 π g := P ( G = g ) > 0 do not depend on these parameters. The joint distribution of ( G , A ) (G,A) ( G , A ) is π g p θ ( s ∣ g ) \pi_g p_{\theta}(s\mid g) π g p θ ( s ∣ g ) , so maximizing the conditional likelihood is appropriate without modeling the score density inside a group.
Theorem D.4 (Consistency and rate of likelihood estimation). Consider either of these correctly specified finite-alphabet models with fixed K K K and, for the grouped model, fixed L L L . Let Θ \Theta Θ be compact, with all channel and class-proportion coordinates in [ ϵ , 1 − ϵ ] [\epsilon,1-\epsilon] [ ϵ , 1 − ϵ ] for some ϵ ∈ ( 0 , 1 / 2 ) \epsilon\in(0,1/2) ϵ ∈ ( 0 , 1/2 ) . Assume the prescribed orientation identifies the true parameter θ 0 \theta_0 θ 0 on Θ \Theta Θ . Let V 1 , … , V n c h V_1,\ldots,V_{n_{\mathrm{ch}}} V 1 , … , V n ch be i.i.d. observations from that model at θ 0 \theta_0 θ 0 , with A i = A i , 1 : K A_i=A_{i,1:K} A i = A i , 1 : K . Write n : = n c h n:=n_{\mathrm{ch}} n := n ch and define the normalized log likelihood L n ( θ ) : = n − 1 ∑ i = 1 n c h ℓ θ ( V i ) L_n(\theta):=n^{-1}\sum_{i=1}^{n_{\mathrm{ch}}}\ell_{\theta}(V_i) L n ( θ ) := n − 1 ∑ i = 1 n ch ℓ θ ( V i ) , where V i = A i V_i=A_i V i = A i or ( G i , A i ) (G_i,A_i) ( G i , A i ) as appropriate. Let θ ^ ∈ Θ \hat{\theta}\in\Theta θ ^ ∈ Θ be a measurable estimate satisfying
L n ( θ ^ ) ≥ sup θ ∈ Θ L n ( θ ) − ϵ o p t , ϵ o p t ≥ 0 , ϵ o p t = o p ( 1 ) . (85) L_n(\hat{\theta})\ge\sup_{\theta\in\Theta}L_n(\theta)-\epsilon_{\mathrm{opt}}, \qquad\epsilon_{\mathrm{opt}}\ge0,\quad\epsilon_{\mathrm{opt}}=o_p(1). \tag*{(85)} L n ( θ ^ ) ≥ θ ∈ Θ sup L n ( θ ) − ϵ opt , ϵ opt ≥ 0 , ϵ opt = o p ( 1 ) . (85) Then θ ^ → θ 0 \hat{\theta}\to\theta_0 θ ^ → θ 0 in probability. If, additionally, θ 0 \theta_0 θ 0 is interior to Θ \Theta Θ and I ( θ 0 ) : = E θ 0 [ ∇ ℓ θ 0 ( V ) ∇ ℓ θ 0 ( V ) T ] I(\theta_0):=\mathbb{E}_{\theta_0}[\nabla\ell_{\theta_0}(V)\nabla\ell_{\theta_0}(V)^{\mathsf{T}}] I ( θ 0 ) := E θ 0 [ ∇ ℓ θ 0 ( V ) ∇ ℓ θ 0 ( V ) T ] is positive definite, let e n c h > 0 e_{n_{\mathrm{ch}}}>0 e n ch > 0 be a deterministic sequence tending to zero such that ϵ o p t = O p ( e n c h ) \epsilon_{\mathrm{opt}}=O_p(e_{n_{\mathrm{ch}}}) ϵ opt = O p ( e n ch ) . Then
∥ θ ^ − θ 0 ∥ 2 = O p ( n c h − 1 / 2 + e n c h ) . (86) \lVert\hat{\theta}-\theta_0\rVert_2=O_p\left(n_{\mathrm{ch}}^{-1/2}+\sqrt{e_{n_{\mathrm{ch}}}}\right). \tag*{(86)} ∥ θ ^ − θ 0 ∥ 2 = O p ( n ch − 1/2 + e n ch ) . (86) In particular, exact global maximizers are consistent and have root-n c h n_{\mathrm{ch}} n ch error. The same order holds when ϵ o p t = O p ( n c h − 1 ) \epsilon_{\mathrm{opt}}=O_p(n_{\mathrm{ch}}^{-1}) ϵ opt = O p ( n ch − 1 ) .
Proof. Uniform convergence. All model probabilities are uniformly positive on Θ \Theta Θ because the alphabet is finite and all coordinates are bounded away from zero and one. The log probabilities are therefore bounded and continuous on Θ \Theta Θ . Writing L ( θ ) : = E θ 0 ℓ θ ( V ) L(\theta):=\mathbb{E}_{\theta_0}\ell_{\theta}(V) L ( θ ) := E θ 0 ℓ θ ( V ) , convergence of the finite vector of empirical cell frequencies gives sup θ ∈ Θ ∣ L n ( θ ) − L ( θ ) ∣ → 0 \sup_{\theta\in\Theta}|L_n(\theta)-L(\theta)|\to0 sup θ ∈ Θ ∣ L n ( θ ) − L ( θ ) ∣ → 0 in probability. Identification of the population maximum. For the marginal model, L ( θ 0 ) − L ( θ ) = D K L ( p θ 0 ∥ p θ ) L(\theta_0)-L(\theta)=D_{\mathrm{KL}}(p_{\theta_0}\|p_{\theta}) L ( θ 0 ) − L ( θ ) = D KL ( p θ 0 ∥ p θ ) . For the grouped model, this difference is ∑ g = 1 L π g D K L ( p θ 0 ( ⋅ ∣ g ) ∥ p θ ( ⋅ ∣ g ) ) \sum_{g=1}^{L}\pi_gD_{\mathrm{KL}}(p_{\theta_0}(\cdot\mid g)\|p_{\theta}(\cdot\mid g)) ∑ g = 1 L π g D KL ( p θ 0 ( ⋅ ∣ g ) ∥ p θ ( ⋅ ∣ g )) . Here D K L ( p ∥ q ) : = D_{\mathrm{KL}}(p\|q):= D KL ( p ∥ q ) := ∑ s p ( s ) log ( p ( s ) / q ( s ) ) \sum_s p(s)\log(p(s)/q(s)) ∑ s p ( s ) log ( p ( s ) / q ( s )) . Positivity of the group probabilities and identification give a unique population maximum at θ 0 \theta_0 θ 0 . Compactness then implies strict population separation outside every fixed neighborhood of θ 0 \theta_0 θ 0 . Uniform convergence and Eq. (D.25) prove consistency. Continuity also ensures existence of an exact global maximizer.
Local error bound. For the rate, choose a closed convex neighborhood N N N of θ 0 \theta_0 θ 0 inside Θ \Theta Θ . The first two log-likelihood derivatives are uniformly bounded and continuous there. Differentiating the finite sum of probabilities gives E θ 0 ∇ ℓ θ 0 = 0 \mathbb{E}_{\theta_0}\nabla\ell_{\theta_0}=0 E θ 0 ∇ ℓ θ 0 = 0 and ∇ 2 L ( θ 0 ) = − I ( θ 0 ) \nabla^2L(\theta_0)=-I(\theta_0) ∇ 2 L ( θ 0 ) = − I ( θ 0 ) . Hence ∥ ∇ L n ( θ 0 ) ∥ 2 = O p ( n c h − 1 / 2 ) \lVert\nabla L_n(\theta_0)\rVert_2=O_p(n_{\mathrm{ch}}^{-1/2}) ∥ ∇ L n ( θ 0 ) ∥ 2 = O p ( n ch − 1/2 ) . After reducing N N N , uniform convergence of its Hessians implies, with probability tending to one, ∇ 2 L n ( θ ) ⪯ − λ I d / 2 \nabla^2L_n(\theta)\preceq-\lambda I_d/2 ∇ 2 L n ( θ ) ⪯ − λ I d /2 for every θ ∈ N \theta\in N θ ∈ N , where λ : = λ min ( I ( θ 0 ) ) > 0 \lambda:=\lambda_{\min}(I(\theta_0))>0 λ := λ m i n ( I ( θ 0 )) > 0 , d d d is the parameter dimension, and I d I_d I d is the identity matrix. Consistency places θ ^ \hat{\theta} θ ^ in N N N with probability tending to one. The Taylor formula and approximate optimality then give, for r : = ∥ θ ^ − θ 0 ∥ 2 r:=\lVert\hat{\theta}-\theta_0\rVert_2 r := ∥ θ ^ − θ 0 ∥ 2 , λ r 2 / 4 ≤ ∥ ∇ L n ( θ 0 ) ∥ 2 r + ϵ o p t \lambda r^2/4\leq\lVert\nabla L_n(\theta_0)\rVert_2r+\epsilon_{\mathrm{opt}} λ r 2 /4 ≤ ∥ ∇ L n ( θ 0 ) ∥ 2 r + ϵ opt . Solving this scalar inequality yields r ≤ 4 ∥ ∇ L n ( θ 0 ) ∥ 2 / λ + 2 ϵ o p t / λ r\leq4\lVert\nabla L_n(\theta_0)\rVert_2/\lambda+2\sqrt{\epsilon_{\mathrm{opt}}/\lambda} r ≤ 4 ∥ ∇ L n ( θ 0 ) ∥ 2 / λ + 2 ϵ opt / λ on this event. Together with the assumed rate of the optimization gap, this proves Eq. (D.26).
A separate local statement is useful for comparing this theorem with standard likelihood theory [38 ] . Any selected consistent interior stationary solution also has root-n c h n_{\mathrm{ch}} n ch error: its empirical score equation is
0 = ∇ L n ( θ 0 ) + H n ( θ ^ − θ 0 ) , H n : = ∫ 0 1 ∇ 2 L n ( θ 0 + t ( θ ^ − θ 0 ) ) d t . (87) 0=\nabla L_n(\theta_0)+H_n(\hat{\theta}-\theta_0),\qquad H_n:=\int_0^1\nabla^2L_n\left(\theta_0+t(\hat{\theta}-\theta_0)\right)\,\mathrm{d}t. \tag*{(87)} 0 = ∇ L n ( θ 0 ) + H n ( θ ^ − θ 0 ) , H n := ∫ 0 1 ∇ 2 L n ( θ 0 + t ( θ ^ − θ 0 ) ) d t . (87)
Consistency and uniform Hessian convergence give H n → − I ( θ 0 ) H_n\to-I(\theta_0) H n → − I ( θ 0 ) , and the empirical score is O p ( n c h − 1 / 2 ) O_p(n_{\mathrm{ch}}^{-1/2}) O p ( n ch − 1/2 ) . Unlike global likelihood maximization on the identified compact set, stationarity alone does not establish the consistency used in this local argument. The tolerance in Eq. (D.25) is a gap in mean log likelihood relative to the global optimum, not the change between consecutive EM iterations.
Corollary D.1 (Fixed-group shared-channel likelihood). For the grouped model, suppose C C C is fixed independently of the channel sample, L L L is fixed, and every group has positive probability. Sufficient identification conditions are either: (a) an informative pair of positively oriented annotators and two groups with different interior true-label class proportions; or (b) three informative annotators, interior group proportions, and a common label orientation. On an oriented compact parameter set satisfying Theorem D.4 , global grouped likelihood maximizers are consistent. With interior truth and nonsingular Fisher information, their error is O p ( n c h − 1 / 2 ) O_p(n_{\mathrm{ch}}^{-1/2}) O p ( n ch − 1/2 ) , and approximate global maximizers obey Eq. (D.26) under its stated optimization-error condition. This includes the fixed-L L L statistical model fitted by Joint score-bin EM.
Proof. Under (a), the two-group inverse identifies the shared pair and its group proportions. Other group proportions follow from either identified annotator’s mean. For an additional annotator, its means in the two separated groups identify its two endpoints by a two-equation linear system. Under (b), the marginal triple identifies the shared channels and orientation by Proposition D.2; group means then identify every μ g \mu_g μ g . The compact-set and interior conditions and nonsingular Fisher information remain explicit hypotheses. Theorem D.4 applied to the finite alphabet [ L ] × { 0 , 1 } K [L]\times\{0,1\}^K [ L ] × { 0 , 1 } K proves the rate.
This corollary is not a growing-dimensional result. In particular, taking L = M ≍ n e v 1 / 3 L=M\asymp n_{\mathrm{ev}}^{1/3} L = M ≍ n ev 1/3 does not follow from the fixed-L L L argument. Increasing the number of evaluation bins reduces binning error, whereas increasing L L L changes the dimension of the channel-estimation problem. Likewise, a partition constructed from the same channel sample is outside the fixed-partition likelihood argument without additional analysis.
Remark D.1 (What EM establishes). Exact E- and M-steps do not decrease the likelihood [5 , 41 ] . Neither monotonicity nor a finite number of initializations guarantees the global objective condition or the consistent local solution required above. A converged admissible fit is a numerical output, not a proof of global optimality or of consistency. A numerical fit at a boundary can also fall outside the regular interior theory.
Model checks and extensions
For two annotators and L > 2 L > 2 L > 2 , 3 L 3L 3 L moments versus L + 4 L + 4 L + 4 parameters give 2 L − 4 2L - 4 2 L − 4 restrictions at regular points. A marginal model has 2 K − 1 2^{K} - 1 2 K − 1 observable probabilities and 2 K + 1 2K + 1 2 K + 1 parameters; K > 3 K > 3 K > 3 permits additional model checks. Discrepancy tests need their own regularity and calibration, especially near boundaries or weak identification. Group-specific channels require informative overlap and a common orientation in every group; effective sizes are the group counts. Missing answers require a missingness model and identifiable overlap. No guarantee for arbitrary selective missingness, dependence, or instance-dependent channels is asserted.
Recalibration: Statements and Proofs
This appendix proves clean-risk guarantees for corrected-loss fitting, calibration guarantees for histogram fitting, and evaluation bounds for the fitted predictor.
Corrected binary losses
Let ℓ : ( 0 , 1 ) × { 0 , 1 } → R \ell: (0, 1) \times\{0, 1\} \to\mathbb{R} ℓ : ( 0 , 1 ) × { 0 , 1 } → R be a binary loss and write ℓ y ( p ) : = ℓ ( p , y ) \ell_y(p) := \ell(p, y) ℓ y ( p ) := ℓ ( p , y ) for y ∈ { 0 , 1 } y \in\{0, 1\} y ∈ { 0 , 1 } .
Definition E.1 (Corrected binary loss). For fixed true channels with δ j ≠ 0 \delta_j \ne0 δ j = 0 for every j ∈ [ K ] j \in[K] j ∈ [ K ] , and fixed α ∈ Δ K \alpha\in\Delta_K α ∈ Δ K , define
ℓ ρ , α corr ( p , A 1 : K ) : = ℓ 0 ( p ) + U α ( A 1 : K ) ( ℓ 1 ( p ) − ℓ 0 ( p ) ) . (88) \ell^{\operatorname{corr}}_{\rho,\alpha}(p, A_{1:K}) := \ell_0(p) + U_\alpha(A_{1:K})(\ell_1(p) - \ell_0(p)). \tag*{(88)} ℓ ρ , α corr ( p , A 1 : K ) := ℓ 0 ( p ) + U α ( A 1 : K ) ( ℓ 1 ( p ) − ℓ 0 ( p )) . (88) Its estimated-channel version, denoted by ℓ ^ ρ corr \widehat{\ell}^{\operatorname{corr}}_{\rho} ℓ ρ corr , replaces U α U_\alpha U α by U ^ \widehat{U} U and therefore uses both the fitted channels and the fitted convex weights.
For a fixed measurable g : [ 0 , 1 ] → ( 0 , 1 ) g : [0, 1] \to(0, 1) g : [ 0 , 1 ] → ( 0 , 1 ) , write R ℓ ( g ) : = E [ ℓ ( g ( Z ) , Y ) ] R_\ell(g) := \mathbb{E}[\ell(g(Z), Y)] R ℓ ( g ) := E [ ℓ ( g ( Z ) , Y )] . Every map used in the following risk identities is assumed to satisfy E [ ∣ ℓ 0 ( g ( Z ) ) ∣ + ∣ ℓ 1 ( g ( Z ) ) ∣ ] < ∞ \mathbb{E}[|\ell_0(g(Z))| + |\ell_1(g(Z))|] < \infty E [ ∣ ℓ 0 ( g ( Z )) ∣ + ∣ ℓ 1 ( g ( Z )) ∣ ] < ∞ ; for a random class this condition is imposed after fixing the independent fitting data. This excludes undefined differences of infinite risks.
Theorem E.1 (Corrected risk and channel error). Suppose Assumption 1 holds. For known channels with nonzero gaps and fixed α ∈ Δ K \alpha\in\Delta_K α ∈ Δ K ,
E [ ℓ ρ , α corr ( g ( Z ) , A 1 : K ) ] = R ℓ ( g ) (89) \mathbb{E}[\ell^{\operatorname{corr}}_{\rho,\alpha}(g(Z), A_{1:K})] = R_\ell(g) \tag*{(89)} E [ ℓ ρ , α corr ( g ( Z ) , A 1 : K )] = R ℓ ( g ) (89) for every fixed measurable g g g for which these expectations exist. For estimated channels satisfying the conditions of Lemma C.3, no nonzero-true-gap condition is needed for the following comparison. If a class G \mathcal{G} G satisfies
C ℓ , G : = sup g ∈ G sup z ∈ [ 0 , 1 ] ∣ ℓ 1 ( g ( z ) ) − ℓ 0 ( g ( z ) ) ∣ < ∞ , (90) C_{\ell,\mathcal{G}} := \sup_{g \in\mathcal{G}} \sup_{z \in[0,1]} |\ell_1(g(z)) - \ell_0(g(z))| < \infty, \tag*{(90)} C ℓ , G := g ∈ G sup z ∈ [ 0 , 1 ] sup ∣ ℓ 1 ( g ( z )) − ℓ 0 ( g ( z )) ∣ < ∞ , (90) then risks evaluated on an independent example, conditional on the channel-fitting data, satisfy
sup g ∈ G ∣ E [ ℓ ^ ρ corr ( g ( Z ) , A 1 : K ) ∣ D c h ] − R ℓ ( g ) ∣ ≤ C ℓ , G d c h . (91) \sup_{g \in\mathcal{G}} \left|\mathbb{E}\left[\widehat{\ell}^{\operatorname{corr}}_{\rho}(g(Z), A_{1:K}) \mid\mathcal{D}_{\mathrm{ch}}\right] - R_\ell(g)\right| \le C_{\ell,\mathcal{G}}d_{\mathrm{ch}}. \tag*{(91)} g ∈ G sup E [ ℓ ρ corr ( g ( Z ) , A 1 : K ) ∣ D ch ] − R ℓ ( g ) ≤ C ℓ , G d ch . (91) The class may be fixed conditional on D c h \mathcal{D}_{\mathrm{ch}} D ch .
Proof. A binary loss satisfies ℓ ( p , y ) = ℓ 0 ( p ) + y ( ℓ 1 ( p ) − ℓ 0 ( p ) ) \ell(p, y) = \ell_0(p) + y(\ell_1(p) - \ell_0(p)) ℓ ( p , y ) = ℓ 0 ( p ) + y ( ℓ 1 ( p ) − ℓ 0 ( p )) . Conditioning Eq. (E.1) on ( Y , Z ) (Y, Z) ( Y , Z ) and using E [ U α ∣ Y , Z ] = Y \mathbb{E}[U_\alpha\mid Y, Z] = Y E [ U α ∣ Y , Z ] = Y proves Eq. (E.2). For estimated channels, conditioning on ( Z , D c h ) (Z, \mathcal{D}_{\mathrm{ch}}) ( Z , D ch ) shows that the risk difference is E [ b c h ( Z ) ( ℓ 1 ( g ( Z ) ) − ℓ 0 ( g ( Z ) ) ) ∣ D c h ] \mathbb{E}[b_{\mathrm{ch}}(Z)(\ell_1(g(Z)) - \ell_0(g(Z))) \mid\mathcal{D}_{\mathrm{ch}}] E [ b ch ( Z ) ( ℓ 1 ( g ( Z )) − ℓ 0 ( g ( Z ))) ∣ D ch ] . Lemma C.3 bounds this uniformly by C ℓ , G d c h C_{\ell,\mathcal{G}}d_{\mathrm{ch}} C ℓ , G d ch .
Parametric logarithmic-loss fitting
Fix an input clipping level ϵ ∈ ( 0 , 1 / 2 ) \epsilon\in(0,1/2) ϵ ∈ ( 0 , 1/2 ) and write z ˉ : = Π [ ϵ , 1 − ϵ ] ( z ) \bar{z} := \Pi_{[\epsilon,1-\epsilon]}(z) z ˉ := Π [ ϵ , 1 − ϵ ] ( z ) and s ( z ) : = log ( z ˉ / ( 1 − z ˉ ) ) s(z) := \log(\bar{z}/(1-\bar{z})) s ( z ) := log ( z ˉ / ( 1 − z ˉ )) . Let σ ( t ) : = ( 1 + e − t ) − 1 \sigma(t) := (1+e^{-t})^{-1} σ ( t ) := ( 1 + e − t ) − 1 . The two families are
g T ( z ) : = σ ( s ( z ) / T ) , T ∈ [ T min , T max ] , 0 < T min < T max < ∞ , (92) g_T(z) := \sigma(s(z)/T), \qquad T \in[T_{\min},T_{\max}], \qquad0<T_{\min}<T_{\max}<\infty, \tag*{(92)} g T ( z ) := σ ( s ( z ) / T ) , T ∈ [ T m i n , T m a x ] , 0 < T m i n < T m a x < ∞ , (92)
g u , v ( z ) : = σ ( u s ( z ) + v ) , ( u , v ) ∈ Θ P , Θ P ⊂ R 2 nonempty and compact . (93) g_{u,v}(z) := \sigma(us(z)+v), \qquad(u,v) \in\Theta_P,\qquad\Theta_P \subset\mathbb{R}^2\ \text{nonempty and compact}. \tag*{(93)} g u , v ( z ) := σ ( u s ( z ) + v ) , ( u , v ) ∈ Θ P , Θ P ⊂ R 2 nonempty and compact . (93)
Compactness and bounded s s s imply a common output interval [ ϵ p , 1 − ϵ p ] [\epsilon_p,1-\epsilon_p] [ ϵ p , 1 − ϵ p ] for some ϵ p ∈ ( 0 , 1 / 2 ) \epsilon_p \in(0,1/2) ϵ p ∈ ( 0 , 1/2 ) . The logarithmic loss is ℓ log ( p , y ) : = − y log p − ( 1 − y ) log ( 1 − p ) \ell_{\log}(p,y):=-y\log p-(1-y)\log(1-p) ℓ l o g ( p , y ) := − y log p − ( 1 − y ) log ( 1 − p ) . Its corrected version is
ℓ log , ρ ^ c o r r ( p , A 1 : K ) : = − U ^ log p − ( 1 − U ^ ) log ( 1 − p ) . (94) \ell^{\mathrm{corr}}_{\log,\hat{\rho}}(p,A_{1:K}) := -\hat{U}\log p-(1-\hat{U})\log(1-p). \tag*{(94)} ℓ l o g , ρ ^ corr ( p , A 1 : K ) := − U ^ log p − ( 1 − U ^ ) log ( 1 − p ) . (94)
It may be negative for individual examples. Bounded probabilities are therefore substantive conditions, not only numerical conventions. In code we evaluate log ( 1 + exp η ) − U ^ i η \log(1+\exp\eta)-\hat{U}_i\eta log ( 1 + exp η ) − U ^ i η directly with a stable softplus, rather than using a binary-cross-entropy routine that restricts targets to [ 0 , 1 ] [0,1] [ 0 , 1 ] .
Remark E.1 (Convexity and boundedness). For x i = ( s ( Z i ) , 1 ) T x_i=(s(Z_i),1)^{\mathsf{T}} x i = ( s ( Z i ) , 1 ) T and ϑ = ( u , v ) T \vartheta=(u,v)^{\mathsf{T}} ϑ = ( u , v ) T , the corrected loss is log ( 1 + e x i T ϑ ) − U ^ i x i T ϑ \log(1+e^{x_i^{\mathsf{T}}\vartheta})-\hat{U}_i x_i^{\mathsf{T}}\vartheta log ( 1 + e x i T ϑ ) − U ^ i x i T ϑ . Its Hessian is σ ( x i T ϑ ) ( 1 − σ ( x i T ϑ ) ) x i x i T ⪰ 0 \sigma(x_i^{\mathsf{T}}\vartheta)(1-\sigma(x_i^{\mathsf{T}}\vartheta))x_i x_i^{\mathsf{T}}\succeq0 σ ( x i T ϑ ) ( 1 − σ ( x i T ϑ )) x i x i T ⪰ 0 , regardless of U ^ i \hat{U}_i U ^ i . The same argument applies to inverse temperature. The objective is convex on a convex parameter set but can be unbounded below without the stated compactness.
Conditional on D c h \mathcal{D}_{\mathrm{ch}} D ch , let F ^ G : = { O ↦ ℓ log , ρ ^ c o r r ( g ( Z ) , A 1 : K ) : g ∈ G } \widehat{\mathcal{F}}_{\mathcal{G}} := \{O \mapsto\ell^{\mathrm{corr}}_{\log,\hat{\rho}}(g(Z),A_{1:K}) : g \in\mathcal{G}\} F G := { O ↦ ℓ l o g , ρ ^ corr ( g ( Z ) , A 1 : K ) : g ∈ G } and define its expected absolute Rademacher complexity by
R n ( F ^ G ∣ D c h ) : = E D , ϵ [ sup h ∈ F ^ G ∣ 1 n ∑ i = 1 n ϵ i h ( O i ) ∣ | D c h ] . (95) \mathfrak{R}_n(\widehat{\mathcal{F}}_{\mathcal{G}}\mid\mathcal{D}_{\mathrm{ch}}):=\mathbb{E}_{\mathcal{D},\epsilon}\left[\sup_{h\in\widehat{\mathcal{F}}_{\mathcal{G}}}\left|\frac{1}{n}\sum_{i=1}^{n}\epsilon_i h(O_i)\right|\middle|\mathcal{D}_{\mathrm{ch}}\right]. \tag*{(95)} R n ( F G ∣ D ch ) := E D , ϵ [ h ∈ F G sup n 1 i = 1 ∑ n ϵ i h ( O i ) D ch ] . (95)
where D \mathcal{D} D consists of n n n i.i.d. examples from P O P_O P O , independently of D c h \mathcal{D}_{\mathrm{ch}} D ch , and ϵ i \epsilon_i ϵ i are independent uniform signs, independent of the data. The compact continuous families above give measurable suprema, for example by restriction to a countable dense parameter subset.
Theorem E.2 (Clean log-loss guarantee). Suppose Assumption 1 holds, channels satisfy 0 ≤ a ^ j < b ^ j ≤ 1 0\leq\hat{a}_j<\hat{b}_j\leq1 0 ≤ a ^ j < b ^ j ≤ 1 , and D r e c ⊥ ⊥ D c h \mathcal{D}_{\mathrm{rec}}\perp\!\!\!\perp\mathcal{D}_{\mathrm{ch}} D rec ⊥ ⊥ D ch . Let G \mathcal{G} G be one of the families in Eq. (E.5) and Eq. (E.6). Suppose a measurable fitted map g ^ ∈ G \hat{g}\in\mathcal{G} g ^ ∈ G satisfies R ^ ( g ^ ) ≤ inf g ∈ G R ^ ( g ) + ϵ o p t \hat{R}(\hat{g})\leq\inf_{g\in\mathcal{G}}\hat{R}(g)+\epsilon_{\mathrm{opt}} R ^ ( g ^ ) ≤ inf g ∈ G R ^ ( g ) + ϵ opt with ϵ o p t ≥ 0 \epsilon_{\mathrm{opt}}\geq0 ϵ opt ≥ 0 . Define B log : = ( 1 + 2 B ^ ) log ( 1 / ϵ p ) B_{\log}:=(1+2\hat{B})\log(1/\epsilon_p) B l o g := ( 1 + 2 B ^ ) log ( 1/ ϵ p ) and C ϵ p : = log ( ( 1 − ϵ p ) / ϵ p ) C_{\epsilon_p}:=\log((1-\epsilon_p)/\epsilon_p) C ϵ p := log (( 1 − ϵ p ) / ϵ p ) . For η ∈ ( 0 , 1 ) \eta\in(0,1) η ∈ ( 0 , 1 ) , conditional on D c h \mathcal{D}_{\mathrm{ch}} D ch , with probability at least 1 − η 1-\eta 1 − η ,
R log ( g ^ ) − inf g ∈ G R log ( g ) ≤ 4 R n r e c ( F ^ G ∣ D c h ) + 2 B log 2 log ( 1 / η ) n r e c + 2 C ϵ p d c h + ϵ o p t . (96) R_{\log}(\hat{g})-\inf_{g\in\mathcal{G}}R_{\log}(g)\leq4\mathfrak{R}_{n_{\mathrm{rec}}}(\widehat{\mathcal{F}}_{\mathcal{G}}\mid\mathcal{D}_{\mathrm{ch}})+2B_{\log}\sqrt{\frac{2\log(1/\eta)}{n_{\mathrm{rec}}}}+2C_{\epsilon_p}d_{\mathrm{ch}}+\epsilon_{\mathrm{opt}}. \tag*{(96)} R l o g ( g ^ ) − g ∈ G inf R l o g ( g ) ≤ 4 R n rec ( F G ∣ D ch ) + 2 B l o g n rec 2 log ( 1/ η ) + 2 C ϵ p d ch + ϵ opt . (96) For the fixed-dimensional compact families above, the complexity is O ( n r e c − 1 / 2 ) O(n_{\mathrm{rec}}^{-1/2}) O ( n rec − 1/2 ) conditional on bounded B ^ \hat{B} B ^ and fixed parameter and clipping bounds.
Proof. By ∣ U ^ ∣ ≤ B ^ |\hat{U}|\leq\hat{B} ∣ U ^ ∣ ≤ B ^ , ∣ ℓ log , ρ ^ c o r r ∣ ≤ B log |\ell^{\mathrm{corr}}_{\log,\hat{\rho}}|\leq B_{\log} ∣ ℓ l o g , ρ ^ corr ∣ ≤ B l o g . For a class bounded in [ − B log , B log ] [-B_{\log},B_{\log}] [ − B l o g , B l o g ] , symmetrization gives expected uniform empirical deviation at most twice its expected absolute Rademacher complexity. Changing one sample point changes the supremum deviation by at most 2 B log / n r e c 2B_{\log}/n_{\mathrm{rec}} 2 B l o g / n rec . McDiarmid’s inequality consequently gives, with probability 1 − η 1-\eta 1 − η , sup h ∈ F ^ G ∣ E D r e c [ h ] − E [ h ∣ D c h ] ∣ ≤ 2 R n r e c ( F ^ G ∣ D c h ) + B log 2 log ( 1 / η ) / n r e c \sup_{h\in\widehat{\mathcal{F}}_{\mathcal{G}}}|\mathbb{E}_{D_{\mathrm{rec}}}[h]-\mathbb{E}[h\mid\mathcal{D}_{\mathrm{ch}}]|\leq2\mathfrak{R}_{n_{\mathrm{rec}}}(\widehat{\mathcal{F}}_{\mathcal{G}}\mid\mathcal{D}_{\mathrm{ch}})+B_{\log}\sqrt{2\log(1/\eta)/n_{\mathrm{rec}}} sup h ∈ F G ∣ E D rec [ h ] − E [ h ∣ D ch ] ∣ ≤ 2 R n rec ( F G ∣ D ch ) + B l o g 2 log ( 1/ η ) / n rec . Also ∣ ℓ 1 ( p ) − ℓ 0 ( p ) ∣ = ∣ log ( ( 1 − p ) / p ) ∣ ≤ C ϵ p |\ell_1(p)-\ell_0(p)|=|\log((1-p)/p)|\leq C_{\epsilon_p} ∣ ℓ 1 ( p ) − ℓ 0 ( p ) ∣ = ∣ log (( 1 − p ) / p ) ∣ ≤ C ϵ p . Theorem E.1 bounds the uniform difference between conditional corrected risk and clean risk by C ϵ p d c h C_{\epsilon_p}d_{\mathrm{ch}} C ϵ p d ch . Call the sum of these two bounds Δ n \Delta_n Δ n . For any g ∈ G g\in\mathcal{G} g ∈ G , approximate empirical optimality gives R log ( g ^ ) ≤ R ^ ( g ^ ) + Δ n ≤ R ^ ( g ) + ϵ o p t + Δ n ≤ R log ( g ) + ϵ o p t + 2 Δ n R_{\log}(\hat{g})\leq\hat{R}(\hat{g})+\Delta_n\leq\hat{R}(g)+\epsilon_{\mathrm{opt}}+\Delta_n\leq R_{\log}(g)+\epsilon_{\mathrm{opt}}+2\Delta_n R l o g ( g ^ ) ≤ R ^ ( g ^ ) + Δ n ≤ R ^ ( g ) + ϵ opt + Δ n ≤ R l o g ( g ) + ϵ opt + 2 Δ n . Taking the infimum proves Eq. (E.9). The bounded input logit and compact parameters make the corrected loss uniformly Lipschitz in a one- or two-dimensional parameter. A Euclidean cover has logarithmic size at most d log ( C / ϵ ′ ) d\log(C/\epsilon') d log ( C / ϵ ′ ) for dimension d ∈ { 1 , 2 } d\in\{1,2\} d ∈ { 1 , 2 } . The entropy integral of its square root is finite, giving the stated n r e c − 1 / 2 n_{\mathrm{rec}}^{-1/2} n rec − 1/2 order, with constants depending on the fixed bounds and B ^ \hat{B} B ^ . ∎
Fixed-bin recalibration
Let H : = { H h } h ∈ [ J ] \mathcal{H}:=\{H_h\}_{h\in[J]} H := { H h } h ∈ [ J ] be fixed conditional on D c h \mathcal{D}_{\mathrm{ch}} D ch , independently of D r e c \mathcal{D}_{\mathrm{rec}} D rec . Define n h n_h n h , m ~ h \widetilde{m}_h m h , and m ^ h \widehat{m}_h m h as in Eq. (20) . For an empty bin, assign both m ~ h \widetilde{m}_h m h and m ^ h \widehat{m}_h m h any common value in [ 0 , 1 ] [0,1] [ 0 , 1 ] . Set
m ~ H ( z ) : = ∑ h = 1 J m ~ h 1 ( z ∈ H h ) , m ^ H ( z ) : = ∑ h = 1 J m ^ h 1 ( z ∈ H h ) . (97) \widetilde{m}_{\mathcal{H}}(z):=\sum_{h=1}^{J}\widetilde{m}_h1(z\in H_h),\qquad\widehat{m}_{\mathcal{H}}(z):=\sum_{h=1}^{J}\widehat{m}_h1(z\in H_h). \tag*{(97)} m H ( z ) := h = 1 ∑ J m h 1 ( z ∈ H h ) , m H ( z ) := h = 1 ∑ J m h 1 ( z ∈ H h ) . (97)
The first map can take values outside [ 0 , 1 ] [0,1] [ 0 , 1 ] and is used only to describe the empirical residual; the second is the probability-valued predictor. For any H \mathcal{H} H -binwise constant map g g g , define
C ^ H ( g ) : = ∑ h = 1 J ∣ E D r e c [ ( U ^ − g ( Z ) ) 1 ( Z ∈ H h ) ] ∣ . (98) \widehat{C}_{\mathcal{H}}(g):=\sum_{h=1}^{J}\left|\mathbb{E}_{\mathcal{D}_{\mathrm{rec}}}\left[(\widehat{U}-g(Z))1(Z\in H_h)\right]\right|. \tag*{(98)} C H ( g ) := h = 1 ∑ J E D rec [ ( U − g ( Z )) 1 ( Z ∈ H h ) ] . (98)
Its bins are those of the original score used for fitting. Test ECE is instead computed using bins of the transformed score.
Theorem E.3 (Uniform fixed-bin calibration guarantee). Under the hypotheses of Proposition 2, with conditional probability at least 1 − η 1-\eta 1 − η , simultaneously for every possibly sample-dependent g H : [ 0 , 1 ] → [ 0 , 1 ] g_{\mathcal{H}}:[0,1]\to[0,1] g H : [ 0 , 1 ] → [ 0 , 1 ] constant on each fitting bin,
ECE ( g H ∘ f ) ≤ C ^ H ( g H ) + d c h + ( B ^ + 1 ) 2 ( J log 2 + log ( 4 / η ) ) n r e c . (99) \operatorname{ECE}(g_{\mathcal{H}}\circ f)\leq\widehat{C}_{\mathcal{H}}(g_{\mathcal{H}})+d_{\mathrm{ch}}+(\widehat{B}+1)\sqrt{\frac{2(J\log2+\log(4/\eta))}{n_{\mathrm{rec}}}}. \tag*{(99)} ECE ( g H ∘ f ) ≤ C H ( g H ) + d ch + ( B + 1 ) n rec 2 ( J log 2 + log ( 4/ η )) . (99) For the fitted maps, the empirical residuals satisfy
C ^ H ( m ~ H ) = 0 , C ^ H ( m ^ H ) = ∑ h : n h > 0 n h n r e c ∣ m ~ h − m ^ h ∣ . (100) \widehat{C}_{\mathcal{H}}(\widetilde{m}_{\mathcal{H}})=0,\qquad\widehat{C}_{\mathcal{H}}(\widehat{m}_{\mathcal{H}})=\sum_{h:n_h>0}\frac{n_h}{n_{\mathrm{rec}}}\left|\widetilde{m}_h-\widehat{m}_h\right|. \tag*{(100)} C H ( m H ) = 0 , C H ( m H ) = h : n h > 0 ∑ n rec n h ∣ m h − m h ∣ . (100)
Proof. Fix any vector of bin values ( g h ) h ∈ [ J ] ∈ [ 0 , 1 ] J (g_h)_{h\in[J]}\in[0,1]^J ( g h ) h ∈ [ J ] ∈ [ 0 , 1 ] J and let V : = g H ( Z ) V:=g_{\mathcal{H}}(Z) V := g H ( Z ) . The finite-valued prediction has
ECE ( g H ∘ f ) = ∑ v ∈ { g h : h ∈ [ J ] } ∣ E [ ( Y − v ) 1 ( V = v ) ] ∣ ≤ ∑ h = 1 J ∣ E [ ( Y − g h ) 1 ( Z ∈ H h ) ] ∣ . \operatorname{ECE}(g_{\mathcal{H}}\circ f)=\sum_{v\in\{g_h:h\in[J]\}}\left|\mathbb{E}[(Y-v)1(V=v)]\right|\leq\sum_{h=1}^{J}\left|\mathbb{E}[(Y-g_h)1(Z\in H_h)]\right|. ECE ( g H ∘ f ) = v ∈ { g h : h ∈ [ J ]} ∑ ∣ E [( Y − v ) 1 ( V = v )] ∣ ≤ h = 1 ∑ J ∣ E [( Y − g h ) 1 ( Z ∈ H h )] ∣ .
The inequality allows different fitting bins to have the same predicted value. By Lemma C.3, replacing Y Y Y by U ^ \widehat{U} U in the population bin moments changes their sum of absolute values by at most d c h d_{\mathrm{ch}} d ch . Let p h : = P ( Z ∈ H h ∣ D c h ) p_h:=\mathbb{P}(Z\in H_h\mid\mathcal{D}_{\mathrm{ch}}) p h := P ( Z ∈ H h ∣ D ch ) . Adding and subtracting the empirical moments, using 0 ≤ g h ≤ 1 0\leq g_h\leq1 0 ≤ g h ≤ 1 , gives the pathwise bound
ECE ( g H ∘ f ) ≤ C ^ H ( g H ) + d c h + D U + D 1 , \operatorname{ECE}(g_{\mathcal{H}}\circ f)\leq\widehat{C}_{\mathcal{H}}(g_{\mathcal{H}})+d_{\mathrm{ch}}+D_U+D_1, ECE ( g H ∘ f ) ≤ C H ( g H ) + d ch + D U + D 1 ,
D U : = ∑ h = 1 J ∣ E [ U ^ 1 ( Z ∈ H h ) ∣ D c h ] − E D r e c [ U ^ 1 ( Z ∈ H h ) ] ∣ , D_U:=\sum_{h=1}^{J}\left|\mathbb{E}[\widehat{U}1(Z\in H_h)\mid\mathcal{D}_{\mathrm{ch}}]-\mathbb{E}_{\mathcal{D}_{\mathrm{rec}}}[\widehat{U}1(Z\in H_h)]\right|, D U := h = 1 ∑ J E [ U 1 ( Z ∈ H h ) ∣ D ch ] − E D rec [ U 1 ( Z ∈ H h )] ,
D 1 : = ∑ h = 1 J ∣ p h − E D r e c [ 1 ( Z ∈ H h ) ] ∣ . D_1:=\sum_{h=1}^{J}\left|p_h-\mathbb{E}_{\mathcal{D}_{\mathrm{rec}}}[1(Z\in H_h)]\right|. D 1 := h = 1 ∑ J ∣ p h − E D rec [ 1 ( Z ∈ H h )] ∣ .
These last two quantities do not depend on the vector ( g h ) (g_h) ( g h ) . Use the 2 J 2^J 2 J sign representation of each sum. The corresponding summands are bounded by B ^ \widehat{B} B and 1 1 1 , respectively. Hoeffding concentration and a union bound over signs and the two sums give D U + D 1 ≤ ( B ^ + 1 ) 2 ( J log 2 + log ( 4 / η ) ) / n r e c D_U+D_1\leq(\widehat{B}+1)\sqrt{2(J\log2+\log(4/\eta))/n_{\mathrm{rec}}} D U + D 1 ≤ ( B + 1 ) 2 ( J log 2 + log ( 4/ η )) / n rec with probability at least 1 − η 1-\eta 1 − η . The same event holds for every vector of bin values, including the vector fitted from the sample. This proves Eq. (E.12) for an arbitrary fitted vector of bin values.
For a nonempty bin, E D r e c [ ( U ^ − g h ) 1 ( Z ∈ H h ) ] = ( n h / n r e c ) ( m ~ h − g h ) \mathbb{E}_{\mathcal{D}_{\mathrm{rec}}}[(\widehat{U}-g_h)1(Z\in H_h)]=(n_h/n_{\mathrm{rec}})(\widetilde{m}_h-g_h) E D rec [( U − g h ) 1 ( Z ∈ H h )] = ( n h / n rec ) ( m h − g h ) . Substituting g h = m ~ h g_h=\widetilde{m}_h g h = m h gives zero; substituting g h = Π [ 0 , 1 ] ( m ~ h ) g_h=\Pi_{[0,1]}(\widetilde{m}_h) g h = Π [ 0 , 1 ] ( m h ) gives the second identity. Empty bins have zero empirical contribution and are included in the population sampling bound through D U , D 1 D_U,D_1 D U , D 1 .
The projection residual is determined by the fitted bin means and is zero exactly when all nonempty-bin means lie in [ 0 , 1 ] [0,1] [ 0 , 1 ] . No Lipschitz assumption on m m m is used in this theorem.
Lemma E.1 (Projected bin masses). Let p , q ≥ 0 p,q\geq0 p , q ≥ 0 , θ ∈ [ 0 , 1 ] \theta\in[0,1] θ ∈ [ 0 , 1 ] , and u ∈ R u\in\mathbb{R} u ∈ R . For q > 0 q>0 q > 0 , set v : = Π [ 0 , 1 ] ( u / q ) v:=\Pi_{[0,1]}(u/q) v := Π [ 0 , 1 ] ( u / q ) . For q = 0 q=0 q = 0 , assume u = 0 u=0 u = 0 and choose any v ∈ [ 0 , 1 ] v\in[0,1] v ∈ [ 0 , 1 ] . Then
p ∣ v − θ ∣ ≤ ∣ u − p θ ∣ + ∣ q − p ∣ . (101) p|v-\theta|\leq|u-p\theta|+|q-p|. \tag*{(101)} p ∣ v − θ ∣ ≤ ∣ u − pθ ∣ + ∣ q − p ∣. (101)
Proof. If q = 0 q=0 q = 0 , the left side is at most p p p , which is no larger than the right side. For q > 0 q>0 q > 0 and 0 ≤ u ≤ q 0\leq u\leq q 0 ≤ u ≤ q , u = q v u=qv u = q v and p ( v − θ ) = u − p θ + ( p − q ) v p(v-\theta)=u-p\theta+(p-q)v p ( v − θ ) = u − pθ + ( p − q ) v , proving the inequality. If u < 0 u<0 u < 0 , then v = 0 v=0 v = 0 and p θ ≤ ∣ u − p θ ∣ p\theta\leq\lvert u-p\theta\rvert pθ ≤ ∣ u − pθ ∣ . If u > q u>q u > q , then v = 1 v=1 v = 1 and p ( 1 − θ ) = ( p − q ) + ( q − u ) + ( u − p θ ) ≤ ∣ p − q ∣ + ∣ u − p θ ∣ p(1-\theta)=(p-q)+(q-u)+(u-p\theta)\leq\lvert p-q\rvert+\lvert u-p\theta\rvert p ( 1 − θ ) = ( p − q ) + ( q − u ) + ( u − pθ ) ≤ ∣ p − q ∣ + ∣ u − pθ ∣ .
Corollary E.1 (Direct guarantee for the projected histogram). Under the hypotheses of Proposition 2, with conditional probability at least 1 − η 1-\eta 1 − η ,
ECE ( m ^ H ∘ f ) ≤ d c h + ( B ^ + 1 ) 2 ( J log 2 + log ( 4 / η ) ) n r e c . (102) \operatorname{ECE}(\widehat{m}_{\mathcal{H}}\circ f)\leq d_{\mathrm{ch}}+(\widehat{B}+1)\sqrt{\frac{2(J\log2+\log(4/\eta))}{n_{\mathrm{rec}}}}. \tag*{(102)} ECE ( m H ∘ f ) ≤ d ch + ( B + 1 ) n rec 2 ( J log 2 + log ( 4/ η )) . (102) No empirical projection residual appears in this bound.
Proof. For each fitting bin, let p h : = P ( Z ∈ H h ∣ D c h ) p_h:=P(Z\in H_h\mid\mathcal{D}_{\mathrm{ch}}) p h := P ( Z ∈ H h ∣ D ch ) , θ h : = E [ Y ∣ Z ∈ H h , D c h ] \theta_h:=\mathbb{E}[Y\mid Z\in H_h,\mathcal{D}_{\mathrm{ch}}] θ h := E [ Y ∣ Z ∈ H h , D ch ] when p h > 0 p_h>0 p h > 0 , and choose any θ h ∈ [ 0 , 1 ] \theta_h\in[0,1] θ h ∈ [ 0 , 1 ] when p h = 0 p_h=0 p h = 0 . Apply Lemma E.1 with q h : = n h / n r e c q_h:=n_h/n_{\mathrm{rec}} q h := n h / n rec , u h : = E D r e c [ U ^ 1 ( Z ∈ H h ) ] u_h:=\mathbb{E}_{\mathcal{D}_{\mathrm{rec}}}[\widehat{U}\mathbf{1}(Z\in H_h)] u h := E D rec [ U 1 ( Z ∈ H h )] , and v h : = m ^ h v_h:=\widehat{m}_h v h := m h . If q h = 0 q_h=0 q h = 0 then u h = 0 u_h=0 u h = 0 , so the lemma includes empty bins. Grouping bins with equal outputs and using the triangle inequality gives
ECE ( m ^ H ∘ f ) ≤ ∑ h = 1 J p h ∣ m ^ h − θ h ∣ ≤ ∑ h = 1 J ∣ u h − p h θ h ∣ + ∑ h = 1 J ∣ q h − p h ∣ ≤ D U + D 1 + d c h . \begin{aligned}
\operatorname{ECE}(\widehat{m}_{\mathcal{H}}\circ f)\leq\sum_{h=1}^{J}p_h\lvert\widehat{m}_h-\theta_h\rvert\\
&\leq\sum_{h=1}^{J}\lvert u_h-p_h\theta_h\rvert+\sum_{h=1}^{J}\lvert q_h-p_h\rvert\leq D_U+D_1+d_{\mathrm{ch}}.
\end{aligned} ECE ( m H ∘ f ) ≤ h = 1 ∑ J p h ∣ m h − θ h ∣ ≤ h = 1 ∑ J ∣ u h − p h θ h ∣ + h = 1 ∑ J ∣ q h − p h ∣ ≤ D U + D 1 + d ch .
The last step uses Eq. (C.8) to compare E [ U ^ 1 ( Z ∈ H h ) ∣ D c h ] \mathbb{E}[\widehat{U}\mathbf{1}(Z\in H_h)\mid\mathcal{D}_{\mathrm{ch}}] E [ U 1 ( Z ∈ H h ) ∣ D ch ] with p h θ h p_h\theta_h p h θ h . The D U , D 1 D_U,D_1 D U , D 1 terms and their simultaneous concentration are exactly those in the proof of Theorem E.3 . This proves Eq. (E.15) and Proposition 2.
The general residual bound applies to any binwise-constant map. For the specific projected averages, the preceding proof removes the empirical projection-residual term. Projection is already included in the comparison with the bin’s true positive-label frequency. The absence of a bin-approximation term concerns calibration of a coarsened output. It is not a claim that coarse predictions retain the information or discrimination of the original predictor.
Corollary E.2 (Rate for projected histogram recalibration). Under Proposition 2, suppose J , K J,K J , K are fixed, min j δ j ≥ δ min > 0 \min_j\delta_j\geq\delta_{\min}>0 min j δ j ≥ δ m i n > 0 , and e c h = O p ( ε n c h ) e_{\mathrm{ch}}=O_p(\varepsilon_{n_{\mathrm{ch}}}) e ch = O p ( ε n ch ) , with e c h e_{\mathrm{ch}} e ch as in Eq. (10) , for a positive deterministic sequence ε n c h → 0 \varepsilon_{n_{\mathrm{ch}}}\to0 ε n ch → 0 . Then ECE ( m ^ H ∘ f ) = O p ( n r e c − 1 / 2 + ε n c h ) \operatorname{ECE}(\widehat{m}_{\mathcal{H}}\circ f)=O_p(n_{\mathrm{rec}}^{-1/2}+\varepsilon_{n_{\mathrm{ch}}}) ECE ( m H ∘ f ) = O p ( n rec − 1/2 + ε n ch ) . No smoothness of m m m is required.
Proof. The channel-error assumption gives B ^ = O p ( 1 ) \widehat{B}=O_p(1) B = O p ( 1 ) and d c h = O p ( ε n c h ) d_{\mathrm{ch}}=O_p(\varepsilon_{n_{\mathrm{ch}}}) d ch = O p ( ε n ch ) by the proof of Corollary 1. Substitute these orders and fixed J J J into Proposition 2.
Evaluation of a fitted predictor
Let A \mathcal{A} A be the sigma-field generated by all data and algorithmic randomness used to choose a fitted map g g g , channel estimates, convex weights, and evaluation partition B \mathcal{B} B . The map is jointly measurable in this information and its score argument. Assume the i.i.d. evaluation examples are jointly independent of A \mathcal{A} A . For an independent example let T : = g ( Z ) T:=g(Z) T := g ( Z ) . Every expectation below holds A \mathcal{A} A fixed, and ECE B ( g ∘ f ) = ∑ ℓ = 1 M ∣ E [ ( Y − T ) 1 ( T ∈ B ℓ ) ∣ A ] ∣ \operatorname{ECE}_{\mathcal{B}}(g\circ f)=\sum_{\ell=1}^{M}\lvert\mathbb{E}[(Y-T)\mathbf{1}(T\in B_\ell)\mid\mathcal{A}]\rvert ECE B ( g ∘ f ) = ∑ ℓ = 1 M ∣ E [( Y − T ) 1 ( T ∈ B ℓ ) ∣ A ]∣ .
Proposition E.1 (Held-out evaluation after recalibration). Suppose Assumption 1 holds and the estimated channels satisfy 0 ≤ a ^ j < b ^ j ≤ 1 0\leq\widehat{a}_j<\widehat{b}_j\leq1 0 ≤ a j < b j ≤ 1 for j ∈ [ K ] j\in[K] j ∈ [ K ] . On the independent sample, define ECE ^ B N C ( g ∘ f , D e v ) : = ∑ ℓ = 1 M ∣ n e v − 1 ∑ i = 1 n e v ( U ^ i − g ( Z i ) ) 1 ( g ( Z i ) ∈ B ℓ ) ∣ \widehat{\operatorname{ECE}}_{\mathcal{B}}^{\mathrm{NC}}(g\circ f,\mathcal{D}_{\mathrm{ev}}):=\sum_{\ell=1}^{M}\left\lvert n_{\mathrm{ev}}^{-1}\sum_{i=1}^{n_{\mathrm{ev}}}(\widehat{U}_i-g(Z_i))\mathbf{1}(g(Z_i)\in B_\ell)\right\rvert ECE B NC ( g ∘ f , D ev ) := ∑ ℓ = 1 M n ev − 1 ∑ i = 1 n ev ( U i − g ( Z i )) 1 ( g ( Z i ) ∈ B ℓ ) . For every η ∈ ( 0 , 1 ) \eta\in(0,1) η ∈ ( 0 , 1 ) , conditional on A \mathcal{A} A , with probability at least 1 − η 1-\eta 1 − η ,
∣ ECE ^ B N C ( g ∘ f , D e v ) − ECE B ( g ∘ f ) ∣ ≤ B ^ 2 ( M log 2 + log ( 2 / η ) ) n e v + d c h . (103) \left\lvert\widehat{\operatorname{ECE}}_{\mathcal{B}}^{\mathrm{NC}}(g\circ f,\mathcal{D}_{\mathrm{ev}})-\operatorname{ECE}_{\mathcal{B}}(g\circ f)\right\rvert\leq\widehat{B}\sqrt{\frac{2(M\log2+\log(2/\eta))}{n_{\mathrm{ev}}}}+d_{\mathrm{ch}}. \tag*{(103)} ECE B NC ( g ∘ f , D ev ) − ECE B ( g ∘ f ) ≤ B n ev 2 ( M log 2 + log ( 2/ η )) + d ch . (103)
If g g g has at most J J J distinct output values and every evaluation bin contains at most one such value, then ECE B ( g ∘ f ) = ECE ( g ∘ f ) \operatorname{ECE}_{\mathcal{B}}(g\circ f)=\operatorname{ECE}(g\circ f) ECE B ( g ∘ f ) = ECE ( g ∘ f ) . For a general map, an L g L_g L g -Lipschitz version of t ↦ E [ Y ∣ T = t , A ] − t t\mapsto\mathbb{E}[Y\mid T=t,\mathcal{A}]-t t ↦ E [ Y ∣ T = t , A ] − t instead gives the approximation term L g h B L_gh_{\mathcal{B}} L g h B .
Proof. For each fitted correction, Eq. (C.8) gives ∣ E [ U ^ − Y ∣ Z , A ] ∣ ≤ d c h |\mathbb{E}[\widehat{U}-Y\mid Z,A]|\le d_{\mathrm{ch}} ∣ E [ U − Y ∣ Z , A ] ∣ ≤ d ch . Since T T T is a function of Z Z Z conditional on A A A , iterated expectation yields ∣ E [ U ^ − Y ∣ T , A ] ∣ ≤ d c h |\mathbb{E}[\widehat{U}-Y\mid T,A]|\le d_{\mathrm{ch}} ∣ E [ U − Y ∣ T , A ] ∣ ≤ d ch . Also ∣ U ^ − T ∣ ≤ B ^ |\widehat{U}-T|\le\widehat{B} ∣ U − T ∣ ≤ B by the same convex-endpoint calculation as in Lemma C.3. The bin-sign proof of Theorem C.1 now applies to T T T . For finitely many outputs, a partition separating them groups no distinct prediction values, so the bin-moment expression is exactly the conditional ECE. Such interval boundaries can be placed between consecutive distinct outputs using fitting data alone; repeated values are merged. For the Lipschitz case, apply Eq. (C.12) to the transformed residual.
Fixed equal-width test bins need not separate the outputs of a histogram map. The exact finite-output statement applies only to a partition that does so. Even when there is no binning error, empirical ECE still has sampling error. The finite-output statement does not identify a finite-sample ECE value with exact population ECE.
Split-sample workflow
The fitting and evaluation partitions have different roles. In Algorithm 1, all choices made before evaluation are independent of D e v \mathcal{D}_{\mathrm{ev}} D ev . A separate channel sample may be used for final evaluation, as in the human-annotation protocol. In that case the held-out channels replace the fitting channels only in the evaluation step. Proposition E.1 gives the evaluation guarantee conditional on the samples determining the fitted map, weights, and test partition.
Algorithm 1 Calibration from repeated noisy annotations
Require: Fixed independently trained predictor f f f ; independent samples D s \mathcal{D}_s D s of sizes n s n_s n s , s ∈ { c h , r e c , v a l , e v } s\in\{\mathrm{ch},\mathrm{rec},\mathrm{val},\mathrm{ev}\} s ∈ { ch , rec , val , ev } ; identification groups independent of D c h \mathcal{D}_{\mathrm{ch}} D ch ; fitting bins H \mathcal{H} H independent of D r e c \mathcal{D}_{\mathrm{rec}} D rec ; evaluation bins B \mathcal{B} B independent of D e v \mathcal{D}_{\mathrm{ev}} D ev ; a pre-specified family of candidate procedures.
Estimate channels ( a ^ j , b ^ j ) j ∈ [ K ] (\widehat{a}_j,\widehat{b}_j)_{j\in[K]} ( a j , b j ) j ∈ [ K ] and weights α ^ ∈ Δ K \widehat{\alpha}\in\Delta_K α ∈ Δ K from D c h \mathcal{D}_{\mathrm{ch}} D ch .
Verify the required estimated gaps; return failure if the declared admissibility conditions are not met.
for s ∈ { r e c , v a l , e v } s\in\{\mathrm{rec},\mathrm{val},\mathrm{ev}\} s ∈ { rec , val , ev } and i ∈ [ n s ] i\in[n_s] i ∈ [ n s ] do
Compute U ^ i ( s ) ← ∑ j = 1 K α ^ j ( A i j ( s ) − a ^ j ) / ( b ^ j − a ^ j ) \widehat{U}^{(s)}_i\leftarrow\sum_{j=1}^{K}\widehat{\alpha}_j(A^{(s)}_{ij}-\widehat{a}_j)/(\widehat{b}_j-\widehat{a}_j) U i ( s ) ← ∑ j = 1 K α j ( A ij ( s ) − a j ) / ( b j − a j ) .
end for
Fit candidate maps on D r e c \mathcal{D}_{\mathrm{rec}} D rec by corrected loss or the projected bin averages in Eq. (E.10).
Select g ^ \widehat{g} g using the pre-specified corrected validation criterion on D v a l \mathcal{D}_{\mathrm{val}} D val , or retain the single pre-specified candidate.
for i ∈ [ n e v ] i\in[n_{\mathrm{ev}}] i ∈ [ n ev ] do
Set T i ← g ^ ( Z i ( e v ) ) T_i\leftarrow\widehat{g}(Z_i^{(\mathrm{ev})}) T i ← g ( Z i ( ev ) ) .
end for
for ℓ ∈ [ M ] \ell\in[M] ℓ ∈ [ M ] do
Compute r ^ ℓ ← n e v − 1 ∑ i = 1 n e v ( U ^ i ( e v ) − T i ) 1 ( T i ∈ B ℓ ) \widehat{r}_{\ell}\leftarrow n_{\mathrm{ev}}^{-1}\sum_{i=1}^{n_{\mathrm{ev}}}(\widehat{U}^{(\mathrm{ev})}_i-T_i)1(T_i\in B_{\ell}) r ℓ ← n ev − 1 ∑ i = 1 n ev ( U i ( ev ) − T i ) 1 ( T i ∈ B ℓ ) .
end for
Set E C E ^ N C ← ∑ ℓ = 1 M ∣ r ^ ℓ ∣ \widehat{\mathrm{ECE}}^{\mathrm{NC}}\leftarrow\sum_{\ell=1}^{M}|\widehat{r}_{\ell}| ECE NC ← ∑ ℓ = 1 M ∣ r ℓ ∣ .
return ( g ^ , E C E ^ N C ) (\widehat{g},\widehat{\mathrm{ECE}}^{\mathrm{NC}}) ( g , ECE NC ) and channel-fitting diagnostics.
Algorithms and Implementation
Likelihood updates
For n = n c h n=n_{\mathrm{ch}} n = n ch , let A i = ( A i 1 , … , A i K ) A_i=(A_{i1},\ldots,A_{iK}) A i = ( A i 1 , … , A i K ) and define
L i 0 ( a ) = ∏ j a j A i j ( 1 − a j ) 1 − A i j , L i 1 ( b ) = ∏ j b j A i j ( 1 − b j ) 1 − A i j . (104) L_{i0}(\mathbf{a})=\prod_j a_j^{A_{ij}}(1-a_j)^{1-A_{ij}},\qquad L_{i1}(\mathbf{b})=\prod_j b_j^{A_{ij}}(1-b_j)^{1-A_{ij}}. \tag*{(104)} L i 0 ( a ) = j ∏ a j A ij ( 1 − a j ) 1 − A ij , L i 1 ( b ) = j ∏ b j A ij ( 1 − b j ) 1 − A ij . (104)
The E-step evaluates a posterior class probability under the current parameters; the M-step maximizes the expected complete-data log likelihood [5 ] . These posterior probabilities lie in [ 0 , 1 ] [0,1] [ 0 , 1 ] ; the corrected labels need not.
Marginal Dawid–Skene
The response likelihood is ( 1 − μ ) L i 0 + μ L i 1 (1-\mu)L_{i0}+\mu L_{i1} ( 1 − μ ) L i 0 + μ L i 1 . At iteration q q q ,
γ i ( q ) = μ ( q ) L i 1 ( b ( q ) ) ( 1 − μ ( q ) ) L i 0 ( a ( q ) ) + μ ( q ) L i 1 ( b ( q ) ) . (105) \gamma_i^{(q)}=\frac{\mu^{(q)}L_{i1}(\mathbf{b}^{(q)})}{(1-\mu^{(q)})L_{i0}(\mathbf{a}^{(q)})+\mu^{(q)}L_{i1}(\mathbf{b}^{(q)})}. \tag*{(105)} γ i ( q ) = ( 1 − μ ( q ) ) L i 0 ( a ( q ) ) + μ ( q ) L i 1 ( b ( q ) ) μ ( q ) L i 1 ( b ( q ) ) . (105)
Replacing the unobserved Y i Y_i Y i by γ i ( q ) \gamma_i^{(q)} γ i ( q ) in the Bernoulli log likelihood gives
μ ( q + 1 ) = n − 1 ∑ i γ i ( q ) , a j ( q + 1 ) = ∑ i ( 1 − γ i ( q ) ) A i j ∑ i ( 1 − γ i ( q ) ) , b j ( q + 1 ) = ∑ i γ i ( q ) A i j ∑ i γ i ( q ) . (106) \mu^{(q+1)}=n^{-1}\sum_i\gamma_i^{(q)},\qquad a_j^{(q+1)}=\frac{\sum_i(1-\gamma_i^{(q)})A_{ij}}{\sum_i(1-\gamma_i^{(q)})},\qquad b_j^{(q+1)}=\frac{\sum_i\gamma_i^{(q)}A_{ij}}{\sum_i\gamma_i^{(q)}}. \tag*{(106)} μ ( q + 1 ) = n − 1 i ∑ γ i ( q ) , a j ( q + 1 ) = ∑ i ( 1 − γ i ( q ) ) ∑ i ( 1 − γ i ( q ) ) A ij , b j ( q + 1 ) = ∑ i γ i ( q ) ∑ i γ i ( q ) A ij . (106)
No predictions enter these updates. A marginal two-annotator fit is used only as a non-identified control.
Shared channels with score groups
For fixed groups C g C_g C g , write G i = g G_i=g G i = g when Z i ∈ C g Z_i\in C_g Z i ∈ C g and n g = ∣ { i : G i = g } ∣ > 0 n_g=|\{i:G_i=g\}|>0 n g = ∣ { i : G i = g } ∣ > 0 . Use the grouped likelihood in Eq. (D.23). Its updates are
γ i ( q ) = μ G i ( q ) L i 1 ( b ( q ) ) ( 1 − μ G i ( q ) ) L i 0 ( a ( q ) ) + μ G i ( q ) L i 1 ( b ( q ) ) , μ g ( q + 1 ) = n g − 1 ∑ i : G i = g γ i ( q ) . (107) \gamma_i^{(q)}=\frac{\mu_{G_i}^{(q)}L_{i1}(\mathbf{b}^{(q)})}{(1-\mu_{G_i}^{(q)})L_{i0}(\mathbf{a}^{(q)})+\mu_{G_i}^{(q)}L_{i1}(\mathbf{b}^{(q)})},\qquad\mu_g^{(q+1)}=n_g^{-1}\sum_{i:G_i=g}\gamma_i^{(q)}. \tag*{(107)} γ i ( q ) = ( 1 − μ G i ( q ) ) L i 0 ( a ( q ) ) + μ G i ( q ) L i 1 ( b ( q ) ) μ G i ( q ) L i 1 ( b ( q ) ) , μ g ( q + 1 ) = n g − 1 i : G i = g ∑ γ i ( q ) . (107)
The channel updates remain Eq. (F.3), pooled over all examples. Joint score-bin EM uses this same likelihood. Its optional prediction map is
m ^ C ( z ) = ∑ g = 1 L μ ^ g 1 ( z ∈ C g ) . (108) \widehat{m}_C(z)=\sum_{g=1}^{L}\widehat{\mu}_g\mathbf{1}(z\in C_g). \tag*{(108)} m C ( z ) = g = 1 ∑ L μ g 1 ( z ∈ C g ) . (108)
This map is distinct from separately fitting a recalibration map to corrected labels. Its in-sample summary ∑ g ( n g / n ) ∣ μ ^ g − Z ‾ g ∣ \sum_g(n_g/n)|\widehat{\mu}_g-\overline{Z}_g| ∑ g ( n g / n ) ∣ μ g − Z g ∣ is not an independent evaluation. Fitting group-specific channels instead applies the marginal updates within each group, with a common label orientation; the shared-channel guarantees do not automatically cover that extension.
Numerical procedure
For each EM start, alternate the updates above using log-scale probabilities and log-sum-exp until the stopping tolerance or iteration limit is reached. Impose the prescribed orientation by a single global label exchange, μ g ← 1 − μ g \mu_g\leftarrow1-\mu_g μ g ← 1 − μ g and ( a j , b j ) ← ( b j , a j ) (a_j,b_j)\leftarrow(b_j,a_j) ( a j , b j ) ← ( b j , a j ) ; the marginal model has one class proportion. Candidate selection and acceptance criteria depend on the estimator and experiment. Tabular grouped EM selects the largest-likelihood candidate after orientation and preliminary gap screening, then checks convergence and the final gap threshold for that candidate. Marginal Dawid–Skene uses finite-parameter and gap checks without a separate convergence check. Further experiment-specific details appear in Appendix § 15 . Two-annotator GMM minimizes the constrained objective in Definition D.1; its optimization-error term is given in Theorem D.3 .
Computational cost
For R R R starts and Q Q Q iterations, marginal and shared-channel EM require O ( R Q n K ) O(RQnK) O ( R Q n K ) operations and O ( n K + n + K + L ) O(nK+n+K+L) O ( n K + n + K + L ) storage. Group-specific fits have the same time order and require O ( n K + n + K L ) O(nK+n+KL) O ( n K + n + K L ) storage. Two-annotator moment aggregation costs O ( n + L ) O(n+L) O ( n + L ) before optimization. Given bin memberships, NC-ECE costs O ( n K + M ) O(nK+M) O ( n K + M ) ; assigning equal-width bins costs O ( n ) O(n) O ( n ) .
Feasible aggregation weights
For an estimated class proportion μ ^ \hat{\mu} μ ^ , define
v ^ j = ( 1 − μ ^ ) a ^ j ( 1 − a ^ j ) + μ ^ b ^ j ( 1 − b ^ j ) δ ^ j 2 , α ^ j I V = v ^ j − 1 ∑ k v ^ k − 1 . (109) \hat{v}_j = \frac{(1-\hat{\mu})\hat{a}_j(1-\hat{a}_j)+\hat{\mu}\hat{b}_j(1-\hat{b}_j)}{\hat{\delta}_j^2}, \qquad\hat{\alpha}^{\mathrm{IV}}_j = \frac{\hat{v}_j^{-1}}{\sum_k \hat{v}_k^{-1}}. \tag*{(109)} v ^ j = δ ^ j 2 ( 1 − μ ^ ) a ^ j ( 1 − a ^ j ) + μ ^ b ^ j ( 1 − b ^ j ) , α ^ j IV = ∑ k v ^ k − 1 v ^ j − 1 . (109)
For zero variances, use the support convention of Lemma C.6 or the stabilization below. Gaussian recalibration uses μ ^ = ∑ g ( n g / n c h ) μ ^ g \hat{\mu}=\sum_g(n_g/n_{\mathrm{ch}})\hat{\mu}_g μ ^ = ∑ g ( n g / n ch ) μ ^ g and
α ^ s h r ( λ ) = ( 1 − λ ) α ^ I V + λ ( K − 1 , … , K − 1 ) , λ = 0.25. (110) \hat{\alpha}^{\mathrm{shr}}(\lambda)=(1-\lambda)\hat{\alpha}^{\mathrm{IV}}+\lambda(K^{-1},\ldots,K^{-1}), \qquad\lambda=0.25. \tag*{(110)} α ^ shr ( λ ) = ( 1 − λ ) α ^ IV + λ ( K − 1 , … , K − 1 ) , λ = 0.25. (110)
The tabular Main rule estimates μ ^ \hat{\mu} μ ^ by the mean of equally weighted corrected labels, clipped to [ 10 − 4 , 1 − 10 − 4 ] [10^{-4},1-10^{-4}] [ 1 0 − 4 , 1 − 1 0 − 4 ] , and floors v ^ j \hat{v}_j v ^ j at 10 − 8 10^{-8} 1 0 − 8 before inversion. Equal, Gap, and Squared-gap weights are proportional to 1 1 1 , δ ^ j \hat{\delta}_j δ ^ j , and δ ^ j 2 \hat{\delta}_j^2 δ ^ j 2 , respectively. Weights are fixed before test evaluation.
Experimental Protocols and Additional Results
Evaluation and reporting conventions
Toy estimation errors use population ECE ( f ) = E ∣ m ( Z ) − Z ∣ \operatorname{ECE}(f)=\mathbb{E}|m(Z)-Z| ECE ( f ) = E ∣ m ( Z ) − Z ∣ as the reference. Gaussian Oracle ECE replaces test labels by m ( Z i ) m(Z_i) m ( Z i ) in empirical bin moments. Tabular and CIFAR Oracle ECE use original test labels. These empirical references use the same predictions and bins as the noisy-label criteria. “Oracle channels” means that the true noise probabilities are supplied.
For repetition errors e r e_r e r , bias and MAE are the means of e r e_r e r and ∣ e r ∣ |e_r| ∣ e r ∣ , respectively. RMSE is the square root of the mean of e r 2 e_r^2 e r 2 . Figure error bars show one Monte Carlo standard error of MAE. Table 1 reports sample SDs over 200 repetitions; Table 5 reports sample SDs over 60 repetitions. Tabular and CIFAR tables use the aggregation units described below and in their captions.
Table 5. Gaussian recalibration at n = 12000 n = 12000 n = 12000 : mean ± SD over 60 repetitions (unscaled metrics).
Synthetic experiments
Gaussian recalibration. We use P ( Y = 1 ) = 1 / 2 P(Y=1)=1/2 P ( Y = 1 ) = 1/2 , X ∣ Y = 1 ∼ N ( − 1 , 1 ) X\mid Y=1\sim N(-1,1) X ∣ Y = 1 ∼ N ( − 1 , 1 ) , X ∣ Y = 0 ∼ N ( 1 , 1 ) X\mid Y=0\sim N(1,1) X ∣ Y = 0 ∼ N ( 1 , 1 ) , and Z = σ ( 0.3 − X ) Z=\sigma(0.3-X) Z = σ ( 0.3 − X ) [9 ] , giving m ( z ) = σ ( 2 logit ( z ) − 0.6 ) m(z)=\sigma(2\operatorname{logit}(z)-0.6) m ( z ) = σ ( 2 logit ( z ) − 0.6 ) . The two annotators are independent given Y Y Y and have ( ρ 0 , 1 , ρ 1 , 1 ) = ( 0.05 , 0.25 ) (\rho_{0,1},\rho_{1,1})=(0.05,0.25) ( ρ 0 , 1 , ρ 1 , 1 ) = ( 0.05 , 0.25 ) and ( ρ 0 , 2 , ρ 1 , 2 ) = ( 0.05 , 0.05 ) (\rho_{0,2},\rho_{1,2})=(0.05,0.05) ( ρ 0 , 2 , ρ 1 , 2 ) = ( 0.05 , 0.05 ) . For total sizes 1500, 3000, 6000, 12000, each of 60 repetitions uses equal independent channel-fitting, recalibration, and test thirds. Two-group constrained GMM uses the fixed population score-median boundary σ ( 0.3 ) \sigma(0.3) σ ( 0.3 ) and four starts. Corrected fitting uses the shrunk IV weights above; Naive fitting uses average annotations, and clean-label fits use Y Y Y .
Temperature fitting uses bounded scalar optimization with inverse temperature in [ 0.05 , 20 ] [0.05,20] [ 0.05 , 20 ] . Platt fitting uses L-BFGS-B with slope in [ 0 , 10 ] [0,10] [ 0 , 10 ] , intercept in [ − 10 , 10 ] [-10,10] [ − 10 , 10 ] , and four starts. Projected histogram fitting uses J = round ( n r e c 1 / 3 ) J=\operatorname{round}(n_{\mathrm{rec}}^{1/3}) J = round ( n rec 1/3 ) population score-quantile bins. Evaluation uses M = round ( n e v 1 / 3 ) M=\operatorname{round}(n_{\mathrm{ev}}^{1/3}) M = round ( n ev 1/3 ) equal-width bins of each transformed score; at total size 12000, J = M = 16 J=M=16 J = M = 16 . The L 1 ( m ) L_1(m) L 1 ( m ) metric is the test mean of ∣ m ( Z i ) − g ( Z i ) ∣ |m(Z_i)-g(Z_i)| ∣ m ( Z i ) − g ( Z i ) ∣ . Log loss and Brier use sampled test labels; log-loss evaluation clips predictions to [ 10 − 8 , 1 − 10 − 8 ] [10^{-8},1-10^{-8}] [ 1 0 − 8 , 1 − 1 0 − 8 ] . Table 5 reports the largest total size.
Toy ECE estimation and sample reuse. The input distribution, predictor, three label functions, and annotator channels are those of § 6 . Five equal-width channel groups and ten equal-width evaluation bins are fixed before sampling. Each N ∈ { 500 , 1000 , 2000 , 4000 , 8000 } N\in\{500,1000,2000,4000,8000\} N ∈ { 500 , 1000 , 2000 , 4000 , 8000 } has 200 repetitions. The population ECEs for Calibrated, Shifted, and Nonlinear are 0, 0.08962637465, and 0.08328889713. For splitting, the first half fits channels and the second half evaluates all criteria. Reuse applies both steps to the full sample. Five-fold cross-fitting pools held-out signed bin moments with fold-size weights before taking absolute values. NC-ECE uses equal annotator weights.
Joint EM fits shared channels and group-specific class proportions from response-pattern counts. Each fit uses ten starts, at most 1000 iterations, and stopping threshold 10 − 9 ( 1 + ∣ ℓ p r e v i o u s ∣ ) 10^{-9}(1+|\ell_{\mathrm{previous}}|) 1 0 − 9 ( 1 + ∣ ℓ previous ∣ ) for the change in mean log likelihood. Probabilities are clipped to [ 10 − 6 , 1 − 10 − 6 ] [10^{-6}, 1-10^{-6}] [ 1 0 − 6 , 1 − 1 0 − 6 ] . Initial a j a_j a j , b j b_j b j are uniform on [ 0.04 , 0.30 ] [0.04, 0.30] [ 0.04 , 0.30 ] and [ 0.70 , 0.96 ] [0.70, 0.96] [ 0.70 , 0.96 ] ; initial proportions are uniform on [ 0.1 , 0.9 ] [0.1, 0.9] [ 0.1 , 0.9 ] , with group midpoints used for the first start. The first channel fixes global orientation. Retain the largest likelihood among converged starts with all oriented gaps at least 10 − 3 10^{-3} 1 0 − 3 . Empty groups or no accepted start trigger the fixed fallback ( a ^ j , b ^ j ) = ( 0.2 , 0.8 ) (\hat{a}_j,\hat{b}_j)=(0.2,0.8) ( a ^ j , b ^ j ) = ( 0.2 , 0.8 ) and proportions 1 / 2 1/2 1/2 . All 200 fits succeeded in each reported condition. Corrected labels and bin means are unprojected. Figure 2 reports Shifted and Nonlinear.
Figure 2. ECE-estimation MAE (×100): Shifted (left) and Nonlinear (right).
Semi-synthetic tabular benchmarks
ACSIncome, CreditDefault, HMDA, and MEPS use the benchmark preprocessing and six predictor families [6 , 42 , 15 , 35 ] . Base models use original labels; the MLP checkpoint is selected by validation accuracy, and the SVM produces clipped hard predictions. Post-hoc channel estimation and recalibration use simulated annotations. We use ten seeds, K = 2 , 3 , 4 K = 2, 3, 4 K = 2 , 3 , 4 , and four channel regimes, taking the first K K K pairs ( ρ 0 , ρ 1 ) (\rho_0, \rho_1) ( ρ 0 , ρ 1 ) below:
Base-training, channel-fitting, recalibration, validation, and test fractions are 0.36/0.12/0.12/0.20/0.20. Test uses seed 42, validation the run seed, the remaining training division seed 50, and the channel/recalibration division seed 51 plus the run seed. Each post-hoc split receives independently generated annotations. Predictors share annotation matrices within each dataset, seed, regime, and split; K = 2 , 3 K = 2, 3 K = 2 , 3 uses the first columns of K = 4 K = 4 K = 4 .
The primary analysis uses Joint score-bin EM and Main plug-in IV weights. Joint EM estimates shared channels and prevalences for the nonempty bins of ten equal-width score bins on the recalibration split. Temperature, Platt, and projected histogram maps are fitted on this split; the auxiliary Joint map uses the fitted prevalences, with empty-bin values set to the overall fitted posterior mean. Naive fitting uses mean annotator responses, and Corrected fitting uses IV-weighted corrected labels. Oracle-channel comparisons cover all K K K , constrained GMM covers K = 2 K = 2 K = 2 , and marginal Dawid–Skene EM covers K = 3 , 4 K = 3, 4 K = 3 , 4 . Marginal DS and GMM use the channel-fitting split. GMM forms two equal-count groups from score ranks with deterministic tie breaking. The tabular GMM fit also constrains the fitted prevalence in the higher-score group to exceed that in the lower-score group by at least 10 − 5 10^{-5} 1 0 − 5 . Sample reuse and adaptive GMM groups differ from the independent-sample and fixed-group conditions of the corresponding theoretical guarantees. Joint EM, histogram fitting, and test ECE use ten equal-width bins; test bins are applied to each transformed score.
Channel fits require finite parameters and estimated gaps greater than 10 − 4 10^{-4} 1 0 − 4 , with estimator-specific success checks. Inadmissible channels stop that grid cell. Temperature and Platt fits retain finite objectives and parameters. Each dataset covers 720 = 6 × 10 × 3 × 4 6 \times10 \times3 \times4 6 × 10 × 3 × 4 predictor–seed–annotator-count–regime cells, and pooled summaries cover 2880 cells. Recalibration means and sample SDs use ten seed-level means, averaging the predictor, annotator-count, and regime grid within each seed; pooled results also average across datasets within each seed. Channel-RMSE summaries use the grid units specified in their captions. Annotations and test data are shared across conditions.
Table 6. Tabular recalibration: mean ± \pm ± SD over ten seeds. ECE and absolute gaps are multiplied by 100; accuracy is in percent.
Table 7. Tabular channel estimation and ECE evaluation. Channel RMSE is mean ± \pm ± SD over 960 dataset–predictor–seed–noise settings for each K K K ; NC-ECE–Oracle absolute gaps are means. All metrics are unscaled.
CIFAR-10N stress test
CIFAR-10N supplies 50,000 images and three response columns [40 ] . Labels are mapped to animal (bird, cat, deer, dog, frog, horse) versus vehicle (airplane, automobile, ship, truck). CLIP ViT-B/32 [30 ] predicts animal probability by summing the six animal probabilities after softmax over ten prompts a photo of a {class}, without fine-tuning. Original CIFAR-10 labels [21 ] provide the evaluation reference. Response columns are treated as slots because workers can vary across images or batches.
Disjoint pilot, evaluation-channel, and test partitions contain 10,000, 20,000, and 20,000 images, retaining the original ten-image annotation batches. Five pilot splits provide channel-fitting, recalibration, and validation subsets. Marginal Dawid–Skene EM estimates channels from responses alone; Joint score-bin EM is a separate comparison. Corrected labels are aggregated using IV weights. Joint EM uses five equal-width channel groups, ten starts, at most 1000 iterations, tolerance 10 − 8 10^{-8} 1 0 − 8 , and converged fits with positive gaps.
Within each family, Naive and Corrected methods share fitting examples and use average responses and IV-weighted corrected labels, respectively. Temperature and Platt minimize logarithmic loss with 0.05 ≤ T ≤ 20 0.05 \le T \le20 0.05 ≤ T ≤ 20 or − 10 ≤ u , v ≤ 10 -10 \le u,v \le10 − 10 ≤ u , v ≤ 10 . Fixed-bin fitting uses ten equal-width original-score bins and projected mean targets; empty bins receive the projected mean of all fitting targets. The auxiliary Joint map uses the five fitted prevalences on the pilot channel sample.
Validation NC-ECE compares Base and the six Naive/Corrected candidates. Table 3 shows the fixed-bin comparison, and Table 8 shows all candidates. The evaluation-channel sample supplies a common correction after fitting. For each map g g g , ten equal-width bins of g ( Z ) g(Z) g ( Z ) are used on the test sample; Oracle, Soft-vote, and NC-ECE share predictions and bins, changing only the label targets. The five pilot fits share evaluation-channel and test samples; reported sample SDs measure variation across pilot fits.
Table 8. CIFAR-10N recalibration with marginal Dawid–Skene EM and Joint score-bin EM: mean ± \pm ± SD over five pilot splits (unscaled).
Additional Related Work and Discussion
Binning, smoothing, and conditional-probability estimation affect calibration metrics and their estimators [37 , 33 , 28 , 29 ] . Weighted-moment formulations connect ECE with other calibration criteria [3 , 11 , 34 , 17 ] . Here label noise changes the moment’s label-side expectation; correcting it leaves binning and sampling errors as distinct terms.
Class-conditional loss correction uses known transition probabilities to recover clean risk [23 ] . Calibration studies also address noisy-label training, noisy validation labels, and noisy predictions [24 , 2 , 26 ] . Positive–unlabeled ECE estimation [19 ] and weakly supervised multicalibration [10 ] use other supervision structures. Our repeated annotations support estimation of unknown annotator-specific channels and propagation of that estimation error to ECE and recalibration.
The identification routes specialize the Hui–Walter and Dawid–Skene models [18 , 4 , 1 ] ; the GMM analysis quantifies their stability [16 ] . Unlike joint predictor-and-annotator training [36 ] , the predictor here is fixed independently of channel estimation and recalibration. Disagreement-based methods can instead treat differing judgments as target uncertainty [22 , 32 ] . Our model presupposes one meaningful binary outcome, so disagreement must be interpretable as imperfect measurement rather than equally valid alternative labels.
Scope
Known marginal-channel correction permits annotation dependence; identification requires the assumptions in § 4 . Adding annotators does not establish conditional independence. ECE-estimation accuracy, small recalibrated ECE, and classification accuracy are distinct. Corrected-loss guarantees concern clean risk, histogram guarantees concern calibration, and IV optimality concerns known-channel variance under its stated conditions. Human-label results stress-test the method without verifying its noise assumptions or clinical validity. Benchmark labels serve as evaluation references; shared evaluation samples limit interpretation of pilot-fit SDs.