Introduction
A multi-class classification problem (M ≥ 3 M \ge3 M ≥ 3 categories) can be solved by combining several binary classifiers, a method called Error-Correcting Output Coding (ECOC) ([7 ] ). ECOC is widely used for its performance and ease of implementation, and loss-based decoding unifies it with other reductions of multi-class to binary problems [2 ] . Its performance depends on which binary classifiers are combined; effective combinations have been demonstrated empirically on many datasets [7 , 8 ] (Rifkin & Klautau 2004; Rocha & Goldenstein 2014), but they depend strongly on the dataset, and no general principle governing these choices has been established.
Conditions for the optimal combination have been given under the noiseless assumption that each binary classifier estimates the true posterior [14 , 16 ] (Rifkin & Klautau 2004). Kumoi et al. (2022; 2023) proposed a framework that evaluates noisy binary classifiers analytically and showed the effect of the Hamming distance on the pairwise error probability — the error rate between two categories. That result, however, was confined to the pairwise error probability and did not reach the classification error rate over all M M M categories, leaving open how increasing the Hamming distance reduces the classification error rate of ECOC, and whether that contribution is both sufficient and necessary.
This paper answers these questions for the excess error rate of ECOC, the amount by which its error rate exceeds that of the Bayes (MAP) classifier (the excess risk under the 0 0 0 –1 1 1 loss; [4 ] (Tewari & Bartlett 2007)). Our contributions are as follows. (i) We recast ECOC decoding under log-odds noise as a test over a Gaussian channel and reduce the excess error rate to the probability that ECOC fails to select the MAP category (§ 3 ). (ii) We derive an upper bound (§ 4 ) and a lower bound (§ 5 ) that give, for every code word table, the sufficiency of a large minimum distance and the necessity of a large distance between the code words of the two most probable categories, the latter uniformly in M M M . (iii) For n v R nvR n v R codes (n ≥ 2 n \ge2 n ≥ 2 ), a family of equidistant codes, the two exponents coincide asymptotically, which determines the reliability function of ECOC in closed form (§ 6 ). (iv) We extend the results to an arbitrary Gaussian noise covariance through an effective distance, under which common-mode correlation is harmless and category-level noise bounds the attainable gain (§ 8 ). (v) Semi-synthetic and real-image experiments confirm the predicted exponent and the decay of the excess error rate with the minimum distance (§ 9 ), and we identify the factors that limit the quantitative agreement on real data (§ 10 ). All lemmas, propositions, corollaries and theorems of Sections 2–8, with the proofs in the appendices, are machine-checked in Lean 4 with Mathlib, from the Gaussian noise model and the decoder to the reliability function (ancillary files of this arXiv submission); the numerical and experimental results are not part of the formalization.
Related work. Regret analyses of reductions bound the excess error of a multi-class classifier by the excess error of the binary problems it is reduced to, for every distribution. For ECOC with Hamming decoding the multi-class training error is at most 2 N / d min 2N/d_{\min} 2 N / d m i n times the average binary error rate [2 Corollary 2] , and error-limiting reductions bound the multi-class error by a constant multiple of the binary error [5 ] ; modified reductions instead transform binary regret into multi-class regret, at the cost of a square root [19 ] , or with only a constant-factor increase and O ( log M ) O(\log M) O ( log M ) computation per example [6 ] ; Ramaswamy et al. (2014) characterize when output-code methods with surrogate losses are consistent. In these worst-case guarantees the minimum distance enters only through a constant factor, whereas under a noise model it controls an exponential rate. Nguyen et al. (2021) showed, assuming that the binary decisions err independently, that the error rate of Hamming decoding decays exponentially in the code length. We instead model the noise in the posterior estimates that the binary classifiers output, decode by likelihood, and bound the excess error over the MAP classifier from both sides, which identifies the exponent and its dependence on the posterior. For codes drawn at random, Kobayashi et al. (2024) bounded the average probability that ECOC disagrees with MAP estimation by an exponent of the form N ( c − R ) N(c-R) N ( c − R ) with rate R = ln M / N R = \ln M/N R = ln M / N ; our results concern fixed (constructive) code word tables, and the sufficiency condition k d min − ln ( M − 1 ) → ∞ k d_{\min} - \ln(M-1) \to\infty k d m i n − ln ( M − 1 ) → ∞ is its counterpart. Output codes with only ⌈ log 2 M ⌉ \lceil\log_2 M\rceil ⌈ log 2 M ⌉ bits are also used to reduce the output layer of neural sequence models over large vocabularies, where plain binary codes have been found insufficient and redundancy from an error-correcting code improves accuracy (Oda et al., 2017); our necessity result is consistent with this observation.
Problem Setting
ECOC and code word tables
The classification problem is to estimate the category c i c_i c i (i ∈ C ≜ { 1 , 2 , … , M } i \in\mathcal{C} \triangleq\{1,2,\ldots,M\} i ∈ C ≜ { 1 , 2 , … , M } ) corresponding to given input data x ∈ R D \boldsymbol{x} \in\mathbb{R}^{D} x ∈ R D , with M ≥ 3 M \ge3 M ≥ 3 . In ECOC the category is estimated from the outputs of binary classifiers constructed according to a predefined code word table [7 , 8 ] (Rifkin & Klautau 2004). A code word table is an M × N M \times N M × N matrix W W W with entries w i j ∈ { 0 , 1 } w_{ij} \in\{0,1\} w ij ∈ { 0 , 1 } in which each row is the code word of a category and each column defines a binary classifier. We denote by f j f_j f j the binary classifier constructed from the j j j -th column of W W W and let F ≜ { 1 , 2 , … , N } \mathcal{F} \triangleq\{1,2,\ldots,N\} F ≜ { 1 , 2 , … , N } be the set of binary classifiers.
We assume the following properties of W W W . The first two entail no loss of generality, since a constant column defines no classifier and complementing a column only relabels the two sides of a classifier; the last two are requirements.
No column has all entries equal to 0 or all equal to 1: 0 < ∑ i ∈ C w i j < M 0 < \sum_{i\in\mathcal{C}} w_{ij} < M 0 < ∑ i ∈ C w ij < M , ∀ j ∈ F \forall j \in\mathcal{F} ∀ j ∈ F .
The number of ones in each column is at most M / 2 M/2 M /2 : ∑ i ∈ C w i j ≤ M / 2 \sum_{i\in\mathcal{C}} w_{ij} \le M/2 ∑ i ∈ C w ij ≤ M /2 .
The code words of all categories are mutually distinct.
All binary classifiers are distinct.
The Hamming distance between categories c i c_i c i and c k c_k c k is
d H ( c i , c k ) = ∑ j = 1 N w i j ⊕ w k j , (1) d_H(c_i,c_k)=\sum_{j=1}^{N} w_{ij}\oplus w_{kj}, \tag*{(1)} d H ( c i , c k ) = j = 1 ∑ N w ij ⊕ w k j , (1)
where ⊕ \oplus ⊕ denotes the exclusive OR; distinct code words give d H ( c i , c k ) ≥ 1 d_H(c_i,c_k) \ge1 d H ( c i , c k ) ≥ 1 for i ≠ k i \ne k i = k . We write d min ≜ min i ≠ k d H ( c i , c k ) d_{\min} \triangleq\min_{i\ne k}d_H(c_i,c_k) d m i n ≜ min i = k d H ( c i , c k ) for the minimum distance of the table and, once the MAP category c 1 c_1 c 1 is fixed in § 2.2 , d min ( c 1 ) ≜ min k ≠ 1 d H ( c 1 , c k ) ≥ d min d_{\min}(c_1) \triangleq\min_{k\ne1}d_H(c_1,c_k) \ge d_{\min} d m i n ( c 1 ) ≜ min k = 1 d H ( c 1 , c k ) ≥ d m i n for the distance from its code word to the nearest other code word; the two coincide for equidistant codes.
Definition 1 (n v R nvR n v R code). An n v R nvR n v R code is a code word table that contains all combinations partitioning the M M M categories into n n n versus ( M − n ) (M-n) ( M − n ) , 0 < n ≤ ⌊ M / 2 ⌋ 0 < n \le\lfloor M/2\rfloor 0 < n ≤ ⌊ M /2 ⌋ ; for n = M / 2 n=M/2 n = M /2 each partition is included once. The Hamming distance of an n v R nvR n v R code is
d ( n , M ) = { 2 M − 2 ( M − 1 n − 1 ) , n ≠ M 2 , ( M − 2 n − 1 ) , n = M 2 . (2) d(n,M)=
\begin{cases}
2^{M-2}\binom{M-1}{n-1}, & n\ne\frac{M}{2},\\
\binom{M-2}{n-1}, & n=\frac{M}{2}.
\end{cases} \tag*{(2)} d ( n , M ) = { 2 M − 2 ( n − 1 M − 1 ) , ( n − 1 M − 2 ) , n = 2 M , n = 2 M . (2) In particular, an n v R nvR n v R code is an equidistant code: d H ( c i , c k ) = d ( n , M ) d_H(c_i,c_k)=d(n,M) d H ( c i , c k ) = d ( n , M ) for all i ≠ k i\ne k i = k .
Definition 2 (Exhaustive Code). The Exhaustive Code is the code word table obtained by concatenating all n v R nvR n v R codes (1 ≤ n ≤ ⌊ M / 2 ⌋ 1 \le n \le\lfloor M/2\rfloor 1 ≤ n ≤ ⌊ M /2 ⌋ ). Its code length is N e x h = 2 M − 1 − 1 N_{\mathrm{exh}}=2^{M-1}-1 N exh = 2 M − 1 − 1 and its minimum Hamming distance is d min = 2 M − 2 d_{\min}=2^{M-2} d m i n = 2 M − 2 .
Definition 3 (Hadamard code). For M ≡ 0 ( m o d 4 ) M \equiv0 \pmod{4} M ≡ 0 ( mod 4 ) such that a Hadamard matrix of order M M M exists (conjecturally every such M M M ), the Hadamard code is obtained from a normalized Hadamard matrix of order M M M by mapping + 1 ↦ 0 +1 \mapsto0 + 1 ↦ 0 and − 1 ↦ 1 -1 \mapsto1 − 1 ↦ 1 ; its M M M code words of length M M M are at mutual distance M / 2 M/2 M /2 [20 , 21 ] . Its first column is constant, so as a code word table we delete it, which leaves an equidistant table with N = M − 1 N=M-1 N = M − 1 and d = M / 2 d=M/2 d = M /2 , attaining the Plotkin bound (Plotkin, 1960); it is in general non-linear, and for M = 2 m M=2^m M = 2 m with a Sylvester matrix it is the linear simplex code. Equidistant codes of this kind have been constructed for ECOC from Reed–Muller codes and Hadamard matrices by Hirasawa et al. [13 ] ; Kumoi et al. [17 ] and Hirasawa et al. [13 ] call the code of length M − 1 M-1 M − 1 the simplex code. For M = 4 M=4 M = 4 it coincides with the 2vR code up to column complementation (§ 7.1 ).
The l o g M logM l o g M code, whose code words are the binary representations of the category indices (N = ⌈ log 2 M ⌉ N=\lceil\log_2 M\rceil N = ⌈ log 2 M ⌉ , d min = 1 d_{\min}=1 d m i n = 1 ), is the shortest table and serves as the small-distance extreme in § 9 .
Noise model and pairwise error probability
We define the true posterior probability of each category for input data x x x by θ i = P ( c i ∣ x ) \theta_i = P(c_i|x) θ i = P ( c i ∣ x ) and write θ = ( θ 1 , … , θ M ) \boldsymbol{\theta} = (\theta_1,\ldots,\theta_M) θ = ( θ 1 , … , θ M ) . Hereafter, f j ( y ∣ θ ) f_j(y|\boldsymbol{\theta}) f j ( y ∣ θ ) denotes the conditional probability of the binary category y ∈ { 0 , 1 } y \in\{0,1\} y ∈ { 0 , 1 } given x x x . The output of a noiseless binary classifier f j ∗ f_j^* f j ∗ is
f j ∗ ( 1 ∣ θ ) = ∑ i ′ ∈ C : w i ′ j = 1 θ i ′ . (3) f_j^*(1|\boldsymbol{\theta}) = \sum_{i'\in\mathcal{C}:w_{i'j}=1}\theta_{i'}. \tag*{(3)} f j ∗ ( 1∣ θ ) = i ′ ∈ C : w i ′ j = 1 ∑ θ i ′ . (3)
We use decoding based on the product of the posterior probabilities output by the binary classifiers,
g ( c i ∣ θ ) = ∏ j = 1 N f j ( w i j ∣ θ ) , i ^ = arg max i ∈ C g ( c i ∣ θ ) , (4) g(c_i|\boldsymbol{\theta}) = \prod_{j=1}^{N} f_j(w_{ij}|\boldsymbol{\theta}), \qquad\hat{i} = \underset{i\in\mathcal{C}}{\operatorname{arg\,max}}\ g(c_i|\boldsymbol{\theta}), \tag*{(4)} g ( c i ∣ θ ) = j = 1 ∏ N f j ( w ij ∣ θ ) , i ^ = i ∈ C arg max g ( c i ∣ θ ) , (4)
and write g ∗ ( c i ∣ θ ) = ∏ j = 1 N f j ∗ ( w i j ∣ θ ) g^*(c_i|\boldsymbol{\theta}) = \prod_{j=1}^{N} f_j^*(w_{ij}|\boldsymbol{\theta}) g ∗ ( c i ∣ θ ) = ∏ j = 1 N f j ∗ ( w ij ∣ θ ) in the noiseless case.
Definition 4. The error term ε j \varepsilon_j ε j of the log posterior probability ratio is
ε j = ln f j ( 1 ∣ θ ) 1 − f j ( 1 ∣ θ ) − ln f j ∗ ( 1 ∣ θ ) 1 − f j ∗ ( 1 ∣ θ ) . (5) \varepsilon_j = \ln\frac{f_j(1|\boldsymbol{\theta})}{1-f_j(1|\boldsymbol{\theta})} - \ln\frac{f_j^*(1|\boldsymbol{\theta})}{1-f_j^*(1|\boldsymbol{\theta})}. \tag*{(5)} ε j = ln 1 − f j ( 1∣ θ ) f j ( 1∣ θ ) − ln 1 − f j ∗ ( 1∣ θ ) f j ∗ ( 1∣ θ ) . (5) If f j ∗ ( 1 ∣ θ ) ∈ { 0 , 1 } f_j^*(1|\boldsymbol{\theta}) \in\{0,1\} f j ∗ ( 1∣ θ ) ∈ { 0 , 1 } , we define f j ( 1 ∣ θ ) = f j ∗ ( 1 ∣ θ ) f_j(1|\boldsymbol{\theta}) = f_j^*(1|\boldsymbol{\theta}) f j ( 1∣ θ ) = f j ∗ ( 1∣ θ ) and ε j = 0 \varepsilon_j = 0 ε j = 0 .
Equivalently,
f j ( 1 ∣ θ ) = e ε j f j ∗ ( 1 ∣ θ ) 1 + ( e ε j − 1 ) f j ∗ ( 1 ∣ θ ) . (6) f_j(1|\boldsymbol{\theta}) = \frac{e^{\varepsilon_j}f_j^*(1|\boldsymbol{\theta})}{1+(e^{\varepsilon_j}-1)f_j^*(1|\boldsymbol{\theta})}. \tag*{(6)} f j ( 1∣ θ ) = 1 + ( e ε j − 1 ) f j ∗ ( 1∣ θ ) e ε j f j ∗ ( 1∣ θ ) . (6)
Assumption 1. ε j ∼ N ( 0 , σ 2 ) \varepsilon_j \sim N(0,\sigma^2) ε j ∼ N ( 0 , σ 2 ) , i.i.d.
From (4) and (6), the ratio of the decoding scores of c i c_i c i and c k c_k c k is the random variable
R i k = g ( c i ∣ θ ) g ( c k ∣ θ ) = e ∑ j = 1 N ( w i j − w k j ) ε j g ∗ ( c i ∣ θ ) g ∗ ( c k ∣ θ ) . (7) R_{ik} = \frac{g(c_i|\boldsymbol{\theta})}{g(c_k|\boldsymbol{\theta})} = e^{\sum_{j=1}^{N}(w_{ij}-w_{kj})\varepsilon_j}\frac{g^*(c_i|\boldsymbol{\theta})}{g^*(c_k|\boldsymbol{\theta})}. \tag*{(7)} R ik = g ( c k ∣ θ ) g ( c i ∣ θ ) = e ∑ j = 1 N ( w ij − w k j ) ε j g ∗ ( c k ∣ θ ) g ∗ ( c i ∣ θ ) . (7)
Proposition 1 (Pairwise error probability [18 ] ). Under Assumption 1,
P ( R i k ≤ 1 ∣ θ ) = Φ ( ln g ∗ ( c k ∣ θ ) g ∗ ( c i ∣ θ ) σ d H ( c i , c k ) ) , (8) P(R_{ik}\leq1|\boldsymbol{\theta}) = \Phi\left(\frac{\ln\frac{g^*(c_k|\boldsymbol{\theta})}{g^*(c_i|\boldsymbol{\theta})}}{\sigma\sqrt{d_H(c_i,c_k)}}\right), \tag*{(8)} P ( R ik ≤ 1∣ θ ) = Φ σ d H ( c i , c k ) ln g ∗ ( c i ∣ θ ) g ∗ ( c k ∣ θ ) , (8) where Φ ( ⋅ ) \Phi(\cdot) Φ ( ⋅ ) is the cumulative distribution function of the standard normal distribution.
We define
μ i k ≜ ln g ∗ ( c k ∣ θ ) g ∗ ( c i ∣ θ ) , ρ i k ≜ − μ i k σ d H ( c i , c k ) . (9) \mu_{ik} \triangleq\ln\frac{g^*(c_k|\boldsymbol{\theta})}{g^*(c_i|\boldsymbol{\theta})}, \qquad\rho_{ik} \triangleq\frac{-\mu_{ik}}{\sigma\sqrt{d_H(c_i,c_k)}}. \tag*{(9)} μ ik ≜ ln g ∗ ( c i ∣ θ ) g ∗ ( c k ∣ θ ) , ρ ik ≜ σ d H ( c i , c k ) − μ ik . (9)
Hereafter the categories are ordered, without loss of generality, so that θ 1 > θ 2 ≥ ⋯ ≥ θ M \theta_1 > \theta_2 \geq\cdots\geq\theta_M θ 1 > θ 2 ≥ ⋯ ≥ θ M , and we assume θ M > 0 \theta_M > 0 θ M > 0 ; we work on the constraint set
Ω ( λ ) = { θ : θ 1 ≥ max k ≠ 1 θ k + λ } (10) \Omega(\lambda) = \{\boldsymbol{\theta}:\theta_1 \geq\max_{k\neq1}\theta_k+\lambda\} \tag*{(10)} Ω ( λ ) = { θ : θ 1 ≥ k = 1 max θ k + λ } (10)
with λ > 0 \lambda> 0 λ > 0 , on which the MAP category is c 1 c_1 c 1 . From Proposition 1 it follows that
P ( R 1 k ≤ 1 ∣ θ ) = Φ ( − ρ 1 k ) = Q ( ρ 1 k ) , (11) P(R_{1k}\leq1|\boldsymbol{\theta}) = \Phi(-\rho_{1k}) = Q(\rho_{1k}), \tag*{(11)} P ( R 1 k ≤ 1∣ θ ) = Φ ( − ρ 1 k ) = Q ( ρ 1 k ) , (11)
where Q ( x ) = 1 − Φ ( x ) Q(x)=1-\Phi(x) Q ( x ) = 1 − Φ ( x ) ; ρ 1 k ≥ 0 \rho_{1k}\geq0 ρ 1 k ≥ 0 when μ 1 k ≤ 0 \mu_{1k}\leq0 μ 1 k ≤ 0 , which holds for the nvR codes under θ ∈ Ω ( λ ) \boldsymbol{\theta}\in\Omega(\lambda) θ ∈ Ω ( λ ) (Proposition 4).
Unless stated otherwise, Assumption 1 is in force in Sections 3–7.
Equivalent Channel and the Excess Error Rate
Equivalent Gaussian channel
From (6) ,
ln g ( c i ∣ θ ) = ∑ j = 1 N [ ln f j ∗ ( w i j ∣ θ ) + w i j ε j − ln ( 1 + ( e ε j − 1 ) f j ∗ ( 1 ∣ θ ) ) ] . (12) \ln g(c_i\mid\theta)=\sum_{j=1}^{N}\left[\ln f_j^*(w_{ij}\mid\theta)+w_{ij}\varepsilon_j-\ln\left(1+\left(e^{\varepsilon_j}-1\right)f_j^*(1\mid\theta)\right)\right]. \tag*{(12)} ln g ( c i ∣ θ ) = j = 1 ∑ N [ ln f j ∗ ( w ij ∣ θ ) + w ij ε j − ln ( 1 + ( e ε j − 1 ) f j ∗ ( 1 ∣ θ ) ) ] . (12)
The third term does not depend on i i i , so the decision of ECOC depends only on the sufficient statistic
L i ≜ ∑ j = 1 N w i j ε j + ln g ∗ ( c i ∣ θ ) , i ^ = arg max i ∈ C L i . (13) L_i\triangleq\sum_{j=1}^{N}w_{ij}\varepsilon_j+\ln g^*(c_i\mid\theta),\qquad\hat{i}=\underset{i\in\mathcal{C}}{\arg\max}\ L_i. \tag*{(13)} L i ≜ j = 1 ∑ N w ij ε j + ln g ∗ ( c i ∣ θ ) , i ^ = i ∈ C arg max L i . (13)
Relative to the MAP category c 1 c_1 c 1 ,
L k − L 1 = μ 1 k + Z 1 k , Z 1 k ≜ ∑ j = 1 N ( w k j − w 1 j ) ε j ∼ N ( 0 , d H ( c 1 , c k ) σ 2 ) , k ≠ 1. (14) L_k-L_1=\mu_{1k}+Z_{1k},\qquad Z_{1k}\triangleq\sum_{j=1}^{N}(w_{kj}-w_{1j})\varepsilon_j\sim\mathcal{N}\left(0,d_H(c_1,c_k)\sigma^2\right),\quad k\ne1. \tag*{(14)} L k − L 1 = μ 1 k + Z 1 k , Z 1 k ≜ j = 1 ∑ N ( w k j − w 1 j ) ε j ∼ N ( 0 , d H ( c 1 , c k ) σ 2 ) , k = 1. (14)
This is an M M M -ary hypothesis test over a Gaussian channel: the transmitted word is the code word of c 1 c_1 c 1 , the competitor c k c_k c k is separated from it by the mean shift (signal) μ 1 k \mu_{1k} μ 1 k and the distance d H ( c 1 , c k ) d_H(c_1,c_k) d H ( c 1 , c k ) , and ρ 1 k \rho_{1k} ρ 1 k in (9) is the corresponding signal-to-noise ratio.
Remark 1 (Correspondence with channel coding). Unlike a standard AWGN channel, the signal μ 1 k \mu_{1k} μ 1 k and the noise variance depend on the code-word pair through the Hamming distance. For an equidistant code this dependence disappears, and each pairwise test L k − L 1 L_k-L_1 L k − L 1 is a standard binary AWGN decision. The { Z 1 k } k ≠ 1 \{Z_{1k}\}_{k\ne1} { Z 1 k } k = 1 remain jointly dependent because they are built from the same { ε j } \{\varepsilon_j\} { ε j } , so the M M M -ary problem is not a set of independent parallel channels.
The excess error rate
We define the event that ECOC selects a category other than c 1 c_1 c 1 by
E = ⋃ k ≠ 1 { R 1 k ≤ 1 } , (15) E=\bigcup_{k\ne1}\{R_{1k}\le1\}, \tag*{(15)} E = k = 1 ⋃ { R 1 k ≤ 1 } , (15)
so that P ( E ∣ θ ) P(E\mid\theta) P ( E ∣ θ ) is the probability that ECOC fails to select the MAP category. E E E also contains the ties R 1 k = 1 R_{1k}=1 R 1 k = 1 ; under Assumption 1 (and under the correlated noise of § 8 ) every ln R 1 k \ln R_{1k} ln R 1 k is a nondegenerate Gaussian, so ties have probability zero and P ( E ∣ θ ) = P ( i ^ E C O C ≠ 1 ∣ θ ) P(E\mid\theta)=P(\hat{i}_{\mathrm{ECOC}}\ne1\mid\theta) P ( E ∣ θ ) = P ( i ^ ECOC = 1 ∣ θ ) . We use this identity in (16) below and in the proof of Proposition 2. Let the true category be the random variable C C C (with P ( C = c i ∣ θ ) = θ i P(C=c_i\mid\theta)=\theta_i P ( C = c i ∣ θ ) = θ i ); given θ \theta θ , the noise { ε j } \{\varepsilon_j\} { ε j } is independent of C C C . The MAP error rate is P M A P ( θ ) = 1 − θ 1 P_{\mathrm{MAP}}(\theta)=1-\theta_1 P MAP ( θ ) = 1 − θ 1 , and the error rate of ECOC decomposes as
P E C O C ( θ ) = θ 1 P ( E ∣ θ ) + ∑ k ≠ 1 θ k P ( i ^ E C O C ≠ k ∣ θ ) . (16) P_{\mathrm{ECOC}}(\theta)=\theta_1P(E\mid\theta)+\sum_{k\ne1}\theta_kP(\hat{i}_{\mathrm{ECOC}}\ne k\mid\theta). \tag*{(16)} P ECOC ( θ ) = θ 1 P ( E ∣ θ ) + k = 1 ∑ θ k P ( i ^ ECOC = k ∣ θ ) . (16)
Definition 5 (Excess error rate). The (conditional) excess error rate of ECOC at θ \theta θ is
Δ ( θ ) = P E C O C ( θ ) − P M A P ( θ ) . (17) \Delta(\theta)=P_{\mathrm{ECOC}}(\theta)-P_{\mathrm{MAP}}(\theta). \tag*{(17)} Δ ( θ ) = P ECOC ( θ ) − P MAP ( θ ) . (17)
Since P M A P P_{\mathrm{MAP}} P MAP is the Bayes error rate at x x x , Δ ( θ ) \Delta(\theta) Δ ( θ ) is the conditional excess risk of ECOC under the 0–1 loss; averaging it over the input distribution gives the usual excess risk [4 ] (Tewari & Bartlett 2007). Substituting 1 − θ 1 = ∑ k ≠ 1 θ k 1-\theta_1=\sum_{k\ne1}\theta_k 1 − θ 1 = ∑ k = 1 θ k into (16) gives the exact decomposition
Δ ( θ ) = θ 1 P ( E ∣ θ ) − ∑ k ≠ 1 θ k P ( i ^ E C O C = k ∣ θ ) . (18) \Delta(\theta)=\theta_1P(E\mid\theta)-\sum_{k\ne1}\theta_kP(\hat{i}_{\mathrm{ECOC}}=k\mid\theta). \tag*{(18)} Δ ( θ ) = θ 1 P ( E ∣ θ ) − k = 1 ∑ θ k P ( i ^ ECOC = k ∣ θ ) . (18)
Proposition 2 (Two-sided evaluation of the excess error rate). For any code word table and any θ ∈ Ω ( λ ) \theta\in\Omega(\lambda) θ ∈ Ω ( λ ) , under any noise for which ties have probability zero (in particular under Assumption 1 and under the noise of § 8 ),
( θ 1 − θ 2 ) P ( E ∣ θ ) ≤ Δ ( θ ) ≤ θ 1 P ( E ∣ θ ) . (19) (\theta_1-\theta_2)P(E\mid\theta) \le\Delta(\theta) \le\theta_1P(E\mid\theta). \tag*{(19)} ( θ 1 − θ 2 ) P ( E ∣ θ ) ≤ Δ ( θ ) ≤ θ 1 P ( E ∣ θ ) . (19) In particular, since θ 1 − θ 2 ≥ λ \theta_1-\theta_2 \ge\lambda θ 1 − θ 2 ≥ λ , we have Δ ( θ ) ≥ λ P ( E ∣ θ ) \Delta(\theta) \ge\lambda P(E\mid\theta) Δ ( θ ) ≥ λ P ( E ∣ θ ) .
Proof. Upper bound. The second term of (18) is nonnegative, so Δ ( θ ) ≤ θ 1 P ( E ∣ θ ) \Delta(\theta) \le\theta_1P(E\mid\theta) Δ ( θ ) ≤ θ 1 P ( E ∣ θ ) .
Lower bound. The events { i ^ E C O C = k } \{\hat{i}_{\mathrm{ECOC}}=k\} { i ^ ECOC = k } (k ≠ 1 k\ne1 k = 1 ) are mutually disjoint, and { i ^ E C O C = k } ⊆ { R 1 k ≤ 1 } ⊆ E \{\hat{i}_{\mathrm{ECOC}}=k\}\subseteq\{R_{1k}\le1\}\subseteq E { i ^ ECOC = k } ⊆ { R 1 k ≤ 1 } ⊆ E , so
∑ k ≠ 1 P ( i ^ E C O C = k ∣ θ ) = P ( i ^ E C O C ≠ 1 ∣ θ ) ≤ P ( E ∣ θ ) . (20) \sum_{k\ne1}P(\hat{i}_{\mathrm{ECOC}}=k\mid\theta)=P(\hat{i}_{\mathrm{ECOC}}\ne1\mid\theta)\le P(E\mid\theta). \tag*{(20)} k = 1 ∑ P ( i ^ ECOC = k ∣ θ ) = P ( i ^ ECOC = 1 ∣ θ ) ≤ P ( E ∣ θ ) . (20) Together with θ k ≤ θ 2 \theta_k\le\theta_2 θ k ≤ θ 2 (k ≠ 1 k\ne1 k = 1 ),
∑ k ≠ 1 θ k P ( i ^ E C O C = k ∣ θ ) ≤ θ 2 P ( E ∣ θ ) . (21) \sum_{k\ne1}\theta_kP(\hat{i}_{\mathrm{ECOC}}=k\mid\theta)\le\theta_2P(E\mid\theta). \tag*{(21)} k = 1 ∑ θ k P ( i ^ ECOC = k ∣ θ ) ≤ θ 2 P ( E ∣ θ ) . (21) Substituting this into (18) yields the lower bound.
Thus Δ ( θ ) \Delta(\theta) Δ ( θ ) and P ( E ∣ θ ) P(E\mid\theta) P ( E ∣ θ ) differ by at most a factor in [ λ , θ 1 ] [\lambda,\theta_1] [ λ , θ 1 ] , and their normalized exponents differ by at most ( − ln λ ) / d min ( c 1 ) (-\ln\lambda)/d_{\min}(c_1) ( − ln λ ) / d m i n ( c 1 ) ; Sections 4–6 bound P ( E ∣ θ ) P(E\mid\theta) P ( E ∣ θ ) .
The goal: a reliability function
In channel coding, the reliability function is the exponent E E E at which the error rate decays as exp ( − N ⋅ E ) \exp(-N\cdot E) exp ( − N ⋅ E ) with the code length N N N . Here the asymptotic variable is the minimum distance rather than N N N . By (14), the statistic L k − L 1 L_k-L_1 L k − L 1 depends only on the positions at which c 1 c_1 c 1 and c k c_k c k differ. Hence both the signal μ 1 k \mu_{1k} μ 1 k and the noise variance d H ( c 1 , c k ) σ 2 d_H(c_1,c_k)\sigma^2 d H ( c 1 , c k ) σ 2 scale with d H d_H d H , and the effective code length for a pair is d H d_H d H rather than N N N . The error is then dominated by the nearest competitor, so the exponent of P ( E ∣ θ ) P(E\mid\theta) P ( E ∣ θ ) is proportional to d min ( c 1 ) d_{\min}(c_1) d m i n ( c 1 ) , just as the minimum distance governs error correction in coding theory. Since N N N and d min d_{\min} d m i n differ greatly across code families (for 2vR, N = O ( M 2 ) N=O(M^2) N = O ( M 2 ) but d min = O ( M ) d_{\min}=O(M) d m i n = O ( M ) ; for the logM code, N = O ( log M ) N=O(\log M) N = O ( log M ) but d min = 1 d_{\min}=1 d m i n = 1 ; Table 1 ), the minimum distance is the natural variable. Figure 1 (a,Figure 1 b) illustrates this mechanism. Our goal is the exact exponent E E C O C E_{\mathrm{ECOC}} E ECOC with P ( E ∣ θ ) ≍ exp ( − d min ( c 1 ) ⋅ E E C O C ) P(E\mid\theta)\asymp\exp(-d_{\min}(c_1)\cdot E_{\mathrm{ECOC}}) P ( E ∣ θ ) ≍ exp ( − d m i n ( c 1 ) ⋅ E ECOC ) ; for equidistant codes we write d d d for the common distance.
Figure 1. Why the minimum distance governs the excess error rate. (a) In the 2vR code word table (M = 5 M = 5 M = 5 ), only the d H ( c 1 , c 2 ) = 6 d_H(c_1,c_2) = 6 d H ( c 1 , c 2 ) = 6 columns in which the code words of c 1 c_1 c 1 and c 2 c_2 c 2 differ enter the statistic L 2 − L 1 L_2-L_1 L 2 − L 1 of (14) ; the other columns add the same amount to both scores. (b) The pairwise test L 2 − L 1 = μ 12 + Z 12 L_2-L_1 = \mu_{12}+Z_{12} L 2 − L 1 = μ 12 + Z 12 for 2vR codes of distance d = 6 , 12 , 24 d = 6, 12, 24 d = 6 , 12 , 24 (M = 5 , 8 , 14 M = 5, 8, 14 M = 5 , 8 , 14 ; θ 1 = 0.5 \theta_1 = 0.5 θ 1 = 0.5 , θ 2 = 0.25 \theta_2 = 0.25 θ 2 = 0.25 , the rest uniform, σ = 1 \sigma= 1 σ = 1 ): the mean grows linearly in d d d and the standard deviation as d \sqrt{d} d , so the error probability Q ( ρ 12 ) Q(\rho_{12}) Q ( ρ 12 ) (red) decays exponentially in d d d . (c) The effective distance of Section 8 along the 2vR family, for three noise models with the same variance 1 of every classifier: independent (σ 2 = 1 \sigma^2 = 1 σ 2 = 1 ), common-mode (σ 0 2 = 0.6 \sigma_0^2 = 0.6 σ 0 2 = 0.6 , σ z 2 = 0.4 \sigma_z^2 = 0.4 σ z 2 = 0.4 ) and class-level (σ 0 2 = 0.6 \sigma_0^2 = 0.6 σ 0 2 = 0.6 , σ c 2 = 0.2 \sigma_c^2 = 0.2 σ c 2 = 0.2 ). Only class-level noise makes d e f f d_{\mathrm{eff}} d eff saturate, at 2 / σ c 2 2/\sigma_c^2 2/ σ c 2 .
Table 1. Code length, minimum distance, and order of the exponent − ln Δ ( θ ) -\ln\Delta(\theta) − ln Δ ( θ ) (θ 1 , θ 2 \theta_1,\theta_2 θ 1 , θ 2 fixed).
Upper Bound: Sufficiency of the Minimum Distance
Strategy. We bound μ 1 k \mu_{1k} μ 1 k from above (Propositions 3 and 4), which bounds ρ 1 k \rho_{1k} ρ 1 k from below (e.g. ρ 1 k ≥ ρ L \rho_{1k}\ge\rho^L ρ 1 k ≥ ρ L , Eq. (32) ); since Q Q Q is monotone decreasing, the union bound gives P ( E ∣ θ ) ≤ ( M − 1 ) Q ( ρ L ) P(E\mid\theta)\le(M-1)Q(\rho^L) P ( E ∣ θ ) ≤ ( M − 1 ) Q ( ρ L ) , which Proposition 2 turns into an upper bound on the excess error rate (Proposition 5, Corollary 1).
Upper bound on μ 1 k \mu_{1k} μ 1 k
We introduce
ω ( n ) ≔ { 0 , n = 1 , ∑ k = M − ( n − 2 ) M θ k , n > 1 , n min ≔ min j ∈ F : w 1 j = 1 ∑ i ∈ C w i j , (22) \omega(n)\coloneqq
\begin{cases}
0, & n=1,\\
\sum_{k=M-(n-2)}^{M}\theta_k, & n>1,
\end{cases}
\qquad
n_{\min}\coloneqq\min_{j\in\mathcal{F}:w_{1j}=1}\sum_{i\in\mathcal{C}}w_{ij}, \tag*{(22)} ω ( n ) : = { 0 , ∑ k = M − ( n − 2 ) M θ k , n = 1 , n > 1 , n m i n : = j ∈ F : w 1 j = 1 min i ∈ C ∑ w ij , (22)
where ω ( n ) \omega(n) ω ( n ) is the sum of the n − 1 n-1 n − 1 smallest posteriors and n min n_{\min} n m i n is the minimum number of ones over the columns on whose positive side c 1 c_1 c 1 lies, and
α j ≔ ∑ i ′ ∈ { C ∖ { 1 } : w 1 j = w i ′ j } θ i ′ . (23) \alpha_j\coloneqq\sum_{i'\in\{\mathcal{C}\setminus\{1\}:w_{1j}=w_{i'j}\}}\theta_{i'}. \tag*{(23)} α j : = i ′ ∈ { C ∖ { 1 } : w 1 j = w i ′ j } ∑ θ i ′ . (23)
The definition of n min n_{\min} n m i n requires row 1 of W W W not to be identically 0, which holds for every n v nv n v R code with n < M / 2 n < M/2 n < M /2 (for n v nv n v R codes we use Corollary 1, which does not involve n min n_{\min} n m i n ) and is an additional assumption for a general code word table.
Proposition 3 (Upper bound on μ 1 k \mu_{1k} μ 1 k : general code word table). For θ ∈ Ω ( λ ) \theta\in\Omega(\lambda) θ ∈ Ω ( λ ) ,
μ 1 k ≤ d H ( c 1 , c k ) ln ( 1 − θ 1 − ω ( n min ) θ 1 + ω ( n min ) ) . (24) \mu_{1k} \le d_H(c_1,c_k) \ln\left( \frac{1-\theta_1-\omega(n_{\min})}{\theta_1+\omega(n_{\min})} \right). \tag*{(24)} μ 1 k ≤ d H ( c 1 , c k ) ln ( θ 1 + ω ( n m i n ) 1 − θ 1 − ω ( n m i n ) ) . (24)
Proof. From (3) , f j ∗ ( w 1 j ∣ θ ) = θ 1 + α j f_j^*(w_{1j}|\theta) = \theta_1+\alpha_j f j ∗ ( w 1 j ∣ θ ) = θ 1 + α j . We show that α j ≥ ω ( n min ) \alpha_j \ge\omega(n_{\min}) α j ≥ ω ( n m i n ) holds for all j ∈ F j \in\mathcal{F} j ∈ F . In a column with w 1 j = 1 w_{1j}=1 w 1 j = 1 , α j \alpha_j α j is the sum of the posterior probabilities of the ( n j − 1 ) (n_j-1) ( n j − 1 ) categories other than c 1 c_1 c 1 on the positive side (with n j ≥ n min n_j \ge n_{\min} n j ≥ n m i n ), and is at least the sum ω ( n min ) \omega(n_{\min}) ω ( n m i n ) of the ( n min − 1 ) (n_{\min}-1) ( n m i n − 1 ) smallest posterior probabilities. In a column with w 1 j = 0 w_{1j}=0 w 1 j = 0 , α j \alpha_j α j is the sum of the posterior probabilities of the ( M − n j − 1 ) (M-n_j-1) ( M − n j − 1 ) categories other than c 1 c_1 c 1 on the negative side; by the properties of the code word table (the number of ones in each column is at most M / 2 M/2 M /2 ), it contains M − n j − 1 ≥ M / 2 − 1 ≥ n min − 1 M-n_j-1 \ge M/2-1 \ge n_{\min}-1 M − n j − 1 ≥ M /2 − 1 ≥ n m i n − 1 terms and is therefore again at least ω ( n min ) \omega(n_{\min}) ω ( n m i n ) . Since
f j ∗ ( w k j ∣ θ ) f j ∗ ( w 1 j ∣ θ ) = 1 − θ 1 − α j θ 1 + α j ≤ 1 − θ 1 − ω ( n min ) θ 1 + ω ( n min ) (25) \frac{f_j^*(w_{kj}|\theta)}{f_j^*(w_{1j}|\theta)}=\frac{1-\theta_1-\alpha_j}{\theta_1+\alpha_j}\le\frac{1-\theta_1-\omega(n_{\min})}{\theta_1+\omega(n_{\min})} \tag*{(25)} f j ∗ ( w 1 j ∣ θ ) f j ∗ ( w k j ∣ θ ) = θ 1 + α j 1 − θ 1 − α j ≤ θ 1 + ω ( n m i n ) 1 − θ 1 − ω ( n m i n ) (25)
for w 1 j ≠ w k j w_{1j}\ne w_{kj} w 1 j = w k j and the left-hand side of (25) equals one for w 1 j = w k j w_{1j}=w_{kj} w 1 j = w k j , substituting these into μ 1 k = ∑ j : w 1 j ≠ w k j ln 1 − θ 1 − α j θ 1 + α j \mu_{1k}=\sum_{j:w_{1j}\ne w_{kj}}\ln\frac{1-\theta_1-\alpha_j}{\theta_1+\alpha_j} μ 1 k = ∑ j : w 1 j = w k j ln θ 1 + α j 1 − θ 1 − α j yields (24).
For n v nv n v R codes, a sharper bound follows from the pair structure. For a pair of classifiers f j f_j f j and f j ′ f_{j'} f j ′ satisfying w 1 j = w k j ′ ≠ w k j = w 1 j ′ w_{1j}=w_{kj'}\ne w_{kj}=w_{1j'} w 1 j = w k j ′ = w k j = w 1 j ′ and w l j = w l j ′ w_{lj}=w_{lj'} w l j = w l j ′ for all l ≠ 1 , k l\ne1,k l = 1 , k , define η j ( α j ; θ 1 , θ k ) ≡ f j ∗ ( w k j ∣ θ ) f j ∗ ( w 1 j ∣ θ ) ⋅ f j ′ ∗ ( w k j ′ ∣ θ ) f j ′ ∗ ( w 1 j ′ ∣ θ ) \eta_j(\alpha_j;\theta_1,\theta_k)\equiv\frac{f_j^*(w_{kj}|\theta)}{f_j^*(w_{1j}|\theta)}\cdot\frac{f_{j'}^*(w_{kj'}|\theta)}{f_{j'}^*(w_{1j'}|\theta)} η j ( α j ; θ 1 , θ k ) ≡ f j ∗ ( w 1 j ∣ θ ) f j ∗ ( w k j ∣ θ ) ⋅ f j ′ ∗ ( w 1 j ′ ∣ θ ) f j ′ ∗ ( w k j ′ ∣ θ ) .
Lemma 1 (Upper bound on η j \eta_j η j ). If θ 1 > θ k \theta_1>\theta_k θ 1 > θ k , then on the domain α j ∈ [ 0 , 1 − θ 1 − θ k ] \alpha_j\in[0,1-\theta_1-\theta_k] α j ∈ [ 0 , 1 − θ 1 − θ k ] (nonempty since θ 1 + θ k ≤ 1 \theta_1+\theta_k\le1 θ 1 + θ k ≤ 1 )
η j ( α j ; θ 1 , θ k ) ≤ ( 1 − θ 1 + θ k 1 + θ 1 − θ k ) 2 , (26) \eta_j(\alpha_j;\theta_1,\theta_k)\le\left(\frac{1-\theta_1+\theta_k}{1+\theta_1-\theta_k}\right)^2, \tag*{(26)} η j ( α j ; θ 1 , θ k ) ≤ ( 1 + θ 1 − θ k 1 − θ 1 + θ k ) 2 , (26)
with equality at α j = ( 1 − θ 1 − θ k ) / 2 \alpha_j = (1-\theta_1-\theta_k)/2 α j = ( 1 − θ 1 − θ k ) /2 .
As a function of α j \alpha_j α j alone, η j \eta_j η j is unimodal with its maximum at the interior point α j = ( 1 − θ 1 − θ k ) / 2 \alpha_j = (1-\theta_1-\theta_k)/2 α j = ( 1 − θ 1 − θ k ) /2 (Appendix A).
Proposition 4 (Upper bound on μ 1 k \mu_{1k} μ 1 k : n v nv n v R code). When the code word table is an n v nv n v R code,
μ 1 k ≤ d ( n , M ) ln ( 1 − θ 1 + θ k 1 + θ 1 − θ k ) . (27) \mu_{1k} \le d(n,M)\ln\left(\frac{1-\theta_1+\theta_k}{1+\theta_1-\theta_k}\right). \tag*{(27)} μ 1 k ≤ d ( n , M ) ln ( 1 + θ 1 − θ k 1 − θ 1 + θ k ) . (27)
Proof. Since an n v nv n v R code contains all partitions into n n n versus ( M − n ) (M-n) ( M − n ) , for any f j f_j f j with w 1 j ≠ w k j w_{1j}\ne w_{kj} w 1 j = w k j there is also a partition in the code word table that swaps only the positions of c 1 c_1 c 1 and c k c_k c k while keeping the memberships of the other categories; this provides the counterpart f j ′ f_{j'} f j ′ specified in Lemma 1. For n = M / 2 n=M/2 n = M /2 , a column separating c 1 c_1 c 1 and c k c_k c k is determined by the set S \mathcal{S} S of the other n − 1 n-1 n − 1 categories on the side of c 1 c_1 c 1 , and the partition with c 1 c_1 c 1 and c k c_k c k swapped corresponds to R ∖ S \mathcal{R}\setminus\mathcal{S} R ∖ S , where R = C ∖ { 1 , k } \mathcal{R}=\mathcal{C}\setminus\{1,k\} R = C ∖ { 1 , k } ; this partition may be stored as its complement. Complementing a column leaves the ratio f ∗ ( w k j ∣ θ ) / f ∗ ( w 1 j ∣ θ ) f^* (w_{kj}\mid\theta)/f^* (w_{1j}\mid\theta) f ∗ ( w k j ∣ θ ) / f ∗ ( w 1 j ∣ θ ) unchanged, and the map S ↦ R ∖ S \mathcal{S}\mapsto\mathcal{R}\setminus\mathcal{S} S ↦ R ∖ S has no fixed point for n ≥ 2 n\ge2 n ≥ 2 , so the pairing argument is unaffected; the same applies to the proof of Proposition 6. By equidistance, there are d ( n , M ) d(n,M) d ( n , M ) columns with w 1 j ≠ w k j w_{1j}\ne w_{kj} w 1 j = w k j , forming d ( n , M ) / 2 d(n,M)/2 d ( n , M ) /2 such pairs. By Lemma 1, the contribution ln η j \ln\eta_j ln η j of each pair is at most 2 ln 1 − θ 1 + θ k 1 + θ 1 − θ k 2\ln\frac{1-\theta_1+\theta_k}{1+\theta_1-\theta_k} 2 ln 1 + θ 1 − θ k 1 − θ 1 + θ k , so
μ 1 k = ∑ pairs ln η j ≤ d ( n , M ) 2 ⋅ 2 ln 1 − θ 1 + θ k 1 + θ 1 − θ k , (28) \mu_{1k}=\sum_{\text{pairs}}\ln\eta_j\le\frac{d(n,M)}{2}\cdot2\ln\frac{1-\theta_1+\theta_k}{1+\theta_1-\theta_k}, \tag*{(28)} μ 1 k = pairs ∑ ln η j ≤ 2 d ( n , M ) ⋅ 2 ln 1 + θ 1 − θ k 1 − θ 1 + θ k , (28)
which gives (27).
Upper bound on the excess error rate
Proposition 5 (Upper bound: general code word table). For θ ∈ Ω ( λ ) \theta\in\Omega(\lambda) θ ∈ Ω ( λ ) with θ 1 + ω ( n min ) > 1 / 2 \theta_1+\omega(n_{\min})>1/2 θ 1 + ω ( n m i n ) > 1/2 ,
Δ ( θ ) ≤ ( M − 1 ) exp ( − d min ( c 1 ) ⋅ κ 1 ( θ 1 , ω ( n min ) ) ) , (29) \Delta(\theta)\le(M-1)\exp\left(-d_{\min}(c_1)\cdot\kappa_1(\theta_1,\omega(n_{\min}))\right), \tag*{(29)} Δ ( θ ) ≤ ( M − 1 ) exp ( − d m i n ( c 1 ) ⋅ κ 1 ( θ 1 , ω ( n m i n )) ) , (29) where κ 1 ( θ 1 , ω ) ≜ 1 2 σ 2 ln 2 ( θ 1 + ω 1 − θ 1 − ω ) \kappa_1(\theta_1,\omega)\triangleq\frac{1}{2\sigma^2}\ln^2\left(\frac{\theta_1+\omega}{1-\theta_1-\omega}\right) κ 1 ( θ 1 , ω ) ≜ 2 σ 2 1 ln 2 ( 1 − θ 1 − ω θ 1 + ω ) . The bound also holds with d min ( c 1 ) d_{\min}(c_1) d m i n ( c 1 ) replaced by d min ≤ d min ( c 1 ) d_{\min}\le d_{\min}(c_1) d m i n ≤ d m i n ( c 1 ) .
Proof. Union bound: P ( E ∣ θ ) ≤ ∑ k ≠ 1 Q ( ρ 1 k ) P(E\mid\theta)\le\sum_{k\ne1}Q(\rho_{1k}) P ( E ∣ θ ) ≤ ∑ k = 1 Q ( ρ 1 k ) . From Proposition 3 and the definition (9) of ρ 1 k \rho_{1k} ρ 1 k ,
ρ 1 k ≥ d H ( c 1 , c k ) σ ln ( θ 1 + ω ( n min ) 1 − θ 1 − ω ( n min ) ) . (30) \rho_{1k}\ge\frac{\sqrt{d_H(c_1,c_k)}}{\sigma}\ln\left(\frac{\theta_1+\omega(n_{\min})}{1-\theta_1-\omega(n_{\min})}\right). \tag*{(30)} ρ 1 k ≥ σ d H ( c 1 , c k ) ln ( 1 − θ 1 − ω ( n m i n ) θ 1 + ω ( n m i n ) ) . (30)
When θ 1 + ω ( n min ) > 1 / 2 \theta_1+\omega(n_{\min})>1/2 θ 1 + ω ( n m i n ) > 1/2 we have ρ 1 k > 0 \rho_{1k}>0 ρ 1 k > 0 , so applying the Chernoff bound Q ( x ) ≤ e − x 2 / 2 Q(x)\le e^{-x^2/2} Q ( x ) ≤ e − x 2 /2 and using d H ( c 1 , c k ) ≥ d min ( c 1 ) ≥ d min d_H(c_1,c_k)\ge d_{\min}(c_1)\ge d_{\min} d H ( c 1 , c k ) ≥ d m i n ( c 1 ) ≥ d m i n yields (29).
Corollary 1 (Upper bound: n v nv n v R code). For θ ∈ Ω ( λ ) \theta\in\Omega(\lambda) θ ∈ Ω ( λ ) ,
Δ ( θ ) ≤ ( M − 1 ) exp ( − d ( n , M ) ⋅ κ 2 ( λ , σ ) ) , κ 2 ( λ , σ ) ≜ 1 2 σ 2 ln 2 ( 1 + λ 1 − λ ) . (31) \Delta(\theta)\le(M-1)\exp\left(-d(n,M)\cdot\kappa_2(\lambda,\sigma)\right),\qquad\kappa_2(\lambda,\sigma)\triangleq\frac{1}{2\sigma^2}\ln^2\left(\frac{1+\lambda}{1-\lambda}\right). \tag*{(31)} Δ ( θ ) ≤ ( M − 1 ) exp ( − d ( n , M ) ⋅ κ 2 ( λ , σ ) ) , κ 2 ( λ , σ ) ≜ 2 σ 2 1 ln 2 ( 1 − λ 1 + λ ) . (31)
Proof. In Proposition 4, using the monotone increase of ln 1 + u 1 − u \ln\frac{1+u}{1-u} ln 1 − u 1 + u (u = θ 1 − θ k u=\theta_1-\theta_k u = θ 1 − θ k ) and θ 1 − θ k ≥ λ \theta_1-\theta_k\ge\lambda θ 1 − θ k ≥ λ ,
ρ 1 k ≥ d ( n , M ) σ ln ( 1 + λ 1 − λ ) ≜ ρ L . (32) \rho_{1k}\ge\frac{\sqrt{d(n,M)}}{\sigma}\ln\left(\frac{1+\lambda}{1-\lambda}\right)\triangleq\rho^{\mathrm{L}}. \tag*{(32)} ρ 1 k ≥ σ d ( n , M ) ln ( 1 − λ 1 + λ ) ≜ ρ L . (32)
Applying the union bound and the Chernoff bound yields (31).
The union bound mirrors Gallager [11 ] : the excess error rate vanishes as soon as the distance term κ d min ( c 1 ) \kappa d_{\min}(c_1) κ d m i n ( c 1 ) outgrows the logarithm ln ( M − 1 ) \ln(M-1) ln ( M − 1 ) of the number of competitors, which plays the role of the rate. Whether the exponent is exact requires the lower bound (§ 5 ) and the tightness argument (§ 6 ).
Lower Bound: Necessity of the Hamming Distance
Strategy. In the equivalent channel, the error of the comparison with the hardest competitor lower-bounds P ( E ∣ θ ) P(E|\theta) P ( E ∣ θ ) (Lemma 3); this holds for any code word table and, with a column-wise bound on μ 1 k \mu_{1k} μ 1 k , yields necessity at once (Corollary 2). For n v R nvR n v R codes with n ≥ 2 n \ge2 n ≥ 2 , a lower bound on μ 1 k \mu_{1k} μ 1 k (Proposition 6) gives an explicit lower bound of the form Q ( ρ U ) Q(\rho^{U}) Q ( ρ U ) (Proposition 7).
Lemma 2 (Two-sided evaluation of the Q function). For x > 0 x > 0 x > 0 ,
1 2 π ⋅ x x 2 + 1 ⋅ e − x 2 / 2 ≤ Q ( x ) ≤ e − x 2 / 2 , (33) \frac{1}{\sqrt{2\pi}}\cdot\frac{x}{x^{2}+1}\cdot e^{-x^{2}/2}\le Q(x)\le e^{-x^{2}/2}, \tag*{(33)} 2 π 1 ⋅ x 2 + 1 x ⋅ e − x 2 /2 ≤ Q ( x ) ≤ e − x 2 /2 , (33)
and for x ≥ 1 x \ge1 x ≥ 1 ,
1 2 2 π x ⋅ e − x 2 / 2 ≤ Q ( x ) ≤ e − x 2 / 2 . (34) \frac{1}{2\sqrt{2\pi}\,x}\cdot e^{-x^{2}/2}\le Q(x)\le e^{-x^{2}/2}. \tag*{(34)} 2 2 π x 1 ⋅ e − x 2 /2 ≤ Q ( x ) ≤ e − x 2 /2 . (34)
Proof. The upper bound is the Chernoff bound. The lower bound follows from the classical result on the Mills ratio ([12 , 9 ] ): Q ( x ) ≥ 1 2 π ⋅ x x 2 + 1 e − x 2 / 2 Q(x)\ge\frac{1}{\sqrt{2\pi}}\cdot\frac{x}{x^{2}+1}e^{-x^{2}/2} Q ( x ) ≥ 2 π 1 ⋅ x 2 + 1 x e − x 2 /2 ( x > 0 ) (x>0) ( x > 0 ) , which gives ((33) ). For x ≥ 1 x\ge1 x ≥ 1 we have x x 2 + 1 ≥ 1 2 x \frac{x}{x^{2}+1}\ge\frac{1}{2x} x 2 + 1 x ≥ 2 x 1 (⇔ 2 x 2 ≥ x 2 + 1 ⇔ x 2 ≥ 1 \Leftrightarrow2x^{2}\ge x^{2}+1\Leftrightarrow x^{2}\ge1 ⇔ 2 x 2 ≥ x 2 + 1 ⇔ x 2 ≥ 1 ), so ((33) ) gives ((34) ).
Lower bound for any code word table and necessity
Let
ρ min ≜ min k ≠ 1 ρ 1 k . (35) \rho_{\min}\triangleq\min_{k\ne1}\rho_{1k}. \tag*{(35)} ρ m i n ≜ k = 1 min ρ 1 k . (35)
Lemma 3 (Lower bound on P ( E ∣ θ ) P(E|\theta) P ( E ∣ θ ) (sphere-packing analogue)). Under Assumption 1, for any code word table,
P ( E ∣ θ ) ≥ Q ( ρ min ) , (36) P(E|\theta)\ge Q(\rho_{\min}), \tag*{(36)} P ( E ∣ θ ) ≥ Q ( ρ m i n ) , (36)
and, when ρ min ≥ 1 \rho_{\min}\ge1 ρ m i n ≥ 1 ,
P ( E ∣ θ ) ≥ 1 2 2 π ρ min exp ( − ρ min 2 2 ) . (37) P(E|\theta)\ge\frac{1}{2\sqrt{2\pi}\,\rho_{\min}}\exp\left(-\frac{\rho_{\min}^{2}}{2}\right). \tag*{(37)} P ( E ∣ θ ) ≥ 2 2 π ρ m i n 1 exp ( − 2 ρ m i n 2 ) . (37)
Proof. From the definition (15) of the event E E E , { R 1 k ≤ 1 } ⊆ E \{R_{1k}\le1\}\subseteq E { R 1 k ≤ 1 } ⊆ E for any k ≠ 1 k\ne1 k = 1 , so
P ( E ∣ θ ) ≥ max k ≠ 1 P ( R 1 k ≤ 1 ∣ θ ) = max k ≠ 1 Q ( ρ 1 k ) = Q ( ρ min ) , (38) P(E|\theta)\ge\max_{k\ne1}P(R_{1k}\le1|\theta)=\max_{k\ne1}Q(\rho_{1k})=Q(\rho_{\min}), \tag*{(38)} P ( E ∣ θ ) ≥ k = 1 max P ( R 1 k ≤ 1∣ θ ) = k = 1 max Q ( ρ 1 k ) = Q ( ρ m i n ) , (38)
where the last equality follows from the monotone decrease of Q Q Q . When ρ min ≥ 1 \rho_{\min}\ge1 ρ m i n ≥ 1 , applying the lower bound ((34) ) of Lemma 2 yields ((37) ).
The bound plays the role of the sphere-packing bound in that the error against the nearest competitor cannot be avoided; unlike the sphere-packing bound of channel coding, it is a pairwise bound and involves no counting of decoding regions.
Remark 2 (ρ min \rho_{\min} ρ m i n for equidistant codes). For an equidistant code, d H ( c 1 , c k ) d_H(c_1,c_k) d H ( c 1 , c k ) does not depend on k k k , so ρ 1 k ∝ ∣ μ 1 k ∣ \rho_{1k}\propto|\mu_{1k}| ρ 1 k ∝ ∣ μ 1 k ∣ and ρ min \rho_{\min} ρ m i n is attained by the competitor with the smallest ∣ μ 1 k ∣ |\mu_{1k}| ∣ μ 1 k ∣ . At finite M M M this need not be c 2 c_2 c 2 , but ρ min ≤ ρ 12 \rho_{\min}\le\rho_{12} ρ m i n ≤ ρ 12 always holds, so the lower bounds below are stated with c 2 c_2 c 2 ; for n v R nvR n v R codes, ρ min = ρ 12 \rho_{\min}=\rho_{12} ρ m i n = ρ 12 for all sufficiently large M M M in the asymptotic regime of § 6 (Appendix § 16 ).
Corollary 2 (Necessity of the distance to the most probable competitor). For k ≠ 1 k\ne1 k = 1 let B k ( θ ) ≜ ln 1 − θ k θ k B_k(\theta)\triangleq\ln\frac{1-\theta_k}{\theta_k} B k ( θ ) ≜ ln θ k 1 − θ k , and let B ( θ ) ≜ B M ( θ ) = max k ≠ 1 B k ( θ ) B(\theta)\triangleq B_M(\theta)=\max_{k\ne1}B_k(\theta) B ( θ ) ≜ B M ( θ ) = max k = 1 B k ( θ ) . For any code word table and any θ ∈ Ω ( λ ) \theta\in\Omega(\lambda) θ ∈ Ω ( λ ) ,
Δ ( θ ) ≥ λ Q ( ρ min ) ≥ λ Q ( min k ≠ 1 d H ( c 1 , c k ) B k ( θ ) σ ) ≥ λ Q ( d min ( c 1 ) B ( θ ) σ ) > 0. (39) \Delta(\theta)\ge\lambda Q(\rho_{\min})\ge\lambda Q\left(\min_{k\ne1}\frac{\sqrt{d_H(c_1,c_k)}B_k(\theta)}{\sigma}\right)\ge\lambda Q\left(\frac{\sqrt{d_{\min}(c_1)}B(\theta)}{\sigma}\right)>0. \tag*{(39)} Δ ( θ ) ≥ λ Q ( ρ m i n ) ≥ λ Q ( k = 1 min σ d H ( c 1 , c k ) B k ( θ ) ) ≥ λ Q ( σ d m i n ( c 1 ) B ( θ ) ) > 0. (39)
In particular Δ ( θ ) ≥ λ Q ( d H ( c 1 , c 2 ) B 2 ( θ ) / σ ) \Delta(\theta)\ge\lambda Q\left(\sqrt{d_H(c_1,c_2)}B_2(\theta)/\sigma\right) Δ ( θ ) ≥ λ Q ( d H ( c 1 , c 2 ) B 2 ( θ ) / σ ) , which depends on θ \theta θ only through λ \lambda λ and θ 2 \theta_2 θ 2 : as long as the distance between the code words of the two most probable categories is bounded, the excess error rate is bounded below by a positive constant that depends neither on the code length nor on M M M .
Proof. The first inequality follows from Δ ( θ ) ≥ λ P ( E ∣ θ ) \Delta(\theta) \ge\lambda P(E \mid\theta) Δ ( θ ) ≥ λ P ( E ∣ θ ) (Proposition 2) and Lemma 3. For the second, fix k ≠ 1 k \ne1 k = 1 and a column j j j with w 1 j ≠ w k j w_{1j} \ne w_{kj} w 1 j = w k j . The side containing c k c_k c k has posterior mass f j ∗ ( w k j ∣ θ ) ∈ [ θ k , 1 − θ 1 ] f_j^*(w_{kj} \mid\theta) \in[\theta_k,1-\theta_1] f j ∗ ( w k j ∣ θ ) ∈ [ θ k , 1 − θ 1 ] and the side containing c 1 c_1 c 1 has mass f j ∗ ( w 1 j ∣ θ ) = 1 − f j ∗ ( w k j ∣ θ ) ∈ [ θ 1 , 1 − θ k ] f_j^*(w_{1j} \mid\theta)=1-f_j^*(w_{kj} \mid\theta) \in[\theta_1,1-\theta_k] f j ∗ ( w 1 j ∣ θ ) = 1 − f j ∗ ( w k j ∣ θ ) ∈ [ θ 1 , 1 − θ k ] , so
θ k 1 − θ k ≤ f j ∗ ( w k j ∣ θ ) f j ∗ ( w 1 j ∣ θ ) ≤ 1 − θ 1 θ 1 . (40) \frac{\theta_k}{1-\theta_k} \le\frac{f_j^*(w_{kj} \mid\theta)}{f_j^*(w_{1j} \mid\theta)} \le\frac{1-\theta_1}{\theta_1}. \tag*{(40)} 1 − θ k θ k ≤ f j ∗ ( w 1 j ∣ θ ) f j ∗ ( w k j ∣ θ ) ≤ θ 1 1 − θ 1 . (40)
Since θ k < θ 1 \theta_k < \theta_1 θ k < θ 1 and θ 1 + θ k ≤ 1 \theta_1+\theta_k \le1 θ 1 + θ k ≤ 1 , both ∣ ln 1 − θ 1 θ 1 ∣ \left|\ln\frac{1-\theta_1}{\theta_1}\right| ln θ 1 1 − θ 1 and ln 1 − θ k θ k \ln\frac{1-\theta_k}{\theta_k} ln θ k 1 − θ k are at most B k ( θ ) B_k(\theta) B k ( θ ) , and the log ratio of every such column lies in [ − B k ( θ ) , B k ( θ ) ] [-B_k(\theta),B_k(\theta)] [ − B k ( θ ) , B k ( θ )] . Columns with w 1 j = w k j w_{1j}=w_{kj} w 1 j = w k j do not contribute to μ 1 k \mu_{1k} μ 1 k , so
∣ μ 1 k ∣ ≤ d H ( c 1 , c k ) B k ( θ ) (41) |\mu_{1k}| \le d_H(c_1,c_k) B_k(\theta) \tag*{(41)} ∣ μ 1 k ∣ ≤ d H ( c 1 , c k ) B k ( θ ) (41)
and
ρ min ≤ ρ 1 k ≤ ∣ μ 1 k ∣ σ d H ( c 1 , c k ) ≤ d H ( c 1 , c k ) B k ( θ ) σ (42) \rho_{\min} \le\rho_{1k} \le\frac{|\mu_{1k}|}{\sigma\sqrt{d_H(c_1,c_k)}} \le\frac{\sqrt{d_H(c_1,c_k)}B_k(\theta)}{\sigma} \tag*{(42)} ρ m i n ≤ ρ 1 k ≤ σ d H ( c 1 , c k ) ∣ μ 1 k ∣ ≤ σ d H ( c 1 , c k ) B k ( θ ) (42)
for every k ≠ 1 k \ne1 k = 1 ; the second inequality of (39) follows from the monotone decrease of Q Q Q . The third follows by taking k = arg min k ′ ≠ 1 d H ( c 1 , c k ′ ) k=\operatorname*{arg\,min}_{k'\ne1}d_H(c_1,c_{k'}) k = arg min k ′ = 1 d H ( c 1 , c k ′ ) and using B k ( θ ) ≤ B M ( θ ) B_k(\theta)\le B_M(\theta) B k ( θ ) ≤ B M ( θ ) , since θ k ≥ θ M \theta_k\ge\theta_M θ k ≥ θ M and ln 1 − t t \ln\frac{1-t}{t} ln t 1 − t is decreasing in t t t .
Explicit lower bound for n v R nvR n v R codes [n ≥ 2]
For n v R nvR n v R codes with n ≥ 2 n\ge2 n ≥ 2 we evaluate ρ min \rho_{\min} ρ m i n as an explicit function of θ \theta θ , which requires a lower bound on μ 1 k \mu_{1k} μ 1 k (an upper bound on ∣ μ 1 k ∣ |\mu_{1k}| ∣ μ 1 k ∣ ).
Lemma 4 (Lower bound on η \eta η ). For the same pair ( f j , f j ′ ) (f_j,f_{j'}) ( f j , f j ′ ) as in Lemma 1, if θ 1 > θ k \theta_1>\theta_k θ 1 > θ k then
η j ( α j ; θ 1 , θ k ) ≥ ( 1 − θ 1 ) θ k θ 1 ( 1 − θ k ) (43) \eta_j(\alpha_j;\theta_1,\theta_k)\ge\frac{(1-\theta_1)\theta_k}{\theta_1(1-\theta_k)} \tag*{(43)} η j ( α j ; θ 1 , θ k ) ≥ θ 1 ( 1 − θ k ) ( 1 − θ 1 ) θ k (43) with equality at both endpoints α j = 0 \alpha_j=0 α j = 0 and α j = 1 − θ 1 − θ k \alpha_j=1-\theta_1-\theta_k α j = 1 − θ 1 − θ k .
Proof sketch. When θ 1 > θ k \theta_1>\theta_k θ 1 > θ k , η j \eta_j η j is unimodal in α j \alpha_j α j on [ 0 , 1 − θ 1 − θ k ] [0,1-\theta_1-\theta_k] [ 0 , 1 − θ 1 − θ k ] (increasing up to the interior maximum of Lemma 1 and decreasing after it), so its minimum is attained at an endpoint, and both endpoint values equal ( 1 − θ 1 ) θ k θ 1 ( 1 − θ k ) \frac{(1-\theta_1)\theta_k}{\theta_1(1-\theta_k)} θ 1 ( 1 − θ k ) ( 1 − θ 1 ) θ k (Appendix B).
Proposition 6 (Lower bound on μ 1 k \mu_{1k} μ 1 k : n v R nvR n v R code, n ≥ 2 n\ge2 n ≥ 2 ). When the code word table is an n v R nvR n v R code,
μ 1 k ≥ d ( n , M ) 2 ln ( ( 1 − θ 1 ) θ k θ 1 ( 1 − θ k ) ) (44) \mu_{1k}\ge\frac{d(n,M)}{2}\ln\left(\frac{(1-\theta_1)\theta_k}{\theta_1(1-\theta_k)}\right) \tag*{(44)} μ 1 k ≥ 2 d ( n , M ) ln ( θ 1 ( 1 − θ k ) ( 1 − θ 1 ) θ k ) (44) Proof. From the equidistance and the pair structure of the n v R nvR n v R code,
g ∗ ( c k ∣ θ ) g ∗ ( c 1 ∣ θ ) = ∏ p a i r s η j ( α j ; θ 1 , θ k ) . (45) \frac{g^*(c_k\mid\theta)}{g^*(c_1\mid\theta)}=\prod_{\mathrm{pairs}}\eta_j(\alpha_j;\theta_1,\theta_k). \tag*{(45)} g ∗ ( c 1 ∣ θ ) g ∗ ( c k ∣ θ ) = pairs ∏ η j ( α j ; θ 1 , θ k ) . (45) The number of pairs is d ( n , M ) / 2 d(n,M)/2 d ( n , M ) /2 , so applying Lemma 4,
g ∗ ( c k ∣ θ ) g ∗ ( c 1 ∣ θ ) ≥ ( ( 1 − θ 1 ) θ k θ 1 ( 1 − θ k ) ) d ( n , M ) / 2 . (46) \frac{g^*(c_k\mid\theta)}{g^*(c_1\mid\theta)}\ge\left(\frac{(1-\theta_1)\theta_k}{\theta_1(1-\theta_k)}\right)^{d(n,M)/2}. \tag*{(46)} g ∗ ( c 1 ∣ θ ) g ∗ ( c k ∣ θ ) ≥ ( θ 1 ( 1 − θ k ) ( 1 − θ 1 ) θ k ) d ( n , M ) /2 . (46) Taking the logarithm yields (44).
With
ρ 1 k U ≜ d ( n , M ) 2 σ ∣ ln ( 1 − θ 1 ) θ k θ 1 ( 1 − θ k ) ∣ (47) \rho^U_{1k}\triangleq\frac{\sqrt{d(n,M)}}{2\sigma}\left|\ln\frac{(1-\theta_1)\theta_k}{\theta_1(1-\theta_k)}\right| \tag*{(47)} ρ 1 k U ≜ 2 σ d ( n , M ) ln θ 1 ( 1 − θ k ) ( 1 − θ 1 ) θ k (47) Proposition 6 gives ρ 1 k ≤ ρ 1 k U \rho_{1k}\le\rho^U_{1k} ρ 1 k ≤ ρ 1 k U .
Proposition 7 (Lower bound on the excess error rate: n v nv n v R code, n ≥ 2 n \ge2 n ≥ 2 ). When the code word table is an n v nv n v R code with n ≥ 2 n \ge2 n ≥ 2 , for θ ∈ Ω ( λ ) \theta\in\Omega(\lambda) θ ∈ Ω ( λ ) ,
Δ ( θ ) ≥ λ Q ( ρ 12 U ) , (48) \Delta(\theta) \ge\lambda Q(\rho_{12}^{\mathrm{U}}), \tag*{(48)} Δ ( θ ) ≥ λ Q ( ρ 12 U ) , (48) and, when ρ 12 U ≥ 1 \rho_{12}^{\mathrm{U}} \ge1 ρ 12 U ≥ 1 ,
Δ ( θ ) ≥ λ 2 2 π ρ 12 U exp ( − ( ρ 12 U ) 2 2 ) , ( ρ 12 U ) 2 2 = d ( n , M ) ⋅ 1 8 σ 2 ln 2 ( θ 1 ( 1 − θ 2 ) ( 1 − θ 1 ) θ 2 ) . (49) \Delta(\theta) \ge\frac{\lambda}{2\sqrt{2\pi}\,\rho_{12}^{\mathrm{U}}}\exp\left(-\frac{(\rho_{12}^{\mathrm{U}})^2}{2}\right), \qquad\frac{(\rho_{12}^{\mathrm{U}})^2}{2} = d(n,M)\cdot\frac{1}{8\sigma^2}\ln^2\left(\frac{\theta_1(1-\theta_2)}{(1-\theta_1)\theta_2}\right). \tag*{(49)} Δ ( θ ) ≥ 2 2 π ρ 12 U λ exp ( − 2 ( ρ 12 U ) 2 ) , 2 ( ρ 12 U ) 2 = d ( n , M ) ⋅ 8 σ 2 1 ln 2 ( ( 1 − θ 1 ) θ 2 θ 1 ( 1 − θ 2 ) ) . (49) Proof. By Proposition 2, Δ ( θ ) ≥ λ P ( E ∣ θ ) \Delta(\theta) \ge\lambda P(E\mid\theta) Δ ( θ ) ≥ λ P ( E ∣ θ ) , and { R 12 ≤ 1 } ⊆ E \{R_{12} \le1\} \subseteq E { R 12 ≤ 1 } ⊆ E gives P ( E ∣ θ ) ≥ Q ( ρ 12 ) P(E\mid\theta) \ge Q(\rho_{12}) P ( E ∣ θ ) ≥ Q ( ρ 12 ) . From ρ 12 ≤ ρ 12 U \rho_{12} \le\rho_{12}^{\mathrm{U}} ρ 12 ≤ ρ 12 U and the monotone decrease of Q Q Q , we obtain (48). Equation (49) follows from the lower bound (34) of Lemma 2. The expression for ( ρ 12 U ) 2 / 2 (\rho_{12}^{\mathrm{U}})^2/2 ( ρ 12 U ) 2 /2 in (49) follows by substituting (47).
Tightness: the Reliability Function
All results in this section are restricted to n v nv n v R codes with n ≥ 2 n \ge2 n ≥ 2 .
Strategy. For an equidistant code, Lemma 3 and the union bound give Q ( ρ 12 ) ≤ P ( E ∣ θ ) ≤ ( M − 1 ) Q ( ρ min ) Q(\rho_{12}) \le P(E\mid\theta) \le(M-1)Q(\rho_{\min}) Q ( ρ 12 ) ≤ P ( E ∣ θ ) ≤ ( M − 1 ) Q ( ρ m i n ) , and ρ min = ρ 12 \rho_{\min} = \rho_{12} ρ m i n = ρ 12 for all sufficiently large M M M , so up to the prefactor the upper and lower exponents share the value ( ρ 12 U ) 2 / 2 (\rho_{12}^{\mathrm{U}})^2/2 ( ρ 12 U ) 2 /2 . The tightness does not come from equating the bounds on μ 1 k \mu_{1k} μ 1 k (their coefficients d ( n , M ) d(n,M) d ( n , M ) and d ( n , M ) / 2 d(n,M)/2 d ( n , M ) /2 differ); it follows from the sharp asymptotic value of μ 12 \mu_{12} μ 12 (Lemma 6), μ 12 / ( d ( n , M ) / 2 ) → ln ( ( 1 − θ 1 ) θ 2 θ 1 ( 1 − θ 2 ) ) \mu_{12}/(d(n,M)/2) \to\ln\left(\frac{(1-\theta_1)\theta_2}{\theta_1(1-\theta_2)}\right) μ 12 / ( d ( n , M ) /2 ) → ln ( θ 1 ( 1 − θ 2 ) ( 1 − θ 1 ) θ 2 ) , so both exponents converge to
e l o w e r ≜ 1 8 σ 2 ln 2 ( θ 1 ( 1 − θ 2 ) ( 1 − θ 1 ) θ 2 ) (50) e_{\mathrm{lower}} \triangleq\frac{1}{8\sigma^2}\ln^2\left(\frac{\theta_1(1-\theta_2)}{(1-\theta_1)\theta_2}\right) \tag*{(50)} e lower ≜ 8 σ 2 1 ln 2 ( ( 1 − θ 1 ) θ 2 θ 1 ( 1 − θ 2 ) ) (50)
(Proposition 8); the subscript reflects that e l o w e r e_{\mathrm{lower}} e lower first appears as the exponent of the lower bound (49).
Lemma 5 (Sandwich on P ( E ∣ θ ) P(E\mid\theta) P ( E ∣ θ ) : n v nv n v R code, n ≥ 2 n \ge2 n ≥ 2 ). When the code word table is an n v nv n v R code, for θ ∈ Ω ( λ ) \theta\in\Omega(\lambda) θ ∈ Ω ( λ ) ,
Q ( d ( n , M ) 2 σ ∣ ln ( ( 1 − θ 1 ) θ 2 θ 1 ( 1 − θ 2 ) ) ∣ ) ≤ P ( E ∣ θ ) ≤ ( M − 1 ) exp ( − d ( n , M ) 2 σ 2 ln 2 ( 1 + λ 1 − λ ) ) . (51) Q\left(\frac{\sqrt{d(n,M)}}{2\sigma}\left|\ln\left(\frac{(1-\theta_1)\theta_2}{\theta_1(1-\theta_2)}\right)\right|\right) \le P(E\mid\theta) \le(M-1)\exp\left(-\frac{d(n,M)}{2\sigma^2}\ln^2\left(\frac{1+\lambda}{1-\lambda}\right)\right). \tag*{(51)} Q ( 2 σ d ( n , M ) ln ( θ 1 ( 1 − θ 2 ) ( 1 − θ 1 ) θ 2 ) ) ≤ P ( E ∣ θ ) ≤ ( M − 1 ) exp ( − 2 σ 2 d ( n , M ) ln 2 ( 1 − λ 1 + λ ) ) . (51) Proof. Lower bound: by Proposition 6, ρ 1 k ≤ ρ 1 k U \rho_{1k} \le\rho_{1k}^{\mathrm{U}} ρ 1 k ≤ ρ 1 k U (Eq. (47)). From P ( E ∣ θ ) ≥ Q ( ρ 12 ) ≥ Q ( ρ 12 U ) P(E\mid\theta) \ge Q(\rho_{12}) \ge Q(\rho_{12}^{\mathrm{U}}) P ( E ∣ θ ) ≥ Q ( ρ 12 ) ≥ Q ( ρ 12 U ) (Q Q Q is monotone decreasing), we obtain the left inequality of (51).
Upper bound: the right inequality of (51) follows from (32), the union bound and the Chernoff bound, as in the proof of Corollary 1.
Remark 3 (Why the minimum distance suffices here). The factor M − 1 M-1 M − 1 in (51) comes from a union bound over the M − 1 M-1 M − 1 competitors, each at distance d d d — exact for an equidistant code. For equidistant signal sets on the additive white Gaussian noise channel, such as orthogonal and simplex signals, it is classical that this union bound and the pairwise lower bound share the exponent (Viterbi & Omura, 1979; Gallager, 1968); here, unlike there, the signal μ 1 k \mu_{1k} μ 1 k is set by the posterior rather than by a fixed signal energy and differs across competitors, and the exponent follows from the asymptotic value of μ 12 \mu_{12} μ 12 (Lemma 6). For a general code the union bound is ∑ δ A δ Q ( ρ ( δ ) ) \sum_{\delta} A_{\delta} Q(\rho(\delta)) ∑ δ A δ Q ( ρ ( δ )) , where A δ A_{\delta} A δ is the number of competitors at distance δ \delta δ from c 1 c_1 c 1 , and ( M − 1 ) Q ( ρ min ) (M-1)Q(\rho_{\min}) ( M − 1 ) Q ( ρ m i n ) can be loose by up to a factor of M M M when only one competitor is close. The n v nv n v R restriction is thus the case in which the distance spectrum is degenerate and the minimum distance is a complete summary.
Lemma 6 (Asymptotically exact value of μ 12 \mu_{12} μ 12 : n v nv n v R code). For an n v nv n v R code with n ≥ 2 n \ge2 n ≥ 2 , fix n n n and let M → ∞ M \to\infty M → ∞ . Assume that θ 1 , θ 2 \theta_1,\theta_2 θ 1 , θ 2 are fixed independently of M M M (with 1 − θ 1 − θ 2 > 0 1-\theta_1-\theta_2 > 0 1 − θ 1 − θ 2 > 0 ) and that the posterior probabilities of the remaining categories satisfy θ i = O ( 1 / M ) \theta_i = O(1/M) θ i = O ( 1/ M ) (i ≥ 3 i \ge3 i ≥ 3 ); the uniform allocation θ i = ( 1 − θ 1 − θ 2 ) / ( M − 2 ) \theta_i = (1-\theta_1-\theta_2)/(M-2) θ i = ( 1 − θ 1 − θ 2 ) / ( M − 2 ) is an example. Then
μ 12 d ( n , M ) / 2 → ln ( ( 1 − θ 1 ) θ 2 θ 1 ( 1 − θ 2 ) ) ( M → ∞ ) , (52) \frac{\mu_{12}}{d(n,M)/2} \to\ln\left(\frac{(1-\theta_1)\theta_2}{\theta_1(1-\theta_2)}\right) \qquad(M \to\infty), \tag*{(52)} d ( n , M ) /2 μ 12 → ln ( θ 1 ( 1 − θ 2 ) ( 1 − θ 1 ) θ 2 ) ( M → ∞ ) , (52)
and, more precisely,
μ 12 d ( n , M ) / 2 − ln ( 1 − θ 1 ) θ 2 θ 1 ( 1 − θ 2 ) ≤ β ( θ 1 , θ 2 , n ) M − 2 (53) \frac{\mu_{12}}{d(n,M)/2}-\ln\frac{(1-\theta_1)\theta_2}{\theta_1(1-\theta_2)}\le\frac{\beta(\theta_1,\theta_2,n)}{M-2} \tag*{(53)} d ( n , M ) /2 μ 12 − ln θ 1 ( 1 − θ 2 ) ( 1 − θ 1 ) θ 2 ≤ M − 2 β ( θ 1 , θ 2 , n ) (53)
for every M ≥ 2 n M\ge2n M ≥ 2 n , where β ( θ 1 , θ 2 , n ) ≜ ( 1 θ 1 + 1 θ 2 − 1 1 − θ 1 − 1 1 − θ 2 ) ( n − 1 ) ( 1 − θ 1 − θ 2 ) \beta(\theta_1,\theta_2,n)\triangleq\left(\frac{1}{\theta_1}+\frac{1}{\theta_2}-\frac{1}{1-\theta_1}-\frac{1}{1-\theta_2}\right)(n-1)(1-\theta_1-\theta_2) β ( θ 1 , θ 2 , n ) ≜ ( θ 1 1 + θ 2 1 − 1 − θ 1 1 − 1 − θ 2 1 ) ( n − 1 ) ( 1 − θ 1 − θ 2 ) . The bound (53) uses only ∑ i ≥ 3 θ i = 1 − θ 1 − θ 2 \sum_{i\ge3}\theta_i=1-\theta_1-\theta_2 ∑ i ≥ 3 θ i = 1 − θ 1 − θ 2 , not θ i = O ( 1 / M ) \theta_i=O(1/M) θ i = O ( 1/ M ) ; if moreover θ i > 0 \theta_i>0 θ i > 0 for all i ≥ 3 i\ge3 i ≥ 3 , then μ 12 / ( d ( n , M ) / 2 ) \mu_{12}/(d(n,M)/2) μ 12 / ( d ( n , M ) /2 ) is strictly larger than its limit for every M ≥ 2 n M\ge2n M ≥ 2 n .
Proof sketch. The log ratio γ ( α S ) = ln ( 1 − θ 1 − α S ) ( θ 2 + α S ) ( θ 1 + α S ) ( 1 − θ 2 − α S ) \gamma(\alpha_S)=\ln\frac{(1-\theta_1-\alpha_S)(\theta_2+\alpha_S)}{(\theta_1+\alpha_S)(1-\theta_2-\alpha_S)} γ ( α S ) = ln ( θ 1 + α S ) ( 1 − θ 2 − α S ) ( 1 − θ 1 − α S ) ( θ 2 + α S ) of each classifier pair satisfies γ ( 0 ) ≤ γ ( α S ) ≤ γ ( 0 ) + c ′ α S \gamma(0)\le\gamma(\alpha_S)\le\gamma(0)+c'\alpha_S γ ( 0 ) ≤ γ ( α S ) ≤ γ ( 0 ) + c ′ α S with c ′ = 1 / θ 1 + 1 / θ 2 − 1 / ( 1 − θ 1 ) − 1 / ( 1 − θ 2 ) c'=1/\theta_1+1/\theta_2-1/(1-\theta_1)-1/(1-\theta_2) c ′ = 1/ θ 1 + 1/ θ 2 − 1/ ( 1 − θ 1 ) − 1/ ( 1 − θ 2 ) ; averaging over the subsets S S S spanning the pairs, whose mean α ˉ S \bar{\alpha}_S α ˉ S is ( n − 1 ) ( 1 − θ 1 − θ 2 ) / ( M − 2 ) (n-1)(1-\theta_1-\theta_2)/(M-2) ( n − 1 ) ( 1 − θ 1 − θ 2 ) / ( M − 2 ) , gives the claim (Appendix E).
Definition 6 (ECOC reliability function). For an n v R nvR n v R code with n n n fixed and M → ∞ M\to\infty M → ∞ (hence d ( n , M ) → ∞ d(n,M)\to\infty d ( n , M ) → ∞ ),
E E C O C ( θ , σ ) ≜ − lim d ( n , M ) → ∞ ln P ( E ∣ θ ) d ( n , M ) . (54) E_{\mathrm{ECOC}}(\theta,\sigma)\triangleq-\lim_{d(n,M)\to\infty}\frac{\ln P(E\mid\theta)}{d(n,M)}. \tag*{(54)} E ECOC ( θ , σ ) ≜ − d ( n , M ) → ∞ lim d ( n , M ) ln P ( E ∣ θ ) . (54) Since θ \theta θ has dimension M M M , it is understood as a sequence θ ( M ) ∈ Ω ( λ ) \theta^{(M)}\in\Omega(\lambda) θ ( M ) ∈ Ω ( λ ) with θ 1 ( M ) = θ 1 \theta_1^{(M)}=\theta_1 θ 1 ( M ) = θ 1 and θ 2 ( M ) = θ 2 \theta_2^{(M)}=\theta_2 θ 2 ( M ) = θ 2 fixed and θ i ( M ) = O ( 1 / M ) \theta_i^{(M)}=O(1/M) θ i ( M ) = O ( 1/ M ) (i ≥ 3 i\ge3 i ≥ 3 ), the family of Lemma 6; Proposition 8 shows that the limit does not depend on the particular sequence.
Proposition 8 (Existence and value of the reliability function). For an n v R nvR n v R code with n ≥ 2 n\ge2 n ≥ 2 and any sequence θ ( M ) \theta^{(M)} θ ( M ) of the family above, the ECOC reliability function exists and
E E C O C ( θ , σ ) = e l o w e r = 1 8 σ 2 ln 2 ( θ 1 ( 1 − θ 2 ) ( 1 − θ 1 ) θ 2 ) . (55) E_{\mathrm{ECOC}}(\theta,\sigma)=e_{\mathrm{lower}}=\frac{1}{8\sigma^2}\ln^2\left(\frac{\theta_1(1-\theta_2)}{(1-\theta_1)\theta_2}\right). \tag*{(55)} E ECOC ( θ , σ ) = e lower = 8 σ 2 1 ln 2 ( ( 1 − θ 1 ) θ 2 θ 1 ( 1 − θ 2 ) ) . (55) Proof sketch. By Lemma 6, ρ 12 2 / ( 2 d ( n , M ) ) → e l o w e r \rho_{12}^2/(2d(n,M))\to e_{\mathrm{lower}} ρ 12 2 / ( 2 d ( n , M )) → e lower , and ρ min = ρ 12 \rho_{\min}=\rho_{12} ρ m i n = ρ 12 for all sufficiently large M M M . The union and Chernoff bounds give lim inf − ln P ( E ∣ θ ) d ≥ e l o w e r \liminf-\frac{\ln P(E\mid\theta)}{d}\ge e_{\mathrm{lower}} lim inf − d l n P ( E ∣ θ ) ≥ e lower , and Lemmas 3 and 2 give lim sup − ln P ( E ∣ θ ) d ≤ e l o w e r \limsup-\frac{\ln P(E\mid\theta)}{d}\le e_{\mathrm{lower}} lim sup − d l n P ( E ∣ θ ) ≤ e lower , so the limit exists and equals e l o w e r e_{\mathrm{lower}} e lower (Appendix F).
Corollary 3 (Reliability function of the excess error rate). For an n v R nvR n v R code with n ≥ 2 n\ge2 n ≥ 2 ,
− lim d ( n , M ) → ∞ ln Δ ( θ ) d ( n , M ) = E E C O C ( θ , σ ) . (56) -\lim_{d(n,M)\to\infty}\frac{\ln\Delta(\theta)}{d(n,M)}=E_{\mathrm{ECOC}}(\theta,\sigma). \tag*{(56)} − d ( n , M ) → ∞ lim d ( n , M ) ln Δ ( θ ) = E ECOC ( θ , σ ) . (56) Proof. Taking the logarithm of the two-sided evaluation λ P ( E ∣ θ ) ≤ Δ ( θ ) ≤ θ 1 P ( E ∣ θ ) \lambda P(E\mid\theta)\le\Delta(\theta)\le\theta_1P(E\mid\theta) λ P ( E ∣ θ ) ≤ Δ ( θ ) ≤ θ 1 P ( E ∣ θ ) of Proposition 2 and dividing by d ( n , M ) d(n,M) d ( n , M ) ,
− ln ( θ 1 P ( E ∣ θ ) ) d ( n , M ) ≤ − ln Δ ( θ ) d ( n , M ) ≤ − ln ( λ P ( E ∣ θ ) ) d ( n , M ) . (57) \frac{-\ln(\theta_1P(E\mid\theta))}{d(n,M)}\le\frac{-\ln\Delta(\theta)}{d(n,M)}\le\frac{-\ln(\lambda P(E\mid\theta))}{d(n,M)}. \tag*{(57)} d ( n , M ) − ln ( θ 1 P ( E ∣ θ )) ≤ d ( n , M ) − ln Δ ( θ ) ≤ d ( n , M ) − ln ( λ P ( E ∣ θ )) . (57) Since λ , θ 1 \lambda,\theta_1 λ , θ 1 are positive constants independent of d ( n , M ) d(n,M) d ( n , M ) , we have − ln λ / d ( n , M ) → 0 -\ln\lambda/d(n,M)\to0 − ln λ / d ( n , M ) → 0 and − ln θ 1 / d ( n , M ) → 0 -\ln\theta_1/d(n,M)\to0 − ln θ 1 / d ( n , M ) → 0 as d ( n , M ) → ∞ d(n,M)\to\infty d ( n , M ) → ∞ . Hence both sides have the same limit as − ln P ( E ∣ θ ) / d ( n , M ) -\ln P(E\mid\theta)/d(n,M) − ln P ( E ∣ θ ) / d ( n , M ) , and (56) follows from Proposition 8.
The coefficient κ 2 ( λ , σ ) \kappa_2(\lambda,\sigma) κ 2 ( λ , σ ) of Corollary 1 holds uniformly over Ω ( λ ) \Omega(\lambda) Ω ( λ ) , whereas E E C O C ( θ , σ ) E_{\mathrm{ECOC}}(\theta,\sigma) E ECOC ( θ , σ ) is the exact exponent at each θ \theta θ ; they are related as follows.
Lemma 7 (Uniform and pointwise exponents). For any θ ∈ Ω ( λ ) \theta\in\Omega(\lambda) θ ∈ Ω ( λ ) , E E C O C ( θ , σ ) ≥ κ 2 ( λ , σ ) E_{\mathrm{ECOC}}(\theta,\sigma)\ge\kappa_2(\lambda,\sigma) E ECOC ( θ , σ ) ≥ κ 2 ( λ , σ ) , with equality in the limit θ 1 + θ 2 → 1 \theta_1+\theta_2\to1 θ 1 + θ 2 → 1 , θ 1 − θ 2 = λ \theta_1-\theta_2=\lambda θ 1 − θ 2 = λ ; that is, κ 2 ( λ , σ ) = inf θ ∈ Ω ( λ ) E E C O C ( θ , σ ) \kappa_2(\lambda,\sigma)=\inf_{\theta\in\Omega(\lambda)}E_{\mathrm{ECOC}}(\theta,\sigma) κ 2 ( λ , σ ) = inf θ ∈ Ω ( λ ) E ECOC ( θ , σ ) (Appendix C).
The convergence of Lemma 6 (the O ( 1 / M ) O(1/M) O ( 1/ M ) rate, M = 4 M=4 M = 4 –500 500 500 ), that of the Monte Carlo exponent − ln P ( E ∣ θ ) / d ( n , M ) -\ln P(E\mid\theta)/d(n,M) − ln P ( E ∣ θ ) / d ( n , M ) to E E C O C E_{\mathrm{ECOC}} E ECOC , and the consistency of Lemma 5 with Monte Carlo estimates (4 ≤ M ≤ 20 4\le M\le20 4 ≤ M ≤ 20 ) are verified numerically in Appendix H. In all cases examined there (n = 2 n=2 n = 2 ), the finite-length exponent exceeds e l o w e r e_{\mathrm{lower}} e lower . This excess comes from the subexponential prefactor of P ( E ∣ θ ) P(E\mid\theta) P ( E ∣ θ ) ; the correction term of Lemma 6 acts in the opposite direction, since r ( M ) > 0 r(M)>0 r ( M ) > 0 implies ρ 12 2 / ( 2 d ( n , M ) ) < e l o w e r \rho_{12}^2/(2d(n,M))<e_{\mathrm{lower}} ρ 12 2 / ( 2 d ( n , M )) < e lower . The excess is therefore not guaranteed in general: for n ≥ 3 n \ge3 n ≥ 3 and the family of Definition 6, d ( n , M ) = Θ ( M n − 1 ) d(n,M)=\Theta(M^{n-1}) d ( n , M ) = Θ ( M n − 1 ) grows fast enough that the O ( 1 / M ) O(1/M) O ( 1/ M ) correction dominates the prefactor, and Lemma 3 with (33) gives − ln P ( E ∣ θ ) / d ( n , M ) < ϵ l o w e r -\ln P(E\mid\theta)/d(n,M)<\epsilon_{\mathrm{lower}} − ln P ( E ∣ θ ) / d ( n , M ) < ϵ lower for sufficiently large M M M (in the setting of Appendix H, for n = 3 n=3 n = 3 and M ≥ 25 M\ge25 M ≥ 25 ).
Main Theorem and Specific Codes
Theorem 1 (Characterization of the excess error rate by the minimum distance). Under Assumption 1, for θ ∈ Ω ( λ ) \theta\in\Omega(\lambda) θ ∈ Ω ( λ ) (λ > 0 \lambda>0 λ > 0 ):
Sufficiency (Proposition 5, Corollary 1): Δ ( θ ) ≤ ( M − 1 ) exp ( − κ d min ( c 1 ) ) \Delta(\theta)\le(M-1)\exp(-\kappa d_{\min}(c_1)) Δ ( θ ) ≤ ( M − 1 ) exp ( − κ d m i n ( c 1 )) , with κ = κ 1 ( θ 1 , ω ( n min ) ) \kappa=\kappa_1(\theta_1,\omega(n_{\min})) κ = κ 1 ( θ 1 , ω ( n m i n )) for any code word table satisfying the conditions of Proposition 5 and κ = κ 2 ( λ , σ ) \kappa=\kappa_2(\lambda,\sigma) κ = κ 2 ( λ , σ ) for nvR codes. Since the binary classifiers are distinct, N < 2 M N<2^M N < 2 M , so d min ( c 1 ) ≤ N d_{\min}(c_1)\le N d m i n ( c 1 ) ≤ N is bounded at fixed M M M and can grow only together with M M M ; along any sequence of code word tables, Δ ( θ ) → 0 \Delta(\theta)\to0 Δ ( θ ) → 0 whenever κ d min ( c 1 ) − ln ( M − 1 ) → ∞ \kappa d_{\min}(c_1)-\ln(M-1)\to\infty κ d m i n ( c 1 ) − ln ( M − 1 ) → ∞ . For nvR codes with n ≥ 2 n\ge2 n ≥ 2 this holds as M → ∞ M\to\infty M → ∞ , uniformly over Ω ( λ ) \Omega(\lambda) Ω ( λ ) , since ln ( M − 1 ) = o ( d ( n , M ) ) \ln(M-1)=o(d(n,M)) ln ( M − 1 ) = o ( d ( n , M )) .
Necessity (Corollary 2): for any code word table, Δ ( θ ) ≥ λ Q ( d H ( c 1 , c 2 ) B 2 ( θ ) / σ ) > 0 \Delta(\theta)\ge\lambda Q\left(\sqrt{d_H(c_1,c_2)}B_2(\theta)/\sigma\right)>0 Δ ( θ ) ≥ λ Q ( d H ( c 1 , c 2 ) B 2 ( θ ) / σ ) > 0 . Hence, if d H ( c 1 , c 2 ) d_H(c_1,c_2) d H ( c 1 , c 2 ) (in particular, if d min ( c 1 ) d_{\min}(c_1) d m i n ( c 1 ) for an equidistant code) stays bounded, the excess error rate is bounded below by a positive constant determined by λ \lambda λ , θ 2 \theta_2 θ 2 , σ \sigma σ and that distance, uniformly in N N N and M M M .
Tightness (Proposition 8): for an nvR code with n ≥ 2 n\ge2 n ≥ 2 , the upper and lower exponents coincide, and the reliability function is E E C O C ( θ , σ ) = 1 8 σ 2 ln 2 ( θ 1 ( 1 − θ 2 ) ( 1 − θ 1 ) θ 2 ) E_{\mathrm{ECOC}}(\theta,\sigma)=\frac{1}{8\sigma^2}\ln^2\left(\frac{\theta_1(1-\theta_2)}{(1-\theta_1)\theta_2}\right) E ECOC ( θ , σ ) = 8 σ 2 1 ln 2 ( ( 1 − θ 1 ) θ 2 θ 1 ( 1 − θ 2 ) ) .
Theorem 1 gives ECOC counterparts of the parts of the channel coding theorem for a fixed code: sufficiency to achievability, necessity to the converse, and tightness to the reliability function. The corresponding statement for codes drawn at random is the average bound of Kobayashi et al. [15 ] , in which the code length enters through the rate ln M / N \ln M/N ln M / N ; in Theorem 1 the role of N N N is taken by d min ( c 1 ) d_{\min}(c_1) d m i n ( c 1 ) . This is the regime ECOC codes operate in: for nvR codes with n ≥ 2 n\ge2 n ≥ 2 and for Hadamard codes the rate ln M / N \ln M/N ln M / N tends to zero, and at low rates the error exponent of channel codes is already governed by the probability of confusing two code words at the minimum distance rather than by the code length (Gallager [10 ] , Section V). Necessity holds for every code word table, sufficiency for every code word table satisfying the conditions of Proposition 5, and the value of the reliability function is proved for nvR codes with n ≥ 2 n\ge2 n ≥ 2 (n n n fixed, M → ∞ M\to\infty M → ∞ ). Assumption 1 enters Theorem 1 only through the marginal law of each Z 1 k Z_{1k} Z 1 k in (14); Theorem 2 in Section 8 removes the independence.
Specific codes
Table 1 summarizes the orders of the exponent − ln Δ ( θ ) -\ln\Delta(\theta) − ln Δ ( θ ) for fixed θ 1 \theta_1 θ 1 and θ 2 \theta_2 θ 2 . For every row, an upper order follows from Corollary 2 with k = 2 k=2 k = 2 . For 2vR, Hadamard and Exhaustive, whose sufficiency bounds vanish, the matching lower order follows from the upper bounds of Section 4. For 1vR and logM the minimum distance is bounded; since Δ ( θ ) ≤ θ 1 \Delta(\theta)\le\theta_1 Δ ( θ ) ≤ θ 1 , the order is Θ ( 1 ) \Theta(1) Θ ( 1 ) whenever Corollary 2 gives O ( 1 ) O(1) O ( 1 ) , and for logM with growing d H ( c 1 , c 2 ) d_H(c_1,c_2) d H ( c 1 , c 2 ) only the upper order O ( log M ) O(\log M) O ( log M ) is available.
1vR and logM. For 1vR, d ( 1 , M ) = 2 d(1,M)=2 d ( 1 , M ) = 2 and μ 1 k = ln ( 1 − θ 1 ) θ k θ 1 ( 1 − θ k ) \mu_{1k}=\ln\frac{(1-\theta_1)\theta_k}{\theta_1(1-\theta_k)} μ 1 k = ln θ 1 ( 1 − θ k ) ( 1 − θ 1 ) θ k exactly (α j = 0 \alpha_j=0 α j = 0 , the equality case of Lemma 4), so Corollary 2 bounds the excess error rate away from zero uniformly in M M M , and the reliability function is not defined. For logM, d H ( c 1 , c 2 ) ≤ N = ⌈ log 2 M ⌉ d_H(c_1,c_2)\le N=\lceil\log_2 M\rceil d H ( c 1 , c 2 ) ≤ N = ⌈ log 2 M ⌉ , so Corollary 2 gives − ln Δ ( θ ) = O ( log M ) -\ln\Delta(\theta)=O(\log M) − ln Δ ( θ ) = O ( log M ) , and the excess error rate stays bounded away from zero whenever the code words of c 1 c_1 c 1 and c 2 c_2 c 2 are at a bounded distance (for example, adjacent indices in the binary representation).
2vR. Since d ( 2 , M ) = 2 ( M − 2 ) → ∞ d(2,M)=2(M-2)\to\infty d ( 2 , M ) = 2 ( M − 2 ) → ∞ (for M ≥ 5 M\ge5 M ≥ 5 ; d ( 2 , 4 ) = 2 d(2,4)=2 d ( 2 , 4 ) = 2 by (2)), the excess error rate decays exponentially in d ( 2 , M ) d(2,M) d ( 2 , M ) , uniformly over Ω ( λ ) \Omega(\lambda) Ω ( λ ) at rate κ 2 ( λ , σ ) \kappa_2(\lambda,\sigma) κ 2 ( λ , σ ) (Corollary 1) and, at each θ \theta θ , at the exact rate E E C O C ( θ , σ ) ≥ κ 2 E_{\mathrm{ECOC}}(\theta,\sigma)\ge\kappa_2 E ECOC ( θ , σ ) ≥ κ 2 (Proposition 8).
Hadamard. The Hadamard code (Definition 3) is equidistant with d = M / 2 d=M/2 d = M /2 at code length N = M − 1 N=M-1 N = M − 1 , but for M ≥ 8 M\ge8 M ≥ 8 it has no pair structure in the sense of Lemma 1, so Propositions 4 and 6 do not apply. Indeed, in ± 1 \pm1 ± 1 form two paired columns differ exactly in rows 1 and k k k , so their entrywise product has exactly 2 entries equal to − 1 -1 − 1 (M − 2 M-2 M − 2 if one of them is complemented, which leaves every ratio f ∗ ( w k j ∣ θ ) / f ∗ ( w 1 j ∣ θ ) f^* (w_{kj}\mid\theta)/f^*(w_{1j}\mid\theta) f ∗ ( w k j ∣ θ ) / f ∗ ( w 1 j ∣ θ ) unchanged), whereas distinct columns of a Hadamard matrix are orthogonal, so the product has exactly M / 2 M/2 M /2 such entries. The two counts agree only for M = 4 M=4 M = 4 , where the Hadamard code is 2vR up to column complementation; for M ≥ 8 M\ge8 M ≥ 8 no category pair ( c 1 , c k ) (c_1,c_k) ( c 1 , c k ) has even one paired column. Bounds of the form (27) and (44) may still hold for the Hadamard code by another argument; this is open. Every column of the table has M / 2 M/2 M /2 ones, and after complementing columns if necessary (which does not change the decoding problem), row 1 is not identically 0, so n min = M / 2 n_{\min}=M/2 n m i n = M /2 . Proposition 5 then gives Δ ( θ ) ≤ ( M − 1 ) exp ( − M 2 κ 1 ( θ 1 , ω ( M / 2 ) ) ) \Delta(\theta)\le(M-1)\exp(-\frac{M}{2}\kappa_1(\theta_1,\omega(M/2))) Δ ( θ ) ≤ ( M − 1 ) exp ( − 2 M κ 1 ( θ 1 , ω ( M /2 ))) whenever θ 1 + ω ( M / 2 ) > 1 / 2 \theta_1+\omega(M/2)>1/2 θ 1 + ω ( M /2 ) > 1/2 . Combined with Corollary 2 for k = 2 k=2 k = 2 , the exponent is of order M M M at code length O ( M ) O(M) O ( M ) when θ 1 + ω ( M / 2 ) ≥ 1 / 2 + c \theta_1+\omega(M/2)\ge1/2+c θ 1 + ω ( M /2 ) ≥ 1/2 + c for a constant c > 0 c>0 c > 0 . For example, if the posterior mass outside c 1 c_1 c 1 and c 2 c_2 c 2 is spread uniformly, ω ( M / 2 ) = ( 1 − θ 1 − θ 2 ) / 2 \omega(M/2)=(1-\theta_1-\theta_2)/2 ω ( M /2 ) = ( 1 − θ 1 − θ 2 ) /2 and the condition holds with c = λ / 2 c=\lambda/2 c = λ /2 for every θ ∈ Ω ( λ ) \theta\in\Omega(\lambda) θ ∈ Ω ( λ ) ; it can fail when that mass is concentrated on a few categories, where it reduces to θ 1 ≥ 1 / 2 + c \theta_1\ge1/2+c θ 1 ≥ 1/2 + c . Whether it attains a reliability function, and its coefficient, are open.
Exhaustive. As the concatenation of all nvR codes it is equidistant with d e x h = ∑ n = 1 ⌊ M / 2 ⌋ d ( n , M ) = 2 M − 2 d_{\mathrm{exh}}=\sum_{n=1}^{\lfloor M/2\rfloor}d(n,M)=2^{M-2} d exh = ∑ n = 1 ⌊ M /2 ⌋ d ( n , M ) = 2 M − 2 . Applying the μ 1 k \mu_{1k} μ 1 k bounds block-wise, the excess error rate vanishes doubly exponentially in M M M , with exponent of order N e x h = 2 M − 1 − 1 N_{\mathrm{exh}}=2^{M-1}-1 N exh = 2 M − 1 − 1 . Only the order is tight (coefficients κ 2 \kappa_2 κ 2 versus the pointwise e e x h ( θ ) ≥ κ 2 e_{\mathrm{exh}}(\theta)\ge\kappa_2 e exh ( θ ) ≥ κ 2 , since α ˉ S → 0 \bar{\alpha}_S\to0 α ˉ S → 0 in Lemma 6 fails for blocks with n ∼ M / 2 n\sim M/2 n ∼ M /2 ); see Corollary 4 (Appendix D).
O ( log M ) O(\log M) O ( log M ) for logM is an upper order only; c > 0 c>0 c > 0 is a constant independent of M M M ; the 2vR row assumes M ≥ 5 M\ge5 M ≥ 5 and its coefficient the posterior family of Definition 6.
Among these, the Hadamard code is the only one reaching an exponent of order M M M at code length O ( M ) O(M) O ( M ) (ratio d min / N ≈ 1 / 2 d_{\min}/N\approx1/2 d m i n / N ≈ 1/2 ).
Correlated Noise and the Effective Distance
Assumption 1 requires independent noise, but Sections 3–6 use it only through the marginal law of each Z 1 k Z_{1k} Z 1 k in (14), a centered Gaussian with variance d H ( c 1 , c k ) σ 2 d_H(c_1,c_k)\sigma^2 d H ( c 1 , c k ) σ 2 ; the joint law of { Z 1 k } k ≠ 1 \{Z_{1k}\}_{k\ne1} { Z 1 k } k = 1 is never used (cf. Remark 1). Let ϵ = ( ϵ 1 , … , ϵ N ) T ∼ N ( 0 , Σ ) \boldsymbol{\epsilon}=(\epsilon_1,\ldots,\epsilon_N)^\mathsf{T}\sim\mathcal{N}(0,\boldsymbol{\Sigma}) ϵ = ( ϵ 1 , … , ϵ N ) T ∼ N ( 0 , Σ ) with an arbitrary covariance Σ ≻ 0 \boldsymbol{\Sigma}\succ0 Σ ≻ 0 , and let Z 1 k = s k T ϵ ∼ N ( 0 , s k T Σ s k ) Z_{1k}=\boldsymbol{s}_k^\mathsf{T}\boldsymbol{\epsilon}\sim\mathcal{N}(0,\boldsymbol{s}_k^\mathsf{T}\boldsymbol{\Sigma}\boldsymbol{s}_k) Z 1 k = s k T ϵ ∼ N ( 0 , s k T Σ s k ) . We define the effective noise level and the effective distance of the pair ( c 1 , c k ) (c_1,c_k) ( c 1 , c k ) by
σ e f f 2 ( 1 , k ) ≜ s k T Σ s k d H ( c 1 , c k ) , d e f f ( c 1 , c k ) ≜ d H ( c 1 , c k ) σ e f f 2 ( 1 , k ) = d H ( c 1 , c k ) 2 s k T Σ s k . (58) \sigma_{\mathrm{eff}}^2(1,k)\triangleq\frac{\boldsymbol{s}_k^\mathsf{T}\boldsymbol{\Sigma}\boldsymbol{s}_k}{d_H(c_1,c_k)},\qquad d_{\mathrm{eff}}(c_1,c_k)\triangleq\frac{d_H(c_1,c_k)}{\sigma_{\mathrm{eff}}^2(1,k)}=\frac{d_H(c_1,c_k)^2}{\boldsymbol{s}_k^\mathsf{T}\boldsymbol{\Sigma}\boldsymbol{s}_k}. \tag*{(58)} σ eff 2 ( 1 , k ) ≜ d H ( c 1 , c k ) s k T Σ s k , d eff ( c 1 , c k ) ≜ σ eff 2 ( 1 , k ) d H ( c 1 , c k ) = s k T Σ s k d H ( c 1 , c k ) 2 . (58)
Under Assumption 1, σ e f f ( 1 , k ) = σ \sigma_{\mathrm{eff}}(1,k)=\sigma σ eff ( 1 , k ) = σ and d e f f ( c 1 , c k ) = d H ( c 1 , c k ) / σ 2 d_{\mathrm{eff}}(c_1,c_k)=d_H(c_1,c_k)/\sigma^2 d eff ( c 1 , c k ) = d H ( c 1 , c k ) / σ 2 .
Theorem 2 (Correlated Gaussian noise). Let ϵ ∼ N ( 0 , Σ ) \boldsymbol{\epsilon}\sim\mathcal{N}(0,\boldsymbol{\Sigma}) ϵ ∼ N ( 0 , Σ ) with Σ ≻ 0 \boldsymbol{\Sigma}\succ0 Σ ≻ 0 in place of Assumption 1, and let θ ∈ Ω ( λ ) \theta\in\Omega(\lambda) θ ∈ Ω ( λ ) (λ > 0 \lambda>0 λ > 0 ).
Theorem 1 with the effective distance. Parts 1 and 2 of Theorem 1 hold with d H ( c 1 , c k ) / σ 2 d_H(c_1,c_k)/\sigma^2 d H ( c 1 , c k ) / σ 2 replaced by d e f f ( c 1 , c k ) d_{\mathrm{eff}}(c_1,c_k) d eff ( c 1 , c k ) :
Δ ( θ ) ≤ ( M − 1 ) exp ( − κ ˉ min k ≠ 1 d e f f ( c 1 , c k ) ) , Δ ( θ ) ≥ λ Q ( d e f f ( c 1 , c 2 ) B 2 ( θ ) ) > 0 , (59) \Delta(\theta)\le(M-1)\exp\left(-\bar{\kappa}\min_{k\ne1}d_{\mathrm{eff}}(c_1,c_k)\right),\qquad\Delta(\theta)\ge\lambda Q\left(\sqrt{d_{\mathrm{eff}}(c_1,c_2)}B_2(\theta)\right)>0, \tag*{(59)} Δ ( θ ) ≤ ( M − 1 ) exp ( − κ ˉ k = 1 min d eff ( c 1 , c k ) ) , Δ ( θ ) ≥ λ Q ( d eff ( c 1 , c 2 ) B 2 ( θ ) ) > 0 , (59) where κ ˉ \bar{\kappa} κ ˉ is the constant of Theorem 1 evaluated at σ = 1 \sigma=1 σ = 1 , under the same conditions. For an nvR code with n ≥ 2 n\ge2 n ≥ 2 and a sequence θ ( M ) \theta^{(M)} θ ( M ) of the family of Definition 6, part 3 holds with σ 2 \sigma^2 σ 2 replaced by ν \nu ν ,
that is, − ln Δ ( θ ) / d ( n , M ) → E E C O C ( θ , v ) -\ln\Delta(\theta)/d(n,M) \to E_{\mathrm{ECOC}}(\theta,\sqrt{v}) − ln Δ ( θ ) / d ( n , M ) → E ECOC ( θ , v ) , whenever σ e f f 2 ( 1 , 2 ) → v ∈ ( 0 , ∞ ) \sigma_{\mathrm{eff}}^2(1,2) \to v \in(0,\infty) σ eff 2 ( 1 , 2 ) → v ∈ ( 0 , ∞ ) and max k ≠ 1 σ e f f 2 ( 1 , k ) \max_{k\ne1}\sigma_{\mathrm{eff}}^2(1,k) max k = 1 σ eff 2 ( 1 , k ) stays bounded as M → ∞ M \to\infty M → ∞ .
Common-mode versus class-level noise. Let ε j = ξ j + ∑ i : w i j = 1 χ i + z \varepsilon_j=\xi_j+\sum_{i:w_{ij}=1}\chi_i+z ε j = ξ j + ∑ i : w ij = 1 χ i + z with independent ξ j ∼ N ( 0 , σ 0 2 ) \xi_j\sim N(0,\sigma_0^2) ξ j ∼ N ( 0 , σ 0 2 ) , χ i ∼ N ( 0 , σ c 2 ) \chi_i\sim N(0,\sigma_c^2) χ i ∼ N ( 0 , σ c 2 ) and z ∼ N ( 0 , σ z 2 ) z\sim N(0,\sigma_z^2) z ∼ N ( 0 , σ z 2 ) , σ 0 > 0 \sigma_0>0 σ 0 > 0 . If σ c > 0 \sigma_c>0 σ c > 0 , then for every code word table d e f f ( c 1 , c k ) ≤ 2 / σ c 2 d_{\mathrm{eff}}(c_1,c_k)\le2/\sigma_c^2 d eff ( c 1 , c k ) ≤ 2/ σ c 2 for all k ≠ 1 k\ne1 k = 1 , and hence Δ ( θ ) ≥ λ Q ( 2 B 2 ( θ ) / σ c ) > 0 \Delta(\theta)\ge\lambda Q(\sqrt{2}B_2(\theta)/\sigma_c)>0 Δ ( θ ) ≥ λ Q ( 2 B 2 ( θ ) / σ c ) > 0 whatever N N N and d min d_{\min} d m i n . If W W W is equidistant with distance d d d and has equal row weights, i ^ \hat{i} i ^ has the same distribution as under Assumption 1 with σ 2 = σ 0 2 + σ c 2 d / 2 \sigma^2=\sigma_0^2+\sigma_c^2d/2 σ 2 = σ 0 2 + σ c 2 d /2 ; if σ c = 0 \sigma_c=0 σ c = 0 , equal row weights alone suffice.
Proof sketch. (1) With ρ 1 k ≜ − μ 1 k / ( s k ⊤ Σ s k ) 1 / 2 \rho_{1k}\triangleq-\mu_{1k}/(s_k^\top\Sigma s_k)^{1/2} ρ 1 k ≜ − μ 1 k / ( s k ⊤ Σ s k ) 1/2 , (11) holds as before; Proposition 2 and the bounds on μ 1 k \mu_{1k} μ 1 k do not involve the noise, and the union bound and Lemma 3 use only the law of each Z 1 k Z_{1k} Z 1 k . (2) Here Σ = σ 0 2 I + σ c 2 W ⊤ W + σ z 2 11 ⊤ ⪰ σ c 2 W ⊤ W \Sigma=\sigma_0^2I+\sigma_c^2W^\top W+\sigma_z^2\mathbf{1}\mathbf{1}^\top\succeq\sigma_c^2W^\top W Σ = σ 0 2 I + σ c 2 W ⊤ W + σ z 2 1 1 ⊤ ⪰ σ c 2 W ⊤ W , and d H ( c 1 , c k ) = ( e k − e 1 ) ⊤ W s k ≤ 2 ∥ W s k ∥ d_H(c_1,c_k)=(e_k-e_1)^\top Ws_k\le\sqrt{2}\lVert Ws_k\rVert d H ( c 1 , c k ) = ( e k − e 1 ) ⊤ W s k ≤ 2 ∥ W s k ∥ , so s k ⊤ Σ s k ≥ σ c 2 d H ( c 1 , c k ) 2 / 2 s_k^\top\Sigma s_k\ge\sigma_c^2d_H(c_1,c_k)^2/2 s k ⊤ Σ s k ≥ σ c 2 d H ( c 1 , c k ) 2 /2 . The details are in Appendix G.
The case σ c = 0 \sigma_c=0 σ c = 0 is equicorrelated noise, Cov ( ε ) = σ 2 [ ( 1 − τ ) I + τ 11 ⊤ ] \operatorname{Cov}(\varepsilon)=\sigma^2[(1-\tau)I+\tau\mathbf{1}\mathbf{1}^\top] Cov ( ε ) = σ 2 [( 1 − τ ) I + τ 1 1 ⊤ ] with σ 0 2 = ( 1 − τ ) σ 2 \sigma_0^2=(1-\tau)\sigma^2 σ 0 2 = ( 1 − τ ) σ 2 and σ z 2 = τ σ 2 \sigma_z^2=\tau\sigma^2 σ z 2 = τ σ 2 : correlation common to all classifiers cancels in every score difference and only lowers the effective noise level. The nvR codes with n < M / 2 n<M/2 n < M /2 have equal row weights ( M − 1 ) / ( n − 1 ) (M-1)/(n-1) ( M − 1 ) / ( n − 1 ) , so for them Theorem 1 applies with ( 1 − τ ) σ 2 (1-\tau)\sigma^2 ( 1 − τ ) σ 2 . Class-level noise behaves differently. For nvR codes with n < M / 2 n<M/2 n < M /2 , every classifier has the same marginal variance σ 0 2 + n σ c 2 + σ z 2 \sigma_0^2+n\sigma_c^2+\sigma_z^2 σ 0 2 + n σ c 2 + σ z 2 , independent of M M M , yet d e f f = d / ( σ 0 2 + σ c 2 d / 2 ) d_{\mathrm{eff}}=d/(\sigma_0^2+\sigma_c^2d/2) d eff = d / ( σ 0 2 + σ c 2 d /2 ) saturates at 2 / σ c 2 2/\sigma_c^2 2/ σ c 2 as d ( n , M ) d(n,M) d ( n , M ) grows, and the excess error rate no longer vanishes (Figure 1 (c)). The quantity that must outgrow ln ( M − 1 ) \ln(M-1) ln ( M − 1 ) is therefore the effective distance, which combines the separation of the code words with the correlation of the classifier errors; the Hamming distance is its value under independent noise. Theorem 2 concerns the decoder (4) . In part 2 the class components enter through the positive side of each column, but the floor does not depend on this orientation convention: if each class component enters with the sign of its side, ε j = ξ j + ∑ i ( 2 w i j − 1 ) χ i + z \varepsilon_j=\xi_j+\sum_i(2w_{ij}-1)\chi_i+z ε j = ξ j + ∑ i ( 2 w ij − 1 ) χ i + z , the same argument with ( e k − e 1 ) ⊤ ( 2 W − 11 ⊤ ) s k = 2 d H ( c 1 , c k ) (e_k-e_1)^\top(2W-\mathbf{1}\mathbf{1}^\top)s_k=2d_H(c_1,c_k) ( e k − e 1 ) ⊤ ( 2 W − 1 1 ⊤ ) s k = 2 d H ( c 1 , c k ) gives d e f f ( c 1 , c k ) ≤ 1 / ( 2 σ c 2 ) d_{\mathrm{eff}}(c_1,c_k)\le1/(2\sigma_c^2) d eff ( c 1 , c k ) ≤ 1/ ( 2 σ c 2 ) .
Experiments
Setup
We check two predictions: (i) in a setting that satisfies Assumption 1, the excess error rate decays exponentially with d d d at the rate e l o w e r e_{\mathrm{lower}} e lower ; (ii) on trained classifiers, the excess error rate decreases with the minimum distance and, beyond a moderate distance, no longer improves appreciably. The real-data check is qualitative, because trained classifiers do not satisfy Assumption 1 exactly and no procedure for estimating their noise level stably without the true posterior has been established (§ 10 ).
L0 (semi-synthetic) setting. Log-odds noise satisfying Assumption 1 with known σ \sigma σ is added to the true f j ∗ f_j^* f j ∗ of the 2vR code, with θ 1 ∈ { 0.4 , 0.5 , 0.6 , 0.7 } \theta_1\in\{0.4,0.5,0.6,0.7\} θ 1 ∈ { 0.4 , 0.5 , 0.6 , 0.7 } , θ 2 = 0.25 \theta_2=0.25 θ 2 = 0.25 , the remaining span spread uniformly, and 6 ≤ M ≤ 24 6\le M\le24 6 ≤ M ≤ 24 , so that d = 2 ( M − 2 ) d=2(M-2) d = 2 ( M − 2 ) ranges from 8 to 44; P ( E ∣ θ ) P(E\mid\theta) P ( E ∣ θ ) and Δ ( θ ) \Delta(\theta) Δ ( θ ) are estimated by Monte Carlo.
Real data. We use ResNet-50 features (pretrained on ImageNet-1k) of CIFAR-10, CIFAR-100 and ImageNet-1k, reduced by PCA to 100 dimensions. In each of S = 40 S=40 S = 40 seeds we draw M M M classes (M = 8 M=8 M = 8 , 12 and 16, respectively) and train on 400 (CIFAR) or 150 (ImageNet-1k) images per class; we test on the CIFAR test sets and the ImageNet-1k validation set. Each binary classifier is a logistic regression (inverse regularization strength 1.0) whose output p j p_j p j estimates f j ( 1 ∣ x ) f_j(1\mid x) f j ( 1 ∣ x ) . To vary d min d_{\min} d m i n at fixed M M M , we draw subsets of K K K columns from a fixed pool of 2vR and 3vR columns (all 84 and 286 columns for M = 8 M=8 M = 8 and 12; the 120 2vR columns and 200 randomly chosen 3vR columns for $M=16), and record the minimum distance of each subset; the points with d min = 1 d_{\min}=1 d m i n = 1 are such subsets, not the log M \log M log M code. The ECOC prediction uses sum decoding s ^ s u m = arg max i ∈ C ∑ j [ w i j p j + ( 1 − w i j ) ( 1 − p j ) ] \hat{s}_{\mathrm{sum}}=\arg\max_{i\in\mathcal{C}}\sum_j[w_{ij}p_j+(1-w_{ij})(1-p_j)] s ^ sum = arg max i ∈ C ∑ j [ w ij p j + ( 1 − w ij ) ( 1 − p j )] .
Reference error rate. On real data the Bayes error rate is unknown. As a reference we use the error rate P f l o o r P_{\mathrm{floor}} P floor of log-likelihood (LL) decoding i ^ L L = arg max i ∈ C ∑ j [ w i j ln p j + ( 1 − w i j ) ln ( 1 − p j ) ] \hat{i}_{\mathrm{LL}}=\arg\max_{i\in\mathcal{C}}\sum_j[w_{ij}\ln p_j+(1-w_{ij})\ln(1-p_j)] i ^ LL = arg max i ∈ C ∑ j [ w ij ln p j + ( 1 − w ij ) ln ( 1 − p j )] over the full column pool, which is fixed for all subsets, and define the empirical excess error Δ r e a l ( d ) ≜ P ^ e r r s u m ( d ) − P f l o o r \Delta_{\mathrm{real}}(d)\triangleq\hat{P}_{\mathrm{err}}^{\mathrm{sum}}(d)-P_{\mathrm{floor}} Δ real ( d ) ≜ P ^ err sum ( d ) − P floor . P f l o o r P_{\mathrm{floor}} P floor is the error rate of a classifier and therefore at least the Bayes error rate, so Δ r e a l \Delta_{\mathrm{real}} Δ real underestimates the true excess error rate; it is a reference on the given binary classifiers, not the Bayes error rate. For comparison, in a separate CIFAR-100 experiment (M ∈ { 4 , 6 , 8 , 10 , 12 , 16 } M \in\{4,6,8,10,12,16\} M ∈ { 4 , 6 , 8 , 10 , 12 , 16 } , 25 seeds) a multi-class logistic regression trained on the same features has a higher error rate than LL decoding of the 2vR classifiers in 136 of 150 conditions and an equal one in 8 (mean difference 0.011; Appendix I). On the same classifier set, sum decoding is within ± 0.005 \pm0.005 ± 0.005 of LL decoding for M = 6 M = 6 M = 6 –16 (TOST equivalence test at level 0.05) and identical to it for M = 4 M = 4 M = 4 , so the decoding rule is not the limiting factor (Appendix I).
Results
L0 setting (Figure 2 (a)). Δ \Delta Δ decays exponentially in d d d , faster than the slope − e l o w e r -e_{\mathrm{lower}} − e lower (the fitted slopes are 1.02–1.33 times e l o w e r e_{\mathrm{lower}} e lower , the most for the smallest θ 1 \theta_1 θ 1 ), as expected from the finite-length exponents of Appendix H, which approach e l o w e r e_{\mathrm{lower}} e lower from above for the 2vR code because of the subexponential prefactor of P ( E ∣ θ ) P(E|\theta) P ( E ∣ θ ) (Appendix H.2).
Figure 2. Excess error rate versus minimum Hamming distance d d d . (a) L0 setting (2vR, θ 2 = 0.25 \theta_2 = 0.25 θ 2 = 0.25 ): Δ ( d ) / Δ ( 8 ) \Delta(d)/\Delta(8) Δ ( d ) /Δ ( 8 ) on a log scale; the dashed lines have slope − e l o w e r -e_{\mathrm{lower}} − e lower . (b) Real data (ResNet-50 features, S = 40 S = 40 S = 40 seeds): Δ r e a l ( d ) = P ^ e r r s u m ( d ) − P f l o o r \Delta_{\mathrm{real}}(d) = \widehat{P}_{\mathrm{err}}^{\mathrm{sum}}(d)-P_{\mathrm{floor}} Δ real ( d ) = P err sum ( d ) − P floor , binned by the minimum distance of random column subsets (error bars: standard errors). These subsets are not equidistant, so their minimum distance is not a complete summary of the code (Remark 3).
Real data (Figure 2 (b)). For all three datasets Δ r e a l ( d ) \Delta_{\mathrm{real}}(d) Δ real ( d ) decreases as d d d increases: from 0.044 (d = 1 d = 1 d = 1 ) to 0.0007 (d ≈ 38 d \approx38 d ≈ 38 ) for CIFAR-10 (M = 8 M = 8 M = 8 ), from 0.051 to 0.0009 (d ≈ 85 d \approx85 d ≈ 85 ) for CIFAR-100 (M = 12 M = 12 M = 12 ), and from 0.015 to 0.0011 (d ≈ 71 d \approx71 d ≈ 71 ) for ImageNet-1k (M = 16 M = 16 M = 16 ). The binned curves decrease monotonically except for one reversal of about 0.0002 between adjacent bins on each of CIFAR-100 and ImageNet-1k, an order of magnitude smaller than the within-bin standard deviations (≈ 0.003 \approx0.003 ≈ 0.003 ). We define the saturation distance d ∗ d^* d ∗ operationally as the smallest bin at which the mean of Δ r e a l \Delta_{\mathrm{real}} Δ real falls within one within-bin standard deviation of zero; this gives d ∗ ≈ 38 d^* \approx38 d ∗ ≈ 38 , 36 and 24 for CIFAR-10, CIFAR-100 and ImageNet-1k. This is a practical threshold: beyond d ∗ d^* d ∗ the remaining mean excess error is smaller than the spread across seeds and column subsets; it does not mean that Δ r e a l \Delta_{\mathrm{real}} Δ real is statistically indistinguishable from zero (the error bars in Figure 2 (b) are standard errors). For CIFAR-10 (M = 8 M = 8 M = 8 ) this criterion is met only near the largest distance probed, so the leveling-off is less pronounced there than for CIFAR-100 and ImageNet-1k. Beyond d ∗ d^* d ∗ , increasing d d d changes the error rate by less than the variation across seeds and column subsets while the number of classifiers keeps growing. ImageNet-1k starts from a much smaller excess error (0.015 at d = 1 d = 1 d = 1 , against a reference error rate of 0.017) and reaches d ∗ d^* d ∗ at a smaller distance; the ResNet-50 features were trained on ImageNet-1k labels and therefore separate these classes well. For M = 16 M = 16 M = 16 the 2vR code has d = 28 d = 28 d = 28 , just beyond d ∗ d^* d ∗ by this criterion, although the mean excess error there is still about 0.003.
Larger distance does not always help. On CIFAR-100 (M ∈ { 8 , 10 , 12 } M \in\{8, 10, 12\} M ∈ { 8 , 10 , 12 } , 25 seeds), the 3vR code, whose distance d ( 3 , M ) d(3,M) d ( 3 , M ) is 2.5–4.5 times that of 2vR, has a slightly higher error rate than 2vR (+0.0020, Wilcoxon signed-rank $p = 1 \times 10^{-5} , 75 pairs; Appendix § 19 ). The bounds of § 4 –§ 6 decrease with the distance and do not account for this small but systematic deficit, which § 10 examines through the effective distance of § 8 .
Scaling in M M M . Table 2 increases the number of ImageNet-1k classes to M = 256 M=256 M = 256 (a separate run: PCA to 128 dimensions, S = 3 S=3 S = 3 seeds, the 2vR and logM codes themselves rather than column subsets). The logM code (d = 1 d=1 d = 1 ) degrades rapidly towards P ^ e r r → 1 \hat{P}_{\mathrm{err}} \to1 P ^ err → 1 , whereas 2vR (d = 2 ( M − 2 ) d=2(M-2) d = 2 ( M − 2 ) ) stays low, as the necessity and sufficiency parts of Theorem 1 lead one to expect; 2vR is also comparable to (M = 16 M=16 M = 16 ) or below (M = 128 , 256 M=128,256 M = 128 , 256 ) a multi-class logistic regression. The LL-decoding reference was not computed in this run, so the table does not measure the distance to P f l o o r P_{\mathrm{floor}} P floor , and its M = 16 M=16 M = 16 values are not comparable to Figure 2 (b), which uses a different training-set size and column subsets.
Table 2. ImageNet-1k: P ^ e r r \hat{P}_{\mathrm{err}} P ^ err as the number of classes M M M increases (ResNet-50 features, PCA-128, mean ± \pm ± standard deviation over S = 3 S=3 S = 3 seeds). The multi-class logistic regression (softmax) is shown for reference.
Discussion: What the Model Does and Does Not Capture
The theory predicts the qualitative behavior on real data — the decay with the minimum distance, the failure of short codes, and the leveling-off — but not its quantitative form. Four factors account for the gap, and each is visible in our results; the third is partly covered by Theorem 2.
(i) Spread of the posterior. Theorem 1 holds at each θ \theta θ , whereas P ^ e r r \hat{P}_{\mathrm{err}} P ^ err averages over the inputs. At fixed θ \theta θ the pairwise term Q ( ρ 1 k ) Q(\rho_{1k}) Q ( ρ 1 k ) carries a prefactor of order d − 1 / 2 d^{-1/2} d − 1/2 in addition to e − d E E C O C ( θ , σ ) e^{-dE_{\mathrm{ECOC}}(\theta,\sigma)} e − d E ECOC ( θ , σ ) (Lemma 2). Averaging over inputs whose exponents E E C O C ( θ , σ ) E_{\mathrm{ECOC}}(\theta,\sigma) E ECOC ( θ , σ ) approach their infimum adds a further algebraic factor, so the aggregate curve is not a single exponential. Its decay is governed by the inputs with the smallest exponent, those close to the decision boundary. This mirrors the role of the margin condition for the excess risk of plug-in classifiers ([3 ] ). On our curves a single exponential in d d d fits poorly (a linear fit of ln Δ r e a l \ln\Delta_{\mathrm{real}} ln Δ real against d d d over the bins of Figure 2 (b) gives R 2 = 0.90 R^2=0.90 R 2 = 0.90 , 0.83 and 0.89 for CIFAR-10, CIFAR-100 and ImageNet-1k), and the rate cannot be read off them.
(ii) Distance spectrum. The column subsets of Figure 2 (b) are not equidistant. For such codes the error rate depends on the whole spectrum { A d } \{A_d\} { A d } (Remark 3), and the minimum distance is an incomplete summary.
(iii) Correlated noise and the effective distance. By Theorem 2, the quantity that governs the excess error rate under correlated noise is not d H d_H d H but the effective distance d e f f ( c 1 , c k ) = d H ( c 1 , c k ) 2 / ( s k T Σ s k ) d_{\mathrm{eff}}(c_1,c_k)=d_H(c_1,c_k)^2/(\mathbf{s}_k^\mathsf{T}\mathbf{\Sigma}\mathbf{s}_k) d eff ( c 1 , c k ) = d H ( c 1 , c k ) 2 / ( s k T Σ s k ) , which depends on the code through the set of differing positions. The class-level model of Theorem 2 accounts for the leveling-off, since d e f f d_{\mathrm{eff}} d eff saturates as d H d_H d H grows, but not by itself for a deficit, which requires the effective distance of the longer code to be smaller for the pairs that matter. To check this for the deficit of 3vR in Section 9.2, we repeated the CIFAR-100 comparison with labels resampled from a calibrated teacher, so that the true posterior, and hence the log-odds residuals of each binary classifier under the logit-noise model of Abe & Kumoi [1 ] , are known; the classes, images and classifiers are as in Section 9.1 (Appendix § 19 ). The deficit persists in this setting (+0.0012 in excess error under LL decoding, positive in 57 of 75 seed-matched pairs, Wilcoxon p = 5 × 10 − 7 p=5\times10^{-7} p = 5 × 1 0 − 7 ). The residual covariance Σ ^ \hat{\mathbf{\Sigma}} Σ ^ , estimated from held-out residuals, is largely explained by class-level noise: the class-level model of Theorem 2 fits it with R 2 = 0.64 R^2=0.64 R 2 = 0.64 –0.83, and its saturation level 2 / σ c 2 2/\sigma_c^2 2/ σ c 2 is close to the measured d e f f d_{\mathrm{eff}} d eff , so both codes are already in the saturated regime. Accordingly, the effective distance of 3vR, averaged over pairs, is at most 1.04 times that of 2vR for M = 8 , 10 , 12 M=8,10,12 M = 8 , 10 , 12 , and its minimum over pairs is only 0.89–0.94 times that of 2vR (medians over seeds), although its Hamming distance is 2.5–4.5 times larger. A Gaussian model with Σ ^ \hat{\mathbf{\Sigma}} Σ ^ predicts a higher error for 3vR in every seed, whereas Assumption 1 with a fitted σ \sigma σ predicts a lower one; with a less confident teacher, for which the ratio of effective distances rises to 1.22–1.25, 3vR becomes slightly better (−0.0004), as the Gaussian model predicts (−0.0003). The predicted deficit in the first setting (+0.0074) is, however, about six times the observed one, and resampling the empirical residuals instead of using a Gaussian reverses its sign. The effective distance is thus consistent with the absence of a gain from the larger Hamming distance, but it does not determine the size of the deficit, and with resampled residuals not even its sign; the residuals depend on the input (Appendix I), which none of these predictors models.
(iv) Reference decoder. P f l o o r P_{\mathrm{floor}} P floor is the error rate of LL decoding on the given classifiers, not the Bayes error rate; estimating the noise level of trained classifiers requires the true posterior, and no procedure for estimating it stably from their outputs alone has been established [1 ] , so e l o w e r e_{\mathrm{lower}} e lower and d ∗ d^{*} d ∗ cannot be computed from the theory on real data. Moreover, the theory concerns the product decoder (4) , whereas Figure 2 (b) uses sum decoding; their agreement within ±0.005 (§ 9.1 ) is empirical.
Implications. Within these limitations, the theory gives a design rule: the minimum distance must grow so that κ d min \kappa d_{\min} κ d m i n exceeds ln ( M − 1 ) \ln(M - 1) ln ( M − 1 ) , and beyond the saturation distance a longer code only adds classifiers. Since e l o w e r ∝ 1 / σ 2 e_{\mathrm{lower}} \propto1/\sigma^{2} e lower ∝ 1/ σ 2 and σ \sigma σ depends on how the binary classifiers are trained, the saturation distance is not a property of the task alone. The necessity part offers a possible explanation for why output layers that encode M M M classes with ⌈ log 2 M ⌉ \lceil\log_{2} M \rceil ⌈ log 2 M ⌉ bits lose accuracy unless redundancy is added (Oda et al., 2017): with d min = 1 d_{\min}=1 d m i n = 1 the excess error rate does not vanish however the binary classifiers are improved, as long as their noise stays bounded away from zero.
Conclusion
Extending the analysis of noisy binary classifiers by Kumoi et al. [18 ] from the pairwise error probability to the classification error rate, we characterized the excess error rate of ECOC over the MAP classifier by the minimum Hamming distance. A bounded distance between the code words of the two most probable categories keeps the excess error rate away from zero uniformly in M M M ; a minimum distance that outgrows ln M \ln M ln M drives it to zero exponentially (for general codes under the condition of Proposition 5); and for n v R nvR n v R codes (n ≥ 2 n \ge2 n ≥ 2 ) the exact exponent is the reliability function E E C O C E_{\mathrm{ECOC}} E ECOC , whose worst case over Ω ( λ ) \Omega(\lambda) Ω ( λ ) is κ 2 ( λ , σ ) \kappa_{2}(\lambda,\sigma) κ 2 ( λ , σ ) . Under correlated Gaussian noise the same statements hold with the effective distance in place of the Hamming distance, and class-level noise bounds the effective distance (Theorem 2). Future work includes the exponent of the Hadamard code and of other non-n v R nvR n v R codes, a bound for general codes in terms of the distance spectrum, a finite-length analysis including the prefactor, and the estimation of the effective distance of trained classifiers.
Acknowledgments
This work was supported by JSPS KAKENHI Grant Number JP24K20833.
Proof of Lemma 1 (upper bound on η \eta η )
From the pair condition w l j = w l j ′ w_{lj}=w_{lj'} w l j = w l j ′ (l ≠ 1 , k l \ne1,k l = 1 , k ), the sum on the f j ′ f_{j'} f j ′ side satisfies α j ′ = 1 − θ 1 − θ k − α j \alpha_{j'} = 1-\theta_1-\theta_k-\alpha_j α j ′ = 1 − θ 1 − θ k − α j . Substituting this and expanding η j \eta_j η j as a function of α j \alpha_j α j alone gives
η j ( α j ; θ 1 , θ k ) = ( 1 − θ 1 − α j ) ( θ k + α j ) ( θ 1 + α j ) ( 1 − θ k − α j ) , α j ∈ [ 0 , 1 − θ 1 − θ k ] . (60) \eta_j(\alpha_j;\theta_1,\theta_k)=\frac{(1-\theta_1-\alpha_j)(\theta_k+\alpha_j)}{(\theta_1+\alpha_j)(1-\theta_k-\alpha_j)}, \qquad\alpha_j \in[0,1-\theta_1-\theta_k]. \tag*{(60)} η j ( α j ; θ 1 , θ k ) = ( θ 1 + α j ) ( 1 − θ k − α j ) ( 1 − θ 1 − α j ) ( θ k + α j ) , α j ∈ [ 0 , 1 − θ 1 − θ k ] . (60)
Differentiating its logarithm and combining the terms pairwise,
∂ ln η j ∂ α j = ( θ 1 − θ k ) ( 1 − θ 1 − θ k − 2 α j ) ( θ 1 + α j ) ( θ k + α j ) ( 1 − θ 1 − α j ) ( 1 − θ k − α j ) . (61) \frac{\partial\ln\eta_j}{\partial\alpha_j}=\frac{(\theta_1-\theta_k)(1-\theta_1-\theta_k-2\alpha_j)}{(\theta_1+\alpha_j)(\theta_k+\alpha_j)(1-\theta_1-\alpha_j)(1-\theta_k-\alpha_j)}. \tag*{(61)} ∂ α j ∂ ln η j = ( θ 1 + α j ) ( θ k + α j ) ( 1 − θ 1 − α j ) ( 1 − θ k − α j ) ( θ 1 − θ k ) ( 1 − θ 1 − θ k − 2 α j ) . (61)
The denominator is positive on the domain, so for θ 1 > θ k \theta_1>\theta_k θ 1 > θ k the derivative is positive for α j < ( 1 − θ 1 − θ k ) / 2 \alpha_j<(1-\theta_1-\theta_k)/2 α j < ( 1 − θ 1 − θ k ) /2 and negative for α j > ( 1 − θ 1 − θ k ) / 2 \alpha_j>(1-\theta_1-\theta_k)/2 α j > ( 1 − θ 1 − θ k ) /2 . Hence η j \eta_j η j is unimodal and attains its maximum at α j = ( 1 − θ 1 − θ k ) / 2 \alpha_j=(1-\theta_1-\theta_k)/2 α j = ( 1 − θ 1 − θ k ) /2 ; substituting this value yields (26).
Proof of Lemma 4 (lower bound on η \eta η )
By (61) (Appendix § 13 ), for θ 1 > θ k \theta_1>\theta_k θ 1 > θ k the function η j \eta_j η j in (60) increases on [ 0 , ( 1 − θ 1 − θ k ) / 2 ] [0,(1-\theta_1-\theta_k)/2] [ 0 , ( 1 − θ 1 − θ k ) /2 ] and decreases on [ ( 1 − θ 1 − θ k ) / 2 , 1 − θ 1 − θ k ] [(1-\theta_1-\theta_k)/2,1-\theta_1-\theta_k] [( 1 − θ 1 − θ k ) /2 , 1 − θ 1 − θ k ] . Hence its minimum on the closed interval is attained at an endpoint. We compute the values at the two endpoints.
At α j = 0 \alpha_j=0 α j = 0 :
η j ( 0 ; θ 1 , θ k ) = ( 1 − θ 1 ) θ k θ 1 ( 1 − θ k ) . (62) \eta_j(0;\theta_1,\theta_k)=\frac{(1-\theta_1)\theta_k}{\theta_1(1-\theta_k)}. \tag*{(62)} η j ( 0 ; θ 1 , θ k ) = θ 1 ( 1 − θ k ) ( 1 − θ 1 ) θ k . (62)
At α j = 1 − θ 1 − θ k \alpha_j=1-\theta_1-\theta_k α j = 1 − θ 1 − θ k :
η j ( 1 − θ 1 − θ k ; θ 1 , θ k ) = θ k ( 1 − θ 1 ) ( 1 − θ k ) θ 1 . (63) \eta_j(1-\theta_1-\theta_k;\theta_1,\theta_k)=\frac{\theta_k(1-\theta_1)}{(1-\theta_k)\theta_1}. \tag*{(63)} η j ( 1 − θ 1 − θ k ; θ 1 , θ k ) = ( 1 − θ k ) θ 1 θ k ( 1 − θ 1 ) . (63)
This coincides with (62). Since η j \eta_j η j takes the same value at the two endpoints of the domain, the minimum is this endpoint value:
η j ( α j ; θ 1 , θ k ) ≥ ( 1 − θ 1 ) θ k θ 1 ( 1 − θ k ) . (64) \eta_j(\alpha_j;\theta_1,\theta_k)\geq\frac{(1-\theta_1)\theta_k}{\theta_1(1-\theta_k)}. \tag*{(64)} η j ( α j ; θ 1 , θ k ) ≥ θ 1 ( 1 − θ k ) ( 1 − θ 1 ) θ k . (64)
Proof of Lemma 7 (relation between the uniform and pointwise exponents)
Let h ( θ ) ≜ θ 1 ( 1 − θ 2 ) ( 1 − θ 1 ) θ 2 h(\boldsymbol{\theta})\triangleq\frac{\theta_1(1-\theta_2)}{(1-\theta_1)\theta_2} h ( θ ) ≜ ( 1 − θ 1 ) θ 2 θ 1 ( 1 − θ 2 ) , so that E E C O C = 1 8 σ 2 ln 2 h E_{\mathrm{ECOC}}=\frac{1}{8\sigma^2}\ln^2h E ECOC = 8 σ 2 1 ln 2 h , and ln h > 0 \ln h>0 ln h > 0 since θ 1 > θ 2 \theta_1>\theta_2 θ 1 > θ 2 . Changing variables to s = θ 1 + θ 2 ≤ 1 s=\theta_1+\theta_2\leq1 s = θ 1 + θ 2 ≤ 1 and δ = θ 1 − θ 2 ≥ λ \delta=\theta_1-\theta_2\geq\lambda δ = θ 1 − θ 2 ≥ λ ,
∂ ln h ∂ s = 2 δ [ 1 ( 2 − s ) 2 − δ 2 − 1 s 2 − δ 2 ] ≤ 0 , (65) \frac{\partial\ln h}{\partial s}=2\delta\left[\frac{1}{(2-s)^2-\delta^2}-\frac{1}{s^2-\delta^2}\right]\leq0, \tag*{(65)} ∂ s ∂ ln h = 2 δ [ ( 2 − s ) 2 − δ 2 1 − s 2 − δ 2 1 ] ≤ 0 , (65)
where the inequality follows from s ≤ 1 ≤ 2 − s s\leq1\leq2-s s ≤ 1 ≤ 2 − s . Hence ln h \ln h ln h is monotone decreasing in s s s and attains its minimum ln h = 2 ln 1 + δ 1 − δ \ln h=2\ln\frac{1+\delta}{1-\delta} ln h = 2 ln 1 − δ 1 + δ at s = 1 s=1 s = 1 . Furthermore, ln 1 + δ 1 − δ \ln\frac{1+\delta}{1-\delta} ln 1 − δ 1 + δ is monotone increasing in δ \delta δ , so it is minimized at δ = λ \delta=\lambda δ = λ , and
E E C O C ( θ , σ ) ≥ 1 8 σ 2 ( 2 ln 1 + λ 1 − λ ) 2 = 1 2 σ 2 ln 2 ( 1 + λ 1 − λ ) = κ 2 ( λ , σ ) . (66) \begin{aligned}
E_{\mathrm{ECOC}}(\boldsymbol{\theta},\sigma)&\geq\frac{1}{8\sigma^2}\left(2\ln\frac{1+\lambda}{1-\lambda}\right)^2\\
&=\frac{1}{2\sigma^2}\ln^2\left(\frac{1+\lambda}{1-\lambda}\right)=\kappa_2(\lambda,\sigma). \tag*{(66)}
\end{aligned} E ECOC ( θ , σ ) ≥ 8 σ 2 1 ( 2 ln 1 − λ 1 + λ ) 2 = 2 σ 2 1 ln 2 ( 1 − λ 1 + λ ) = κ 2 ( λ , σ ) . (66)
Proof of Corollary 4 (asymptotic evaluation of the Exhaustive Code)
Corollary 4 (Asymptotic evaluation of the Exhaustive Code). For θ ∈ Ω ( λ ) \boldsymbol{\theta}\in\Omega(\lambda) θ ∈ Ω ( λ ) , for any ζ > 0 \zeta>0 ζ > 0 and sufficiently large M M M :
Upper bound:
Δ ( θ ) ≤ exp { − N e x h ( κ 2 ( λ , σ ) 2 − ζ ) } . (67) \Delta(\boldsymbol{\theta})\leq\exp\left\{-N_{\mathrm{exh}}\left(\frac{\kappa_2(\lambda,\sigma)}{2}-\zeta\right)\right\}. \tag*{(67)} Δ ( θ ) ≤ exp { − N exh ( 2 κ 2 ( λ , σ ) − ζ ) } . (67)
Lower bound:
Δ ( θ ) ≥ Θ ( 1 N e x h ) exp { − N e x h δ e x h e e x h ( θ ) } , (68) \Delta(\boldsymbol{\theta})\geq\Theta\left(\frac{1}{\sqrt{N_{\mathrm{exh}}}}\right)\exp\{-N_{\mathrm{exh}}\delta_{\mathrm{exh}}e_{\mathrm{exh}}(\boldsymbol{\theta})\}, \tag*{(68)} Δ ( θ ) ≥ Θ ( N exh 1 ) exp { − N exh δ exh e exh ( θ )} , (68)
where N e x h = 2 M − 1 − 1 N_{\mathrm{exh}}=2^{M-1}-1 N exh = 2 M − 1 − 1 , δ e x h = d e x h / N e x h ∈ ( 1 / 2 , 1 ] \delta_{\mathrm{exh}}=d_{\mathrm{exh}}/N_{\mathrm{exh}}\in(1/2,1] δ exh = d exh / N exh ∈ ( 1/2 , 1 ] , and e e x h ( θ ) ≜ 1 8 σ 2 ln 2 θ 1 ( 1 − θ 2 ) ( 1 − θ 1 ) θ 2 e_{\mathrm{exh}}(\boldsymbol{\theta})\triangleq\frac{1}{8\sigma^2}\ln^2\frac{\theta_1(1-\theta_2)}{(1-\theta_1)\theta_2} e exh ( θ ) ≜ 8 σ 2 1 ln 2 ( 1 − θ 1 ) θ 2 θ 1 ( 1 − θ 2 ) .
Upper bound. Applying Proposition 4 to each block and summing, μ 1 k ≤ d e x h ln 1 − θ 1 + θ k 1 + θ 1 − θ k \mu_{1k}\leq d_{\mathrm{exh}}\ln\frac{1-\theta_1+\theta_k}{1+\theta_1-\theta_k} μ 1 k ≤ d exh ln 1 + θ 1 − θ k 1 − θ 1 + θ k , and as in Corollary 1 we obtain Δ ( θ ) ≤ ( M − 1 ) exp ( − d e x h κ 2 ( λ , σ ) ) \Delta(\boldsymbol{\theta})\leq(M-1)\exp(-d_{\mathrm{exh}}\kappa_2(\lambda,\sigma)) Δ ( θ ) ≤ ( M − 1 ) exp ( − d exh κ 2 ( λ , σ )) . From d e x h = N e x h δ e x h d_{\mathrm{exh}}=N_{\mathrm{exh}}\delta_{\mathrm{exh}} d exh = N exh δ exh , δ e x h > 1 / 2 \delta_{\mathrm{exh}}>1/2 δ exh > 1/2 , and M − 1 = log 2 ( N e x h + 1 ) ≤ e ζ N e x h M-1=\log_2(N_{\mathrm{exh}}+1)\leq e^{\zeta N_{\mathrm{exh}}} M − 1 = log 2 ( N exh + 1 ) ≤ e ζ N exh (for sufficiently large M M M ), we obtain (67).
Lower bound. Applying Proposition 6 to each block (for the 1vR block it holds with equality, Section 7.1) and summing, μ 1 k ≥ d e x h 2 ln ( 1 − θ 1 ) θ k θ 1 ( 1 − θ k ) \mu_{1k}\geq\frac{d_{\mathrm{exh}}}{2}\ln\frac{(1-\theta_1)\theta_k}{\theta_1(1-\theta_k)} μ 1 k ≥ 2 d exh ln θ 1 ( 1 − θ k ) ( 1 − θ 1 ) θ k , and by the same argument as Proposition 7 we obtain Δ ( θ ) ≥ λ 2 2 π ρ U exp ( − ( ρ U ) 2 / 2 ) \Delta(\boldsymbol{\theta})\geq\frac{\lambda}{2\sqrt{2\pi}\rho^U}\exp(-(\rho^U)^2/2) Δ ( θ ) ≥ 2 2 π ρ U λ exp ( − ( ρ U ) 2 /2 ) with ( ρ U ) 2 / 2 = d e x h e e x h ( θ ) (\rho^U)^2/2=d_{\mathrm{exh}}e_{\mathrm{exh}}(\boldsymbol{\theta}) ( ρ U ) 2 /2 = d exh e exh ( θ ) . Since ρ U = 2 d e x h e e x h ( θ ) = Θ ( N e x h ) \rho^U=\sqrt{2d_{\mathrm{exh}}e_{\mathrm{exh}}(\boldsymbol{\theta})}=\Theta(\sqrt{N_{\mathrm{exh}}}) ρ U = 2 d exh e exh ( θ ) = Θ ( N exh ) , the prefactor is Θ ( 1 / N e x h ) \Theta(1/\sqrt{N_{\mathrm{exh}}}) Θ ( 1/ N exh ) . □
Proof of Lemma 6 (asymptotically exact value of μ 12 \mu_{12} μ 12 )
Step 1: exact expression for μ 12 \mu_{12} μ 12 .
The positive-side group of a classifier f j f_j f j separating c 1 c_1 c 1 and c 2 c_2 c 2 has the form { c 1 } ∪ S \{c_1\}\cup S { c 1 } ∪ S (∣ S ∣ = n − 1 |S|=n-1 ∣ S ∣ = n − 1 , S ⊆ { 3 , … , M } S\subseteq\{3,\ldots,M\} S ⊆ { 3 , … , M } ). Setting α S ≜ ∑ i ∈ S θ i \alpha_S\triangleq\sum_{i\in S}\theta_i α S ≜ ∑ i ∈ S θ i ,
μ 12 = ∑ S ⊆ { 3 , … , M } ∣ S ∣ = n − 1 ln ( 1 − θ 1 − α S ) ( θ 2 + α S ) ( θ 1 + α S ) ( 1 − θ 2 − α S ) . (69) \mu_{12}=\sum_{\substack{S\subseteq\{3,\ldots,M\}\\|S|=n-1}}\ln\frac{(1-\theta_1-\alpha_S)(\theta_2+\alpha_S)}{(\theta_1+\alpha_S)(1-\theta_2-\alpha_S)}. \tag*{(69)} μ 12 = S ⊆ { 3 , … , M } ∣ S ∣ = n − 1 ∑ ln ( θ 1 + α S ) ( 1 − θ 2 − α S ) ( 1 − θ 1 − α S ) ( θ 2 + α S ) . (69)
This expression assumes M > 2 n M>2n M > 2 n . For n = M / 2 n=M/2 n = M /2 each pair appears in the sum twice, as S S S and as its complement in { 3 , … , M } \{3,\ldots,M\} { 3 , … , M } , with equal terms, so the right-hand side must be multiplied by 1 / 2 1/2 1/2 ; this is the value used for M = 4 M=4 M = 4 in Table 3 . In both cases the number of distinct terms is d ( n , M ) / 2 d(n,M)/2 d ( n , M ) /2 , so μ 12 / ( d ( n , M ) / 2 ) \mu_{12}/(d(n,M)/2) μ 12 / ( d ( n , M ) /2 ) is the average of γ ( α S ) \gamma(\alpha_S) γ ( α S ) over all sets S ⊆ { 3 , … , M } S\subseteq\{3,\ldots,M\} S ⊆ { 3 , … , M } with ∣ S ∣ = n − 1 |S|=n-1 ∣ S ∣ = n − 1 , where
Table 3. Numerical verification of Lemma 6 (n = 2 n=2 n = 2 , θ 1 = 0.5 \theta_1=0.5 θ 1 = 0.5 , θ 2 = 0.25 \theta_2=0.25 θ 2 = 0.25 , σ = 1.0 \sigma=1.0 σ = 1.0 ).
γ ( α ) ≜ ln ( 1 − θ 1 − α ) ( θ 2 + α ) ( θ 1 + α ) ( 1 − θ 2 − α ) , α ∈ [ 0 , 1 − θ 1 − θ 2 ] . (70) \gamma(\alpha)\triangleq\ln\frac{(1-\theta_1-\alpha)(\theta_2+\alpha)}{(\theta_1+\alpha)(1-\theta_2-\alpha)},\qquad\alpha\in[0,1-\theta_1-\theta_2]. \tag*{(70)} γ ( α ) ≜ ln ( θ 1 + α ) ( 1 − θ 2 − α ) ( 1 − θ 1 − α ) ( θ 2 + α ) , α ∈ [ 0 , 1 − θ 1 − θ 2 ] . (70)
Step 2: two-sided bound on γ \gamma γ .
Since γ = ln η j \gamma=\ln\eta_j γ = ln η j with η j \eta_j η j as in (60) (θ k = θ 2 \theta_k=\theta_2 θ k = θ 2 ), Lemma 4 gives γ ( α ) ≥ γ ( 0 ) \gamma(\alpha)\ge\gamma(0) γ ( α ) ≥ γ ( 0 ) on the whole domain; by (61) , γ \gamma γ is strictly increasing and then strictly decreasing between two endpoints at which it takes the same value, so γ ( α ) > γ ( 0 ) \gamma(\alpha)>\gamma(0) γ ( α ) > γ ( 0 ) for 0 < α < 1 − θ 1 − θ 2 0<\alpha<1-\theta_1-\theta_2 0 < α < 1 − θ 1 − θ 2 . For the upper bound, write γ ( α ) − γ ( 0 ) \gamma(\alpha)-\gamma(0) γ ( α ) − γ ( 0 ) as the sum of ln 1 − θ 1 − α 1 − θ 1 ≤ − α 1 − θ 1 \ln\frac{1-\theta_1-\alpha}{1-\theta_1}\le-\frac{\alpha}{1-\theta_1} ln 1 − θ 1 1 − θ 1 − α ≤ − 1 − θ 1 α , ln θ 2 + α θ 2 ≤ α θ 2 \ln\frac{\theta_2+\alpha}{\theta_2}\le\frac{\alpha}{\theta_2} ln θ 2 θ 2 + α ≤ θ 2 α , − ln θ 1 + α θ 1 ≤ − α θ 1 + α ≤ − α 1 − θ 2 -\ln\frac{\theta_1+\alpha}{\theta_1}\le-\frac{\alpha}{\theta_1+\alpha}\le-\frac{\alpha}{1-\theta_2} − ln θ 1 θ 1 + α ≤ − θ 1 + α α ≤ − 1 − θ 2 α and ln 1 − θ 2 1 − θ 2 − α ≤ α 1 − θ 2 − α ≤ α θ 1 \ln\frac{1-\theta_2}{1-\theta_2-\alpha}\le\frac{\alpha}{1-\theta_2-\alpha}\le\frac{\alpha}{\theta_1} ln 1 − θ 2 − α 1 − θ 2 ≤ 1 − θ 2 − α α ≤ θ 1 α , where we used ln x ≤ x − 1 \ln x\le x-1 ln x ≤ x − 1 (and, for the third, ln x ≥ 1 − 1 / x \ln x\ge1-1/x ln x ≥ 1 − 1/ x ) together with θ 1 + α ≤ 1 − θ 2 \theta_1+\alpha\le1-\theta_2 θ 1 + α ≤ 1 − θ 2 and 1 − θ 2 − α ≥ θ 1 1-\theta_2-\alpha\ge\theta_1 1 − θ 2 − α ≥ θ 1 . Hence, with c ′ ≜ 1 θ 1 + 1 θ 2 − 1 1 − θ 1 − 1 1 − θ 2 ≥ 0 c'\triangleq\frac{1}{\theta_1}+\frac{1}{\theta_2}-\frac{1}{1-\theta_1}-\frac{1}{1-\theta_2}\ge0 c ′ ≜ θ 1 1 + θ 2 1 − 1 − θ 1 1 − 1 − θ 2 1 ≥ 0 ,
0 ≤ γ ( α ) − γ ( 0 ) ≤ c ′ α , α ∈ [ 0 , 1 − θ 1 − θ 2 ] . (71) 0\le\gamma(\alpha)-\gamma(0)\le c'\alpha,\qquad\alpha\in[0,1-\theta_1-\theta_2]. \tag*{(71)} 0 ≤ γ ( α ) − γ ( 0 ) ≤ c ′ α , α ∈ [ 0 , 1 − θ 1 − θ 2 ] . (71)
Step 3: evaluation of α ˉ S \bar{\alpha}_S α ˉ S .
Each i ∈ { 3 , … , M } i\in\{3,\ldots,M\} i ∈ { 3 , … , M } is contained in ( M − 3 n − 2 ) \binom{M-3}{n-2} ( n − 2 M − 3 ) of the ( M − 2 n − 1 ) \binom{M-2}{n-1} ( n − 1 M − 2 ) sets S S S , so
α ˉ S = n − 1 M − 2 ( 1 − θ 1 − θ 2 ) . (72) \bar{\alpha}_S=\frac{n-1}{M-2}(1-\theta_1-\theta_2). \tag*{(72)} α ˉ S = M − 2 n − 1 ( 1 − θ 1 − θ 2 ) . (72)
This is an identity that uses only ∑ i ≥ 3 θ i = 1 − θ 1 − θ 2 \sum_{i\ge3}\theta_i=1-\theta_1-\theta_2 ∑ i ≥ 3 θ i = 1 − θ 1 − θ 2 .
Step 4: derivation of the claim.
Define the error from the asymptotic target value at finite M M M by
r ( M ) ≜ μ 12 d ( n , M ) / 2 − ln ( 1 − θ 1 ) θ 2 θ 1 ( 1 − θ 2 ) = γ ( α S ) − γ ( 0 ) . (73) r(M)\triangleq\frac{\mu_{12}}{d(n,M)/2}-\ln\frac{(1-\theta_1)\theta_2}{\theta_1(1-\theta_2)}=\gamma(\alpha_S)-\gamma(0). \tag*{(73)} r ( M ) ≜ d ( n , M ) /2 μ 12 − ln θ 1 ( 1 − θ 2 ) ( 1 − θ 1 ) θ 2 = γ ( α S ) − γ ( 0 ) . (73)
Averaging (71) over S S S and using (72) ,
0 ≤ r ( M ) ≤ c ′ α ˉ S = β ( θ 1 , θ 2 , n ) M − 2 (74) 0\le r(M)\le c'\bar{\alpha}_S=\frac{\beta(\theta_1,\theta_2,n)}{M-2} \tag*{(74)} 0 ≤ r ( M ) ≤ c ′ α ˉ S = M − 2 β ( θ 1 , θ 2 , n ) (74)
for every M ≥ 2 n M\ge2n M ≥ 2 n , which is (53) and implies (52) . If θ i > 0 \theta_i>0 θ i > 0 for all i ≥ 3 i\ge3 i ≥ 3 , then 0 < α S < 1 − θ 1 − θ 2 0<\alpha_S<1-\theta_1-\theta_2 0 < α S < 1 − θ 1 − θ 2 for every S S S (since n − 1 < M − 2 n-1<M-2 n − 1 < M − 2 ), so every term is strictly positive by Step 2 and r ( M ) > 0 r(M)>0 r ( M ) > 0 for every M ≥ 2 n M\ge2n M ≥ 2 n ; that is, at finite M M M , μ 12 / ( d / 2 ) \mu_{12}/(d/2) μ 12 / ( d /2 ) lies on the larger side of the asymptotic value (smaller in absolute value). Consequently ρ 12 < ρ 12 U \rho_{12}<\rho^{\mathrm U}_{12} ρ 12 < ρ 12 U and ρ 12 2 / ( 2 d ( n , M ) ) < e l o w e r \rho_{12}^2/(2d(n,M))<e_{\mathrm{lower}} ρ 12 2 / ( 2 d ( n , M )) < e lower at every finite M M M : the correction lowers the Gaussian exponent of the pairwise error.
The leading term of r ( M ) r(M) r ( M ) is given by a Taylor expansion around α = 0 \alpha=0 α = 0 . By (61) ,
γ ′ ( 0 ) = − 1 1 − θ 1 + 1 θ 2 − 1 θ 1 + 1 1 − θ 2 = ( θ 1 − θ 2 ) ( 1 − θ 1 − θ 2 ) θ 1 θ 2 ( 1 − θ 1 ) ( 1 − θ 2 ) . (75) \gamma'(0)=-\frac{1}{1-\theta_1}+\frac{1}{\theta_2}-\frac{1}{\theta_1}+\frac{1}{1-\theta_2}=\frac{(\theta_1-\theta_2)(1-\theta_1-\theta_2)}{\theta_1\theta_2(1-\theta_1)(1-\theta_2)}. \tag*{(75)} γ ′ ( 0 ) = − 1 − θ 1 1 + θ 2 1 − θ 1 1 + 1 − θ 2 1 = θ 1 θ 2 ( 1 − θ 1 ) ( 1 − θ 2 ) ( θ 1 − θ 2 ) ( 1 − θ 1 − θ 2 ) . (75)
which is positive if and only if 1 − θ 1 − θ 2 > 0 1-\theta_1-\theta_2>0 1 − θ 1 − θ 2 > 0 (given θ 1 > θ 2 \theta_1>\theta_2 θ 1 > θ 2 ); this holds in the setting of the lemma. Under θ i = O ( 1 / M ) \theta_i=O(1/M) θ i = O ( 1/ M ) (i ≥ 3 i\ge3 i ≥ 3 ) we have α S 2 ‾ = O ( 1 / M 2 ) \overline{\alpha_S^2}=O(1/M^2) α S 2 = O ( 1/ M 2 ) , so
r ( M ) = γ ′ ( 0 ) ( n − 1 ) ( 1 − θ 1 − θ 2 ) M − 2 + O ( 1 M 2 ) , (76) r(M)=\frac{\gamma'(0)(n-1)(1-\theta_1-\theta_2)}{M-2}+O\left(\frac{1}{M^2}\right), \tag*{(76)} r ( M ) = M − 2 γ ′ ( 0 ) ( n − 1 ) ( 1 − θ 1 − θ 2 ) + O ( M 2 1 ) , (76)
and r ( M ) × M r(M)\times M r ( M ) × M converges to the constant γ ′ ( 0 ) ( n − 1 ) ( 1 − θ 1 − θ 2 ) \gamma'(0)(n-1)(1-\theta_1-\theta_2) γ ′ ( 0 ) ( n − 1 ) ( 1 − θ 1 − θ 2 ) , which is at most β ( θ 1 , θ 2 , n ) \beta(\theta_1,\theta_2,n) β ( θ 1 , θ 2 , n ) since γ ′ − γ ′ ( 0 ) = 2 / θ 1 − 2 / ( 1 − θ 2 ) ≥ 0 \gamma'-\gamma'(0)=2/\theta_1-2/(1-\theta_2)\ge0 γ ′ − γ ′ ( 0 ) = 2/ θ 1 − 2/ ( 1 − θ 2 ) ≥ 0 ; this can be confirmed numerically (Appendix H.1).
Step 5: contribution to the reliability function.
Since r ( M ) → 0 r(M)\to0 r ( M ) → 0 , ρ 12 2 / ( 2 d ( n , M ) ) → 1 8 σ 2 ln 2 θ 1 ( 1 − θ 2 ) ( 1 − θ 1 ) θ 2 = e l o w e r \rho_{12}^2/(2d(n,M))\to\frac{1}{8\sigma^2}\ln^2\frac{\theta_1(1-\theta_2)}{(1-\theta_1)\theta_2}=e_{\mathrm{lower}} ρ 12 2 / ( 2 d ( n , M )) → 8 σ 2 1 ln 2 ( 1 − θ 1 ) θ 2 θ 1 ( 1 − θ 2 ) = e lower .
Proof of Proposition 8 (reliability function)
Let e l o w e r ≜ 1 8 σ 2 ln 2 ( θ 1 ( 1 − θ 2 ) ( 1 − θ 1 ) θ 2 ) e_{\mathrm{lower}}\triangleq\frac{1}{8\sigma^2}\ln^2\left(\frac{\theta_1(1-\theta_2)}{(1-\theta_1)\theta_2}\right) e lower ≜ 8 σ 2 1 ln 2 ( ( 1 − θ 1 ) θ 2 θ 1 ( 1 − θ 2 ) ) .
The competitors k ≥ 3 k\ge3 k ≥ 3 are negligible. Let d = d ( n , M ) d=d(n,M) d = d ( n , M ) , and let c 0 c_0 c 0 be a constant with θ i ≤ c 0 / M \theta_i\le c_0/M θ i ≤ c 0 / M for i ≥ 3 i\ge3 i ≥ 3 (Definition 6). For M > 2 n M>2n M > 2 n , as in (69) with k k k in place of 2, μ 1 k = ∑ S γ k ( α S ) \mu_{1k}=\sum_S\gamma_k(\alpha_S) μ 1 k = ∑ S γ k ( α S ) , where S S S ranges over the d / 2 d/2 d /2 subsets of { 2 , … , M } ∖ { k } \{2,\ldots,M\}\setminus\{k\} { 2 , … , M } ∖ { k } of size n − 1 n-1 n − 1 , γ k ( α ) ≜ ln ( 1 − θ 1 − α ) ( θ k + α ) ( θ 1 + α ) ( 1 − θ k − α ) \gamma_k(\alpha)\triangleq\ln\frac{(1-\theta_1-\alpha)(\theta_k+\alpha)}{(\theta_1+\alpha)(1-\theta_k-\alpha)} γ k ( α ) ≜ ln ( θ 1 + α ) ( 1 − θ k − α ) ( 1 − θ 1 − α ) ( θ k + α ) , and every term is negative by Lemma 1. If θ k + α S ≤ 1 / 2 \theta_k+\alpha_S\le1/2 θ k + α S ≤ 1/2 , then − γ k ( α S ) ≥ ln θ 1 2 ( θ k + α S ) -\gamma_k(\alpha_S)\ge\ln\frac{\theta_1}{2(\theta_k+\alpha_S)} − γ k ( α S ) ≥ ln 2 ( θ k + α S ) θ 1 . If 2 ∉ S 2\notin S 2 ∈ / S , then θ k + α S ≤ n c 0 / M \theta_k+\alpha_S\le nc_0/M θ k + α S ≤ n c 0 / M , and the fraction of the sets S S S containing 2 is ( n − 1 ) / ( M − 2 ) (n-1)/(M-2) ( n − 1 ) / ( M − 2 ) . Hence
min k ≥ 3 − μ 1 k d ≥ 1 2 ( 1 − n − 1 M − 2 ) ( ln M − ln 2 n c 0 θ 1 ) ⟶ ∞ , (77) \min_{k\ge3}\frac{-\mu_{1k}}{d}\ge\frac{1}{2}\left(1-\frac{n-1}{M-2}\right)\left(\ln M-\ln\frac{2nc_0}{\theta_1}\right)\longrightarrow\infty, \tag*{(77)} k ≥ 3 min d − μ 1 k ≥ 2 1 ( 1 − M − 2 n − 1 ) ( ln M − ln θ 1 2 n c 0 ) ⟶ ∞ , (77)
which holds for every M > 2 n M>2n M > 2 n (when the right-hand side is negative it is trivial, the left-hand side being nonnegative), whereas − μ 12 / d -\mu_{12}/d − μ 12 / d converges by Lemma 6; since ρ 1 k = − μ 1 k / ( σ d ) \rho_{1k}=-\mu_{1k}/(\sigma\sqrt d) ρ 1 k = − μ 1 k / ( σ d ) , we have ρ min = ρ 12 \rho_{\min}=\rho_{12} ρ m i n = ρ 12 for all sufficiently large M M M .
Upper and lower bounds. By the union bound and the Chernoff bound (the upper bound of Lemma 2), we obtain an upper bound on P ( E ∣ θ ) P(E\mid\theta) P ( E ∣ θ ) ,
P ( E ∣ θ ) ≤ ( M − 1 ) exp ( − ρ min 2 2 ) , (78) P(E\mid\theta)\le(M-1)\exp\left(-\frac{\rho_{\min}^2}{2}\right), \tag*{(78)} P ( E ∣ θ ) ≤ ( M − 1 ) exp ( − 2 ρ m i n 2 ) , (78)
which yields a lower bound on − ln P ( E ∣ θ ) -\ln P(E\mid\theta) − ln P ( E ∣ θ ) . We have ρ min = ρ 12 \rho_{\min}=\rho_{12} ρ m i n = ρ 12 for all sufficiently large M M M , ρ 12 2 / ( 2 d ( n , M ) ) → e l o w e r \rho_{12}^2/(2d(n,M))\to e_{\mathrm{lower}} ρ 12 2 / ( 2 d ( n , M )) → e lower by Lemma 6 (Appendix E), and ( M − 1 ) ≤ e ζ d ( n , M ) (M-1)\le e^{\zeta d(n,M)} ( M − 1 ) ≤ e ζ d ( n , M ) for any ζ > 0 \zeta>0 ζ > 0 (since ln ( M − 1 ) = o ( d ( n , M ) ) \ln(M-1)=o(d(n,M)) ln ( M − 1 ) = o ( d ( n , M )) ), so
lim inf M → ∞ − ln P ( E ∣ θ ) d ( n , M ) ≥ e l o w e r . (79) \liminf_{M\to\infty}\frac{-\ln P(E\mid\theta)}{d(n,M)}\ge e_{\mathrm{lower}}. \tag*{(79)} M → ∞ lim inf d ( n , M ) − ln P ( E ∣ θ ) ≥ e lower . (79)
Conversely, by { R 12 ≤ 1 } ⊆ E \{R_{12}\le1\}\subseteq E { R 12 ≤ 1 } ⊆ E and the lower bound of Lemma 2 (when ρ 12 ≥ 1 \rho_{12}\ge1 ρ 12 ≥ 1 ), we obtain a lower bound on P ( E ∣ θ ) P(E\mid\theta) P ( E ∣ θ ) ,
P ( E ∣ θ ) ≥ 1 2 2 π ρ 12 exp ( − ρ 12 2 2 ) , (80) P(E\mid\theta)\ge\frac{1}{2\sqrt{2\pi\rho_{12}}}\exp\left(-\frac{\rho_{12}^2}{2}\right), \tag*{(80)} P ( E ∣ θ ) ≥ 2 2 π ρ 12 1 exp ( − 2 ρ 12 2 ) , (80)
which yields an upper bound on − ln P ( E ∣ θ ) -\ln P(E\mid\theta) − ln P ( E ∣ θ ) . Since ln ρ 12 = O ( ln d ( n , M ) ) \ln\rho_{12}=O(\ln d(n,M)) ln ρ 12 = O ( ln d ( n , M )) is sublinear in d ( n , M ) d(n,M) d ( n , M ) ,
lim sup M → ∞ − ln P ( E ∣ θ ) d ( n , M ) ≤ e l o w e r . (81) \limsup_{M\to\infty}\frac{-\ln P(E\mid\theta)}{d(n,M)}\le e_{\mathrm{lower}}. \tag*{(81)} M → ∞ lim sup d ( n , M ) − ln P ( E ∣ θ ) ≤ e lower . (81)
Since lim inf ≤ lim sup \liminf\le\limsup lim inf ≤ lim sup always holds, the two bounds above force lim inf = lim sup = e l o w e r \liminf=\limsup=e_{\mathrm{lower}} lim inf = lim sup = e lower , so the limit exists and E E C O C ( θ , σ ) = e l o w e r E_{\mathrm{ECOC}}(\theta,\sigma)=e_{\mathrm{lower}} E ECOC ( θ , σ ) = e lower .
Proof of Theorem 2 (correlated Gaussian noise)
Part 1, sufficiency and necessity. For a general covariance, (7) and (14) give P ( R 1 k ≤ 1 ∣ θ ) = Q ( ρ 1 k ) P(R_{1k} \le1 \mid\theta)=Q(\rho_{1k}) P ( R 1 k ≤ 1 ∣ θ ) = Q ( ρ 1 k ) with
ρ 1 k ≜ − μ 1 k s k T Σ s k = − μ 1 k d H ( c 1 , c k ) d e f f ( c 1 , c k ) . (82) \rho_{1k} \triangleq\frac{-\mu_{1k}}{\sqrt{s_k^{\mathsf T}\Sigma s_k}}=\frac{-\mu_{1k}}{d_H(c_1,c_k)}\sqrt{d_{\mathrm{eff}}(c_1,c_k)}. \tag*{(82)} ρ 1 k ≜ s k T Σ s k − μ 1 k = d H ( c 1 , c k ) − μ 1 k d eff ( c 1 , c k ) . (82)
which replaces (9). Proposition 2 involves the noise only through P ( E ∣ θ ) P(E\mid\theta) P ( E ∣ θ ) , and Propositions 3, 4 and 6 and the bound (41) concern μ 1 k \mu_{1k} μ 1 k alone. By the union bound and Lemma 2, P ( E ∣ θ ) ≤ ∑ k ≠ 1 exp ( − ρ 1 k 2 / 2 ) P(E\mid\theta)\le\sum_{k\ne1}\exp(-\rho_{1k}^{2}/2) P ( E ∣ θ ) ≤ ∑ k = 1 exp ( − ρ 1 k 2 /2 ) . By (24), − μ 1 k / d H ( c 1 , c k ) ≥ ln θ 1 + ω ( n min ) 1 − θ 1 − ω ( n min ) -\mu_{1k}/d_H(c_1,c_k)\ge\ln\frac{\theta_1+\omega(n_{\min})}{1-\theta_1-\omega(n_{\min})} − μ 1 k / d H ( c 1 , c k ) ≥ ln 1 − θ 1 − ω ( n m i n ) θ 1 + ω ( n m i n ) under the conditions of Proposition 5, and by (27), − μ 1 k / d ( n , M ) ≥ ln 1 + λ 1 − λ -\mu_{1k}/d(n,M)\ge\ln\frac{1+\lambda}{1-\lambda} − μ 1 k / d ( n , M ) ≥ ln 1 − λ 1 + λ for n v R nvR n v R codes; in both cases ρ 1 k 2 / 2 ≥ κ ˉ d e f f ( c 1 , c k ) \rho_{1k}^{2}/2\ge\bar{\kappa}d_{\mathrm{eff}}(c_1,c_k) ρ 1 k 2 /2 ≥ κ ˉ d eff ( c 1 , c k ) , which gives the upper bound in (59). For the lower bound, { R 12 ≤ 1 } ⊆ E \{R_{12}\le1\}\subseteq E { R 12 ≤ 1 } ⊆ E gives P ( E ∣ θ ) ≥ Q ( ρ 12 ) P(E\mid\theta)\ge Q(\rho_{12}) P ( E ∣ θ ) ≥ Q ( ρ 12 ) , and (41) gives − μ 12 ≤ d H ( c 1 , c 2 ) B 2 ( θ ) -\mu_{12}\le d_H(c_1,c_2)B_2(\theta) − μ 12 ≤ d H ( c 1 , c 2 ) B 2 ( θ ) , so ρ 12 ≤ d e f f ( c 1 , c 2 ) B 2 ( θ ) \rho_{12}\le\sqrt{d_{\mathrm{eff}}(c_1,c_2)}B_2(\theta) ρ 12 ≤ d eff ( c 1 , c 2 ) B 2 ( θ ) ; the claim follows from Proposition 2 since Q Q Q is decreasing.
Part 1, tightness. Let d = d ( n , M ) d=d(n,M) d = d ( n , M ) with n ≥ 2 n\ge2 n ≥ 2 fixed, take the family of Definition 6, and let V V V bound σ e f f 2 ( 1 , k ) \sigma_{\mathrm{eff}}^{2}(1,k) σ eff 2 ( 1 , k ) . By (77) (Appendix F), which concerns μ 1 k \mu_{1k} μ 1 k alone, − μ 1 k / d → ∞ -\mu_{1k}/d\to\infty − μ 1 k / d → ∞ uniformly in k ≥ 3 k\ge3 k ≥ 3 , so that ρ 1 k 2 / ( 2 d ) ≥ ( μ 1 k / d ) 2 / ( 2 V ) → ∞ \rho_{1k}^{2}/(2d)\ge(\mu_{1k}/d)^{2}/(2V)\to\infty ρ 1 k 2 / ( 2 d ) ≥ ( μ 1 k / d ) 2 / ( 2 V ) → ∞ uniformly in k ≥ 3 k\ge3 k ≥ 3 . By Lemma 6, ρ 12 2 / ( 2 d ) = ( μ 12 / d ) 2 / ( 2 σ e f f 2 ( 1 , 2 ) ) → E E C O C ( θ , v ) \rho_{12}^{2}/(2d)=(\mu_{12}/d)^{2}/(2\sigma_{\mathrm{eff}}^{2}(1,2))\to E_{\mathrm{ECOC}}(\theta,\sqrt{v}) ρ 12 2 / ( 2 d ) = ( μ 12 / d ) 2 / ( 2 σ eff 2 ( 1 , 2 )) → E ECOC ( θ , v ) . Therefore ρ min = ρ 12 \rho_{\min}=\rho_{12} ρ m i n = ρ 12 for all sufficiently large M M M , and the argument of Appendix F applies with σ d \sigma\sqrt{d} σ d replaced by ( s 2 T Σ s 2 ) 1 / 2 (s_2^{\mathsf T}\Sigma s_2)^{1/2} ( s 2 T Σ s 2 ) 1/2 : Q ( ρ 12 ) ≤ P ( E ∣ θ ) ≤ ( M − 1 ) exp ( − ρ 12 2 / 2 ) Q(\rho_{12})\le P(E\mid\theta)\le(M-1)\exp(-\rho_{12}^{2}/2) Q ( ρ 12 ) ≤ P ( E ∣ θ ) ≤ ( M − 1 ) exp ( − ρ 12 2 /2 ) and ln ( M − 1 ) = o ( d ) \ln(M-1)=o(d) ln ( M − 1 ) = o ( d ) give − ln P ( E ∣ θ ) / d → E E C O C ( θ , v ) -\ln P(E\mid\theta)/d\to E_{\mathrm{ECOC}}(\theta,\sqrt{v}) − ln P ( E ∣ θ ) / d → E ECOC ( θ , v ) , and Proposition 2 transfers the limit to Δ ( θ ) \Delta(\theta) Δ ( θ ) as in Corollary 3.
Part 2. Since Cov ( ε j , ε j ′ ) = σ 0 2 1 { j = j ′ } + σ c 2 ∑ i w i j w i j ′ + σ z 2 \operatorname{Cov}(\varepsilon_j,\varepsilon_{j'})=\sigma_0^2\mathbf{1}_{\{j=j'\}}+\sigma_c^2\sum_i w_{ij}w_{ij'}+\sigma_z^2 Cov ( ε j , ε j ′ ) = σ 0 2 1 { j = j ′ } + σ c 2 ∑ i w ij w i j ′ + σ z 2 , we have Σ = σ 0 2 I + σ c 2 W T W + σ z 2 11 T \Sigma=\sigma_0^2I+\sigma_c^2W^{\mathsf T}W+\sigma_z^2\mathbf{1}\mathbf{1}^{\mathsf T} Σ = σ 0 2 I + σ c 2 W T W + σ z 2 1 1 T . With e i e_i e i the i i i -th unit vector of R M \mathbb{R}^M R M , d H ( c 1 , c k ) = ∥ s k ∥ 2 = ( e k − e 1 ) T W s k ≤ 2 ∥ W s k ∥ d_H(c_1,c_k)=\lVert s_k\rVert^2=(e_k-e_1)^{\mathsf T}Ws_k\le\sqrt{2}\lVert Ws_k\rVert d H ( c 1 , c k ) = ∥ s k ∥ 2 = ( e k − e 1 ) T W s k ≤ 2 ∥ W s k ∥ by the Cauchy–Schwarz inequality, so s k T Σ s k ≥ σ c 2 ∥ W s k ∥ 2 ≥ σ c 2 d H ( c 1 , c k ) 2 / 2 s_k^{\mathsf T}\Sigma s_k\ge\sigma_c^2\lVert Ws_k\rVert^2\ge\sigma_c^2d_H(c_1,c_k)^2/2 s k T Σ s k ≥ σ c 2 ∥ W s k ∥ 2 ≥ σ c 2 d H ( c 1 , c k ) 2 /2 , that is, d e f f ( c 1 , c k ) ≤ 2 / σ c 2 d_{\mathrm{eff}}(c_1,c_k)\le2/\sigma_c^2 d eff ( c 1 , c k ) ≤ 2/ σ c 2 ; the lower bound on Δ ( θ ) \Delta(\theta) Δ ( θ ) follows from part 1. Let W W W be equidistant with distance d d d and row weight ℓ \ell ℓ . Then W W T = ( d / 2 ) I + ( ℓ − d / 2 ) 11 T WW^{\mathsf T}=(d/2)I+(\ell-d/2)\mathbf{1}\mathbf{1}^{\mathsf T} W W T = ( d /2 ) I + ( ℓ − d /2 ) 1 1 T , and the noise part of L i L_i L i in (13) is
∑ j w i j ε j = ∑ j w i j ξ j + d 2 χ i + ( ℓ − d 2 ) ∑ l χ l + ℓ z . (83) \sum_j w_{ij}\varepsilon_j=\sum_j w_{ij}\xi_j+\frac{d}{2}\chi_i+\left(\ell-\frac{d}{2}\right)\sum_l\chi_l+\ell z. \tag*{(83)} j ∑ w ij ε j = j ∑ w ij ξ j + 2 d χ i + ( ℓ − 2 d ) l ∑ χ l + ℓ z . (83)
The last two terms are common to all i i i . The covariance of the first two, σ 0 2 W W T + σ c 2 ( d / 2 ) 2 I \sigma_0^2WW^{\mathsf T}+\sigma_c^2(d/2)^2I σ 0 2 W W T + σ c 2 ( d /2 ) 2 I , differs from ( σ 0 2 + σ c 2 d / 2 ) W W T (\sigma_0^2+\sigma_c^2d/2)WW^{\mathsf T} ( σ 0 2 + σ c 2 d /2 ) W W T , the covariance under Assumption 1 with σ 2 = σ 0 2 + σ c 2 d / 2 \sigma^2=\sigma_0^2+\sigma_c^2d/2 σ 2 = σ 0 2 + σ c 2 d /2 , by a multiple of 11 T \mathbf{1}\mathbf{1}^{\mathsf T} 1 1 T , which cancels in every difference L i − L k L_i-L_k L i − L k . The score differences are jointly Gaussian with the same means and covariances in the two models, so i ^ \hat{i} i ^ has the same distribution. If σ c = 0 \sigma_c=0 σ c = 0 , only the term ℓ z \ell z ℓ z remains, and equal row weights suffice. □
Numerical Verification
In this appendix we present the numerical verification of the theoretical results up to Section 6. The setting here corresponds to the L0 setting (Section 9.1) that exactly satisfies the assumptions of the theory (i.i.d. Gaussian noise of known variance σ 2 \sigma^2 σ 2 in the analog domain), in which the value of the reliability function can be verified quantitatively. We take n = 2 n=2 n = 2 (2vR code), θ 1 = 0.5 \theta_1=0.5 θ 1 = 0.5 , θ 2 = 0.25 \theta_2=0.25 θ 2 = 0.25 (so λ = θ 1 − θ 2 = 0.25 \lambda=\theta_1-\theta_2=0.25 λ = θ 1 − θ 2 = 0.25 ), σ = 1.0 \sigma=1.0 σ = 1.0 , and allocate the posterior probabilities of the remaining categories uniformly as θ i = ( 1 − θ 1 − θ 2 ) / ( M − 2 ) \theta_i=(1-\theta_1-\theta_2)/(M-2) θ i = ( 1 − θ 1 − θ 2 ) / ( M − 2 ) (i ≥ 3 i\ge3 i ≥ 3 ). We used 500,000 trials for the Monte Carlo estimate for each M M M .
Verification of the lemma: asymptotic behavior of μ 12 / ( d / 2 ) \mu_{12}/(d/2) μ 12 / ( d /2 )
Lemma 6 claims that, as M → ∞ M\to\infty M → ∞ (n n n fixed),
μ 12 d ( n , M ) / 2 ⟶ ln ( 1 − θ 1 ) θ 2 θ 1 ( 1 − θ 2 ) (84) \frac{\mu_{12}}{d(n,M)/2}\longrightarrow\ln\frac{(1-\theta_1)\theta_2}{\theta_1(1-\theta_2)} \tag*{(84)} d ( n , M ) /2 μ 12 ⟶ ln θ 1 ( 1 − θ 2 ) ( 1 − θ 1 ) θ 2 (84)
and guarantees that the error is O ( 1 / M ) O(1/M) O ( 1/ M ) . Table 3 compares the exact numerical value of the left-hand side with the asymptotic target value.
− ln Q ( ρ U ) / d -\ln Q(\rho^U)/d − ln Q ( ρ U ) / d : the exponent of the lower bound Q ( ρ 12 U ) Q(\rho^U_{12}) Q ( ρ 12 U ) of Lemma 5. Since ( ρ 12 U ) 2 / 2 = d e l o w e r (\rho^U_{12})^2/2=d\,e_{\mathrm{lower}} ( ρ 12 U ) 2 /2 = d e lower exactly, it exceeds e l o w e r e_{\mathrm{lower}} e lower only through the prefactor of Q Q Q and converges to e l o w e r e_{\mathrm{lower}} e lower as d → ∞ d\to\infty d → ∞ . At M = 4 M=4 M = 4 the 2vR code has n = M / 2 n=M/2 n = M /2 , so d ( 2 , 4 ) = ( 2 1 ) = 2 d(2,4)=\binom{2}{1}=2 d ( 2 , 4 ) = ( 1 2 ) = 2 by (2).
∣ r ( M ) ∣ × M \lvert r(M)\rvert\times M ∣ r ( M )∣ × M converges to about 0.333 (= 1/3) over M = 4 M=4 M = 4 to M = 500 M=500 M = 500 , confirming that the error is O ( 1 / M ) O(1/M) O ( 1/ M ) ; every entry also satisfies the explicit bound 0 < r ( M ) ≤ β / ( M − 2 ) 0<r(M)\le\beta/(M-2) 0 < r ( M ) ≤ β / ( M − 2 ) of the lemma, here with β = 2 / 3 \beta=2/3 β = 2/3 . Moreover, the error r ( M ) r(M) r ( M ) is positive (for every M M M , by Lemma 6), so μ 12 / ( d / 2 ) \mu_{12}/(d/2) μ 12 / ( d /2 ) at finite M M M is larger than the asymptotic target, i.e., smaller in absolute value. Hence ρ 12 < ρ 12 U \rho_{12}<\rho^U_{12} ρ 12 < ρ 12 U and ρ 12 2 / ( 2 d ( n , M ) ) < e l o w e r \rho_{12}^2/(2d(n,M))<e_{\mathrm{lower}} ρ 12 2 / ( 2 d ( n , M )) < e lower at every finite M M M : the correction of Lemma 6 lowers the Gaussian exponent of the pairwise error Q ( ρ 12 ) Q(\rho_{12}) Q ( ρ 12 ) below e l o w e r e_{\mathrm{lower}} e lower and raises Q ( ρ 12 ) Q(\rho_{12}) Q ( ρ 12 ) above Q ( ρ 12 U ) Q(\rho^U_{12}) Q ( ρ 12 U ) . For example, at M = 20 M=20 M = 20 , ρ 12 2 / ( 2 d ) = 0.1462 < e l o w e r = 0.1509 \rho_{12}^2/(2d)=0.1462<e_{\mathrm{lower}}=0.1509 ρ 12 2 / ( 2 d ) = 0.1462 < e lower = 0.1509 and Q ( ρ 12 ) = 5.89 × 10 − 4 > Q ( ρ 12 U ) = 4.91 × 10 − 4 Q(\rho_{12})=5.89\times10^{-4}>Q(\rho^U_{12})=4.91\times10^{-4} Q ( ρ 12 ) = 5.89 × 1 0 − 4 > Q ( ρ 12 U ) = 4.91 × 1 0 − 4 .
Verification of the main theorem: convergence of the reliability function
Proposition 8 claims that, for an n v nv n v R code with n ≥ 2 n\ge2 n ≥ 2 (here the 2vR code),
lim M → ∞ − ln P ( E ∣ θ ) d ( n , M ) = e l o w e r = 1 8 σ 2 ln 2 θ 1 ( 1 − θ 2 ) ( 1 − θ 1 ) θ 2 . (85) \lim_{M\to\infty}\frac{-\ln P(E\mid\theta)}{d(n,M)}
=e_{\mathrm{lower}}
=\frac{1}{8\sigma^2}\ln^2\frac{\theta_1(1-\theta_2)}{(1-\theta_1)\theta_2}. \tag*{(85)} M → ∞ lim d ( n , M ) − ln P ( E ∣ θ ) = e lower = 8 σ 2 1 ln 2 ( 1 − θ 1 ) θ 2 θ 1 ( 1 − θ 2 ) . (85)
In this setting e l o w e r = 0.15087 e_{\mathrm{lower}}=0.15087 e lower = 0.15087 , which is larger than the uniform worst-case exponent κ 2 ( λ , σ ) = 0.13047 \kappa_2(\lambda,\sigma)=0.13047 κ 2 ( λ , σ ) = 0.13047 over Ω ( λ ) \Omega(\lambda) Ω ( λ ) (see Lemma 7) by about 15.6%.
Table 4 compares the Monte Carlo estimate of the exponent − ln P ( E ∣ θ ) M C / d -\ln P(E\mid\theta)_{\mathrm{MC}}/d − ln P ( E ∣ θ ) MC / d with both formulas.
Table 4. Numerical verification of the reliability function (n = 2 n=2 n = 2 , θ 1 = 0.5 \theta_1=0.5 θ 1 = 0.5 , θ 2 = 0.25 \theta_2=0.25 θ 2 = 0.25 , σ = 1.0 \sigma=1.0 σ = 1.0 ).
From the table we obtain the following observations. (1) The Monte Carlo exponent decreases monotonically as M M M increases and converges toward e l o w e r = 0.15087 e_{\mathrm{lower}}=0.15087 e lower = 0.15087 . (2) At finite M M M the Monte Carlo exponent is larger than e l o w e r e_{\mathrm{lower}} e lower . This excess is not caused by the correction r ( M ) r(M) r ( M ) of Lemma 6, which acts in the opposite direction: r ( M ) > 0 r(M)>0 r ( M ) > 0 makes ∣ μ 12 ∣ \lvert\mu_{12}\rvert ∣ μ 12 ∣ , and hence ρ 12 \rho_{12} ρ 12 , smaller, so that ρ 12 2 / ( 2 d ) < e l o w e r \rho_{12}^2/(2d)<e_{\mathrm{lower}} ρ 12 2 / ( 2 d ) < e lower (previous subsection). It is caused by the subexponential prefactor of Q Q Q . By the Mills-ratio bounds ϕ ( x ) / ( x 2 + 1 ) ≤ Q ( x ) ≤ ϕ ( x ) / x \phi(x)/(x^2+1)\le Q(x)\le\phi(x)/x ϕ ( x ) / ( x 2 + 1 ) ≤ Q ( x ) ≤ ϕ ( x ) / x (x > 0 x>0 x > 0 , ϕ \phi ϕ the standard normal density), − ln Q ( ρ ) / d = ρ 2 / ( 2 d ) + ln ( 2 π ρ ) / d + O ( 1 / ( ρ 2 d ) ) -\ln Q(\rho)/d=\rho^2/(2d)+\ln(\sqrt{2\pi}\rho)/d+O(1/(\rho^2d)) − ln Q ( ρ ) / d = ρ 2 / ( 2 d ) + ln ( 2 π ρ ) / d + O ( 1/ ( ρ 2 d )) . For n = 2 n=2 n = 2 the term ln ( 2 π ρ 12 ) / d = Θ ( ln d / d ) \ln(\sqrt{2\pi}\rho_{12})/d=\Theta(\ln d/d) ln ( 2 π ρ 12 ) / d = Θ ( ln d / d ) exceeds the deficit e l o w e r − ρ 12 2 / ( 2 d ) = O ( 1 / M ) = O ( 1 / d ) e_{\mathrm{lower}}-\rho_{12}^2/(2d)=O(1/M)=O(1/d) e lower − ρ 12 2 / ( 2 d ) = O ( 1/ M ) = O ( 1/ d ) . Indeed, − ln Q ( ρ 12 ) / d = 0.3311 -\ln Q(\rho_{12})/d=0.3311 − ln Q ( ρ 12 ) / d = 0.3311 , 0.2557 and 0.2066 for M = 6 M=6 M = 6 , 10 and 20, in close agreement, within Monte Carlo error, with the Monte Carlo exponents 0.3276, 0.2563 and 0.2061. (3) The uniform exponent κ 2 = 0.13047 \kappa_2=0.13047 κ 2 = 0.13047 is below the Monte Carlo exponent at every M M M , consistent with the relation E C O C ≥ κ 2 E_{\mathrm{COC}}\ge\kappa_2 E COC ≥ κ 2 of Lemma 7.
Table 5. Verification of the consistency of the upper and lower bounds (n = 2 n = 2 n = 2 , θ 1 = 0.5 \theta_1 = 0.5 θ 1 = 0.5 , θ 2 = 0.25 \theta_2 = 0.25 θ 2 = 0.25 , σ = 1.0 \sigma= 1.0 σ = 1.0 , 500,000 trials).
Verification of the consistency of the upper and lower bounds
We check the inequalities
Q ( ρ 12 U ) ≤ P ( E ∣ θ ) ≤ ( M − 1 ) Q ( ρ L ) . (86) Q(\rho^{\mathrm{U}}_{12}) \le P(E|\theta) \le(M-1)Q(\rho^{\mathrm{L}}). \tag*{(86)} Q ( ρ 12 U ) ≤ P ( E ∣ θ ) ≤ ( M − 1 ) Q ( ρ L ) . (86)
The left inequality is the lower bound of Lemma 5. The right inequality follows from the union bound and ρ 1 k ≥ ρ L \rho_{1k} \ge\rho^{\mathrm{L}} ρ 1 k ≥ ρ L (Eq. (32) ); it is tighter than the Chernoff form ( M − 1 ) exp ( − d κ 2 ) (M-1)\exp(-d\kappa_2) ( M − 1 ) exp ( − d κ 2 ) of Lemma 5, which is obtained from it by Q ( x ) ≤ e − x 2 / 2 Q(x) \le e^{-x^2/2} Q ( x ) ≤ e − x 2 /2 . Table 5 compares the upper and lower bounds with the Monte Carlo estimates.
For all verified M M M (4 ≤ M ≤ 20 4 \le M \le20 4 ≤ M ≤ 20 ), the Monte Carlo estimate falls between the upper and lower bounds (✓).
As M M M increases, the absolute gap between the two bounds shrinks, but their ratio grows, from 3.2 at M = 4 M = 4 M = 4 to 42 at M = 20 M = 20 M = 20 . The normalized gap ( ln [ ( M − 1 ) Q ( ρ L ) ] − ln Q ( ρ 12 U ) ) / d (\ln[(M-1)Q(\rho^{\mathrm{L}})]-\ln Q(\rho^{\mathrm{U}}_{12}))/d ( ln [( M − 1 ) Q ( ρ L )] − ln Q ( ρ 12 U )) / d decreases from 0.59 to 0.10 over the same range, and it tends to ϵ l o w e r − κ 2 ( λ , σ ) = 0.0204 > 0 \epsilon_{\mathrm{lower}}-\kappa_2(\lambda,\sigma)=0.0204>0 ϵ lower − κ 2 ( λ , σ ) = 0.0204 > 0 rather than to zero. Neither bound involves r ( M ) r(M) r ( M ) : the lower bound uses ρ 12 U \rho^{\mathrm{U}}_{12} ρ 12 U , i.e., the asymptotic value of μ 12 \mu_{12} μ 12 , and the upper bound uses the uniform ρ L \rho^{\mathrm{L}} ρ L . The exponents of the two bounds converge to ϵ l o w e r \epsilon_{\mathrm{lower}} ϵ lower and κ 2 ( λ , σ ) \kappa_2(\lambda,\sigma) κ 2 ( λ , σ ) , respectively, so Lemma 5 does not determine P ( E ∣ θ ) P(E|\theta) P ( E ∣ θ ) up to a subexponential factor unless θ 1 + θ 2 = 1 \theta_1+\theta_2=1 θ 1 + θ 2 = 1 and θ 1 − θ 2 = λ \theta_1-\theta_2=\lambda θ 1 − θ 2 = λ (the equality case of Lemma 7). The exact exponent ϵ l o w e r \epsilon_{\mathrm{lower}} ϵ lower is obtained in Proposition 8 from the upper bound (78), whose exponent converges to ϵ l o w e r \epsilon_{\mathrm{lower}} ϵ lower by Lemma 6.
Experimental Details
Column subsets (Figure 2(b)). For each dataset the column pool is fixed across seeds: it consists of all 28 + 56 = 84 28+56=84 28 + 56 = 84 columns of the 2vR and 3vR codes for CIFAR-10 (M = 8 M=8 M = 8 ), all 66 + 220 = 286 66+220=286 66 + 220 = 286 columns for CIFAR-100 (M = 12 M=12 M = 12 ), and the 120 columns of the 2vR code together with 200 randomly chosen columns of the 3vR code (320 in total) for ImageNet-1k (M = 16 M=16 M = 16 ). For K ∈ { 3 , 4 , 5 , 6 , 8 , 10 , 14 , 18 , 24 , 32 , 44 , 60 , 80 , 120 , 180 , 240 , 300 } K \in\{3,4,5,6,8,10,14,18,24,32,44,60,80,120,180,240,300\} K ∈ { 3 , 4 , 5 , 6 , 8 , 10 , 14 , 18 , 24 , 32 , 44 , 60 , 80 , 120 , 180 , 240 , 300 } (not exceeding the pool size) and up to 8 random draws per K K K (tables with repeated code words are discarded), K K K columns are drawn from the pool, the binary classifiers are trained, and the minimum distance of the drawn table and its sum-decoding error rate are recorded. The records are binned by the minimum distance with bin edges 0.5, 1.5, 2.5, 3.5, 4.5, 6.5, 8.5, 11.5, 15.5, 20.5, 27.5, 37.5, 50.5, 67.5, 90.5, 120.5; Figure 2(b) plots the mean distance and the mean of Δ r e a l \Delta_{\mathrm{real}} Δ real in each bin. The ImageNet-1k images are drawn from a subset of the training set, and the classes are drawn anew in each seed.
Decoding rule and reference decoder. On CIFAR-100 (ResNet-50 features, PCA to 100 dimensions, M ∈ { 4 , 6 , 8 , 10 , 12 , 16 } M \in\{4,6,8,10,12,16\} M ∈ { 4 , 6 , 8 , 10 , 12 , 16 } , 25 seeds), the difference between the sum-decoding and LL-decoding error rates of the 2vR code on the same classifiers is statistically equivalent to 0 for M = 6 M=6 M = 6 –16 (TOST equivalence test at significance level 0.05 with equivalence margin 0.005, a practically negligible difference in error rate; largest p = 1.2 × 10 − 10 p=1.2\times10^{-10} p = 1.2 × 1 0 − 10 ), and exactly 0 in every seed for M = 4 M=4 M = 4 , where the two decoders make the same decisions. In the same 150 conditions, a multi-class logistic regression trained on the same features has a higher error rate than LL decoding of the 2vR classifiers in 136 conditions, an equal one in 8 and a lower one in 6 (mean difference 0.011). For M = 4 M=4 M = 4 the implementation stored each 2vR partition together with its complement ( n = M / 2 ) (n = M/2) ( n = M /2 ) ; since a logistic regression trained on complemented labels outputs 1 − p j 1 - p_j 1 − p j , this duplication does not change the decision of either decoder (up to solver tolerance).
3vR versus 2vR. The comparison in § 9.2 uses the same CIFAR-100 runs. It is restricted to M ∈ { 8 , 10 , 12 } M \in\{8, 10, 12\} M ∈ { 8 , 10 , 12 } , the values for which d ( 3 , M ) > d ( 2 , M ) d(3, M) > d(2, M) d ( 3 , M ) > d ( 2 , M ) : for M = 6 M = 6 M = 6 the 3vR code has n = M / 2 n = M/2 n = M /2 and d ( 3 , 6 ) = ( 4 2 ) = 6 < d ( 2 , 6 ) = 8 d(3, 6) = \binom{4}{2} = 6 < d(2, 6) = 8 d ( 3 , 6 ) = ( 2 4 ) = 6 < d ( 2 , 6 ) = 8 by (2), and for M = 4 M = 4 M = 4 a 3vR code lies outside Definition 1. The seed-matched difference P ^ e r r 3 v R − P ^ e r r 2 v R \hat{P}^{3\mathrm{vR}}_{\mathrm{err}} - \hat{P}^{2\mathrm{vR}}_{\mathrm{err}} P ^ err 3 vR − P ^ err 2 vR under sum decoding has mean + 0.0020 +0.0020 + 0.0020 (Wilcoxon signed-rank test p = 1 × 10 − 5 p = 1 \times10^{-5} p = 1 × 1 0 − 5 , 75 pairs).
Effective distance of 2vR and 3vR (Section 10(iii)). A teacher, a 100-class multilayer perceptron on standardized ResNet-50 features reduced by PCA to 256 dimensions, is trained on 45,000 CIFAR-100 training images, with early stopping and temperature calibration (T = 1.087 T = 1.087 T = 1.087 ) on the remaining 5,000; its test accuracy is 0.709. For each seed and the same M M M classes, images, PCA-100 features and logistic regressions as above, the labels are resampled from the teacher posterior renormalized to the M M M classes, θ ∗ ( x ) \theta^*(x) θ ∗ ( x ) , whose Bayes error rate is 0.065, 0.084 and 0.103 for M = 8 , 10 , 12 M = 8, 10, 12 M = 8 , 10 , 12 . Because θ ∗ \theta^* θ ∗ is known, we report expected error rates E [ 1 − θ i ∗ ] \mathbb{E}[1 - \theta_i^*] E [ 1 − θ i ∗ ] , free of label-sampling noise, and the log-odds residuals r j = ln p j 1 − p j − ln f j ∗ ( 1 ∣ θ ∗ ) 1 − f j ∗ ( 1 ∣ θ ∗ ) r_j = \ln\frac{p_j}{1-p_j} - \ln\frac{f_j^*(1 \mid\theta^*)}{1-f_j^*(1 \mid\theta^*)} r j = ln 1 − p j p j − ln 1 − f j ∗ ( 1 ∣ θ ∗ ) f j ∗ ( 1 ∣ θ ∗ ) . Σ ^ \hat{\Sigma} Σ ^ is the covariance of ( r j ) j (r_j)_j ( r j ) j on 100 training images per class not used for training, and the predictions are evaluated on the test set by Monte Carlo (256 draws per test image). The seed-matched 3vR−2vR differences in excess error are + 0.0003 +0.0003 + 0.0003 , + 0.0014 +0.0014 + 0.0014 and + 0.0018 +0.0018 + 0.0018 for M = 8 , 10 , 12 M = 8, 10, 12 M = 8 , 10 , 12 (25 seeds each). The residuals are not independent of the input: regressing the runner-up pair’s noise on its margin gives a slope of − 0.29 -0.29 − 0.29 to − 0.42 -0.42 − 0.42 , larger in magnitude for 3vR in every seed, and their excess kurtosis is 0.75–1.16; all predictors treat the residual as independent of the input, which is the likely source of the mismatch in magnitude. The less confident teacher of Section 10(iii) doubles the temperature.
Scaling in M M M (Table 2 ). We select M ∈ { 16 , 32 , 64 , 128 , 256 } M \in\{16, 32, 64, 128, 256\} M ∈ { 16 , 32 , 64 , 128 , 256 } ImageNet-1k classes, train the 2vR and logM codes by logistic regression on 200 training images per class from the ImageNet-1k training set and test on the validation set, using ResNet-50 (pretrained ImageNet1K_V2) features reduced by PCA to 128 dimensions (S = 3 S = 3 S = 3 seeds), and report the representative values M = 16 , 128 , 256 M = 16, 128, 256 M = 16 , 128 , 256 ; M ≤ 256 M \le256 M ≤ 256 because the number of 2vR columns becomes impractical beyond M ≈ 300 M \approx300 M ≈ 300 .